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

bug fix for duplicate notification channels #981

Merged

Conversation

riysaxen-amzn
Copy link
Collaborator

@riysaxen-amzn riysaxen-amzn commented Jun 26, 2024

Description

Notification Channels list shows objects multiple times while configuring a trigger when creating a monitor. This PR will fix that issue

Issues Resolved

#795

Tests

Image 6-25-24 at 6 55 PM

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Riya Saxena <[email protected]>
@riysaxen-amzn riysaxen-amzn merged commit 738295f into opensearch-project:main Jun 26, 2024
16 of 23 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 26, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 26, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 26, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 26, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 26, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 26, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
riysaxen-amzn pushed a commit that referenced this pull request Jun 29, 2024
* bug fix for duplicate notification channels



* bug fix for UI dropdown



---------


(cherry picked from commit 738295f)

Signed-off-by: Riya Saxena <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.11 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/alerting-dashboards-plugin/backport-2.11 2.11
# Navigate to the new working tree
pushd ../.worktrees/alerting-dashboards-plugin/backport-2.11
# Create a new branch
git switch --create backport-981-to-2.11
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 738295f12c9fc1564f43941574eece8d3cebcfeb
# Push it to GitHub
git push --set-upstream origin backport-981-to-2.11
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/alerting-dashboards-plugin/backport-2.11

Then, create a pull request where the base branch is 2.11 and the compare/head branch is backport-981-to-2.11.

riysaxen-amzn added a commit to riysaxen-amzn/alerting-dashboards-plugin that referenced this pull request Aug 12, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.13 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/alerting-dashboards-plugin/backport-2.13 2.13
# Navigate to the new working tree
pushd ../.worktrees/alerting-dashboards-plugin/backport-2.13
# Create a new branch
git switch --create backport-981-to-2.13
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 738295f12c9fc1564f43941574eece8d3cebcfeb
# Push it to GitHub
git push --set-upstream origin backport-981-to-2.13
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/alerting-dashboards-plugin/backport-2.13

Then, create a pull request where the base branch is 2.13 and the compare/head branch is backport-981-to-2.13.

@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.14 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/alerting-dashboards-plugin/backport-2.14 2.14
# Navigate to the new working tree
pushd ../.worktrees/alerting-dashboards-plugin/backport-2.14
# Create a new branch
git switch --create backport-981-to-2.14
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 738295f12c9fc1564f43941574eece8d3cebcfeb
# Push it to GitHub
git push --set-upstream origin backport-981-to-2.14
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/alerting-dashboards-plugin/backport-2.14

Then, create a pull request where the base branch is 2.14 and the compare/head branch is backport-981-to-2.14.

@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.12 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/alerting-dashboards-plugin/backport-2.12 2.12
# Navigate to the new working tree
pushd ../.worktrees/alerting-dashboards-plugin/backport-2.12
# Create a new branch
git switch --create backport-981-to-2.12
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 738295f12c9fc1564f43941574eece8d3cebcfeb
# Push it to GitHub
git push --set-upstream origin backport-981-to-2.12
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/alerting-dashboards-plugin/backport-2.12

Then, create a pull request where the base branch is 2.12 and the compare/head branch is backport-981-to-2.12.

riysaxen-amzn added a commit to riysaxen-amzn/alerting-dashboards-plugin that referenced this pull request Aug 12, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
riysaxen-amzn added a commit to riysaxen-amzn/alerting-dashboards-plugin that referenced this pull request Aug 12, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
riysaxen-amzn added a commit to riysaxen-amzn/alerting-dashboards-plugin that referenced this pull request Aug 12, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/alerting-dashboards-plugin/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/alerting-dashboards-plugin/backport-2.x
# Create a new branch
git switch --create backport-981-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 738295f12c9fc1564f43941574eece8d3cebcfeb
# Push it to GitHub
git push --set-upstream origin backport-981-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/alerting-dashboards-plugin/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport-981-to-2.x.

riysaxen-amzn added a commit to riysaxen-amzn/alerting-dashboards-plugin that referenced this pull request Aug 12, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
amsiglan pushed a commit that referenced this pull request Aug 12, 2024
* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)
riysaxen-amzn added a commit that referenced this pull request Aug 13, 2024
…1046)

* bug fix for duplicate notification channels (#981)

* bug fix for duplicate notification channels

Signed-off-by: Riya Saxena <[email protected]>

* bug fix for UI dropdown

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit 738295f)

* updated lock file

Signed-off-by: Amardeepsingh Siglani <[email protected]>

---------

Signed-off-by: Amardeepsingh Siglani <[email protected]>
Co-authored-by: Amardeepsingh Siglani <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants