-
Notifications
You must be signed in to change notification settings - Fork 211
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
Incorporated review comments changes for #1985,#2264. #2683
Incorporated review comments changes for #1985,#2264. #2683
Conversation
39ab6fe
to
c884162
Compare
...lugins/opensearch-source/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
Show resolved
Hide resolved
...ch/dataprepper/plugins/source/opensearch/configuration/SchedulingParameterConfiguration.java
Outdated
Show resolved
Hide resolved
.../org/opensearch/dataprepper/plugins/source/opensearch/OpenSearchSourceConfigurationTest.java
Outdated
Show resolved
Hide resolved
...nsearch/dataprepper/plugins/source/opensearch/configuration/QueryParameterConfiguration.java
Show resolved
Hide resolved
...arch/dataprepper/plugins/source/opensearch/configuration/AwsAuthenticationConfiguration.java
Outdated
Show resolved
Hide resolved
...org/opensearch/dataprepper/plugins/source/opensearch/configuration/SortingConfiguration.java
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## main #2683 +/- ##
============================================
- Coverage 93.61% 93.34% -0.27%
+ Complexity 2271 2266 -5
============================================
Files 264 264
Lines 6339 6339
Branches 528 528
============================================
- Hits 5934 5917 -17
- Misses 266 284 +18
+ Partials 139 138 -1 |
...nsearch/dataprepper/plugins/source/opensearch/configuration/QueryParameterConfiguration.java
Show resolved
Hide resolved
...ch/dataprepper/plugins/source/opensearch/configuration/SchedulingParameterConfiguration.java
Outdated
Show resolved
Hide resolved
...ch/dataprepper/plugins/source/opensearch/configuration/SchedulingParameterConfiguration.java
Outdated
Show resolved
Hide resolved
9d7eeaa
to
d6fc13e
Compare
ca8520b
to
2fbbef9
Compare
…y: rajeshLovesToCode <[email protected]> Signed-off-by: rajeshLovesToCode <[email protected]>
2fbbef9
to
2eefca4
Compare
…roject#2264. Signed-off-by: rajeshLovesToCode <[email protected]>
public class OpenSearchSourceConfiguration { | ||
|
||
@JsonProperty("max_retries") | ||
private Integer maxRetries; |
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.
@rajeshLovesToCode we need to add validations for values in the configuration. Are you tracking to do that later? eg max_retries should not be set to negative number, hosts cannot be an empty string, password cannot be null if username is provided, etc.
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.
Thank you @dlvenable for your comments.We will the validations in next PR.
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import java.util.List; | ||
|
||
public class IndexParametersConfiguration { |
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.
@ashoktelukuntla, should we be supporting document info as part of our configuration? We need to provide the index, document id, type in our events. Were we planning on including this by default or requiring the user to enable these feature? If we want to include this we may want to add this to the metadata attributes so the data is not polluted with this information.
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.
Doc info will be added in the next PR
Signed-off-by: Taylor Gray <[email protected]>
Description
Incorporated review comments changes for #1985,#2264.
Issues Resolved
#1985 ,#2264
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.