Skip to content

Conversation

@beyhan
Copy link
Member

@beyhan beyhan commented Apr 3, 2025

Context

As defined in
RFC-0030 if file-based-vcap-services app feature is enabled the VCAP_SERVICES content is store in a file, which location is given with the VCAP_SERVICES_FILE_PATH env var. This change is adding support for that use case.

Release Notes

Add support for reading the VCAP_SERVICES content from a JSON file under VCAP_SERVICES_FILE_PATH as defined in
RFC-0030

Definition of Done

  • Feature scope is implemented
  • Feature scope is tested
  • Feature scope is documented
  • Release notes are created

@cla-assistant
Copy link

cla-assistant bot commented Apr 3, 2025

CLA assistant check
All committers have signed the CLA.

As defined in
[RFC-0030](https://github.com/cloudfoundry/community/blob/main/toc/rfc/rfc-0030-add-support-for-file-based-service-binding.md)
if "file-based-vcap-services" app feature is enabled the VCAP_SERVICES content
is store in a file, which location is given with the
"VCAP_SERVICES_FILE_PATH" env var. This change is adding support for
that use case.
@beyhan beyhan force-pushed the add-file-based-service-binding-support-for-vcap-services branch from 01a3bbd to 8c96f28 Compare April 3, 2025 08:51
MatKuhr
MatKuhr previously approved these changes Apr 3, 2025
Copy link
Member

@MatKuhr MatKuhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM, some minor questions on tests. I edited the PR description to contain a release note, so it should be ready 2 go 🥳

…icebinding/SapVcapServicesServiceBindingAccessorTest.java

Co-authored-by: Matthias Kuhr <[email protected]>
Copy link
Member

@MatKuhr MatKuhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏻

@MatKuhr MatKuhr merged commit f223194 into SAP:main Apr 3, 2025
6 checks passed
@CharlesDuboisSAP
Copy link
Contributor

@beyhan The btp-env-var library version 0.21.0 has been released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants