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

fix rest server npm readme #4542

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions packages/composer-rest-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,5 @@ Executing those APIs will then have a real effect on the business network to whi
composer-rest-server
```

## Hints and Tips
For a connection profile, Hyperledger Composer looks for a `connection.json` file in the user's `<HOME>/.composer-connection-profiles`
directory.

e.g. If your connection profile is specified in `<HOME DIR>/.composer-connection-profiles/auction-app/connection.json` then you
would need to specify `auction-app` as your connection profile.

Additionally the business network identifier that you'll need to specify is that which the business network was deployed with.
Here is an example connection.json profile:
```
{
"type": "hlf",
"keyValStore": "/Users/me/.composer-credentials/kvs",
"membershipServicesURL": "grpc://some.ip.address.here:7054",
"peerURL": "grpc://some.ip.address.here:7051",
"eventHubURL": "grpc://some.ip.address.here:7053",
"deployWaitTime": 300,
"invokeWaitTime": 10,
"networks": {
"org.acme.biznissnet": "1facb9f46ac3998f4bce1dbaf8979085b01737fccb45db70903895901288ec00"
}
}
```

## License <a name="license"></a>
Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.