SAP / SAP/cf-cli-defaultenv-plugin

Support VCAP_SERVICES_FILE_PATH

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
6
Forks
4
Avg merge
1m
Merged PRs (30d)
1

Description

Cloud foundry added support of file-based VCAP services to bypass the size limit of VCAP_SERVICES as explained in the documentation below:

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'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

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.

Assessment

Tech stack
go
Domain
cli, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.