diff --git a/ifn-keyvalue.yml b/ifn-keyvalue.yml new file mode 100644 index 0000000..e9478b9 --- /dev/null +++ b/ifn-keyvalue.yml @@ -0,0 +1,53 @@ +spring: + application: + name: ifn-keyvalue + servlet: + multipart: + max-file-size: 10MB + max-request-size: 10MB + jpa: + hibernate: + ddl-auto: none + 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_kv;COMPRESS=TRUE;JMX=TRUE + username: sa + password: + main: + allow-bean-definition-overriding: true + 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 + +nitsha: + i18n: + languages: sk,en + base-packages: de.infinnit + generate-json: true + + upload-authorities: + - upload_translation diff --git a/ifn-loan-accounting-loan.yml b/ifn-loan-accounting-loan.yml new file mode 100644 index 0000000..7b5ea35 --- /dev/null +++ b/ifn-loan-accounting-loan.yml @@ -0,0 +1,78 @@ +spring: + 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_la;COMPRESS=TRUE;JMX=TRUE + username: sa + password: + main: + allow-bean-definition-overriding: true + liquibase: + enabled: true + change-log: classpath:/liquibase/loan/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 + +infinnit: + loan: + payment: + scheduler-fixed-delay: + incoming: 900000 + outgoing: 900000 + eom: + scheduler-fixed-delay: 3600000 + + disbursement: + scheduler-fixed-delay: 900000 + rld: + scheduler-cron-expression: 0 30 0 16/1 * ? + simulation: + debug: + datasource: + url: "jdbc:h2:mem:ifn_" + +# Logging +logging: + level: + org.springframework.orm.jpa.transaction: INFO \ No newline at end of file diff --git a/ifn-loan-accounting-local.yml b/ifn-loan-accounting-local.yml new file mode 100644 index 0000000..59c75dd --- /dev/null +++ b/ifn-loan-accounting-local.yml @@ -0,0 +1,78 @@ +spring: + 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_la;COMPRESS=TRUE;JMX=TRUE + username: sa + password: + main: + allow-bean-definition-overriding: true + liquibase: + enabled: true + change-log: classpath:/liquibase/loan/master.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 + +infinnit: + loan: + payment: + scheduler-fixed-delay: + incoming: 900000 + outgoing: 900000 + eom: + scheduler-fixed-delay: 3600000 + + disbursement: + scheduler-fixed-delay: 900000 + rld: + scheduler-cron-expression: 0 30 0 16/1 * ? + simulation: + debug: + datasource: + url: "jdbc:h2:mem:ifn_" + +# Logging +logging: + level: + org.springframework.orm.jpa.transaction: INFO \ No newline at end of file diff --git a/ifn-loan-accounting.yml b/ifn-loan-accounting.yml new file mode 100644 index 0000000..a8cff68 --- /dev/null +++ b/ifn-loan-accounting.yml @@ -0,0 +1,78 @@ +spring: + 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_la;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 + +infinnit: + loan: + payment: + scheduler-fixed-delay: + incoming: 900000 + outgoing: 900000 + eom: + scheduler-fixed-delay: 3600000 + + disbursement: + scheduler-fixed-delay: 900000 + rld: + scheduler-cron-expression: 0 30 0 16/1 * ? + simulation: + debug: + datasource: + url: "jdbc:h2:mem:ifn_" + +# Logging +logging: + level: + org.springframework.orm.jpa.transaction: INFO \ No newline at end of file diff --git a/ifn-loan-arrears-reminder.yml b/ifn-loan-arrears-reminder.yml new file mode 100644 index 0000000..0557dfb --- /dev/null +++ b/ifn-loan-arrears-reminder.yml @@ -0,0 +1,61 @@ +spring: + application: + name: ifn-loan-arrears-reminder + jpa: + hibernate: + ddl-auto: none + use-new-id-generator-mappings: false + show-sql: false + properties: + org: + hibernate: + envers: + store_data_at_delete: 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_lar;COMPRESS=TRUE;JMX=TRUE + username: sa + password: + main: + allow-bean-definition-overriding: true + 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 + +infinnit: + scheduler: + maxDelay: 10 + maxAttempts: 1 + lar: + surveillance-case-closure: + cron-expression: '0 * * * * *' + reminder: + cron-expression: '30 * * * * *' + request-for-payment: + cron-expression: '45 * * * * *' + maxDelay: 10 + maxAttempts: 1 \ No newline at end of file