-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix null_pointer_exception when creating or updating ingest pipeline #9259
Conversation
Signed-off-by: Gao Binlong <[email protected]>
Signed-off-by: Gao Binlong <[email protected]>
Compatibility status:
|
Compatibility status:
|
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #9259 +/- ##
============================================
- Coverage 71.25% 71.19% -0.07%
- Complexity 57811 57824 +13
============================================
Files 4806 4806
Lines 272240 272244 +4
Branches 39730 39731 +1
============================================
- Hits 193996 193824 -172
- Misses 61941 62167 +226
+ Partials 16303 16253 -50
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Gao Binlong <[email protected]>
Compatibility status:
|
Compatibility status:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Gao Binlong <[email protected]>
Compatibility status:
|
Gradle Check (Jenkins) Run Completed with:
|
server/src/main/java/org/opensearch/ingest/ConfigurationUtils.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Gao Binlong <[email protected]>
Compatibility status:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Gao Binlong <[email protected]>
Compatibility status:Checks if related components are compatible with change 0a92736 Incompatible componentsSkipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git] |
Gradle Check (Jenkins) Run Completed with:
|
hi @reta, could this PR be merged now? |
…9259) * Fix null_pointer_exception when creating or update ingest pipeline Signed-off-by: Gao Binlong <[email protected]> * Modify changelog Signed-off-by: Gao Binlong <[email protected]> * Add nullable tag Signed-off-by: Gao Binlong <[email protected]> * Add more test Signed-off-by: Gao Binlong <[email protected]> * Modify error message Signed-off-by: Gao Binlong <[email protected]> --------- Signed-off-by: Gao Binlong <[email protected]> (cherry picked from commit 4294d44) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…9259) (#9733) * Fix null_pointer_exception when creating or update ingest pipeline * Modify changelog * Add nullable tag * Add more test * Modify error message --------- (cherry picked from commit 4294d44) Signed-off-by: Gao Binlong <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#9259) * Fix null_pointer_exception when creating or update ingest pipeline Signed-off-by: Gao Binlong <[email protected]> * Modify changelog Signed-off-by: Gao Binlong <[email protected]> * Add nullable tag Signed-off-by: Gao Binlong <[email protected]> * Add more test Signed-off-by: Gao Binlong <[email protected]> * Modify error message Signed-off-by: Gao Binlong <[email protected]> --------- Signed-off-by: Gao Binlong <[email protected]> Signed-off-by: Kaushal Kumar <[email protected]>
…pensearch-project#9259) * Fix null_pointer_exception when creating or update ingest pipeline Signed-off-by: Gao Binlong <[email protected]> * Modify changelog Signed-off-by: Gao Binlong <[email protected]> * Add nullable tag Signed-off-by: Gao Binlong <[email protected]> * Add more test Signed-off-by: Gao Binlong <[email protected]> * Modify error message Signed-off-by: Gao Binlong <[email protected]> --------- Signed-off-by: Gao Binlong <[email protected]> Signed-off-by: Ivan Brusic <[email protected]>
…pensearch-project#9259) * Fix null_pointer_exception when creating or update ingest pipeline Signed-off-by: Gao Binlong <[email protected]> * Modify changelog Signed-off-by: Gao Binlong <[email protected]> * Add nullable tag Signed-off-by: Gao Binlong <[email protected]> * Add more test Signed-off-by: Gao Binlong <[email protected]> * Modify error message Signed-off-by: Gao Binlong <[email protected]> --------- Signed-off-by: Gao Binlong <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Fix the bug of throwing null_pointer_exception when creating or updating ingest pipeline, add null check for the config of processor, if the config is null, return 400 http status code.
Related Issues
#9257
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.