Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert nested binding credentials to JSON #256

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

modulo11
Copy link
Contributor

@modulo11 modulo11 commented Sep 4, 2023

Fixes #254.

Fix swallowing the parsing error and marshal properties to JSON if they are not a string.

@c0d1ngm0nk3y
Copy link
Contributor

@dmikusa @samj1912 Any thoughts on this pr?

@pbusko pbusko force-pushed the nested-bindings branch 2 times, most recently from 582666e to 3990a46 Compare September 18, 2023 10:46
@dmikusa dmikusa added type:bug A general bug semver:patch A change requiring a patch version bump labels Sep 19, 2023
platform_test.go Outdated Show resolved Hide resolved
@dmikusa
Copy link
Contributor

dmikusa commented Sep 19, 2023

Looks good to me, just the one suggestion with the test.

Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
Signed-off-by: Johannes Dillmann <j.dillmann@sap.com>
Signed-off-by: Pavel Busko <pavel.busko@sap.com>
@dmikusa dmikusa merged commit 432f142 into buildpacks:main Sep 21, 2023
4 checks passed
@pbusko pbusko deleted the nested-bindings branch September 22, 2023 12:11
c0d1ngm0nk3y pushed a commit to sap-contributions/libcnb that referenced this pull request Oct 12, 2023
Signed-off-by: Johannes Dillmann <j.dillmann@sap.com>
Signed-off-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
c0d1ngm0nk3y pushed a commit to sap-contributions/libcnb that referenced this pull request Oct 17, 2023
Signed-off-by: Johannes Dillmann <j.dillmann@sap.com>
Signed-off-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
Signed-off-by: Ralf Pannemans <ralf.pannemans@sap.com>
dmikusa pushed a commit that referenced this pull request Oct 23, 2023
Convert nested binding credentials to JSON (#256)

Signed-off-by: Johannes Dillmann <j.dillmann@sap.com>
Signed-off-by: Pavel Busko <pavel.busko@sap.com>
Signed-off-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Johannes Dillmann <modulo11@users.noreply.github.com>
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Creating bindings from VCAP_SERVICES fails if credentials are nested
4 participants