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

Kept the original constructor for PluginInfo to maintain bwc #1206

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

VachaShah
Copy link
Collaborator

Signed-off-by: Vacha vachshah@amazon.com

Description

Keeping the original constructor for PluginInfo which was changed in PR #848 to add a new parameter. Restoring the original one so that if anything depends on it, it does not break.

Issues Resolved

#1190

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.

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Wrapper Validation success 266b2c345385bfb19fc6ff61e813f75e43da310b

@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed 266b2c345385bfb19fc6ff61e813f75e43da310b

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Precommit success 266b2c345385bfb19fc6ff61e813f75e43da310b

@VachaShah VachaShah added the v1.1.0 Issues, PRs, related to the 1.1.0 release label Sep 2, 2021
private final List<String> extendedPlugins;
private final boolean hasNativeController;
private String customFolderName;
Copy link
Member

Choose a reason for hiding this comment

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

Why is this changing? Constructor should default it to null.

* @param extendedPlugins other plugins this plugin extends through SPI
* @param hasNativeController whether or not the plugin has a native controller
*/
public PluginInfo(String name, String description, String version, Version opensearchVersion, String javaVersion,
Copy link
Member

Choose a reason for hiding this comment

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

Can we write this constructor in terms of the other one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes sense! Updated it.

Signed-off-by: Vacha <vachshah@amazon.com>
@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Wrapper Validation success d732b29

@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed d732b29

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Precommit success d732b29

@dblock
Copy link
Member

dblock commented Sep 3, 2021

start gradle check

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success d732b29
Log 486

Reports 486

@tlfeng tlfeng merged commit 83332c8 into opensearch-project:main Sep 3, 2021
VachaShah added a commit to VachaShah/OpenSearch that referenced this pull request Sep 3, 2021
@VachaShah VachaShah deleted the issue-1190 branch September 3, 2021 01:49
dblock pushed a commit that referenced this pull request Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.1.0 Issues, PRs, related to the 1.1.0 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants