feat(server-common): Add JsonToJson Recommender as a utility function#18518
feat(server-common): Add JsonToJson Recommender as a utility function#18518Chris-tyt wants to merge 2 commits intoopensearch-project:mainfrom
Conversation
|
❌ Gradle check result for a755e30: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
a755e30 to
4be1f3c
Compare
|
❌ Gradle check result for 4be1f3c: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
4be1f3c to
5146502
Compare
|
❌ Gradle check result for 5146502: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
5146502 to
09184b8
Compare
|
❌ Gradle check result for 09184b8: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
1cad440 to
aa4c172
Compare
|
❌ Gradle check result for aa4c172: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
aa4c172 to
f18d44b
Compare
|
❌ Gradle check result for f18d44b: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
f18d44b to
09aaafc
Compare
|
❌ Gradle check result for 09aaafc: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Yanting Tao <yanting@amazon.com>
Signed-off-by: Yanting Tao <yanting@amazon.com>
09aaafc to
7a7c02b
Compare
|
❌ Gradle check result for 7a7c02b: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
This PR is stalled because it has been open for 30 days with no activity. |
Description
This PR adds a utility class
JsonToJsonRecommenderunderserver/.../common/utilthat can infer JSONPath mappings based on example input and output JSON objects.This utility is intended as a core component for implementing automatic field-level mapping in scenarios like inference-based pipeline configuration or input/output transformation logic.
The unit tests include example input-output pairs and cover relevant cases.
Related Issues
Resolves #18507
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.