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

Format of the file search pattern is inconsistent #14

Open
yharish991 opened this issue Apr 8, 2020 · 0 comments
Open

Format of the file search pattern is inconsistent #14

yharish991 opened this issue Apr 8, 2020 · 0 comments

Comments

@yharish991
Copy link

When i bind the service to the application when creating the application using ibmcloud dev create, the file search pattern in the generated mappings.json is something like this file://localdev-config.json:$.cloudant_url which does not work and in here i noticed a different format https://github.com/ibm-developer/ibm-cloud-env#mappingsjson-file-example . What is the correct format?

In order for this format to work file://localdev-config.json:$.cloudant_url, i had to make changes in this line https://github.com/ibm-developer/ibm-cloud-spring-bind/blob/master/src/main/java/com/ibm/cloud/spring/env/CloudServicesConfigMap.java#L269 to this String path = token[0].substring(2);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant