You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **between** operator returns values between the given range. It accepts numbers, datetime values, and strings. If supplied with strings, the **between** operator returns results between the supplied strings alphabetically. In the example below, the filter will return all resources where the driver property is alphabetically between _a_ and _c_, inclusively.
Copy file name to clipboardExpand all lines: packages/composer-website/jekylldocs/managing/participant-add.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ A participant can be added to a participant registry using either the API or the
14
14
15
15
## Before you start
16
16
17
-
Before you follow these steps, you must have modeled a participant in a Business
18
-
Network Definition and deployed it as a Business Network.
17
+
Before you follow these steps, you must have modeled a participant in a Business Network Definition and deployed it as a Business Network.
19
18
20
-
The procedure below shows an example using the following model of a participant
21
-
from the Digital Property sample Business Network Definition: [digitalproperty-network](https://www.npmjs.com/package/digitalproperty-network)
19
+
The procedure below shows an example using the following model of a participant from the Digital Property sample Business Network Definition: [digitalproperty-network](https://www.npmjs.com/package/digitalproperty-network)
20
+
21
+
*Please note*: If you are adding the participant using the `composer participant add` command, ensure that the JSON representation of the participant is wrapped in single quotes.
Copy file name to clipboardExpand all lines: packages/composer-website/jekylldocs/playground/id-cards-playground.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: Business Network Cards
4
4
category: tasks
5
5
section: playground
6
6
sidebar: sidebars/accordion-toc0.md
7
-
excerpt: Business Network Cards combine a connection profile, identity, and certificates to allow a connection to a business network in Hyperledger Composer Playground. Business Network Cards can be [created, exported and imported](./id-cards-playground.html) from the **My Wallet** page in Hyperledger Composer Playground.
7
+
excerpt: Business Network Cards combine a connection profile, identity, and certificates to allow a connection to a business network in Hyperledger Composer Playground. Business Network Cards can be [created, exported and imported](./id-cards-playground.html) from the **Business Networks** page in Hyperledger Composer Playground.
8
8
index-order: 401
9
9
---
10
10
@@ -29,12 +29,12 @@ Access to your Business Network is granted to another user through the provision
29
29
30
30
There must be a Participant existing in the business network in order to bind an Identity required to create the Business Network Card.
31
31
32
-
When an identity is issued within Playground, there is an option to add the Identity to your Wallet. By selecting this option a Business Network Card is created for the issued identity that is valid for the current business network. The Business Network Card will appear in your wallet once you log out of the current business network, and it is from this location where it may be exported to share with another user.
32
+
When an identity is issued within Playground, there is an option to save the identity for use in your Business Networks page. By selecting this option a Business Network Card is created for the issued identity that is valid for the current business network. The Business Network Card will appear on your Business Networks page once you log out of the current business network, and it is from this location where it may be exported to share with another user.
33
33
34
34
35
-
### Creating a Business Network Card
35
+
### Creating a Business Network Card
36
36
37
-
1. From the **My Wallet** page, select an identity to use to connect to your business network. Click **Connect Now**. _Please note:_ You must use an identity that has permission to create new identities.
37
+
1. From the **Business Networks** page, select an identity to use to connect to your business network. Click **Connect Now**. _Please note:_ You must use an identity that has permission to create new identities.
38
38
39
39
2. If required, create the participant to which you intend to assign the identity:
40
40
- Click the **Test** tab, and click **Create New Participant**.
@@ -52,19 +52,19 @@ When an identity is issued within Playground, there is an option to add the Iden
52
52
53
53
6. Click **Create New**.
54
54
55
-
7. Click **Add to My Wallet**. Adding the Business Network Card to your wallet allows you to use it to connect to the business network, or export it for someone else to use.
55
+
7. Click **Add to My Wallet**. Adding the Business Network Card to your Business Networks page allows you to use it to connect to the business network, or export it for someone else to use.
56
56
57
-
The **My Wallet** page should now show the new Business Network Card.
57
+
The **Business Networks** page should now show the new Business Network Card.
Business Network Cards are exported from the **My Wallet** page in Playground, through interaction with the Business Network Card that you wish to export and is a one-step process.
65
+
Business Network Cards are exported from the **Business Networks** page in Playground, through interaction with the Business Network Card that you wish to export and is a one-step process.
66
66
67
-
- On the **My Wallet** page, click the **Export** icon on the Business Network Card you wish to export. The Business Network Card should download as a `.card` file.
67
+
- On the **Business Networks** page, click the **Export** icon on the Business Network Card you wish to export. The Business Network Card should download as a `.card` file.
68
68
69
69
_Please note_: If you export a Business Network Card that has never been used, for example to send to a new participant, it will contain the enrollment ID and enrollment secret required to obtain the certificate and private key which are then used to identify Participants. Alternatively, if you export a Business Network Card that has been used before, it will already contain the certificate and private key. For more information on Participants and Identities, please see our [main documentation](../managing/participantsandidentities.html).
70
70
@@ -74,7 +74,7 @@ _Please note_: If you export a Business Network Card that has never been used, f
74
74
### Creating Business Network Card Credentials
75
75
76
76
It is possible to provide credentials to a user to enable them to create a Business Network Card and then use it to connect to the business network for which the credentials are valid.
77
-
1. From the **My Wallet** page, select an identity to use to connect to your business network. Click **Connect Now**. _Please note:_ You must use an identity that has permission to create new identities.
77
+
1. From the **Business Networks** page, select an identity to use to connect to your business network. Click **Connect Now**. _Please note:_ You must use an identity that has permission to create new identities.
78
78
79
79
2. If required, create the participant to which you intend to assign the identity:
80
80
- click the **Test** tab, and click **Create New Participant**.
@@ -108,43 +108,43 @@ It is possible to provide credentials to a user to enable them to create a Busin
108
108
109
109
Importing a Business Network Card allows you to connect to a deployed business network.
110
110
111
-
1. On the **My Wallet** page, click **Import Business Network Card** in the upper right.
111
+
1. On the **Business Networks** page, click **Import Business Network Card** in the upper right.
112
112
113
113
2. Drag and drop, or browse, to select a Business Network Card (`.card`) file to import. Click **Import**.
114
114
115
-
The Business Network Card should now be visible in your wallet; you can now connect to the deployed Business Network.
115
+
The Business Network Card should now be visible in your Business Networks page; you can now connect to the deployed Business Network.
116
116
117
117
### Connecting using Credentials
118
118
119
-
There are two ways a Business Network Card can be created from the **My Wallet** page.
119
+
There are two ways a Business Network Card can be created from the **Business Networks** page.
120
120
121
121
A Business Network Card can be created using certificates, which requires the following: a _certificate_ and _private key_, provided by an admin of a business network; a _name_ for the Business Network Card; the _business network name_ for which the credentials are valid; the _Connection Profile_ details for the runtime on which the target business network is deployed.
122
122
123
-
To create a Business Network Card from the **My Wallet** page using _certificates_:
123
+
To create a Business Network Card from the **Business Networks** page using _certificates_:
124
124
125
-
1. After receiving a certificate and private key, click the **Connect using credentials** button in the upper right of the **My Wallet** page.
125
+
1. After receiving a certificate and private key, click the **Connect using credentials** button in the upper right of the **Business Networks** page.
126
126
127
127
2. If you have previously connected to the deployed runtime, select it from the displayed list, click **Next** and proceed to step 4; otherwise select the radio option to connect to a new Blockchain and click **Next**.
128
128
129
129
3. Specify the Connection Profile details that were provided to you and click **Save**.
130
130
131
131
4. Enter the _certificate_, _private key_, an _Business Network Card name_ and _business network name_, and click **Create**.
132
132
133
-
The Business Network Card should now be displayed in the **My Wallet** page.
133
+
The Business Network Card should now be displayed in the **Business Networks** page.
134
134
135
135
A Business Network Card can be created using an ID and secret, through knowledge of the following: a _Enrollment ID_ and _Enrollment Secret_, generated by an admin of a business network; the _Business network name_ for which the credentials are valid; the _Connection Profile_ details for the runtime on which the target business network is deployed.
136
136
137
-
To create a Business Network Card from the **My Wallet** page using an _enrollment ID_ and _enrollment secret_:
137
+
To create a Business Network Card from the **Business Networks** page using an _enrollment ID_ and _enrollment secret_:
138
138
139
-
1. After receiving an enrollment ID and enrollment secret, click the **Connect using credentials** button in the upper right of the **My Wallet** page.
139
+
1. After receiving an enrollment ID and enrollment secret, click the **Connect using credentials** button in the upper right of the **Business Networks** page.
140
140
141
141
2. If you have previously connected to the deployed runtime, select it from the displayed list, click **Next** and proceed to step 4; otherwise select the radio option to connect to a new Blockchain and click **Next**.
142
142
143
143
3. Specify the Connection Profile details that were provided to you and click **Save**.
144
144
145
145
4. Enter the _enrollment ID_, _enrollment secret_ and _business network name_, and click **Create**.
146
146
147
-
The Business Network Card should now be displayed in the **My Wallet** page.
147
+
The Business Network Card should now be displayed in the **Business Networks** page.
Copy file name to clipboardExpand all lines: packages/composer-website/jekylldocs/playground/playground-index.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,9 @@ If you are new to the Playground, we recommend that you follow the [Playground T
19
19
20
20
# Navigating Playground
21
21
22
-
## The wallet page
22
+
## The Business Networks page
23
23
24
-
The **My Wallet** page is the default Playground landing page. Here you can see all the Business Network Cards in your Wallet. Each Business Network Card provides all of the information needed to connect to a blockchain business network. It is only possible to access a blockchain business network by using a valid Business Network Card. Once connected to a deployed Business Network, you will be taken to the **Define** page.
24
+
The **Business Networks** page is the default Playground landing page. Here you can see all the Business Network Cards you have available for use. Each Business Network Card provides all of the information needed to connect to a blockchain business network. It is only possible to access a blockchain business network by using a valid Business Network Card. Once connected to a deployed Business Network, you will be taken to the **Define** page.
25
25
26
26

27
27
@@ -31,7 +31,7 @@ From this page you can:
31
31
- Connect to a business network. If you already have a deployed business network and a Business Network Card created for it, you can click **Connect now** to connect to the business network.
32
32
- Deploy a new business network. If this is your first time using Playground, or you wish to start a new network, deploying your own network is a great place to start. When creating a new business network, you can choose to base your business network definition on a sample network, or create your own network from scratch.
33
33
- Interact with Business Network Cards. Business Network Cards are used to connect to business networks which already exist, and are a combination of connection profile and identity. The card provides options to delete the identity/card, export the card, and to connect to the corresponding business network.
34
-
- Import Business Network Cards. Importing an existing `.card` file from your computer is the simplest way to add a Business Network Card to your wallet.
34
+
- Import Business Network Cards. Importing an existing `.card` file from your computer is the simplest way to add a Business Network Card to your Business Networks page.
35
35
- Connect using a user ID and user secret. If you have been provided with a user ID and user secret by your network administrator, click **Connect using credentials** to enter them and generate a Business Network Card.
36
36
- Run through the Playground tutorial. If you don't know where to start, the Playground tutorial runs through creating a business network from scratch, and performing some basic operations.
37
37
@@ -43,7 +43,7 @@ Once connected to a business network using a Business Network Card, there are a
43
43
44
44
- In the upper-left is the name of the connection profile you're using and the business network you're connected to. In the example above, the connection profile is called _Web_ and the business network name is _basic-sample-network_.
45
45
- Links to the **Define** and **Test** tabs. In the **Define** tab, you can add, modify and delete the content of your business network, and in the **Test** tab you can create assets and participants that were defined in the **Define** tab, and test the functionality of your business network.
46
-
- On the upper-right is a dropdown menu displaying the identity which is being used to connect to the business network. The dropdown contains a link to the **Identity Registry**, and the ability to log out of the business network, returning to the **My Wallet**screen.
46
+
- On the upper-right is a dropdown menu displaying the identity which is being used to connect to the business network. The dropdown contains a link to the **Identity Registry**, and the ability to log out of the business network, returning to the **Business Networks**page.
47
47
48
48
## The Define tab
49
49
@@ -53,7 +53,7 @@ The Define tab is used to create, edit and update your business network.
53
53
54
54
On the left of the **Define** tab, you can see a list of all the files in your current business network definition. To examine the contents of a file, click on it, and it will appear in the editor view. New files can be added to your business network with the **Add a file** button. Model files, script files, access control files, and query files can be added to your business network.
55
55
56
-
Once you've added and modified the files for your business network definition, you can deploy the changes to your network with the **Update** button. After click**Update** you can experiment with your changes in the **Test** tab. The **Import/Replace** button allows you to import a business network, either from your own computer, or import a business network from our samples. Conversely, the **Export** button downloads your current business network as a business network archive`.bna` file.
56
+
Once you've added and modified the files for your business network definition, you can deploy the changes to your network with the **Update** button. After clicking**Update** you can experiment with your changes in the **Test** tab. The **Import/Replace** button allows you to import a business network, either from your own computer, or import a business network from our samples. Conversely, the **Export** button downloads your current business network as a `.bna` file.
57
57
58
58
**Please note**: If two or more users are using {{site.data.conrefs.composer_full}} Playground to connect to the same instance of {{site.data.conrefs.hlf_full}}, ensure that each user refreshes their browser after the business network definition is updated by another user. Refreshing the browser accepts the changes to the business network definition made by other users. If the the business network is changed without accepting the changes of other users the changes will be lost.
The `composer participant add` command adds a new instance of a participant to a
14
-
participant registry. See the task [Add a Participant](../managing/participant-add.html)
15
-
for a walkthrough of using this command or the API.
13
+
The `composer participant add` command adds a new instance of a participant to a participant registry. See the task [Add a Participant](../managing/participant-add.html) for a walkthrough of using this command or the API.
14
+
15
+
The `data` option must contain a serialized JSON representation of the participant to add, and must be wrapped in single quotes.
16
16
17
17
## Syntax
18
18
@@ -34,28 +34,31 @@ Options:
34
34
`--connectionProfileName, -p`
35
35
36
36
The connection profile name.
37
+
37
38
Example: `hlfv1`
38
39
39
40
`--businessNetworkName, -n`
40
41
41
42
The name of the deployed Business Network to connect to.
42
-
Example:
43
-
`digitalproperty-network`
43
+
44
+
Example: `digitalproperty-network`
44
45
45
46
`--enrollId, -i`
46
47
47
48
The enrollment ID of the identity that should be used to connect to the deployed
48
49
Business Network.
50
+
49
51
Example: `maeid1`
50
52
51
53
`--enrollSecret, -s`
52
54
53
55
The enrollment secret of the identity that should be used to connect to deployed
54
56
Business Network.
57
+
55
58
Example: `Xurw3yU9zI0l`
56
59
57
60
`--data, -d`
58
61
59
-
The serialized JSON representation of the participant to add to the participant
60
-
registry. The data must be valid according to the model of the participant.
The serialized JSON representation of the participant to add to the participant registry. The data must be valid according to the model of the participant.
0 commit comments