Docker Configurations
Below are the required configurations:
| PROPERTY | DEFAULT VALUE | DESCRIPTION |
|---|---|---|
| MongoDB Database Configuration | ||
| MONGODB_DATABASE_KEY | mongodb | Mongodb database key |
| MONGODB_DBNAME | ms_duediligence | name of the database |
| MONGODB_CONNECTIONSTR | mongodb://ms-duediligence-mongo-node1:27017,ms-duediligence-mongo-node2:27017,ms-duediligence-mongo-node3:27017 | URL to connect to the mongodb instance |
| PostgreSQL Database Configuration | ||
| POSTGRESQL_DATABASE_KEY | postgresql | Postgresdb database key |
| POSTGRESQL_CONNECTIONURL | jdbc:postgresql://cddpostgresdb:5432/duediligencedb | URL to connect to the postgresdb instance |
| POSTGRESQL_USERNAME | duediligenceuser | Username |
| POSTGRESQL_PASSWORD | duediligencepass | Password |
| POSTGRES_DB | duediligencedb | name of the database |
| Inbox-Outbox Configuration | ||
| tem_msf_disableInbox | true | Enable or disable inbox outbox. |
| PDP Configuration | ||
| temn_msf_security_authz_enabled | false |
Enable/Disable the XACML policy authorization. XACML policy authorization is used to configure security policies and access rights to information for APIs. |
| PDP_CONFIG | classpath:xacml/pdp-config.xml |
Mapping the PDP-callback configuration file available in the classpath. XAML Config file path needs to be set in the property. |
| temn_msf_pdp_resource_type | API |
The value that is set in the XAML config file needs to be provided. Resource type is used to identify the policy set in the XAML config. |
| temn_msf_pdp_resource_manager | DUEDILIGENCE |
The value that is set in the XAML config file needs to be provided.
Resource Manager is used to identify the policy set in the XAML config. |
| temn_msf_name | ms-duediligence | Microservices Framework name |
| Entitlement Configuration | ||
| temn_entitlement_service_enabled | "false" |
Enable/Disable the entitlement service. If the property is enabled, the roles and permissions needed for the authentication will be taken from the entitlement Microservices. |
| Logger Configuration | ||
| temn_msf_logger_root_level | ERROR | |
| Tracer Configuration | ||
| temn_msf_tracer_enabled | false | |
| Refer : Tracer | ||
| temn_tracer_host | jaeger | |
| temn_tracer_port | 14268 | |
| temn_meter_disabled | true | |
| JWT configuration | ||
| ms_security_tokencheck_enabled | Y |
Enable/Disable the JWT validation. By default, JWT token check is enabled. JWT validation is used to validate the custom and mandatory claims from the provided token. |
| ID_TOKEN_SIGNED | "true" | Signed token used for fabric. |
| JWT_TOKEN_PRINCIPAL_CLAIM | sub | Indicates the claim in which the user principal is provided. |
| JWT_TOKEN_ISSUER | Fabric | Identifies the issuer of the authentication token. |
| JWT_TOKEN_PUBLIC_KEY | <JWT Token Value> | Indicates Base64 encoded public key content that can be directly loaded as a public key certificate. |
|
Below mentioned InboxOutbox and Ingester Configurations are related to GDPR.
|
||
| InboxOutbox Configurations | ||
| temn.msf.stream.outbox.topic | ms-duediligence-outbox | |
| temn.msf.ingest.source.stream | ms-duediligence-outbox | |
| tmn.inbox.source.namespace | duediligence-inbox | |
| tmn.outbox.source.namespace | duediligence-outbox | |
| tmn.inbox.thread.pool.count | 10 | |
| tmn.outbox.thread.pool.count | 10 | |
| temn.queue.impl | kafka | |
| temn.msf.ingest.is.cloud.event | true | |
| Ingester Configurations | ||
| temn.msf.ingest.source.stream | ms-duediligence-inbox-topic | |
| temn.msf.ingest.sink.error.stream | ms-duediligence-inbox-error-topic | |
| temn.msf.ingest.source.stream.consumergroup.id | ms-duediligence-ingester-consumer | |
| temn.msf.ingest.sink.error.stream.producer.id | ms-duediligence-ingester-error-producer | |
| temn.msf.stream.outbox.topic | ms-duediligence-outbox | |
| temn.msf.raise.received.event | true | |
| temn.msf.ingest.is.avro.event.ingester: | false | |
| temn.msf.ingest.outbox.cache.namespace | ms-duediligence-outbox | |
| temn.msf.ingest.inbox.cache.namespace | ms-duediligence-inbox | |
| Common Configurations | ||
| temn.msf.stream.vendor | kafka | |
| temn.msf.stream.kafka.bootstrap.servers | kafka:29092 | It contains a list of host/port pairs for establishing the initial connection to the Kafka cluster.A host and port pair uses : as the separator. |
| temn.msf.ingest.generic.ingester | com.temenos.microservice.framework.core.ingester.GenericCommandSTBinaryIngester | |
| tmn.ignite.host | cache-service | |
| tmn.ignite.port | 10800 | |
| temn.msf.exec.env | server | |
| class.inbox.dao | com.temenos.microservice.framework.core.inbox.InboxDaoImpl | |
| class.outbox.dao | com.temenos.microservice.framework.core.outbox.OutboxDaoImpl | |
| class.package.name | com.temenos.microservice.duediligence.function | |
In this topic