Skip to content

Commit

Permalink
Update cc_service.md (#3355) (#3366)
Browse files Browse the repository at this point in the history
clean up confusing `bin/run` as previous document section

Signed-off-by: David Liu <david.yx.liu@oracle.com>
(cherry picked from commit 63c75b6)

Co-authored-by: David Liu <david.yx.liu@oracle.com>
  • Loading branch information
mergify[bot] and David Liu authored Apr 27, 2022
1 parent 1c97ab1 commit 37cca19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/cc_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ code.tar.gz

The chaincode package should be used to provide two pieces of information to the external builder and launcher process
* identify if the chaincode is an external service. The `bin/detect` section describes an approach using the `metadata.json` file
* provide chaincode endpoint information in a `connection.json` file placed in the release directory. The `bin/run` section describes the `connection.json` file
* provide chaincode endpoint information in a `connection.json` file placed in the release directory.

There is plenty of flexibility to gathering the above information. The sample scripts in the [External builder and launcher sample scripts](#external-builder-and-launcher-sample-scripts) illustrate a simple approach to providing the information.
As an example of flexibility, consider packaging couchdb index files (see [Add the index to your chaincode folder](couchdb_tutorial.html#add-the-index-to-your-chaincode-folder)). Sample scripts below describe an approach to packaging the files into myccpackage.tar.gz.
Expand Down Expand Up @@ -64,7 +64,7 @@ externalBuilders:
### External builder and launcher sample scripts
To help understand what each script needs to contain to work with the chaincode as an external service, this section contains samples of `bin/detect` `bin/build`, `bin/release`, and `bin/run` scripts.
To help understand what each script needs to contain to work with the chaincode as an external service, this section contains samples of `bin/detect` `bin/build` and `bin/release` scripts.

**Note:** These samples use the `jq` command to parse json. You can run `jq --version` to check if you have it installed. Otherwise, install `jq` or suitably modify the scripts.

Expand Down

0 comments on commit 37cca19

Please sign in to comment.