Skip to content
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

Issue promote topic email #1349

Merged
merged 8 commits into from
Jun 14, 2023
Merged

Issue promote topic email #1349

merged 8 commits into from
Jun 14, 2023

Conversation

aindriu-aiven
Copy link
Contributor

About this change - What it does
Adds a specific subject and message for promotion and update of topic requests.
Resolves: #1266
Why this way

…stored in the DB

Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
@aindriu-aiven aindriu-aiven requested a review from a team as a code owner June 13, 2023 17:20
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
tenantId);
schemaObjects = getSchemaFromAPI(topicNameSearch, tenantId, kwClusters);
if (schemaObjects != null) {
for (MessageSchema messageSchema : topicSchemaVersionsInDb) {
Copy link
Contributor

@muralibasani muralibasani Jun 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this be empty in this else block ? do we need this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should technically throw an exception if the api fails to retrieve the data but I feel like it is safer to keep it in.

Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
…o the db.

Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
Copy link
Contributor

@muralibasani muralibasani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thanks

Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
@aindriu-aiven aindriu-aiven merged commit 3350f33 into main Jun 14, 2023
@aindriu-aiven aindriu-aiven deleted the issue-promote-topic-email branch June 14, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No mail notification sent on topic promotion request.
2 participants