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

Format of the file search pattern is inconsistent #14

@yharish991

Description

@yharish991

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions