Re: Java: How to find out user, org, application


Eitan Suez <esuez@...>
 

the space name and space id should be available in/via the VCAP_APPLICATION
environment variable. / eitan

On Tue, Apr 11, 2017 at 5:46 AM, CF_genn <CF_subscription(a)streber24.de>
wrote:

Hi CF-DEV,
I have a Java app deployed and running. Is it possible to find out from the
application
- in what org / space it is running?
- can it find out its own name? (as shown in "cf apps")

Thank you!





--
View this message in context: http://cf-dev.70369.x6.nabble.
com/Java-How-to-find-out-user-org-application-tp6729.html
Sent from the CF Dev mailing list archive at Nabble.com.

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