Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORE-15813: Add VirtualNodeUpdateRequest/VirtualNodeUpdateResponse #1345

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
"name": "request",
"doc": "The operation specific request.",
"type": [
"net.corda.data.virtualnode.VirtualNodeUpgradeRequest",
"net.corda.data.virtualnode.VirtualNodeCreateRequest"
"net.corda.data.virtualnode.VirtualNodeCreateRequest",
"net.corda.data.virtualnode.VirtualNodeDbConnectionUpdateRequest",
"net.corda.data.virtualnode.VirtualNodeUpgradeRequest"
]
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"type": "record",
"name": "VirtualNodeDbConnectionUpdateRequest",
"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."
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"type": "record",
"name": "VirtualNodeDbConnectionUpdateResponse",
"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"
}
]
}