How to add custom variables per environment/namespace in Adobe I/O Runtime (commerce-cif-graphql-integration-reference)
I am new in the AIO world, so for my proof of concept I am using and modifying the CIF reference project commerce-cif-graphql-integration-reference, but I am trying to create custom configuration values to connect to a 3rd party REST API. The goal is to have separate values per environment, for example:
For namespace mycoolnamespace1:
MY_API_URL = http://dev.mycookapi.com/rest/something
MY_API_KEY = DEV123
For namespace mycoolnamespace2:
MY_API_URL = http://qa.mycookapi.com/rest/something
MY_API_KEY = QA123
For namepsace prod
MY_API_URL = http://prod.mycookapi.com/rest/something
MY_API_KEY = PROD123
Then have these variables available in 'params' to be used by my actions. However I don't know how to achieve this. Could some good soul point me to the right direction?