From c99e190f33dab190f31ab4d19a6e123b8eee6a18 Mon Sep 17 00:00:00 2001 From: Yiftach Kaplan Date: Fri, 15 Dec 2023 11:52:31 +0000 Subject: [PATCH] CORE-18720: Introduce session state --- .../net/corda/data/p2p/state/SessionState.avsc | 17 +++++++++++++++++ gradle.properties | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 data/avro-schema/src/main/resources/avro/net/corda/data/p2p/state/SessionState.avsc diff --git a/data/avro-schema/src/main/resources/avro/net/corda/data/p2p/state/SessionState.avsc b/data/avro-schema/src/main/resources/avro/net/corda/data/p2p/state/SessionState.avsc new file mode 100644 index 0000000000..707dddc278 --- /dev/null +++ b/data/avro-schema/src/main/resources/avro/net/corda/data/p2p/state/SessionState.avsc @@ -0,0 +1,17 @@ +{ + "type": "record", + "name": "SessionState", + "namespace": "net.corda.data.p2p.state", + "fields": [ + { + "doc": "The message.", + "name": "message", + "type": "net.corda.data.p2p.LinkOutHeader" + }, + { + "doc": "The encrypted session data.", + "name": "encryptedSessionData", + "type": "bytes" + } + ] +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index ff1e9484eb..552393ae50 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ cordaProductVersion = 5.2.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 = 16 +cordaApiRevision = 19 # Main kotlin.stdlib.default.dependency = false