-
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.
Adding application.properties configuration for each service composin…
…g GTW
- Loading branch information
Showing
9 changed files
with
988 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
####################################### | ||
# Application name | ||
####################################### | ||
server.port=8081 | ||
spring.application.name=gtw-config | ||
server.servlet.context-path=/ | ||
|
||
####################################### | ||
# Application monitoring | ||
####################################### | ||
info.app.name=Gateway Config - FSE 2.0 | ||
info.app.description=Gateway Config for FSE 2.0 | ||
info.app.version=1.0.0_SPRINT6 | ||
|
||
management.server.port=8081 | ||
management.endpoints.web.base-path=/ | ||
management.endpoints.web.path-mapping.live=status | ||
management.endpoints.web.path-mapping.health=health/ready | ||
management.endpoint.metrics.enabled=true | ||
management.endpoint.prometheus.enabled=true | ||
management.endpoints.web.path-mapping.prometheus=metrics | ||
management.endpoints.web.path-mapping.metrics=actuator | ||
management.endpoints.web.exposure.include=health,metrics,prometheus,live,ready,env,info | ||
management.health.db.enabled=true | ||
management.endpoint.health.show-details=always | ||
|
||
####################################### | ||
# Open API | ||
####################################### | ||
springdoc.swagger-ui.path=/openapi/ui | ||
springdoc.show-actuator=true | ||
|
||
docs.info.contact.name=Mario Rossi | ||
docs.info.contact.mail=[email protected] | ||
docs.info.contact.url=www.example.com | ||
docs.info.termsOfService=www.terms.com | ||
docs.info.summary=Handles configuration items for all other microservices | ||
docs.info.description=Handles configuration items for all other microservices | ||
docs.info.api-id=1 | ||
docs.info.title=Gateway Config | ||
|
||
####### LOGGING OUTPUT FORMAT ############ | ||
# Must be one of console, json | ||
####################################### | ||
log.output.format=console | ||
log.elastic-search.enable=false | ||
logging.level.org.springframework.web.filter.CommonsRequestLoggingFilter=DEBUG | ||
|
||
####################################### | ||
# DISABLE NULL ON JSON | ||
####################################### | ||
spring.jackson.default-property-inclusion = NON_NULL | ||
|
||
####################################### | ||
# DATASOURCE DB | ||
####################################### | ||
data.mongodb.uri=${MONGO_URI_SRV}${MONGO_USER}:${MONGO_PASSWORD}@${MONGO_ADDRESS}${MONGO_SUFFIX} | ||
data.mongodb.max.staleness=91 | ||
data.mongodb.schema-name= FSE_GTW | ||
|
||
################### | ||
# GATEWAY NAME # | ||
################### | ||
gateway.full-qualified-name=FSE2-GTW-00 |
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 |
---|---|---|
@@ -0,0 +1,168 @@ | ||
####################################### | ||
# Application name | ||
####################################### | ||
server.port=8081 | ||
spring.application.name=gtw-dispatcher | ||
server.servlet.context-path=/ | ||
|
||
####################################### | ||
# Application monitoring | ||
####################################### | ||
info.app.name=Gateway Dispatcher - FSE 2.0 | ||
info.app.description=Gateway Dispatcher for FSE 2.0 | ||
info.app.version=1.0.0_SPRINT6 | ||
|
||
management.server.port=8081 | ||
management.endpoints.web.base-path=/ | ||
management.endpoints.web.path-mapping.live=status | ||
management.endpoints.web.path-mapping.health=health/ready | ||
management.endpoint.metrics.enabled=true | ||
management.endpoint.prometheus.enabled=true | ||
management.endpoints.web.path-mapping.prometheus=metrics | ||
management.endpoints.web.path-mapping.metrics=actuator | ||
management.endpoints.web.exposure.include=health,metrics,prometheus,live,ready,env,info | ||
management.health.db.enabled=true | ||
management.endpoint.health.show-details=always | ||
|
||
####################################### | ||
# Open API | ||
####################################### | ||
springdoc.swagger-ui.path=/openapi/ui | ||
springdoc.show-actuator=true | ||
|
||
docs.info.contact.name=Mario Rossi | ||
docs.info.contact.mail=[email protected] | ||
docs.info.contact.url=www.example.com | ||
docs.info.termsOfService=www.terms.com | ||
docs.info.summary=Handles and enroutes all the CDA validations and/or publications | ||
docs.info.description=Handles and enroutes all the CDA validations and/or publications | ||
docs.info.api-id=1 | ||
docs.info.title=Gateway Dispatcher | ||
validation.file-max-size=1000 | ||
|
||
spring.servlet.multipart.max-file-size=5MB | ||
|
||
####### LOGGING OUTPUT FORMAT ############ | ||
# Must be one of console, json | ||
####################################### | ||
log.output.format=console | ||
logging.level.org.springframework.web.filter.CommonsRequestLoggingFilter=INFO | ||
log.elastic.level=trace | ||
log.kafka-log.enable=true | ||
|
||
####################################### | ||
# DISABLE NULL ON JSON | ||
####################################### | ||
spring.jackson.default-property-inclusion = NON_NULL | ||
|
||
####################################### | ||
# DATASOURCE DB | ||
####################################### | ||
data.mongodb.uri=${MONGO_URI_SRV}${MONGO_USER}:${MONGO_PASSWORD}@${MONGO_ADDRESS}${MONGO_SUFFIX} | ||
data.mongodb.schema-name= FSE_GTW | ||
|
||
####################################### | ||
# KAFKA | ||
####################################### | ||
####KAFKA CONNECTION SETTINGS ########## | ||
kafka.bootstrap-servers=${KAFKA_ADDRESS} | ||
spring.sleuth.messaging.kafka.enabled=false | ||
kafka.properties.security.protocol=SASL_SSL | ||
kafka.properties.sasl.mechanism=OAUTHBEARER | ||
kafka.properties.sasl.jaas.config=org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule required; | ||
kafka.properties.ssl.truststore.location= | ||
kafka.properties.ssl.truststore.password= | ||
kafka.properties.request.timeout.ms= | ||
kafka.oauth.tenantId=${TENANT_ID} | ||
kafka.oauth.appId=${APP_ID} | ||
kafka.oauth.pfxPathName=${PFX_NAME_RESOURCE_PATH} | ||
kafka.oauth.pwd=${PFX_PASSWORD} | ||
|
||
####### KAFKA PRODUCER SETTINGS ################ | ||
kafka.producer.client-id=springboot-gtw-dispatcher | ||
kafka.producer.retries=5 | ||
kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer | ||
kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer | ||
kafka.producer.transactional.id= | ||
kafka.producer.enable.idempotence=true | ||
kafka.producer.ack=all | ||
|
||
###### KAFKA CODE ########## | ||
kafka.statusmanager.topic=MDS-SA-0004_FU_001_STATUS | ||
kafka.dispatcher-indexer.base-topic=MDS-SA-0004_FU_001_INI | ||
kafka.dispatcher-indexer.delete-retry-topic=MDS-SA-0004_FU_001_INI-DEL-RTY | ||
kafka.dispatcher-publisher.base-topic=MDS-SA-0004_FU_001_TS_EDS | ||
kafka.dispatcher-indexer.update-retry-topic=MDS-SA-0004_FU_001_INI-UPD-RTY | ||
kafka.log.base-topic=MDS-SA-0004_FU_001_LOG | ||
|
||
####### PRIORITY DOCUMENTS -> LIST OF DOCUMENTS COMMA SEPARATED ####### | ||
# TODO | ||
document-type.priority.low=ESE,CER,VRB | ||
document-type.priority.medium=RIC,SUM,TAC,PRS,PDC | ||
document-type.priority.high=VAC,PRE,WOR,LDO,REF | ||
|
||
####################################### | ||
# CDA Properties | ||
####################################### | ||
cda.attachment.name=cda.xml | ||
|
||
####################################### | ||
# Circuit breaker | ||
####################################### | ||
|
||
# >80% fail in sliding-window => open circuit | ||
resilience4j.circuitbreaker.configs.default.failure-rate-threshold=80 | ||
# size sliding-window | ||
resilience4j.circuitbreaker.configs.default.sliding-window-size=10 | ||
# unit of sliding-window-size (COUNT_BASED vs TIME_BASED) | ||
resilience4j.circuitbreaker.configs.default.sliding-window-type=COUNT_BASED | ||
# minimum size of sliding-window to start check failure rate | ||
resilience4j.circuitbreaker.configs.default.minimum-number-of-calls=5 | ||
#include the half-open state | ||
resilience4j.circuitbreaker.configs.default.automatic-transition-from-open-to-half-open-enabled=true | ||
# size sliding-window in half-open state (used same rate threshold) | ||
resilience4j.circuitbreaker.configs.default.permitted-number-of-calls-in-half-open-state=4 | ||
#delay from open to half-open state | ||
resilience4j.circuitbreaker.configs.default.wait-duration-in-open-state=1s | ||
|
||
####################################### | ||
# Microservices url | ||
####################################### | ||
ms.url.gtw-validator-service=http://it-fse-gtw-validator.${SERVICE_ADDRESS} | ||
ms.url.gtw-fhir-mapping-engine-service=http://it-fse-gtw-fhir-mapping-engine.${SERVICE_ADDRESS} | ||
ms.url.eds-client-service= | ||
ms.url.ini-client-service= | ||
ms.url.gtw-config=http://it-fse-gtw-config.${SERVICE_ADDRESS} | ||
ms.url.status-check-client-service=http://it-fse-gtw-status-check.${SERVICE_ADDRESS} | ||
ms.url.ana-service= | ||
ms.ana-service.enable-validation=false | ||
|
||
####################################### | ||
# FISCAL CODE PROPERTY | ||
####################################### | ||
validation.allow-special-fiscal-code= | ||
|
||
####################################### | ||
# DAYS OLDEST PUBLICATION | ||
####################################### | ||
days.allow-publish-after-validation=5 | ||
|
||
ms-calls.are-from-govway=true | ||
|
||
jwt.claims-required=false | ||
|
||
accreditation.enable-check=true | ||
|
||
sign.choose-validation-type=DISABLED | ||
jwt.ts.issuer=integrity:S1#TS | ||
|
||
|
||
####################################### | ||
# BENCHMARK PROPERTY | ||
####################################### | ||
benchmark.enable=true | ||
|
||
###################################### | ||
# TIME RATE REFRESH CONFIG (milliseconds) | ||
###################################### | ||
ms.config.refresh-rate=900000 |
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 |
---|---|---|
@@ -0,0 +1,110 @@ | ||
####################################### | ||
# Application name | ||
####################################### | ||
server.port=8081 | ||
spring.application.name=gtw-garbage | ||
server.servlet.context-path=/ | ||
|
||
####################################### | ||
# Application monitoring | ||
####################################### | ||
info.app.name=Gateway Garbage - FSE 2.0 | ||
info.app.description=Gateway Garbage for FSE 2.0 | ||
info.app.version=1.0.0_SPRINT6 | ||
|
||
management.server.port=8081 | ||
management.endpoints.web.base-path=/ | ||
management.endpoints.web.path-mapping.live=status | ||
management.endpoints.web.path-mapping.health=health/ready | ||
management.endpoint.metrics.enabled=true | ||
management.endpoint.prometheus.enabled=true | ||
management.endpoints.web.path-mapping.prometheus=metrics | ||
management.endpoints.web.path-mapping.metrics=actuator | ||
management.endpoints.web.exposure.include=health,metrics,prometheus,live,ready,env,info | ||
management.health.db.enabled=true | ||
management.endpoint.health.show-details=always | ||
|
||
####################################### | ||
# Open API | ||
####################################### | ||
springdoc.swagger-ui.path=/openapi/ui | ||
springdoc.show-actuator=true | ||
|
||
docs.info.contact.name=Mario Rossi | ||
docs.info.contact.mail=[email protected] | ||
docs.info.contact.url=www.example.com | ||
docs.info.termsOfService=www.terms.com | ||
docs.info.summary=Performs Garbage manage | ||
docs.info.description=Performs Garbage manage | ||
docs.info.api-id=1 | ||
docs.info.title=Gateway Garbage | ||
|
||
####### LOGGING OUTPUT FORMAT ############ | ||
# Must be one of console, json | ||
####################################### | ||
log.output.format=console | ||
log.elastic-search.enable=false | ||
logging.level.org.springframework.web.filter.CommonsRequestLoggingFilter=DEBUG | ||
|
||
####################################### | ||
# DISABLE NULL ON JSON | ||
####################################### | ||
spring.jackson.default-property-inclusion = NON_NULL | ||
|
||
####################################### | ||
# DATASOURCE DB | ||
####################################### | ||
data.mongodb.uri=${MONGO_URI_SRV}${MONGO_USER}:${MONGO_PASSWORD}@${MONGO_ADDRESS}${MONGO_SUFFIX} | ||
transactions.mongodb.uri=${MONGO_URI_SRV}${MONGO_USER}:${MONGO_PASSWORD}@${MONGO_ADDRESS}${MONGO_SUFFIX} | ||
valdoc.mongodb.uri=${MONGO_URI_SRV}${MONGO_USER}:${MONGO_PASSWORD}@${MONGO_ADDRESS}${MONGO_SUFFIX} | ||
rules.mongodb.uri=${MONGO_URI_SRV}${MONGO_USER}:${MONGO_PASSWORD}@${MONGO_ADDRESS}${MONGO_SUFFIX} | ||
data.mongodb.max.staleness=91 | ||
transactions.mongodb.max.staleness=91 | ||
valdoc.mongodb.max.staleness=91 | ||
rules.mongodb.max.staleness=91 | ||
|
||
data.mongodb.schema-name= FSE_GTW | ||
|
||
####################################### | ||
# KAFKA | ||
####################################### | ||
spring.sleuth.messaging.kafka.enabled=false | ||
####KAFKA CONNECTION SETTINGS ########## | ||
kafka.bootstrap-servers=${KAFKA_ADDRESS} | ||
kafka.properties.security.protocol=SASL_SSL | ||
kafka.properties.sasl.mechanism=OAUTHBEARER | ||
kafka.properties.sasl.jaas.config=org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule required; | ||
kafka.properties.ssl.truststore.location= | ||
kafka.properties.ssl.truststore.password= | ||
kafka.properties.request.timeout.ms= | ||
kafka.oauth.tenantId=${TENANT_ID} | ||
kafka.oauth.appId=${APP_ID} | ||
kafka.oauth.pfxPathName=${PFX_NAME_RESOURCE_PATH} | ||
kafka.oauth.pwd=${PFX_PASSWORD} | ||
kafka.enablessl=true | ||
|
||
|
||
kafka.producer.client-id=springboot-gtw-garbage | ||
|
||
####################################### | ||
# DATA RETENTION RULES | ||
####################################### | ||
retention.transactions-query.limit=500 | ||
|
||
####################################### | ||
# DATA RETENTION RULES | ||
####################################### | ||
ms.url.gtw-config=http://it-fse-gtw-config.${SERVICE_ADDRESS} | ||
|
||
####################################### | ||
# Configurazione scheduler : | ||
# secondi, minuti, ore, giorni del mese, mese, giorni della settimana | ||
####################################### | ||
scheduler.data-retention=0 0 * * * * | ||
scheduler.valdoc-retention=0 0 * * * * | ||
scheduler.rules-retention=0 0 * * * * | ||
|
||
###################################### | ||
# TIME RATE REFRESH CONFIG (milliseconds) | ||
###################################### | ||
ms.config.refresh-rate=900000 |
Oops, something went wrong.