From 88969d05ca90395b8dc6b26465dc288766ba588e Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Wed, 11 Sep 2024 08:55:33 +0200 Subject: [PATCH] Add reprovisioning events --- v2/asyncapi.yaml | 2 ++ v2/notify/events/reprovisioning_finished.avsc | 12 ++++++++++++ v2/notify/events/reprovisioning_started.avsc | 12 ++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 v2/notify/events/reprovisioning_finished.avsc create mode 100644 v2/notify/events/reprovisioning_started.avsc diff --git a/v2/asyncapi.yaml b/v2/asyncapi.yaml index bd40a7f..576da0f 100644 --- a/v2/asyncapi.yaml +++ b/v2/asyncapi.yaml @@ -29,6 +29,8 @@ channels: - $ref: './project/events/member_added.avsc#/ProjectMemberAdded' - $ref: './project/events/member_updated.avsc#/ProjectMemberUpdated' - $ref: './project/events/member_removed.avsc#/ProjectMemberRemoved' + - $ref: './notify/events/reprovisioning_started.asvc#/ReprovisioningStarted' + - $ref: './notify/events/reprovisioning_finished.asvc#/ReprovisioningFinished' traits: - $ref: '#/components/messageTraits/headers' diff --git a/v2/notify/events/reprovisioning_finished.avsc b/v2/notify/events/reprovisioning_finished.avsc new file mode 100644 index 0000000..7e3d665 --- /dev/null +++ b/v2/notify/events/reprovisioning_finished.avsc @@ -0,0 +1,12 @@ +{ + "type": "record", + "name":"ReprovisioningFinished", + "namespace":"io.renku.events.v2", + "doc":"Event raised when a reprovisioning of data events finished", + "fields":[ + { + "name":"id", + "type":"string" + } + ] +} diff --git a/v2/notify/events/reprovisioning_started.avsc b/v2/notify/events/reprovisioning_started.avsc new file mode 100644 index 0000000..70ed8f0 --- /dev/null +++ b/v2/notify/events/reprovisioning_started.avsc @@ -0,0 +1,12 @@ +{ + "type": "record", + "name":"ReprovisioningStarted", + "namespace":"io.renku.events.v2", + "doc":"Event raised when a reprovisioning of data events started", + "fields":[ + { + "name":"id", + "type":"string" + } + ] +}