Skip to content

Commit 4554a37

Browse files
authored
Update README.md
1 parent dd762bf commit 4554a37

File tree

1 file changed

+10
-10
lines changed
  • BusinessNetworks/insurancebusinessnetwork

1 file changed

+10
-10
lines changed

BusinessNetworks/insurancebusinessnetwork/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Then type: (to run the nodes)
4141
```
4242
#### Interacting with the CorDapp
4343

44-
Step1: Create the network in NetwprkOperator's terminal
44+
**Step 1:** Create the network in NetwprkOperator's terminal
4545
```
4646
flow start CreateNetwork
4747
```
@@ -54,15 +54,15 @@ Mon Apr 12 10:35:47 EDT 2021>>> flow start CreateNetwork
5454
Flow completed with result:
5555
A network was created with NetworkID: 121577cf-30bf-4e20-9c7d-97f0b4628b06 <- This is what you need in Step 2
5656
```
57-
Step2: 2 non-member makes the request to join the network. Fill in the networkId with what was return from Step1
57+
**Step 2:** 2 non-member makes the request to join the network. Fill in the networkId with what was return from Step1
5858
```
5959
flow start RequestMembership authorisedParty: NetworkOperator, networkId: <xxxx-xxxx-NETWORK-ID-xxxxx>
6060
```
61-
Step3: go back to the admin node, and query all the membership requests.
61+
**Step 3:**: go back to the admin node, and query all the membership requests.
6262
```
6363
flow start QueryAllMembers
6464
```
65-
Step4: In this step, Network Operator will active the pending memberships
65+
**Step 4:**: In this step, Network Operator will active the pending memberships
6666
Insurance: fill in the Insurance node MembershipId that is display in the previous query
6767
```
6868
flow start ActiveMembers membershipId: <xxxx-xxxx-INSURANCE-ID-xxxxx>
@@ -72,19 +72,19 @@ CarePro: fill in the CarePro node MembershipId that is display in the previous q
7272
flow start ActiveMembers membershipId: <xxxx-xxxx-CAREPRO-ID-xxxxx>
7373
```
7474

75-
Step5: Admin create subgroup and add group members.
75+
**Step 5:**: Admin create subgroup and add group members.
7676
```
7777
flow start CreateNetworkSubGroup networkId: <xxxx-FROM-STEP-ONE-xxxxx>, groupName: APAC_Insurance_Alliance, groupParticipants: [<xxxx-NETWORKOPERATOR-ID-xxxxx>, <xxxx-xxxx-INSURANCE-ID-xxxxx>, <xxxx-xxxx-CAREPRO-ID-xxxxx>]
7878
```
79-
Step6: Admin assign business identity to a member.
79+
**Step 6:**: Admin assign business identity to a member.
8080
```
8181
flow start AssignBNIdentity firmType: InsuranceFirm, membershipId: <xxxx-xxxx-INSURANCE-ID-xxxxx>, bnIdentity: APACIN76CZX
8282
```
83-
Step7: Admin assign business identity to the second member
83+
**Step 7:**: Admin assign business identity to the second member
8484
```
8585
flow start AssignBNIdentity firmType: CareProvider, membershipId: <xxxx-xxxx-CAREPRO-ID-xxxxx>, bnIdentity: APACCP44OJS
8686
```
87-
Step8: Admin assign business identity related ROLE to the member.
87+
**Step 8:**: Admin assign business identity related ROLE to the member.
8888
```
8989
flow start AssignPolicyIssuerRole membershipId: <xxxx-xxxx-INSURANCE-ID-xxxxx>, networkId: <xxxx-xxxx-NETWORK-ID-xxxxx>
9090
```
@@ -95,11 +95,11 @@ run vaultQuery contractStateType: net.corda.bn.states.MembershipState
9595
```
9696
-------------------Network setup is done, and business flow begins--------------------------
9797

98-
Step9: The insurance Company will issue a policy to insuree. The flow initiator (the insurance company) has to be a member of the Business network, has to have a insuranceIdentity, and has to have issuer Role, and has to have issuance permission.
98+
**Step 9:**: The insurance Company will issue a policy to insuree. The flow initiator (the insurance company) has to be a member of the Business network, has to have a insuranceIdentity, and has to have issuer Role, and has to have issuance permission.
9999
```
100100
flow start IssuePolicyInitiator networkId: <xxxx-xxxx-NETWORK-ID-xxxxx>, careProvider: CarePro, insuree: PeterLi
101101
```
102-
Step10: Query the state from the CarePro node.
102+
**Step 10:**: Query the state from the CarePro node.
103103
```
104104
run vaultQuery contractStateType: net.corda.samples.businessmembership.states.InsuranceState
105105
```

0 commit comments

Comments
 (0)