on 01-17-2023 12:42 PM
Hi everybody,
i would like to know if there is an easy way (or a btp-service) to get organizational information about subaccount-id, name, organisation, space, etc.) where my cap-app (NodeJs) is deployed on (cloud foundry).
kind regards
Matthias
Hi mhay,
You can call
JSON.parse(process.env.VCAP_APPLICATION)
to get the information.
Kind regards
Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
mhay
yes, possible.. you can use v3 api of cloud foundry and you can use it in destination. Call the destination endpoint in CAP App.
https://v3-apidocs.cloudfoundry.org/version/3.102.0/index.html#organizations
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.