Re: CF environmental variables - org is missing


Noburou TANIGUCHI
 

Sorry for resurrecting an old thread.

Is there any progress on this issue?
Recently one of our users also needs to get org and space info from
environment variables.

I've checked the story[1] Nick mentioned, but it seems still in the icebox.
What is required to gear up its progress?

[1] https://www.pivotaltracker.com/story/show/126180869

Regards,


Nicholas Calugar wrote
Hi Vinod,

We are actually intending to deprecate VCAP_APPLICATION in favor of CF_
environment variables in the near future:

https://www.pivotaltracker.com/story/show/126180869


Thanks,

Nick

--
Nicholas Calugar

On October 13, 2016 at 8:20:21 AM, Vinod Singh (
vinoddandy@
) wrote:

Friends,

I am working to retrieve org/space/application-name in CF via System
provided environmental variables.
Unfortunately I could not "org" in list. Is it not a good idea to include
"org" also in System Provided list ?

cf env
<appname>
System-Provided:


{
"VCAP_APPLICATION": {
"application_id": "74b3e1a6-ba9f-4dcb-9ae3-e68e1dbfa417",
"application_name": "mylogapp",
"application_uris": [
"xxxx.xxxx.xxx"
],
"application_version": "e43c2d12-cd8e-46d3-9298-ce0905651c0e",
"limits": {
"disk": 1024,
"fds": 16384,
"mem": 128
},
"name": "mylogapp",
"space_id": "4d942c57-e41e-43e2-ba3a-0665ceaa976b",
"space_name": "demo2",
"uris": [
"xxxxx.xxxxx.xxxxx"
],
"users": null,
"version": "e43c2d12-cd8e-46d3-9298-ce0905651c0e"
}
}


Regards,
Vinod




-----
I'm not a ...
Noburou TANIGUCHI
--
View this message in context: http://cf-dev.70369.x6.nabble.com/cf-dev-CF-environmental-variables-org-is-missing-tp5914p6678.html
Sent from the CF Dev mailing list archive at Nabble.com.

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.