Azure Configuration

Azure supports MongoDB and PostgreSQL database. Following are the Azure configurations:

PROPERTY DEFAULT VALUE DESCRIPTION
Common configuration details
RESOURCE_GROUP_NAME infinity-savingspot-ms

Env specific resource name can be appended

Groups all the function app and configuration of the deployment.

LOCATION uksouth location of azure account
APP_NAME savingspotinfinityapp

Env specific app name can be appended

Function app for API created in Azure, if app name is changed, then rename the folder in this path ms-savingspot-package-azure-<version>\ms-savingspot-azure\target\azure-functions.

MSF_NAME savingspot Name of Microservice
JAVA_OPTS -Djava.net.preferIPv4Stack=true Java property
EXECUTION_ENVIRONMENT server  
SUBSCRIPTION_ID ""  
DEPLOYMENT_ENVIRONMENT "" Prefix name for multiple deployment
SEPARATOR "-"  
LOG_LEVEL ERROR  
MongoDB Configurations
DATABASE_KEY mongodb Name of the database key
DATABASE_TYPE mongo Type of the database
MONGODB_DBNAME ms_savingspot Name of the database
MONGOSHELL_CONNECT_STR <MONGODB_CONNECTION_URL> URL to connect to the MongoDB instance
PostgreSQL Database Configurations
DB_NAME_SPACE savingspot  
POSTGRES_DBNAME ms_savingspot Name of the database
DATABASE_KEY postgresql Name of the database key
POSTGRESQL_CONNECTIONURL jdbc:postgresql://<DB_NAME_SPACE>.postgres.database.azure.com:5432/<POSTGRES_DBNAME> URL to connect to the PostgreSQL instance
POSTGRESQL_USERNAME savingspotroot Username
POSTGRESQL_PASSWORD Passw0rd! Password
PDP Configuration
AUTHZ_ENABLED false

Enable or 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 Configuration file path needs to be set in the property.

PDP_RESOURCE_TYPE API

The value that is set in the XAML configuration file needs to be provided.

Resource type is used to identify the policy set in the XAML config.

PDP_RESOURCE_MANAGER SAVINGSPOT

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.

Entitlement Configuration
ENTITLEMENT_SERVICE_ENABLED false

Enable or Disable the entitlement service.

If the property is enabled, the roles and permissions needed for the authentication are taken from the Entitlement Microservices.

Inbox and outbox Configuration
DISABLE_INBOX true Enable or Disable inbox outbox. 
JWT Token Configuration
ms_security_tokencheck_enabled N

Enable or 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.

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.
ID_TOKEN_SIGNED true Signed token used for fabric.
JWT_TOKEN_PUBLIC_KEY <JWT_PUBLIC_TOKEN_VALUE> Indicates Base64 encoded public key content that can be directly loaded as a public key certificate.

Field Name
|
Application/Table name

Temenos Headquarters SA
2 Rue de l'Ecole-de-Chimie
CH - 1205 Geneva
Switzerland

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, May 23, 2023 9:34:48 PM IST