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

fix: issue where Storage binding parameters do not work with Spring #1193

Merged
merged 24 commits into from
May 29, 2024

Conversation

zucchinidev
Copy link
Contributor

@zucchinidev zucchinidev commented May 27, 2024

GCP Spring Cloud Foundry Environment Post Processor needs specific service names and property key names when reading the binding credentials.

See example here

#187565525

Checklist:

We want to be able to test the application locally, for this we need to overwrite
the environment variable VCAP_SERVICES and overwrite the environment processor.

We’ll also need to mock the oAuth the Google service.

We’ll leave it for the next phase of development, so we delete the
unnecessary dependencies

[#187565525](https://www.pivotaltracker.com/story/show/187565525)
acceptance-tests/apps/gcpobjectstorage/mvnw.cmd Outdated Show resolved Hide resolved
acceptance-tests/storage_test.go Show resolved Hide resolved
acceptance-tests/storage_test.go Outdated Show resolved Hide resolved
terraform/storage/bind/outputs.tf Outdated Show resolved Hide resolved
We want to be able to test the application locally, for this we need to overwrite
the environment variable VCAP_SERVICES and overwrite the environment processor.

We’ll also need to mock the oAuth the Google service.

We’ll leave it for the next phase of development, so we delete the
unnecessary dependencies

[#187565525](https://www.pivotaltracker.com/story/show/187565525)
@zucchinidev zucchinidev force-pushed the fix_storage_binding_parameters_with_spring branch from 282102f to 4ec06e9 Compare May 28, 2024 12:52
@zucchinidev zucchinidev requested a review from blgm May 28, 2024 13:42
Copy link
Member

@blgm blgm left a comment

Choose a reason for hiding this comment

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

This is great @zucchinidev. I ran the test, and particularly liked that it compiled all the Java stuff for me without me having to do any manual steps.

acceptance-tests/helpers/apps/prebuild.go Outdated Show resolved Hide resolved
acceptance-tests/storage_test.go Outdated Show resolved Hide resolved
@zucchinidev zucchinidev merged commit 4032ba6 into main May 29, 2024
8 checks passed
@zucchinidev zucchinidev deleted the fix_storage_binding_parameters_with_spring branch May 29, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants