Skip to content

Commit

Permalink
CORE-15813: Add VirtualNodeUpdateRequest/VirtualNodeUpdateResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
josephzunigadaly committed Nov 16, 2023
1 parent 38848f6 commit 8b824fa
Show file tree
Hide file tree
Showing 2 changed files with 144 additions and 0 deletions.
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."
}
]
}
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"
}
]
}

0 comments on commit 8b824fa

Please sign in to comment.