From 13cfc8db89baeeffaff41ff6ff89882345c2a75b Mon Sep 17 00:00:00 2001 From: infinnit-admin Date: Wed, 24 Apr 2024 05:49:32 +0000 Subject: [PATCH] Upload files to "/" --- ifn-loan-commitment.yml | 44 +++++++++++++ ifn-loan-management.yml | 86 ++++++++++++++++++++++++++ ifn-loan-simulation-category-one.yml | 16 +++++ ifn-loan-simulation-category-three.yml | 16 +++++ ifn-loan-simulation-category-two.yml | 16 +++++ 5 files changed, 178 insertions(+) create mode 100644 ifn-loan-commitment.yml create mode 100644 ifn-loan-management.yml create mode 100644 ifn-loan-simulation-category-one.yml create mode 100644 ifn-loan-simulation-category-three.yml create mode 100644 ifn-loan-simulation-category-two.yml diff --git a/ifn-loan-commitment.yml b/ifn-loan-commitment.yml new file mode 100644 index 0000000..6adebd1 --- /dev/null +++ b/ifn-loan-commitment.yml @@ -0,0 +1,44 @@ +# GLOBAL CONFIGURATION +spring: + application: + name: ifn-loan-commitment + jpa: + hibernate: + ddl-auto: none + properties: + hibernate: + jdbc: + batch_size: 100 + order_insert: true + kafka: + consumer: + group-id: ${spring.application.name} + auto-offset-reset: latest + enable-auto-commit: false + producer: + key-serializer: org.apache.kafka.common.serialization.StringSerializer + value-serializer: de.infinnit.commons.business.kafka.IfnJsonSerializer + listener: + ack-mode: MANUAL + properties: + isolation: + level: read_committed + datasource: + driverClassName: org.h2.Driver + # server mode + url: jdbc:h2:tcp://localhost:1521/ifn_lc;COMPRESS=TRUE;JMX=TRUE + username: sa + password: + liquibase: + enabled: true + change-log: classpath:/liquibase/master_test.xml + +server: + max-http-header-size: 16000 + error: + path: /mvc-error + +management: + server: + servlet: + context-path: /actuator diff --git a/ifn-loan-management.yml b/ifn-loan-management.yml new file mode 100644 index 0000000..2a71be9 --- /dev/null +++ b/ifn-loan-management.yml @@ -0,0 +1,86 @@ +spring: + application: + name: ifn-loan-management + jpa: + hibernate: + ddl-auto: none + use-new-id-generator-mappings: false + show-sql: false + properties: + org: + hibernate: + envers: + store_data_at_delete: true + datasource: + driverClassName: org.h2.Driver + # server mode + url: jdbc:h2:tcp://localhost:1521/ifn_lm;COMPRESS=TRUE;JMX=TRUE + username: sa + password: + main: + allow-bean-definition-overriding: true + liquibase: + enabled: true + change-log: classpath:/liquibase/master_test.xml + kafka: + consumer: + group-id: ${spring.application.name} + auto-offset-reset: latest + enable-auto-commit: false + producer: + key-serializer: org.apache.kafka.common.serialization.StringSerializer + value-serializer: de.infinnit.commons.business.kafka.IfnJsonSerializer + listener: + ack-mode: MANUAL + properties: + isolation: + level: read_committed + +server: + max-http-header-size: 16000 + error: + path: /mvc-error + use-forward-headers: true + +management: + server: + servlet: + context-path: /actuator + +feign: + client: + config: + default: + connectTimeout: 60000 + readTimeout: 60000 + error-decoder: de.infinnit.commons.business.error.payments.PaymentsErrorDecoder + +nitsha: + i18n: + languages: sk,en + base-packages: de.infinnit + generate-json: true + + upload-authorities: + - upload_translation + + + +# Logging +logging: + level: + org.springframework.orm.jpa.transaction: INFO + +infinnit: + disbursement: + max-future-days: 90 + scheduler-fixed-delay: 60000 + document: + eom: + scheduler-cron-expression: 1/60 * * * * * + maxAttempts: 3 + payment: + agreement: + scheduler-cron-expression: 0 0 0 * * ? + maxAttempts: 3 + maxDelay: 1000 \ No newline at end of file diff --git a/ifn-loan-simulation-category-one.yml b/ifn-loan-simulation-category-one.yml new file mode 100644 index 0000000..a391ddd --- /dev/null +++ b/ifn-loan-simulation-category-one.yml @@ -0,0 +1,16 @@ +spring: + liquibase: + enabled: true + change-log: classpath:/liquibase/loan/master.xml + contexts: test + +infinnit: + loan: + payment: + scheduler-fixed-delay: + incoming: 60000 + outgoing: 60000 + eom: + scheduler-cron-expression: 0 30 0 28-31 * ? + disbursement: + scheduler-fixed-delay: 60000 \ No newline at end of file diff --git a/ifn-loan-simulation-category-three.yml b/ifn-loan-simulation-category-three.yml new file mode 100644 index 0000000..a391ddd --- /dev/null +++ b/ifn-loan-simulation-category-three.yml @@ -0,0 +1,16 @@ +spring: + liquibase: + enabled: true + change-log: classpath:/liquibase/loan/master.xml + contexts: test + +infinnit: + loan: + payment: + scheduler-fixed-delay: + incoming: 60000 + outgoing: 60000 + eom: + scheduler-cron-expression: 0 30 0 28-31 * ? + disbursement: + scheduler-fixed-delay: 60000 \ No newline at end of file diff --git a/ifn-loan-simulation-category-two.yml b/ifn-loan-simulation-category-two.yml new file mode 100644 index 0000000..a391ddd --- /dev/null +++ b/ifn-loan-simulation-category-two.yml @@ -0,0 +1,16 @@ +spring: + liquibase: + enabled: true + change-log: classpath:/liquibase/loan/master.xml + contexts: test + +infinnit: + loan: + payment: + scheduler-fixed-delay: + incoming: 60000 + outgoing: 60000 + eom: + scheduler-cron-expression: 0 30 0 28-31 * ? + disbursement: + scheduler-fixed-delay: 60000 \ No newline at end of file