-
Notifications
You must be signed in to change notification settings - Fork 34
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
Create UploadGeoJSONRequest content as an object #32
Create UploadGeoJSONRequest content as an object #32
Conversation
Update request to deserialize content into object. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
Codecov Report
@@ Coverage Diff @@
## main #32 +/- ##
============================================
+ Coverage 87.09% 88.80% +1.70%
- Complexity 33 44 +11
============================================
Files 9 10 +1
Lines 93 125 +32
Branches 8 12 +4
============================================
+ Hits 81 111 +30
- Misses 12 14 +2
Continue to review full report at Codecov.
|
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
79c1a6f
to
d6ac9af
Compare
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
9229cc5
to
d12e392
Compare
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
d12e392
to
49b1ca9
Compare
src/main/java/org/opensearch/geospatial/action/upload/geojson/UploadGeoJSONRequestContent.java
Outdated
Show resolved
Hide resolved
ace41b3
to
782e7af
Compare
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, thank you
check whether input has valid index name, geospatial field and GeoJSON data. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
782e7af
to
7e43e65
Compare
Currently, there are two field types, geo_shape and geo_point. Allow user to pass this information while creating index. Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
Signed-off-by: Vijayan Balasubramanian balasvij@amazon.com
Description
Create Request content object to deserialize into an object. This will be used by Transport action
to build logic to index request content as document into an index.
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.