2019-04-22 14:19:18 +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"
|
|
|
|
},
|
|
|
|
"Endorsement": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"LifecycleEndorsement": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"ACLs": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"value": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"Endorsement": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "MEMBER"
|
|
|
|
},
|
|
|
|
"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",
|
2019-05-02 17:30:13 +08:00
|
|
|
"role": "MEMBER"
|
2019-04-22 14:19:18 +08:00
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
2019-05-02 17:30:13 +08:00
|
|
|
"role": "MEMBER"
|
2019-04-22 14:19:18 +08:00
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|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dCWUZnYU9uWmJLNDkvR1NUK1BBNjJnNEtPY2p4ekFLQmdncWhrak8KUFFRREFnTkhBREJFQWlCV2tYU2RXZlpramg2RXJIay9uTmNjR2cvZHV2cHg2eXd3Yk5uUUZ0U1o4d0lnZnRTUQpSMzJtYTlBd3JGaVVlZlhXZlU3YjF3OW1FMy9RVlZyd1NkVi81cEk9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
|
|
|
],
|
|
|
|
"crypto_config": {
|
|
|
|
"identity_identifier_hash_function": "SHA256",
|
|
|
|
"signature_hash_family": "SHA2"
|
|
|
|
},
|
|
|
|
"fabric_node_ous": {
|
|
|
|
"client_ou_identifier": {
|
|
|
|
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNVakNDQWZpZ0F3SUJBZ0lSQUl6RVVZZlZoWDRwd2NvU0t4RzByYjh3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpNdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaek11WlhoaGJYQnNaUzVqYjIwd0hoY05NVGt3TkRBeE1EZ3hOREF3V2hjTk1qa3dNekk1TURneE5EQXcKV2pCek1Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFWk1CY0dBMVVFQ2hNUWIzSm5NeTVsZUdGdGNHeGxMbU52YlRFY01Cb0dBMVVFCkF4TVRZMkV1YjNKbk15NWxlR0Z0Y0d4bExtTnZiVEJaTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEEwSUEKQkE4UGd1Uk9KY1M5b29RNDR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SUVaeVlXNWphWE5qYnpFWk1CY0dBMVVFQ2hNUWIzSm5NeTVsZUdGdGNHeGxMbU52YlRFY01Cb0dBMVVFCkF4TVRZMkV1YjNKbk15NWxlR0Z0Y0d4bExtTnZiVEJaTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEEwSUEKQkE4UGd1Uk9KY1M5b29RNDRYdnVERkdrZmprZFBHaXRZaTh6QWtqaGxQSTRoNk0vV1M5cEYzZVd3V3ZvWExTQgo2R2dUelBTR2JPbDl4azl6RUwzbjBpMmpiVEJyTUE0R0ExVWREd0VCL3dRRUF3SUJwakFkQmdOVkhTVUVGakFVCkJnZ3JCZ0VGQlFjREFnWUlLd1lCQlFVSEF3RXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QXBCZ05WSFE0RUlnUWcKcnpTREZGanB4RzRYVmV3V0JZR2pwMld5dVBmeGtrL2p3T3RvT0Nqbkk4Y3dDZ1lJS29aSXpqMEVBd0lEU0FBdwpSUUloQUtReUx3eG50dlRBYW9iVTdjQ2VoR2R5c0tabzE1WEJSUG1UcElGYnZ6QjFBaUJkR3I4YzMvOFQrZHBjCkNCOFVLdCtHc0gzLzdBRHJObzdvZk9nN0J6TW9udz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
|
|
|
|
"organizational_unit_identifier": "peer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"intermediate_certs": [],
|
|
|
|
"name": "Org3MSP",
|
|
|
|
"organizational_unit_identifiers": [],
|
|
|
|
"revocation_list": [],
|
|
|
|
"root_certs": [
|
|
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNVakNDQWZpZ0F3SUJBZ0lSQUl6RVVZZlZoWDRwd2NvU0t4RzByYjh3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYm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ibFdmClNVZWxZZmRuNDhYN0JySlQ4VGJaR0QzR3I0bmdlc212M1RFPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"type": 0
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policies": {
|
|
|
|
"Admins": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Endorsement": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"LifecycleEndorsement": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"policy": null,
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"ACLs": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"value": null,
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Capabilities": {
|
|
|
|
"mod_policy": "",
|
|
|
|
"value": null,
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mod_policy": "",
|
|
|
|
"policies": {},
|
|
|
|
"values": {},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|