Description of problem: When I list environment variables of the app via REST request, I get the empty list Version-Release number of selected component (if applicable): ami-c71a2cae How reproducible: Always Steps to Reproduce: 1. Create an app 2. execute the following REST request: curl -k -X GET https://<broker_ip>/broker/rest/application/<app_id>/environment-variables -u <username>:<password> 3. Actual results: {"api_version":1.6,"data":[],"messages":[{"exit_code":0,"field":null,"index":null,"severity":"info","text":"Listing environment variables for application qehvyent"}],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3,1.4,1.5,1.6],"type":"environment-variables","version":"1.6"} Expected results: list of all env vars Additional info:
Do you have any env vars set? I get what you get when I don't but here is an example with the var foo set: {"api_version":1.6,"data":[{"links":{"GET":{"href":"https://ec2-23-22-79-10.compute-1.amazonaws.com/broker/rest/application/52d5560b9808f03dac000007/environment-variable/foo","method":"GET","optional_params":[],"rel":"Get environment variable","required_params":[]},"UPDATE":{"href":"https://ec2-23-22-79-10.compute-1.amazonaws.com/broker/rest/application/52d5560b9808f03dac000007/environment-variable/foo","method":"PUT","optional_params":[],"rel":"Update environment variable","required_params":[{"description":"Value of the environment variable","invalid_options":[],"name":"value","type":"string","valid_options":[]}]},"DELETE":{"href":"https://ec2-23-22-79-10.compute-1.amazonaws.com/broker/rest/application/52d5560b9808f03dac000007/environment-variable/foo","method":"DELETE","optional_params":[],"rel":"Delete environment variable","required_params":[]}},"name":"foo","value":"bar"}],"messages":[{"exit_code":0,"field":null,"index":null,"severity":"info","text":"Listing environment variables for application blah"}],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3,1.4,1.5,1.6],"type":"environment-variables","version":"1.6"} Please reopen if you are still having this issue.