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

Remove feature and feature_list usage for Notifications #136

Merged
merged 5 commits into from
Mar 17, 2022

Conversation

qreshi
Copy link
Contributor

@qreshi qreshi commented Mar 14, 2022

Description

  • Removes feature usage from NotificationConfig
  • Removes feature usage from FeatureChannelList request
  • Removes feature usage from EventSource
  • Removes feature from LegacyPublishNotification

There will also be a complementary PR made in the Notifications project to integrate these changes.

There are still some indirect references to features like the enabled features returned in the GetPluginFeatures API which will be addressed in a follow-up PR.

Issues Resolved

[List any issues this PR will resolve]

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.

@lezzago
Copy link
Member

lezzago commented Mar 16, 2022

Do we want to keep the FeatureChannelList class?

@qreshi
Copy link
Contributor Author

qreshi commented Mar 16, 2022

Do we want to keep the FeatureChannelList class?

It might be renamed later and the REST handler for Notifications might be modified but we do want to keep the function since listing Channels is a little different than just listing Notifications configs (it'd collapse more complicated channels like Email) so we'd want both.

@qreshi qreshi merged commit 05931c9 into opensearch-project:main Mar 17, 2022
zelinh pushed a commit that referenced this pull request Aug 18, 2022
* Remove feature_list from NotificationConfig

Signed-off-by: Mohammad Qureshi <[email protected]>

* Remove feature from FeatueChannelsListRequest

Signed-off-by: Mohammad Qureshi <[email protected]>

* Remove 'feature' from EventSource

Signed-off-by: Mohammad Qureshi <[email protected]>

* Remove feature from LegacyPublishNotification

Signed-off-by: Mohammad Qureshi <[email protected]>

* Updated descriptions related to publishLegacyNotification

Signed-off-by: Mohammad Qureshi <[email protected]>
Signed-off-by: Zelin Hao <[email protected]>
wuychn pushed a commit to ochprince/common-utils that referenced this pull request Mar 16, 2023
…roject#136)

* Remove feature_list from NotificationConfig

Signed-off-by: Mohammad Qureshi <[email protected]>

* Remove feature from FeatueChannelsListRequest

Signed-off-by: Mohammad Qureshi <[email protected]>

* Remove 'feature' from EventSource

Signed-off-by: Mohammad Qureshi <[email protected]>

* Remove feature from LegacyPublishNotification

Signed-off-by: Mohammad Qureshi <[email protected]>

* Updated descriptions related to publishLegacyNotification

Signed-off-by: Mohammad Qureshi <[email protected]>
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.

3 participants