From 35e36fc482c987918b839171004a93231c0f626a Mon Sep 17 00:00:00 2001 From: Dries Samyn Date: Thu, 12 Oct 2023 12:13:47 +0100 Subject: [PATCH] CORE-17623 - Change ACL mappings to add tokenSelection worker. (#1291) * Change ACL mappings to add tokenSelection worker. --- .../main/resources/net/corda/schema/AvroSchema.yaml | 2 ++ .../src/main/resources/net/corda/schema/Config.yaml | 1 + .../src/main/resources/net/corda/schema/Flow.yaml | 1 + .../main/resources/net/corda/schema/Services.yaml | 13 +++++++++++++ .../resources/net/corda/schema/VirtualNode.yaml | 1 + 5 files changed, 18 insertions(+) diff --git a/data/topic-schema/src/main/resources/net/corda/schema/AvroSchema.yaml b/data/topic-schema/src/main/resources/net/corda/schema/AvroSchema.yaml index 94a2cba559..f0be2203ef 100644 --- a/data/topic-schema/src/main/resources/net/corda/schema/AvroSchema.yaml +++ b/data/topic-schema/src/main/resources/net/corda/schema/AvroSchema.yaml @@ -13,6 +13,7 @@ topics: - persistence - rest - uniqueness + - tokenSelection producers: - crypto - db @@ -25,6 +26,7 @@ topics: - persistence - rest - uniqueness + - tokenSelection config: cleanup.policy: compact segment.ms: 600000 diff --git a/data/topic-schema/src/main/resources/net/corda/schema/Config.yaml b/data/topic-schema/src/main/resources/net/corda/schema/Config.yaml index 8be7ce7891..7913ccbc5b 100644 --- a/data/topic-schema/src/main/resources/net/corda/schema/Config.yaml +++ b/data/topic-schema/src/main/resources/net/corda/schema/Config.yaml @@ -27,6 +27,7 @@ topics: - rest - persistence - uniqueness + - tokenSelection producers: - db config: diff --git a/data/topic-schema/src/main/resources/net/corda/schema/Flow.yaml b/data/topic-schema/src/main/resources/net/corda/schema/Flow.yaml index 4effa3fd76..5aed6fdbcf 100644 --- a/data/topic-schema/src/main/resources/net/corda/schema/Flow.yaml +++ b/data/topic-schema/src/main/resources/net/corda/schema/Flow.yaml @@ -11,6 +11,7 @@ topics: - verification - persistence - uniqueness + - tokenSelection config: FlowEventStateTopic: name: flow.event.state diff --git a/data/topic-schema/src/main/resources/net/corda/schema/Services.yaml b/data/topic-schema/src/main/resources/net/corda/schema/Services.yaml index 268165d626..22d543762c 100644 --- a/data/topic-schema/src/main/resources/net/corda/schema/Services.yaml +++ b/data/topic-schema/src/main/resources/net/corda/schema/Services.yaml @@ -1,19 +1,24 @@ +# TODO: remove db access once the tokenSelection worker has been integrated. topics: ServicesTokenEventTopic: name: services.token.event consumers: - db + - tokenSelection producers: - flow - db - persistence + - tokenSelection config: ServicesTokenEventStateTopic: name: services.token.event.state consumers: - db + - tokenSelection producers: - db + - tokenSelection config: cleanup.policy: compact segment.ms: 600000 @@ -25,22 +30,28 @@ topics: name: services.token.event.dlq consumers: - db + - tokenSelection producers: - db + - tokenSelection config: ServicesTokenSyncEventTopic: name: services.token.sync.event consumers: - db + - tokenSelection producers: - db + - tokenSelection config: ServicesTokenSyncEventStateTopic: name: services.token.sync.event.state consumers: - db + - tokenSelection producers: - db + - tokenSelection config: cleanup.policy: compact segment.ms: 600000 @@ -52,6 +63,8 @@ topics: name: services.token.sync.event.dlq consumers: - db + - tokenSelection producers: - db + - tokenSelection config: 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 17a067b3e5..b9474d0579 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 @@ -74,6 +74,7 @@ topics: - link-manager - persistence - rest + - tokenSelection producers: - db config: