Installing Holdings Microservice in AWS

This section helps you to install the Holdings Microservice in AWS.

Procedure:

  1. Create the HOLDINGS_SERVICE_HOME directory
  2. Extract the ms-holdings-package-aws-<release>.zip release bundle file into the HOLDINGS_SERVICE_HOME directory.
  3. To make the microservice up and running, execute the ./install-aws.sh command to create AWS resources.

  4. To toggle the enablement of JWT token filter in AWS, use the following scripts.

    Script

    Action

    Description

    ./destroy-authorizer.sh

    Disable JWT filter

    Delink the authorizer from API gateway and delete it

    ./install-authorizer.sh

    Enable JWT filter

    Create authorizer and link it to API-gateway

  5. Configure the environment variables available in all the API lambda functions as follows,

    Variable Name

    Variable Value

    Description

    temn_runtime_env

    AWS

    Specifying the runtime environment as AWS

    POLICY_CALLBACK_ENABLED

    true

    Enabling the policy callback mechanism

    PDP_CONFIG

    classpath:xacml/holdings-pdp-callback-config.xml

    Mapping the pdp-callback configuration file available in classpath

    temn_msf_security_authz_xacml_policyset_id

    default,BalanceViewer,StatementsViewer,Payments_Domestic_creator

    Policy ID names stored in generic-config database

    temn_config_service_base_path

    https://85f5nm31ye.execute-api.eu-west-2.amazonaws.com/test-primary/v1.0.0

    Generic-Config microservice end point base URL

    temn_config_service_resource_path

    system/configurationGroups/{groupId}/configuration/{configName}

    Generic-Config microservice resource path to get by Config-Name

    temn_config_service_api_key

    mcpPPU4LSH1w4eKCCeqcg5C9eqoWausM5qEJKCXH

    Generic-Config microservice API_KEY value

    temn_entitlement_service_base_path

    https://t09xpshj84.execute-api.eu-west-2.amazonaws.com/test-primary/v1.0.0

    Entitlement microservice endpoint base URL

    temn_entitlement_service_resource_path

    /system/entitlements/resources/users/{userId}

    Entitlement microservice resource path

    temn_entitlement_service_api_key

    WoBITDL0vS5raaYCk2Ssn7yZCGb1z5hW4pPhKGgc

    Entitlement microservice API_KEY value

    EXECUTION_ENVIRONMENT

    TEST

    Remove this variable so that, actual API will call out

  6. To stop and remove the existing container, execute the /destroy-aws.sh command.

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, October 5, 2021 11:13:33 AM IST

Feedback
x