Support VCAP_SERVICES_FILE_PATH
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by tracing the plugin behavior that creates default-env.json and populates VCAP_SERVICES; no source files or tests are named in the issue. Use the documented VCAP_SERVICES_FILE_PATH behavior and the provided cf ssh command as the integration reference, and consider the work done when file-based bindings are read and stored in the default-env VCAP_SERVICES variable.
Written by the indexing model from the issue text.
Description
Cloud foundry added support of file-based VCAP services to bypass the size limit of VCAP_SERVICES as explained in the documentation below:
- https://docs.cloudfoundry.org/devguide/services/application-binding.html#file-based-vcap-services
- https://docs.cloudfoundry.org/devguide/deploy-apps/environment-variable.html#VCAP-SERVICES-FILE-PATH
It would be nice to enhance this plugin to automatically read the content of the bindings stored in a file and to store it in the default-env VCAP_SERVICES variable.
Content can be read with cf ssh command:
cf ssh <app-name> -c 'cat $VCAP_SERVICES_FILE_PATH'
- Dominant language
- Go
- Stars
- 6
- Forks
- 4
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SAP/cf-cli-defaultenv-plugin
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
SAP/cf-cli-defaultenv-plugin#12 · 1 comment ·
All issues in SAP/cf-cli-defaultenv-plugin
Similar issues
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
🤔 refinement needed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
equinor/radix-operator#1979 ·