Skip to content

Commit

Permalink
Add response topics for rekey and rewrap
Browse files Browse the repository at this point in the history
  • Loading branch information
anien committed Sep 12, 2023
1 parent 041e1e3 commit accc1e9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ private Crypto() {
public static final String FLOW_OPS_MESSAGE_TOPIC = "crypto.ops.flow";
public static final String RPC_OPS_MESSAGE_TOPIC = "crypto.ops.rpc";
public static final String RPC_OPS_MESSAGE_RESPONSE_TOPIC = getRPCResponseTopic(RPC_OPS_MESSAGE_TOPIC);
public static final String REWRAP_MESSAGE_TOPIC = "crypto.key.rotation.individual";
public static final String REKEY_MESSAGE_TOPIC = "crypto.key.rotations.ops";
public static final String REKEY_MESSAGE_RESPONSE_TOPIC = getRPCResponseTopic(REKEY_MESSAGE_TOPIC);
public static final String REWRAP_MESSAGE_TOPIC = "crypto.key.rotation.individual";
public static final String REWRAP_MESSAGE_RESPONSE_TOPIC = getRPCResponseTopic(REWRAP_MESSAGE_TOPIC);
}

/**
Expand Down
30 changes: 21 additions & 9 deletions data/topic-schema/src/main/resources/net/corda/schema/Crypto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,38 @@ topics:
- membership
- rest
config:
CryptoOpsRewrapTopic:
name: crypto.key.rotation.individual
CryptoOpsRpcResponseTopic:
name: crypto.ops.rpc.resp
consumers:
- crypto
- gateway
- link-manager
- membership
- rest
producers:
- crypto
config:
CryptoOpsRekeyTopic:
name: crypto.key.rotations.ops
consumers:
- crypto
producers:
- rest
CryptoOpsRpcResponseTopic:
name: crypto.ops.rpc.resp
CryptoOpsRekeyResponseTopic:
name: crypto.key.rotations.ops.resp
consumers:
- crypto
- gateway
- link-manager
- membership
- rest
producers:
- crypto
config:
CryptoOpsRewrapTopic:
name: crypto.key.rotation.individual
consumers:
- crypto
producers:
- crypto
CryptoOpsRewrapResponseTopic:
name: crypto.key.rotation.individual.resp
consumers:
- crypto
producers:
- crypto

0 comments on commit accc1e9

Please sign in to comment.