This repository was archived by the owner on Mar 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 720
Another ToC fix, RC -> v1.0, network start, runtime install, ACL addition. #1609
Merged
EdProsser
merged 27 commits into
hyperledger-archives:master
from
EdProsser:options-19-7-ed
Jul 19, 2017
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
d8bfac1
Merge remote-tracking branch 'hyperledger/master'
EdProsser caeedc3
Merge remote-tracking branch 'hyperledger/master'
EdProsser fd76df6
Merge remote-tracking branch 'hyperledger/master'
EdProsser 2ba0a15
Merge remote-tracking branch 'hyperledger/master'
EdProsser e8b27d2
Merge remote-tracking branch 'hyperledger/master'
EdProsser 75a6419
Merge remote-tracking branch 'hyperledger/master'
EdProsser baadf55
v.1 diagnosing and connector specific info
EdProsser c27ffd6
Merge remote-tracking branch 'hyperledger/master' into 6-7-17-ed
EdProsser 2af32d3
minor update
EdProsser 9b0af8c
Merge remote-tracking branch 'hyperledger/master' into 6-7-17-ed
EdProsser d23e7b5
Merge remote-tracking branch 'hyperledger/master' into 6-7-17-ed
EdProsser acd143a
Readmefix, modelling and acl
EdProsser 64a8654
Merge remote-tracking branch 'hyperledger/master' into 6-7-17-ed
EdProsser bb945fe
Add in shortened accordion ToC
EdProsser 0db3091
Merge remote-tracking branch 'hyperledger/master' into 6-7-17-ed
EdProsser f3ba941
Merging master changes
EdProsser a804b1b
System ACL doc
EdProsser 342f269
Merge remote-tracking branch 'hyperledger/master' into 6-7-17-ed
EdProsser 6db6897
Merge remote-tracking branch 'hyperledger/master' into 6-7-17-ed
EdProsser d42476d
More changes
EdProsser 5fff628
last changes
EdProsser 722b2c7
Merge remote-tracking branch 'hyperledger/master' into 6-7-17-ed
EdProsser d22fac4
RC -> v1.0, network start, runtime install,
EdProsser 65bc6b2
Adding links to new commands
EdProsser 7cbc2e8
Merge remote-tracking branch 'hyperledger/master' into options-19-7-ed
EdProsser fd85a0a
Update for modelling lang doc
EdProsser 9c7b51d
hyper ledger fabric endorsing peer
EdProsser File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
packages/composer-website/jekylldocs/reference/composer.network.start.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| --- | ||
| layout: default | ||
| title: Hyperledger Composer Network Start CLI | ||
| section: reference-command | ||
| sidebar: sidebars/accordion-toc0.md | ||
| excerpt: Composer Network Start | ||
| --- | ||
|
|
||
| # {{site.data.conrefs.composer_full}} Network Start | ||
|
|
||
| --- | ||
|
|
||
| The `composer network start` utility is used to deploy a business network archive from local disk to the {{site.data.conrefs.hlf_full}} endorsing peers. | ||
|
|
||
| _Please Note_: You **must** first install the {{site.data.conrefs.composer_full}} runtime to the {{site.data.conrefs.hlf_full}} endorsing peers by using the `composer runtime install` command. The business network name specified in the `composer runtime install` command must be the same as the business network name specified in the `composer network start` command. | ||
|
|
||
| ``` | ||
| composer network start -a <business-network-archive> -i <user-id> -s <user-id-secret> | ||
| ``` | ||
|
|
||
| ### Options | ||
| ``` | ||
| composer network start [options] | ||
|
|
||
| Options: | ||
| --help Show help [boolean] | ||
| -v, --version Show version number [boolean] | ||
| --archiveFile, -a The business network archive file name [string] [required] | ||
| --connectionProfileName, -p The connection profile name [string] | ||
| --loglevel, -l The initial loglevel to set (INFO|WARNING|ERROR|DEBUG) [string] | ||
| --option, -o Options that are specific specific to connection. Multiple options are specified by repeating this option [string] | ||
| --optionsFile, -O A file containing options that are specific to connection [string] | ||
| --startId, -i The id of the user permitted to start a network [string] [required] | ||
| --startSecret, -s The secret of the user permitted to start a network, if required [string] | ||
| ``` | ||
|
|
||
|
|
||
| ## {{site.data.conrefs.hlf_full}} Endorsement Policies | ||
|
|
||
| The `--option, -o` option and the `--optionsFile, -O` option allow connection specific information to be sent. {{site.data.conrefs.hlf_full}} endorsement policies can be sent using the `-o` and `-O` options in several ways. | ||
|
|
||
| - Using the `-o` option, the endorsement policy can be sent as a single-line JSON string as follows: | ||
|
|
||
| composer network deploy -o endorsementPolicy='{"identities": [.... }' | ||
|
|
||
| - Using the `-o` option, the endorsement policy can be sent as a file path as follows: | ||
|
|
||
| composer network deploy -o endorsementPolicyFile=/path/to/file/endorsementPolicy.json | ||
|
|
||
| In this case, the endorsement policy file should follow this format: | ||
|
|
||
| {"identities":[...], | ||
| "policy": {...}} | ||
|
|
||
| - Using the `-O` option, the endorsement policy can be sent as a file path as follows: | ||
|
|
||
| composer network deploy -O /path/to/file/options.json | ||
|
|
||
| In this case, the options file should follow this format: | ||
|
|
||
| {"endorsementPolicy": {"Identities": [...]. | ||
| "policy: {...}" | ||
| }, | ||
| "someOtherOption": "A Value" | ||
| } | ||
|
|
||
| For more information on writing {{site.data.conrefs.hlf_full}} endorsement policies, see the [{{site.data.conrefs.hlf_full}} node SDK documentation](https://fabric-sdk-node.github.io/global.html#Policy). |
34 changes: 34 additions & 0 deletions
34
packages/composer-website/jekylldocs/reference/composer.runtime.install.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| --- | ||
| layout: default | ||
| title: Hyperledger Composer Runtime Start CLI | ||
| section: reference-command | ||
| sidebar: sidebars/accordion-toc0.md | ||
| excerpt: Composer Runtime Install | ||
| --- | ||
|
|
||
| # {{site.data.conrefs.composer_full}} Runtime Install | ||
|
|
||
| --- | ||
|
|
||
| The `composer runtime install` command is used to install the {{site.data.conrefs.composer_full}} runtime on the {{site.data.conrefs.hlf_full}} endorsing peers of the blockchain network you are connecting to. This command must be run before the `composer network start` command. | ||
|
|
||
| _Please Note_: The `--businessNetworkName, -n` option **must** contain the same name as the business network name you intend to run on the {{site.data.conrefs.hlf_full}} endorsing peers. Only business networks with names matching the `--businessNetworkName, -n` option given in this command will successfully run. | ||
|
|
||
| ``` | ||
| composer runtime install -n <businessNetworkName> -p <connectionProfileName> -i <installId> -s <installSecret> | ||
| ``` | ||
|
|
||
| ### Options | ||
| ``` | ||
| composer runtime install [options] | ||
|
|
||
| Options: | ||
| --help Show help [boolean] | ||
| -v, --version Show version number [boolean] | ||
| --businessNetworkName, -n The business network name [string] [required] | ||
| --connectionProfileName, -p The connection profile name [string] [required] | ||
| --option, -o Options that are specific specific to connection. Multiple options are specified by repeating this option [string] | ||
| --optionsFile, -O A file containing options that are specific to connection [string] | ||
| --installId, -i The id of the user permitted to install the runtime [string] [required] | ||
| --installSecret, -s The secret of the user permitted to install the runtime, if required [string] | ||
| ``` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checking, should it say "David" here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's commented out. :)