generated from pagopa/template-java-spring-microservice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5362a74
commit 5402944
Showing
2 changed files
with
55 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
apiVersion: v2 | ||
name: pagopa-afm-fee-reporting-cronjob | ||
description: Microservice that handle the creation of json report about the fees applied by PSPs | ||
version: 1.0.0 | ||
type: application | ||
version: 0.0.8 | ||
appVersion: 0.0.8 | ||
dependencies: | ||
- name: cron-chart | ||
version: 2.7.0 | ||
repository: "https://pagopa.github.io/aks-cron-chart-blueprint" | ||
alias: "cj-afm-fee-reporting" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,51 @@ | ||
schedule: "0 */2 * * *" # every two hours | ||
|
||
image: | ||
tag: dev | ||
|
||
envConfig: | ||
PYTHONUNBUFFERED: 1 | ||
COSMOS_ENDPOINT: https://pagopa-d-weu-afm-marketplace-cosmos-account.documents.azure.com:443/ | ||
DB_HOST: pagopa-u-weu-nodo-flexible-postgresql.postgres.database.azure.com | ||
DB_NAME: nodo | ||
DB_PORT: 6432 | ||
DB_USER: cfg_read | ||
PAYMENT_TYPES: { "SATY": "Satispay", "RPIC": "Conto Intesa Sanpaolo", "RICO": "Pago in Conto IConto", "RBPS": "Conto Banca Popolare di Sondrio", "RBPR": "Conto BancoPosta", "RBPP": "Paga con Postepay", "RBPB": "Conto BancoPostaImpresa", "PPAL": "PayPal", "PO": "Pagamento attivato presso PSP", "OBEP": "Online Banking Electronic Payment", "MYBK": "MyBank", "JIF": "Jiffy", "CP": "Carta di debito o credito", "BPAY": "Bancomat Pay", "BP": "Bollettino postale", "BBT": "Bonifico bancario telematico", "APPL": "Apple Pay", "AD": "Addebito diretto", "GOOG": "Google Pay" } | ||
PSP_ABI_CODE: { "CRPPIT2PXXX": "06230", "BPPNIT2PXXX": "05336", "BLPIIT21": "03083", "RZSBIT2B": "03493", "RZSBIT21001": "08112", "RZSBIT21003": "08081", "RZSBIT21005": "08035", "RZSBIT21006": "08162", "RZSBIT21007": "08307", "RZSBIT21042": "08269", "RZSBIT21036": "08249", "RZSBIT21055": "08238", "RZSBIT21009": "08020", "RZSBIT21011": "08056", "RZSBIT21012": "08117", "RZSBIT21014": "08115", "RZSBIT21015": "08110", "RZSBIT21018": "08134", "RZSBIT21019": "08133", "RZSBIT21022": "08157", "RZSBIT21023": "08302", "RZSBIT21024": "08066", "RZSBIT21025": "08175", "RZSBIT21026": "08998", "RZSBIT21027": "08183", "RZSBIT21031": "08220", "RZSBIT21032": "08233", "RZSBIT21033": "08234", "RZSBIT21034": "08244", "RZSBIT21510": "08065", "RZSBIT21040": "08285", "RZSBIT21044": "08273", "RZSBIT21045": "08273", "RZSBIT21138": "08080", "RZSBIT21048": "08255", "RZSBIT21039": "08231", "RZSBIT21013": "08307", "RZSBIT21317": "08114", "RZSBIT21049": "08086", "RZSBIT21050": "08295", "RZSBIT21052": "08148", "RZSBIT21054": "08182", "NIPSITR1": "36080", "ITBBITM1": "32532", "SENVITT1": "03211", "POCAIT3C": "05372", "BPBAIT3B": "05424", "BAPPIT21": "05034", "SELBIT2B": "03268", "SEPFIT31XXX": "36063", "CRBZIT2B": "06045", "CRFEIT3F": "06150", "RZSBIT21008": "08010", "CIPYIT31": "36024", "CIPYIT31K": "36024" } | ||
PSP_BLACKLIST: ABI14156,POCAIT3C | ||
REPORT_FILE_NAME: output_elenco_servizi.json | ||
S3_BUCKET_NAME: pagopa-afm-d-st-fee | ||
|
||
envSecret: | ||
COSMOS_KEY: afm-fee-reporting-d-cosmos-pkey | ||
DB_PASSWORD: db-cfg-password-read | ||
S3_ACCESS_KEY_ID: afm-fee-reporting-s3-key-id | ||
S3_ACCESS_KEY_SECRET: afm-fee-reporting-s3-key-secret | ||
|
||
keyvault: | ||
name: "pagopa-d-afm-kv" | ||
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d" | ||
basecronjob: &basecronjob | ||
namespace: "afm" | ||
concurrencyPolicy: "Allow" | ||
successfulJobsHistoryLimit: 2 | ||
failedJobsHistoryLimit: 1 | ||
parallelism: 1 | ||
terminationGracePeriodSeconds: 140 | ||
image: | ||
repository: ghcr.io/pagopa/pagopa-afm-fee-reporting-service | ||
tag: "0.0.8" | ||
tmpVolumeMount: | ||
create: true | ||
resources: | ||
requests: | ||
memory: "512Mi" | ||
cpu: "0.4" | ||
limits: | ||
memory: "728Mi" | ||
cpu: "0.7" | ||
providedVolumeMount: | ||
create: true | ||
envConfig: | ||
PYTHONUNBUFFERED: 1 | ||
COSMOS_ENDPOINT: https://pagopa-d-weu-afm-marketplace-cosmos-account.documents.azure.com:443/ | ||
DB_HOST: pagopa-u-weu-nodo-flexible-postgresql.postgres.database.azure.com | ||
DB_NAME: nodo | ||
DB_PORT: 6432 | ||
DB_USER: cfg_read | ||
PAYMENT_TYPES: { "SATY": "Satispay", "RPIC": "Conto Intesa Sanpaolo", "RICO": "Pago in Conto IConto", "RBPS": "Conto Banca Popolare di Sondrio", "RBPR": "Conto BancoPosta", "RBPP": "Paga con Postepay", "RBPB": "Conto BancoPostaImpresa", "PPAL": "PayPal", "PO": "Pagamento attivato presso PSP", "OBEP": "Online Banking Electronic Payment", "MYBK": "MyBank", "JIF": "Jiffy", "CP": "Carta di debito o credito", "BPAY": "Bancomat Pay", "BP": "Bollettino postale", "BBT": "Bonifico bancario telematico", "APPL": "Apple Pay", "AD": "Addebito diretto", "GOOG": "Google Pay" } | ||
PSP_ABI_CODE: { "CRPPIT2PXXX": "06230", "BPPNIT2PXXX": "05336", "BLPIIT21": "03083", "RZSBIT2B": "03493", "RZSBIT21001": "08112", "RZSBIT21003": "08081", "RZSBIT21005": "08035", "RZSBIT21006": "08162", "RZSBIT21007": "08307", "RZSBIT21042": "08269", "RZSBIT21036": "08249", "RZSBIT21055": "08238", "RZSBIT21009": "08020", "RZSBIT21011": "08056", "RZSBIT21012": "08117", "RZSBIT21014": "08115", "RZSBIT21015": "08110", "RZSBIT21018": "08134", "RZSBIT21019": "08133", "RZSBIT21022": "08157", "RZSBIT21023": "08302", "RZSBIT21024": "08066", "RZSBIT21025": "08175", "RZSBIT21026": "08998", "RZSBIT21027": "08183", "RZSBIT21031": "08220", "RZSBIT21032": "08233", "RZSBIT21033": "08234", "RZSBIT21034": "08244", "RZSBIT21510": "08065", "RZSBIT21040": "08285", "RZSBIT21044": "08273", "RZSBIT21045": "08273", "RZSBIT21138": "08080", "RZSBIT21048": "08255", "RZSBIT21039": "08231", "RZSBIT21013": "08307", "RZSBIT21317": "08114", "RZSBIT21049": "08086", "RZSBIT21050": "08295", "RZSBIT21052": "08148", "RZSBIT21054": "08182", "NIPSITR1": "36080", "ITBBITM1": "32532", "SENVITT1": "03211", "POCAIT3C": "05372", "BPBAIT3B": "05424", "BAPPIT21": "05034", "SELBIT2B": "03268", "SEPFIT31XXX": "36063", "CRBZIT2B": "06045", "CRFEIT3F": "06150", "RZSBIT21008": "08010", "CIPYIT31": "36024", "CIPYIT31K": "36024" } | ||
PSP_BLACKLIST: ABI14156,POCAIT3C | ||
REPORT_FILE_NAME: output_elenco_servizi.json | ||
S3_BUCKET_NAME: pagopa-afm-d-st-fee | ||
envSecret: | ||
COSMOS_KEY: afm-fee-reporting-d-cosmos-pkey | ||
DB_PASSWORD: db-cfg-password-read | ||
S3_ACCESS_KEY_ID: afm-fee-reporting-s3-key-id | ||
S3_ACCESS_KEY_SECRET: afm-fee-reporting-s3-key-secret | ||
keyvault: | ||
name: "pagopa-d-afm-kv" | ||
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d" | ||
envFieldRef: | ||
MANAGEMENT_HTTP_HOST: "status.podIP" | ||
SERVICE_HTTP_HOST: "status.podIP" | ||
MICROMETER_HOSTNAME: "metadata.name" | ||
NAMESPACE: "metadata.namespace" | ||
CINNAMON_HOST: "metadata.name" | ||
APP_VERSION: "metadata.labels['app.kubernetes.io/version']" | ||
cj-annullamento-rpt: | ||
!!merge <<: *basecronjob | ||
schedule: "0 */2 * * *" # every two hours |