Azure Configuration
Following are the properties to be updated in install.sh or install.bat or install_mssql.sh or install_mssql.bat.
| Property | Existing Value | To Be Updated As | Description |
Component |
|---|---|---|---|---|
| DEPLOYMENT_ENVIRONMENT | "" | If Multi-Deployment is needed user can specify his desired and compliant name | For multiple instances deployment, provide unique value to DEPLOYMENT_ENVIRONMENT property in install scripts file, which creates unique Resource Group and app name. | None |
|
DATABASE_KEY |
"sql" |
|
Name of the database key |
|
|
APP_NAME |
"consentaccaggapp" |
functionapp |
The functionapp name created in Azure. |
function app |
|
LOCATION |
"northeurope" |
Chosen according to user's location and desired region |
location of Azure account. |
function app |
| SUBSCRIPTION_ID | "" | It will be set later by script by calling specific service in azure | ||
| JAVA_OPTS | "-Djava.net.preferIPv4Stack=true" | Java options for both install scripts MySQL and MSSQL. | ||
| MSF_NAME | "consent" | Name of Microservice | ||
| EXECUTION_ENV | "TEST" | |||
|
JWT Configuration |
||||
|
ms_security_tokencheck_enabled |
"Y" |
Y or N |
Enable / Disable the JWT token authorization. |
function app |
|
ID_TOKEN_SIGNED |
“true” |
JWT signed should be either true or false. |
Signed token used for fabric. |
function app |
|
JWT_TOKEN_ISSUER |
“Fabric” |
Issue value present in XACML Policy file. |
The JWT token issuer to be sent in ISS field in JWT token. |
function app |
|
JWT_TOKEN_PRINCIPAL_CLAIM |
“FABRICUSER” |
Value should match with JWT token used. |
Principal Claim to be sent in sub field in JWT token. |
function app |
|
JWT_TOKEN_PUBLIC_KEY |
<JWT_PUBLIC_TOKEN_VALUE> |
JWT public key |
Indicates Base64 encoded public key content that can be directly loaded as a public key certificate. |
function app |
| PDP Configuration | ||||
|
temn_msf_security_authz_enabled |
“true” |
true or false |
Enable / Disable the XACML policy authorization. XACML policy authorization is used to configure security policies and access rights to information for APIs. |
function app |
|
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. |
function app |
|
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. |
function app |
|
temn_msf_pdp_resource_manager |
"CONSENT" |
|
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. |
function app |
|
MySQL Configuration |
||||
|
RESOURCE_GROUP_NAME |
"consent" |
Envionment specific resource name can be appended. |
Groups all the function app and configuration of deployment. |
function app |
|
DATABASE_NAME |
"consent" |
Database name |
Database Name |
function app |
|
DB_NAME |
"consent" |
Database name |
Database Name |
function app |
|
DB_NAME_SPACE |
"sqlconsentdb" |
Env specific value can be updated. |
Under this, database is created. |
function app |
|
DB_USERNAME |
"sand@sqlconsentdb" |
username |
username for MySQL Database |
function app |
|
DB_PASSWORD |
"rootroot@1234" |
password |
password for MySQL Database |
function app |
|
DB_CONNECTION_URL |
“jdbc:mysql://sqlconsentdb.mysql.database.azure.com:3306/consent” |
As per DB_NAME_SPACE defined. |
Microservice uses Connection URL to connect to MySQL DB. |
function app |
|
DRIVER_NAME |
"com.mysql.jdbc.Driver" |
MySQL Driver |
Driver for connecting MySQL through JDBC. |
|
|
DIALECT |
"org.hibernate.dialect.MySQL5InnoDBDialect" |
|
|
|
|
HOST |
"sqlconsentdb.mysql.database.azure.com" |
As per DB_NAME_SPACE defined. |
Microservice uses Connection URL to connect to MySQL DB. |
function app |
|
PORT |
3306 |
As required |
Microservice uses Connection URL to connect to MySQL DB. |
function app |
|
ADMIN_USER_NAME |
"sand" |
desired admin username. |
admin username for MySQL Database. |
function app |
| SEPARATOR | "-" | Separator | ||
|
MSSQL Configuration |
||||
|
RESOURCE_GROUP_NAME |
"consentms" |
Environment specific resource name can be appended. |
Groups all the function app and configuration of deployment. |
function app |
|
DATABASE_NAME |
"consent" |
Database name |
Database Name |
function app |
|
DB_NAME |
"consent" |
Database name |
Database Name |
function app |
|
DB_NAME_SPACE |
"mssqlsqlconsentdb" |
Environment specific value can be updated. |
Under this, database is created. |
function app |
|
DB_USERNAME |
"sand@mssqlsqlconsentdb" |
username |
username for MSSQL Database |
function app |
|
DB_PASSWORD |
"rootroot@1234" |
password |
password for MSSQL Database |
function app |
|
DB_CONNECTION_URL |
“jdbc:sqlserver://mssqlsqlconsentdb.database.windows.net:1433;databaseName=consent” |
As per DB_NAME_SPACE defined |
Microservice uses Connection URL to connect to MSSQL DB. |
function app |
|
DRIVER_NAME |
"com.microsoft.sqlserver.jdbc.SQLServerDriver" |
SQL Server Driver |
Driver for connecting SQL Server through JDBC. |
|
|
DIALECT |
"org.hibernate.dialect.SQLServerDialect" |
|
|
|
|
HOST |
"mssqlsqlconsentdb.database.windows.net" |
As per DB_NAME_SPACE defined. |
Microservice uses Connection URL to connect to MSSQL DB. |
function app |
|
PORT |
1433 |
As required |
Microservice uses Connection URL to connect to MSSQL DB. |
function app |
|
ADMIN_USER_NAME |
"sand" |
desired admin username. |
admin username for MSSQL Database. |
function app |
| SEPARATOR | "" | Separator | ||
|
Logging Configuration |
||||
|
ROOT_LEVEL |
“ERROR” |
ERROR, INFO, DEBUG are the three values present for logger. |
ERROR, INFO, DEBUG are the three values present for logger. |
function app |
| Entitlement Configuration | ||||
| temn_entitlement_service_enabled | "false" | Should be either true or 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. |
|
| Inbox and outbox Configuration | ||||
| tem_msf_disableInbox | "true" | Should be either true or false. | Enable / Disable inbox outbox. | |
In this topic