-
Notifications
You must be signed in to change notification settings - Fork 91
Deploy a SASL_PLAIN Kafka listener & test notifications against it #2300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development/2.13
Are you sure you want to change the base?
Changes from all commits
4db9f72
a091dc4
22d0a30
3d0d560
20a175e
f42b9d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -103,14 +103,30 @@ async function putAcl(world: Zenko, objName: string) { | |
| await S3.putObjectAcl(world.getCommandParameters()); | ||
| } | ||
|
|
||
| Given('one notification destination', function (this: Zenko) { | ||
| function setNotificationDestination(world: Zenko, destination: string, topic: string) { | ||
| const notificationDestinations = []; | ||
| notificationDestinations.push({ | ||
| destinationName: this.parameters.NotificationDestination, | ||
| topic: this.parameters.NotificationDestinationTopic, | ||
| hosts: this.parameters.KafkaHosts, | ||
| destinationName: destination, | ||
| topic, | ||
| hosts: world.parameters.KafkaHosts, | ||
| }); | ||
| this.addToSaved('notificationDestinations', notificationDestinations); | ||
| world.addToSaved('notificationDestinations', notificationDestinations); | ||
| } | ||
|
|
||
| Given('one notification destination', function (this: Zenko) { | ||
| setNotificationDestination( | ||
| this, | ||
| this.parameters.NotificationDestination, | ||
| this.parameters.NotificationDestinationTopic, | ||
| ); | ||
| }); | ||
|
|
||
| Given('one authenticated notification destination', function (this: Zenko) { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. wait how come this is the same as the function just above ?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I think ideally, we would use the kubernetes client (we have a client available in ctst) here to do the authentification but its some more work, needs to wait for reconciliation its annoying |
||
| setNotificationDestination( | ||
| this, | ||
| this.parameters.NotificationDestinationAuth, | ||
| this.parameters.NotificationDestinationTopicAuth, | ||
| ); | ||
| }); | ||
|
|
||
| Given('two notification destinations', function (this: Zenko) { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.