Docker Configuration
Following are the properties to be updated in MySQL or MSSQL install files.
| Property | Default Value | Description |
|---|---|---|
| MySQL Database Configuration | ||
| HOST | db-service | Host name of the database |
| PORT | 3306 | port number of the database |
| DATABASE_KEY | sql | name of the database key |
| DATABASE_NAME | ms_consent | name of the database |
| DB_USERNAME | root | database username |
| DB_PASSWORD | password | database password |
| DB_CONNECTION_URL | jdbc:mysql://db-service:3306/ms_consent | URL to connect to the MySQL db instance |
| DRIVER_NAME | com.mysql.jdbc.Driver | database driver name |
| DIALECT | org.hibernate.dialect.MySQL5InnoDBDialect | database dialect |
| MAX_POOL_SIZE | 150 | database max pool connection |
| MIN_POOL_SIZE | 10 | database min pool connection |
| MSSQLDatabase Configuration | ||
| HOST | db-service | Host name of the database |
| PORT | 1433 | port number of the database |
| DATABASE_KEY | sql | name of the database key |
| DATABASE_NAME | ms_consent | name of the database |
| DB_USERNAME | sa | database username |
| DB_PASSWORD | Rootroot@12345 | database password |
| DB_CONNECTION_URL | jdbc:sqlserver://db-service:1433;databaseName=ms_consent | URL to connect to the MSSQL db instance. |
| DRIVER_NAME | com.microsoft.sqlserver.jdbc.SQLServerDriver | database driver name |
| DIALECT | org.hibernate.dialect.SQLServer2012Dialect | database dialect |
| MAX_POOL_SIZE | 150 | database max pool connection |
| MIN_POOL_SIZE | 10 | database min pool connection |
| Inbox-Outbox Configuration | ||
| tem.msf.disableInbox | "true" | Enable / 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. To identify the policy set in the XAML config use Resource type. |
| temn.msf.pdp.resource.manager | CONSENT |
The value that is set in the XAML config file needs to be provided. To identify the policy set in the XAML config use Resource Manager. |
| 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 | |
| JWT configuration | ||
| ms.security.tokencheck.enabled | N |
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 | FABRICUSER | 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. |
| temn_meter_disabled | true | |
In this topic