Skip to content

Conversation

@PDT42
Copy link

@PDT42 PDT42 commented Dec 5, 2025

We currently use process.env.VCAP_SERVICES to access service binding information to enable auto-detection of the audit-log kind to use. The auto-detection mechanism was mentioned as alpha in the change log. With file-based-vcap-services enabled, VCAP_SERVICES may not be available to enable this mechanism.

I was not able to find a combination that allows to keep the auto-detection mechanism and, at the same time, ensure that we do not try to access binding information from an absent VCAP_SERVICES environment variable.

@PDT42 PDT42 changed the title chore: VCAP_SERVICES_FILE_PATH compatibility chore!: VCAP_SERVICES_FILE_PATH compatibility Dec 5, 2025
@PDT42 PDT42 requested a review from sjvans December 8, 2025 10:17
"audit-log-to-console": {
"impl": "@cap-js/audit-logging/srv/log2console"
},
"audit-log-to-als": {
Copy link
Contributor

Choose a reason for hiding this comment

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

we should find a way to keep this

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.

4 participants