Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Fix for Issue #263: Fixed tags in default-env.json example #264

Merged

Conversation

sebastianesch
Copy link
Contributor

I have fixed the tags in the default-env.json example to match the template in the CAP application used for testing.

I have also dug deeper into CAP to understand, what happens. The root cause, why the "plain" dialect is important in the tags of the VACP services is, that the configuration for the "postgres" service is merged with the "db" service - and when the VACP settings are merged, the current service name is "db" - not "postgres".

The magic happens in _add_vcap_services_to of @sap/cds/lib/env/index.js.

I can amend the pull request and try to explain the matching of the services is more detail if required.

Kind regards,
Sebastian

@gregorwolf gregorwolf merged commit f1dc8a1 into sapmentors:main Jan 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants