-
Notifications
You must be signed in to change notification settings - Fork 73
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 7 and Opensearch 2.0 upgrade #464
Gradle 7 and Opensearch 2.0 upgrade #464
Conversation
Signed-off-by: Amit Singh <[email protected]>
compile ("org.jacoco:org.jacoco.ant:0.8.5") { | ||
implementation group: 'io.protostuff', name: 'protostuff-core', version: '1.8.0' | ||
implementation group: 'io.protostuff', name: 'protostuff-runtime', version: '1.8.0' | ||
implementation group: 'io.protostuff', name: 'protostuff-api', version: '1.8.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why add these new dependencies: protostuff-api
and protostuff-collectionschema
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These required to be explicitly added as the compilation errors for Linkedbuffer and Schema were coming from these.
Compile failures : https://paste.amazon.com/show/snghes/1647551203
Codecov Report
@@ Coverage Diff @@
## main #464 +/- ##
============================================
- Coverage 78.33% 78.31% -0.03%
+ Complexity 4172 4169 -3
============================================
Files 296 296
Lines 17657 17655 -2
Branches 1879 1879
============================================
- Hits 13832 13826 -6
+ Misses 2945 2940 -5
- Partials 880 889 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
|
testCompileOnly 'org.apiguardian:apiguardian-api:1.1.0' | ||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.2' | ||
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.7.2' | ||
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.7.2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: extra space
@@ -919,10 +919,7 @@ private void updateMappingIfNecessary(GroupedActionListener<Void> delegateListen | |||
adminClient | |||
.indices() | |||
.putMapping( | |||
new PutMappingRequest() | |||
.indices(adIndex.getIndexName()) | |||
.type(CommonName.MAPPING_TYPE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if all uses of CommonName.Mapping_TYPE
were removed we can maybe delete that constant and comment referring elastic above it in CommonName
class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call out.would do that in separate PR.This is already many files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for all the changes, lets keep an eye out for any updates on job-scheduler and other 2.0 dependency to enable some parts of CI again
Signed-off-by: Amit Singh [email protected]
This PR support major campagins for Opensearch 2.0 release :
1.Using OS 2.0 snapshot
2.Remove mapping types ,transport deprecation support
3.Gradle 7 upgrade
Issues Resolved
#326
opensearch-project/opensearch-plugins#130
Check List
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.