Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Conversation

@sstone1
Copy link
Contributor

@sstone1 sstone1 commented Apr 21, 2018

https://github.com/hyperledger/composer/issues/3802

Allow proxy configuration to accept an override for the REST server URL in two environments:

REST_SERVER_URL

This went in the first drop - a single URL override.

Example:

export REST_SERVER_URL=https://dogecorp.com:3000

REST_SERVER_URLS

This is new in this PR - a JSON string containing business network name to URL mappings for multiple business networks - useful for generic deployment scripts. The application knows which business network that it should look for.

Example:

export REST_SERVER_URLS='{
    "basic-sample-network": "https://basic-sample-network.dogecorp.com",
    "vehicle-manufacture-network": "https://vehicle-manufacture-network.simoncorp.com"
}'

… networks

Signed-off-by: Simon Stone <sstone1@uk.ibm.com>
@sstone1 sstone1 self-assigned this Apr 21, 2018
@sstone1 sstone1 merged commit 0874909 into hyperledger-archives:master Apr 23, 2018
@sstone1 sstone1 deleted the gen-proxy-multiurls branch April 23, 2018 08:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants