-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORE-15813: Add VirtualNodeUpdateRequest/VirtualNodeUpdateResponse
- Loading branch information
1 parent
38848f6
commit 8b824fa
Showing
2 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
...o-schema/src/main/resources/avro/net/corda/data/virtualnode/VirtualNodeUpdateRequest.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"type": "record", | ||
"name": "VirtualNodeUpdateRequest", | ||
"namespace": "net.corda.data.virtualnode", | ||
"fields": [ | ||
{ | ||
"name": "holdingId", | ||
"type": "net.corda.data.identity.HoldingIdentity" | ||
}, | ||
{ | ||
"name": "vaultDdlConnection", | ||
"type": ["null", "string"], | ||
"doc": "Connection details for virtual node Vault DB to be used for DDL operations. If null is passed for both vault connections, cluster DB will be used." | ||
}, | ||
{ | ||
"name": "vaultDmlConnection", | ||
"type": ["null", "string"], | ||
"doc": "Connection details for virtual node Vault DB to be used for DML operations. If null is passed for both vault connections, cluster DB will be used." | ||
}, | ||
{ | ||
"name": "cryptoDdlConnection", | ||
"type": ["null", "string"], | ||
"doc": "Connection details for virtual node Crypto DB to be used for DDL operations. If null is passed for both crypto connections, cluster DB will be used." | ||
}, | ||
{ | ||
"name": "cryptoDmlConnection", | ||
"type": ["null", "string"], | ||
"doc": "Connection details for virtual node Crypto DB to be used for DML operations. If null is passed for both crypto connections, cluster DB will be used." | ||
}, | ||
{ | ||
"name": "uniquenessDdlConnection", | ||
"type": ["null", "string"], | ||
"doc": "Connection details for virtual node Uniqueness DB to be used for DDL operations. If null is passed for both uniqueness connections, cluster DB will be used." | ||
}, | ||
{ | ||
"name": "uniquenessDmlConnection", | ||
"type": ["null", "string"], | ||
"doc": "Connection details for virtual node Uniqueness DB to be used for DML operations. If null is passed for both uniqueness connections, cluster DB will be used." | ||
}, | ||
{ | ||
"name": "updateActor", | ||
"type": "string", | ||
"doc": "ID of RPC user that requested the virtual node creation." | ||
} | ||
] | ||
} |
98 changes: 98 additions & 0 deletions
98
...-schema/src/main/resources/avro/net/corda/data/virtualnode/VirtualNodeUpdateResponse.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
{ | ||
"type": "record", | ||
"name": "VirtualNodeUpdateResponse", | ||
"namespace": "net.corda.data.virtualnode", | ||
"fields": [ | ||
{ | ||
"name": "holdingIdentity", | ||
"type": [ | ||
"null", | ||
"net.corda.data.identity.HoldingIdentity" | ||
] | ||
}, | ||
{ | ||
"name": "holdingIdentifierHash", | ||
"type": [ | ||
"null", | ||
"string" | ||
], | ||
"doc": "The short 12-character hash of the holding identity." | ||
}, | ||
{ | ||
"name": "vaultDdlConnectionId", | ||
"type": [ | ||
"null", | ||
"string" | ||
], | ||
"doc": "ID of virtual node Vault DB connection for DDL operations. Null value means that DB is managed externally." | ||
}, | ||
{ | ||
"name": "vaultDmlConnectionId", | ||
"type": [ | ||
"null", | ||
"string" | ||
], | ||
"doc": "ID of virtual node Vault DB connection for DML operations." | ||
}, | ||
{ | ||
"name": "cryptoDdlConnectionId", | ||
"type": [ | ||
"null", | ||
"string" | ||
], | ||
"doc": "ID of virtual node Crypto DB connection for DDL operations. Null value means that DB is managed externally." | ||
}, | ||
{ | ||
"name": "cryptoDmlConnectionId", | ||
"type": [ | ||
"null", | ||
"string" | ||
], | ||
"doc": "ID of virtual node Crypto DB connection for DML operations." | ||
}, | ||
{ | ||
"name": "uniquenessDdlConnectionId", | ||
"type": [ | ||
"null", | ||
"string" | ||
], | ||
"doc": "ID of virtual node Uniqueness DB connection for DDL operations. Null value means that DB is managed externally." | ||
}, | ||
{ | ||
"name": "uniquenessDmlConnectionId", | ||
"type": [ | ||
"null", | ||
"string" | ||
], | ||
"doc": "ID of virtual node Uniqueness DB connection for DML operations." | ||
}, | ||
{ | ||
"name": "hsmConnectionId", | ||
"type": [ | ||
"null", | ||
"string" | ||
], | ||
"doc": "ID of HSM connection. Null value means that HSM is not used." | ||
}, | ||
{ | ||
"name": "flowP2pOperationalStatus", | ||
"type": "VirtualNodeOperationalState", | ||
"doc": "The current flow p2p operational status of virtual node" | ||
}, | ||
{ | ||
"name": "flowStartOperationalStatus", | ||
"type": "VirtualNodeOperationalState", | ||
"doc": "The current flow start operational status of virtual node" | ||
}, | ||
{ | ||
"name": "flowOperationalStatus", | ||
"type": "VirtualNodeOperationalState", | ||
"doc": "The current flow operational status of virtual node" | ||
}, | ||
{ | ||
"name": "vaultDbOperationalStatus", | ||
"type": "VirtualNodeOperationalState", | ||
"doc": "The current vault db operational status of virtual node" | ||
} | ||
] | ||
} |