2018-12-12 18:41:19 +08:00
|
|
|
{
|
|
|
|
"payload": {
|
|
|
|
"header": {
|
|
|
|
"channel_header": {
|
|
|
|
"channel_id": "businesschannel",
|
|
|
|
"type": 2
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"data": {
|
|
|
|
"config_update": {
|
|
|
|
"channel_id": "businesschannel",
|
|
|
|
"isolated_data": {},
|
|
|
|
"read_set": {
|
|
|
|
"groups": {
|
|
|
|
"Application": {
|
|
|
|
"groups": {
|
|
|
|
"Org1MSP": {
|
|
|
|
"groups": {},
|
|
|
|
"mod_policy": "",
|
|
|
|
"policies": {},
|
|
|
|
"values": {},
|
|
|
|
"version": "1"
|
|
|
|
},
|
|
|
|
"Org2MSP": {
|
|
|
|
"groups": {},
|
|
|
|
"mod_policy": "",
|
|
|
|
"policies": {},
|
|
|
|
"values": {},
|
|
|
|
"version": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mod_policy": "",
|
|
|
|
"policies": {
|
|
|
|
"Admins": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"Capabilities": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"value": null,
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mod_policy": "",
|
|
|
|
"policies": {},
|
|
|
|
"values": {},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"write_set": {
|
|
|
|
"groups": {
|
|
|
|
"Application": {
|
|
|
|
"groups": {
|
|
|
|
"Org1MSP": {
|
|
|
|
"groups": {},
|
|
|
|
"mod_policy": "",
|
|
|
|
"policies": {},
|
|
|
|
"values": {},
|
|
|
|
"version": "1"
|
|
|
|
},
|
|
|
|
"Org2MSP": {
|
|
|
|
"groups": {},
|
|
|
|
"mod_policy": "",
|
|
|
|
"policies": {},
|
|
|
|
"values": {},
|
|
|
|
"version": "1"
|
|
|
|
},
|
|
|
|
"Org3MSP": {
|
|
|
|
"groups": {},
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policies": {
|
|
|
|
"Admins": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "ADMIN"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "ADMIN"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "PEER"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "CLIENT"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"signed_by": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"signed_by": 2
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "ADMIN"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "CLIENT"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"signed_by": 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"MSP": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"value": {
|
|
|
|
"config": {
|
|
|
|
"admins": [
|
2018-12-19 16:31:55 +08:00
|
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN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19 +08:00
|
|
|
],
|
|
|
|
"crypto_config": {
|
|
|
|
"identity_identifier_hash_function": "SHA256",
|
|
|
|
"signature_hash_family": "SHA2"
|
|
|
|
},
|
|
|
|
"fabric_node_ous": {
|
|
|
|
"client_ou_identifier": {
|
2018-12-19 16:31:55 +08:00
|
|
|
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNRekNDQWVxZ0F3SUJBZ0lSQUpTOU1GbGIrb1k5a1FrZGZDeTRwbGN3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpNdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaek11WlhoaGJYQnNaUzVqYjIwd0hoY05NVGd4TWpFNU1EZ3hOakF3V2hjTk1qZ3hNakUyTURneE5qQXcKV2pCek1Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFWk1CY0dBMVVFQ2hNUWIzSm5NeTVsZUdGdGNHeGxMbU52YlRFY01Cb0dBMVVFCkF4TVRZMkV1YjNKbk15NWxlR0Z0Y0d4bExtTnZiVEJaTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEEwSUEKQkJaMlh3UitmaFhEdWhGSDB5VS9yUjBkRTdWQ3IyeVloZXBMR1RKY3NtSnlyaWdmOEtVQjBscm94emtIL1Q4cAo5RStNZHR3WWZtLzY5UHgrd3JoY0JFS2pYekJkTUE0R0ExVWREd0VCL3dRRUF3SUJwakFQQmdOVkhTVUVDREFHCkJnUlZIU1VBTUE4R0ExVWRFd0VCL3dRRk1BTUJBZjh3S1FZRFZSME9CQ0l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hGSDB5VS9yUjBkRTdWQ3IyeVloZXBMR1RKY3NtSnlyaWdmOEtVQjBscm94emtIL1Q4cAo5RStNZHR3WWZtLzY5UHgrd3JoY0JFS2pYekJkTUE0R0ExVWREd0VCL3dRRUF3SUJwakFQQmdOVkhTVUVDREFHCkJnUlZIU1VBTUE4R0ExVWRFd0VCL3dRRk1BTUJBZjh3S1FZRFZSME9CQ0lFSU1XZ1lqOEJGQlpLU2hUYTZHZ0sKaVVQWTJqY1RWQmNnTlAveDQvbjZYbStFTUFvR0NDcUdTTTQ5QkFNQ0EwY0FNRVFDSUVQR3JqR1V6ajV0QWJXbgpqb0MyK1BHWkVod2xqWjZrMXdHK1RKalJLazFoQWlBSzRqNi93RnRpM1lxQTRMVk91cGdSUXpWcHVkZkF3SjliCjR2VTZ0QnpGemc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==",
|
2018-12-12 18:41:19 +08:00
|
|
|
"organizational_unit_identifier": "peer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"intermediate_certs": [],
|
|
|
|
"name": "Org3MSP",
|
|
|
|
"organizational_unit_identifiers": [],
|
|
|
|
"revocation_list": [],
|
|
|
|
"root_certs": [
|
2018-12-19 16:31:55 +08:00
|
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNRekNDQWVxZ0F3SUJBZ0lSQUpTOU1GbGIrb1k5a1FrZGZDeTRwbGN3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpNdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaek11WlhoaGJYQnNaUzVqYjIwd0hoY05NVGd4TWpFNU1EZ3hOakF3V2hjTk1qZ3hNakUyTURneE5qQXcKV2p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|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policies": {
|
|
|
|
"Admins": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"Capabilities": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"value": null,
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mod_policy": "",
|
|
|
|
"policies": {},
|
|
|
|
"values": {},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|