{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/cf-java-client/issues/263","labels_url":"https://api.github.com/repos/cloudfoundry/cf-java-client/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/cf-java-client/issues/263/comments","events_url":"https://api.github.com/repos/cloudfoundry/cf-java-client/issues/263/events","html_url":"https://github.com/cloudfoundry/cf-java-client/issues/263","id":59109374,"number":263,"title":"No way to get env variables","user":{"login":"andreaturli","id":222887,"avatar_url":"https://avatars.githubusercontent.com/u/222887?v=3","gravatar_id":"","url":"https://api.github.com/users/andreaturli","html_url":"https://github.com/andreaturli","followers_url":"https://api.github.com/users/andreaturli/followers","following_url":"https://api.github.com/users/andreaturli/following{/other_user}","gists_url":"https://api.github.com/users/andreaturli/gists{/gist_id}","starred_url":"https://api.github.com/users/andreaturli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreaturli/subscriptions","organizations_url":"https://api.github.com/users/andreaturli/orgs","repos_url":"https://api.github.com/users/andreaturli/repos","events_url":"https://api.github.com/users/andreaturli/events{/privacy}","received_events_url":"https://api.github.com/users/andreaturli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-26T17:41:13Z","updated_at":"2015-02-26T18:43:44Z","closed_at":null,"body":"I'd like to have a method to get the env variables as from the CF web console.\r\n`app.getEnv` and `app.getEnvAsMap` don't seem to work as expected.\r\n\r\nWhat am I missing?"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/cf-java-client/issues/comments/76240111","html_url":"https://github.com/cloudfoundry/cf-java-client/issues/263#issuecomment-76240111","issue_url":"https://api.github.com/repos/cloudfoundry/cf-java-client/issues/263","id":76240111,"user":{"login":"scottfrederick","id":60661,"avatar_url":"https://avatars.githubusercontent.com/u/60661?v=3","gravatar_id":"","url":"https://api.github.com/users/scottfrederick","html_url":"https://github.com/scottfrederick","followers_url":"https://api.github.com/users/scottfrederick/followers","following_url":"https://api.github.com/users/scottfrederick/following{/other_user}","gists_url":"https://api.github.com/users/scottfrederick/gists{/gist_id}","starred_url":"https://api.github.com/users/scottfrederick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottfrederick/subscriptions","organizations_url":"https://api.github.com/users/scottfrederick/orgs","repos_url":"https://api.github.com/users/scottfrederick/repos","events_url":"https://api.github.com/users/scottfrederick/events{/privacy}","received_events_url":"https://api.github.com/users/scottfrederick/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T18:43:44Z","updated_at":"2015-02-26T18:43:44Z","body":"The current `getEnv()` and `getEnvAsMap()` methods only return user-provided environment variables (those set with `cf set-env` or the CC API equivalent). We have an open issue to expand those to support system env vars: #204."}}