Skip to content

Commit

Permalink
feat: add connector update event model (#14849)
Browse files Browse the repository at this point in the history
  • Loading branch information
malikdiarra committed Dec 19, 2024
1 parent 674c19e commit 376cfcf
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package io.airbyte.data.services.shared

class ConnectorUpdate(
val fromVersion: String,
val toVersion: String,
val connectorType: ConnectorType,
val connectorName: String,
val triggeredBy: String,
) : ConnectionEvent {
enum class ConnectorType {
SOURCE,
DESTINATION,
}

override fun getEventType(): ConnectionEvent.Type {
return ConnectionEvent.Type.CONNECTOR_UPDATE
}
}

0 comments on commit 376cfcf

Please sign in to comment.