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

update code for upstream notifications plugin #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ydayagi
Copy link
Contributor

@ydayagi ydayagi commented May 8, 2024

@ydayagi ydayagi marked this pull request as draft May 8, 2024 15:14
@ydayagi
Copy link
Contributor Author

ydayagi commented May 8, 2024

converted to draft until orchestrator starts using the upstream notification plugin

aap-job/src/main/resources/aap-job.sw.yaml Outdated Show resolved Hide resolved
payload:
title: '"AAP Job Workflow " + $WORKFLOW.instanceId + " Failed"'
description: '"AAP job workflow id: " + $WORKFLOW.instanceId + " for job template id: " + (.jobTemplateId|tostring) + " failed."'
scope: "AAP Job Workflow"
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is the use of scope?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we had a field 'origin'. there's no real use for it at the moment. the only available field in the new plugin that seemed to fit was 'scope'.

aap-job/src/main/resources/aap-job.sw.yaml Outdated Show resolved Hide resolved
@@ -1,5 +1,6 @@
# Notifications Settings
quarkus.rest-client.notifications_openapi_yaml.url=${BACKSTAGE_NOTIFICATIONS_URL:http://localhost:7007/api/notifications}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does the URL remain the same?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the base url remains the same

mta/v6.2.2/src/main/resources/application-dev.properties Outdated Show resolved Hide resolved
FLPATH-1249
https://issues.redhat.com/browse/FLPATH-1249
Signed-off-by: Yaron Dayagi <ydayagi@redhat.com>

Signed-off-by: Yaron Dayagi <ydayagi@redhat.com>
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.

None yet

2 participants