Skip to content

Modifying UTs and CI to add support for Java 8, 11 and 14#1580

Merged
davidlago merged 1 commit intoopensearch-project:mainfrom
nsri19:ci-changes-2.0.0
Jan 27, 2022
Merged

Modifying UTs and CI to add support for Java 8, 11 and 14#1580
davidlago merged 1 commit intoopensearch-project:mainfrom
nsri19:ci-changes-2.0.0

Conversation

@nsri19
Copy link
Copy Markdown
Contributor

@nsri19 nsri19 commented Jan 21, 2022

Signed-off-by: Nidhi Sridhar srnidhi@amazon.com

Description

Adds 8, 11 and 14 to the CI matrix
Modifies UTs to drop TLSv1 and add TLSv1.2 instead

  • Category: Maintenance
  • Why these changes are required? Because opensearch claims compatibility for 8, 11 and 14
  • What is the old behavior before changes and new behavior after changes? N/A

Issues Resolved

#1502

Is this a backport? If so, please add backport PR # and/or commits #

Testing

Manually tested all the changes on my fork.

Check List

  • New functionality includes testing
  • New functionality has been documented
  • 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: Nidhi Sridhar <srnidhi@amazon.com>
@nsri19 nsri19 requested a review from a team January 21, 2022 20:31
<dependency.locations.enabled>false</dependency.locations.enabled>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Required because as per the documentation for maven-compiler-plugin, the release flag is supported since 1.9, and thus has to be commented/removed from the POM if using earlier (1.8 and below) versions of JDK.

Maven documentation for release tag for maven-compiler-plugin can be found here.

@davidlago davidlago linked an issue Jan 25, 2022 that may be closed by this pull request
3 tasks
@davidlago davidlago closed this Jan 25, 2022
@davidlago davidlago reopened this Jan 25, 2022
Copy link
Copy Markdown
Member

@DarshitChanpura DarshitChanpura left a comment

Choose a reason for hiding this comment

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

LGTM!

One of the checks failed. Is it expected to? if not, can you please look into it.

@davidlago
Copy link
Copy Markdown

Whitesource report has been fixed in main

@davidlago davidlago merged commit 3619667 into opensearch-project:main Jan 27, 2022
wuychn pushed a commit to ochprince/security that referenced this pull request Mar 16, 2023
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.

Default CI Java Version to Java 11, run tests on 8, 14 and 17

3 participants