diff --git a/data/avro-schema/src/main/resources/avro/net/corda/data/virtualnode/VirtualNodeCreateStatusResponse.avsc b/data/avro-schema/src/main/resources/avro/net/corda/data/virtualnode/VirtualNodeCreateStatusResponse.avsc new file mode 100644 index 0000000000..e37454e9ee --- /dev/null +++ b/data/avro-schema/src/main/resources/avro/net/corda/data/virtualnode/VirtualNodeCreateStatusResponse.avsc @@ -0,0 +1,19 @@ +{ + "type": "record", + "name": "VirtualNodeCreateStatusResponse", + "namespace": "net.corda.data.virtualnode", + "fields": [ + { + "name": "requestId", + "type": "string" + }, + { + "name": "operationType", + "type": "string" + }, + { + "name": "virtualNodeOperationStatus", + "type": "net.corda.data.virtualnode.VirtualNodeOperationStatus" + } + ] +} diff --git a/data/avro-schema/src/main/resources/avro/net/corda/data/virtualnode/VirtualNodeManagementResponse.avsc b/data/avro-schema/src/main/resources/avro/net/corda/data/virtualnode/VirtualNodeManagementResponse.avsc index 2a4da7abac..1fb7e01a64 100644 --- a/data/avro-schema/src/main/resources/avro/net/corda/data/virtualnode/VirtualNodeManagementResponse.avsc +++ b/data/avro-schema/src/main/resources/avro/net/corda/data/virtualnode/VirtualNodeManagementResponse.avsc @@ -17,12 +17,13 @@ "doc": "Result of request, either a success or failure message", "type": [ "net.corda.data.virtualnode.VirtualNodeCreateResponse", - "net.corda.data.virtualnode.VirtualNodeStateChangeResponse", - "net.corda.data.virtualnode.VirtualNodeUpdateDbStatusResponse", + "net.corda.data.virtualnode.VirtualNodeCreateStatusResponse", "net.corda.data.virtualnode.VirtualNodeDBResetResponse", "net.corda.data.virtualnode.VirtualNodeManagementResponseFailure", "net.corda.data.virtualnode.VirtualNodeOperationStatusResponse", - "net.corda.data.virtualnode.VirtualNodeSchemaResponse" + "net.corda.data.virtualnode.VirtualNodeSchemaResponse", + "net.corda.data.virtualnode.VirtualNodeStateChangeResponse", + "net.corda.data.virtualnode.VirtualNodeUpdateDbStatusResponse" ] } ] diff --git a/data/topic-schema/src/main/java/net/corda/schema/Schemas.java b/data/topic-schema/src/main/java/net/corda/schema/Schemas.java index c97b538b71..4bd842c826 100644 --- a/data/topic-schema/src/main/java/net/corda/schema/Schemas.java +++ b/data/topic-schema/src/main/java/net/corda/schema/Schemas.java @@ -232,7 +232,6 @@ private VirtualNode() { public static final String VIRTUAL_NODE_INFO_TOPIC = "virtual.node.info"; public static final String VIRTUAL_NODE_ASYNC_REQUEST_TOPIC = "virtual.node.async.request"; - public static final String VIRTUAL_NODE_OPERATION_STATUS_TOPIC = "virtual.node.operation.status"; public static final String VIRTUAL_NODE_CREATION_REQUEST_TOPIC = "virtual.node.creation.request"; public static final String VIRTUAL_NODE_CREATION_REQUEST_RESPONSE_TOPIC = getRPCResponseTopic(VIRTUAL_NODE_CREATION_REQUEST_TOPIC); public static final String CPI_INFO_TOPIC = "cpi.info"; diff --git a/data/topic-schema/src/main/resources/net/corda/schema/VirtualNode.yaml b/data/topic-schema/src/main/resources/net/corda/schema/VirtualNode.yaml index 45cd4c2823..784529ec4a 100644 --- a/data/topic-schema/src/main/resources/net/corda/schema/VirtualNode.yaml +++ b/data/topic-schema/src/main/resources/net/corda/schema/VirtualNode.yaml @@ -93,17 +93,3 @@ topics: producers: - rest config: - VirtualNodeOperationStatusTopic: - name: virtual.node.operation.status - consumers: - - rest - producers: - - db - - rest - config: - cleanup.policy: compact - segment.ms: 600000 - delete.retention.ms: 300000 - min.compaction.lag.ms: 60000 - max.compaction.lag.ms: 604800000 - min.cleanable.dirty.ratio: 0.5 \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 24d826b397..250d8f037b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ cordaProductVersion = 5.3.0 # NOTE: update this each time this module contains a breaking change ## NOTE: currently this is a top level revision, so all API versions will line up, but this could be moved to ## a per module property in which case module versions can change independently. -cordaApiRevision = 5 +cordaApiRevision = 6 # Main kotlin.stdlib.default.dependency = false