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

Gradle custom java zippublish plugin #2988

Merged
merged 65 commits into from
Apr 27, 2022
Merged

Gradle custom java zippublish plugin #2988

merged 65 commits into from
Apr 27, 2022

Conversation

prudhvigodithi
Copy link
Member

@prudhvigodithi prudhvigodithi commented Apr 19, 2022

Description

This change will add custom zippublish plugin, that can publish plugin zips to maven repo.

Issues Resolved

opensearch-project/opensearch-build#1916

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.

@prudhvigodithi prudhvigodithi changed the title Gradleplugin 2.0 Gradle custom zippublish plugin Apr 19, 2022
@prudhvigodithi prudhvigodithi changed the title Gradle custom zippublish plugin Gradle custom java zippublish plugin Apr 19, 2022
Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

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

❌   Gradle Check failure 5bd117f950a0e5a2e5c56e39fe37d01f5079fb89
Log 4627

Reports 4627

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure d60eafe
Log 4628

Reports 4628

if (project.getPluginManager().hasPlugin("opensearch.java")) {
publication.artifact(project.getTasks().getByName("sourcesJar"));
publication.artifact(project.getTasks().getByName("javadocJar"));
String search = "zip";
Copy link
Member

Choose a reason for hiding this comment

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

Hi @prudhvigodithi,

A bit confused.

Can we have a better naming for this var?
search does not tell me anything on it.

And the logic seems to find whether these is any zips, before attempting the publish of java later.

Thanks.

Copy link
Member Author

@prudhvigodithi prudhvigodithi Apr 20, 2022

Choose a reason for hiding this comment

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

Hi @peterzhuamazon
Fixed some access modifiers and var strings in my latest commit.

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

❌   Gradle Check failure 4a61852
Log 4637

Reports 4637

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

✅   Gradle Check success 1e8c5f1
Log 4639

Reports 4639

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success 5e87cde
Log 4640

Reports 4640

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

❌   Gradle Check failure 770c886
Log 4644

Reports 4644

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

✅   Gradle Check success a8647ec
Log 4645

Reports 4645

@dblock
Copy link
Member

dblock commented Apr 20, 2022

Will gladly review once you think this is ready!

@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented Apr 21, 2022

Thanks @dblock ,
the reason I still left as draft is, I still dont see the plugin gets added to local maven repo (using build tools) during runtime so that downstream components can use it while the plugin is applied as apply plugin: 'opensearch.zippublish'
However when I add the plugin manually to local maven repo then it gets picked when apply plugin is added.
So just looking for some suggestions if anything I have missed. Just to summarize the plugin functionality works fine as expected, just the pending part is how to integrate with the existing custom plugin setup, so that even this is added to local maven repo during runtime and each component can then use it.
@saratvemulapalli @bbarani

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

❌   Gradle Check failure 0865be2
Log 4674

Reports 4674

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

✅   Gradle Check success be37b91
Log 4675

Reports 4675

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

❌   Gradle Check failure 8a7c18e
Log 4687

Reports 4687

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

✅   Gradle Check success a43e651
Log 4689

Reports 4689

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

Something looks odd about introducing a second kind of publication while that wasn't the case for bin or source JARs.

Signed-off-by: pgodithi <pgodithi@amazon.com>
Task javaDocJarTask = project.getTasks().findByName("javadocJar");
if (javaDocJarTask != null) {
javaDocJarTask.setEnabled(false);
}
Copy link
Member

Choose a reason for hiding this comment

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

I don't see this change here, am I missing something?

Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented Apr 26, 2022

Hey @reta and @dblock I have done some code cleanup as per feedback and modified the following.

  • Removed the entire extension file, as this only used to fetch the zip's groupID, since its fixed as org.opensearch.plugin, I have hardcoded it, which makes the extensions file not required anymore.
  • Edited the existing PublishPlugin, to skip if the publication that has name zip in it.
  • Added proper unit tests, that covers edge cased related to maven zip publish.
  • Tested with job-scheduler, alerting and anomaly-detection plugin, able to get the zips published excluding the sourceJar and javadocJar only for this zip publication.

@bbarani

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success 9b1cb92
Log 4795

Reports 4795

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success c866641
Log 4796

Reports 4796

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

I am good with these changes if @reta is good with this. I don't see any problems. Good job on the tests, too.

I do want to discuss naming one more time, once we merge this it will be difficult to rename all over the place. The proposed publishMavenzipPublicationToZipstagingRepository does not match the current pattern.

These are the current publish tasks:

publish - Publishes all publications produced by this project.
publishAllPublicationsToSnapshotsRepository - Publishes all Maven publications produced by this project to the Snapshots repository.
publishAllPublicationsToTestRepository - Publishes all Maven publications produced by this project to the test repository.
publishNebulaPublicationToMavenLocal - Publishes Maven publication 'nebula' to the local Maven repository.
publishNebulaPublicationToSnapshotsRepository - Publishes Maven publication 'nebula' to Maven repository 'Snapshots'.
publishNebulaPublicationToTestRepository - Publishes Maven publication 'nebula' to Maven repository 'test'.
publishPluginMavenPublicationToMavenLocal - Publishes Maven publication 'pluginMaven' to the local Maven repository.
publishPluginMavenPublicationToSnapshotsRepository - Publishes Maven publication 'pluginMaven' to Maven repository 'Snapshots'.
publishPluginMavenPublicationToTestRepository - Publishes Maven publication 'pluginMaven' to Maven repository 'test'.
publishShadowPublicationToMavenLocal - Publishes Maven publication 'shadow' to the local Maven repository.
publishShadowPublicationToSnapshotsRepository - Publishes Maven publication 'shadow' to Maven repository 'Snapshots'.
publishShadowPublicationToTestRepository - Publishes Maven publication 'shadow' to Maven repository 'test'.
publishToMavenLocal - Publishes all Maven publications produced by this project to the local Maven cache.

I think what would make sense given this pattern is publishPluginZipPublicationTo* or publishZipPublicationTo*, because:

  1. We are not publishing a maven zip, we're publishing the plugin zip.
  2. CamelCase should match.

Similarly, the name of the plugin org.opensearch.gradle.zipplugin.ZipPublish would then be org.opensearch.gradle.pluginzip.Publish, no need for a double zip.

@prudhvigodithi WDYT? Possible?

@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented Apr 26, 2022

@prudhvigodithi WDYT? Possible?

yes @dblock possible, but how about the META-INF, is the existing one (opensearch.zippublish) fine ?, users should be able to use this with apply apply plugin: 'opensearch.zippublish'

This would be better too apply plugin: 'opensearch.pluginzip'

Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented Apr 26, 2022

@prudhvigodithi WDYT? Possible?

Hey @dblock just pushed with new naming conventions, the task name will now be publishPluginZipPublicationToZipStagingRepository, the plugin name is opensearch.pluginzip, the implementation class is org.opensearch.gradle.pluginzip.Publish
Now once the plugin is applied apply plugin: 'opensearch.pluginzip', get tasks should list the task as publishPluginZipPublicationToZipStagingRepository.
Screen Shot 2022-04-26 at 7 17 40 AM

@reta

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success cdac61d
Log 4801

Reports 4801

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

LGTM, @reta?

@dblock dblock requested a review from reta April 26, 2022 21:02
@dblock dblock merged commit d61aa40 into opensearch-project:2.0 Apr 27, 2022
@dblock dblock added the backport 2.x Backport to 2.x branch label Apr 27, 2022
dblock added a commit that referenced this pull request Apr 27, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 27, 2022
* Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fixed failure checks

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fixed failure checks

Signed-off-by: pgodithi <pgodithi@amazon.com>

* ref String to null

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added gradlePlugin config

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added gradlePlugin config

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added gradlePlugin config

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added zipFilePath injection

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added custom plugin eval logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added system property for version check

Signed-off-by: pgodithi <pgodithi@amazon.com>

* spotlessApply check

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added custom plugin eval logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* spotlessJavaCheck fix

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Reverted back existing publish plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added feedback code fix

Signed-off-by: pgodithi <pgodithi@amazon.com>

* modified BUILD_DISTRIBUTIONS_LOCATION to zipDistributionLocation

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* changed the zip artifcat identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* ran spotlessApply

Signed-off-by: pgodithi <pgodithi@amazon.com>

* ran spotlessApply

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Code cleanup

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Code cleanup

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Code cleanup

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Code cleanup typos

Signed-off-by: pgodithi <pgodithi@amazon.com>

* code cleanup and extended unit tests

Signed-off-by: pgodithi <pgodithi@amazon.com>

* code cleanup and extended unit tests

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Naming convention fix

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Naming convention fix

Signed-off-by: pgodithi <pgodithi@amazon.com>
(cherry picked from commit d61aa40)
@dblock
Copy link
Member

dblock commented Apr 27, 2022

I didn't pay attention and this got merged onto 2.0, it shouldn't have been as 2.0 is stabilizing for RC1 😢 I won't revert it, but someone tell me if I should.

opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 27, 2022
* Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

Added custom plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fixed failure checks

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fixed failure checks

Signed-off-by: pgodithi <pgodithi@amazon.com>

* ref String to null

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added gradlePlugin config

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added gradlePlugin config

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added gradlePlugin config

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added zipFilePath injection

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added custom plugin eval logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added system property for version check

Signed-off-by: pgodithi <pgodithi@amazon.com>

* spotlessApply check

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added custom plugin eval logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* spotlessJavaCheck fix

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Reverted back existing publish plugin

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added feedback code fix

Signed-off-by: pgodithi <pgodithi@amazon.com>

* modified BUILD_DISTRIBUTIONS_LOCATION to zipDistributionLocation

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* changed the zip artifcat identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Changed the zip file identify logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* ran spotlessApply

Signed-off-by: pgodithi <pgodithi@amazon.com>

* ran spotlessApply

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fix lint issues

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Code cleanup

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Code cleanup

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Code cleanup

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Code cleanup typos

Signed-off-by: pgodithi <pgodithi@amazon.com>

* code cleanup and extended unit tests

Signed-off-by: pgodithi <pgodithi@amazon.com>

* code cleanup and extended unit tests

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Naming convention fix

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Naming convention fix

Signed-off-by: pgodithi <pgodithi@amazon.com>
(cherry picked from commit d61aa40)
@prudhvigodithi
Copy link
Member Author

Created Manual Backport PR's
Backport to main: PR
Backport to 2.x: PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport main backport 2.x Backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants