Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit e76d845

Browse files
author
Simon Stone
authored
Merge pull request #142 from sstone1/issue-141
Add wallet/identity properties to IBP SaaS/software node files (resolves #141)
2 parents 46b5ef4 + 581fd80 commit e76d845

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

templates/saas/ca-node.json.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@
1111
"tlsca_name": "{{ ibp[ca.id].tlscaname }}",
1212
{% endif %}
1313
"type": "fabric-ca",
14-
"msp_id": "{{ organization.msp.id }}"
14+
"msp_id": "{{ organization.msp.id }}",
15+
"wallet": "{{ organization.wallet | basename }}",
16+
"identity": "{{ organization.ca.admin_identity }}"
1517
}

templates/saas/orderer-node.json.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
"pem": "{{ lookup('file', ibp[orderer.id].pem) | b64encode }}",
88
{% endif %}
99
"type": "fabric-orderer",
10-
"msp_id": "{{ organization.msp.id }}"
10+
"msp_id": "{{ organization.msp.id }}",
11+
"wallet": "{{ organization.wallet | basename }}",
12+
"identity": "{{ organization.msp.admin.identity }}"
1113
}

templates/saas/peer-node.json.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
"pem": "{{ lookup('file', ibp[peer.id].pem) | b64encode }}",
88
{% endif %}
99
"type": "fabric-peer",
10-
"msp_id": "{{ organization.msp.id }}"
10+
"msp_id": "{{ organization.msp.id }}",
11+
"wallet": "{{ organization.wallet | basename }}",
12+
"identity": "{{ organization.msp.admin.identity }}"
1113
}

templates/software/ca-node.json.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@
1111
"tlsca_name": "{{ ibp[ca.id].tlscaname }}",
1212
{% endif %}
1313
"type": "fabric-ca",
14-
"msp_id": "{{ organization.msp.id }}"
14+
"msp_id": "{{ organization.msp.id }}",
15+
"wallet": "{{ organization.wallet | basename }}",
16+
"identity": "{{ organization.ca.admin_identity }}"
1517
}

templates/software/orderer-node.json.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
"pem": "{{ lookup('file', ibp[orderer.id].pem) | b64encode }}",
88
{% endif %}
99
"type": "fabric-orderer",
10-
"msp_id": "{{ organization.msp.id }}"
10+
"msp_id": "{{ organization.msp.id }}",
11+
"wallet": "{{ organization.wallet | basename }}",
12+
"identity": "{{ organization.msp.admin.identity }}"
1113
}

templates/software/peer-node.json.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
"pem": "{{ lookup('file', ibp[peer.id].pem) | b64encode }}",
88
{% endif %}
99
"type": "fabric-peer",
10-
"msp_id": "{{ organization.msp.id }}"
10+
"msp_id": "{{ organization.msp.id }}",
11+
"wallet": "{{ organization.wallet | basename }}",
12+
"identity": "{{ organization.msp.admin.identity }}"
1113
}

0 commit comments

Comments
 (0)