| Bookmark Name | Actions |
|---|
Installing Microservices by Enabling Authentication and Authorisation Service
This section helps you to install the microservice in docker by enabling the authentication and authorisation Service.
Procedure:
- Create the ENTITLEMENT_SERVICE_HOME directory.
- Extract the ms-entitlement-package-docker-<release>.zip release bundle to the ENTITLEMENT_SERVICE_HOME directory.
- Configure the environment variables available in entitlement.yml file as follows.
Variable Name
Variable Value
Description
POLICY_CALLBACK_ENABLED
true
Enabling the policy callback mechanism
PDP_CONFIG
classpath:xacml/entitlements-pdp-callback-config.xml
Mapping the pdp-callback configuration file available in classpath
temn.msf.security.authz.xacml.policyset.id
ALL
In-order to fetch all the XACML policy files to parse the mapped actions
temn.config.service.base.path
http://<IP_ADDRESS>:<PORT>/ms-genericconfig-api/api/v1.0.0/
Generic-Config microservice end point base URL
temn.config.service.resource.path
system/configurationGroups/{groupId}/configuration
Generic-Config microservice resource path to get all configurations
EXECUTION_ENVIRONMENT
TEST
Remove this variable so that, actual API will call out
- To communicate from the entitlement microservice to the generic-config microservice, configure the extra hosts in the yaml file of entitlement microservice.
extra_hosts:
"genericconfig-api:<IP_ADDRESS_OF_THE_LOCAL_MACHINE> - To make the microservice up and running, execute the following command to create images and docker container for that image.
- Windows - entitlement.bat up --build -d
- Linux - entitlement.sh up --build -d

- To stop and remove the existing container, execute the following command.
- Windows - entitlement.bat down --remove-orphans
- Linux - entitlement.sh down --remove-orphans
Add Bookmark
save your best linksView Bookmarks
Visit your best linksIn this topic
Are you sure you want to log-off?