Skip to content

Allow response payload to reference variables.#471

Merged
Xtansia merged 1 commit intoopensearch-project:mainfrom
dblock:payload-key-values
Aug 6, 2024
Merged

Allow response payload to reference variables.#471
Xtansia merged 1 commit intoopensearch-project:mainfrom
dblock:payload-key-values

Conversation

@dblock
Copy link
Copy Markdown
Member

@dblock dblock commented Aug 6, 2024

Description

  • Allows payload[index], not just payload.something[index].
  • Allow response payload to reference variables in keys, so we can get a node ID from /_cat/nodes and reuse it when checking payload in /_nodes/node_id with a key matching node ID.

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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 6, 2024

Changes Analysis

Commit SHA: 2fc45c5
Comparing To SHA: c7dbaaf

API Changes

Summary

NO CHANGES

Report

The full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/10269683146/artifacts/1781724731

API Coverage

Before After Δ
Covered (%) 510 (49.95 %) 510 (49.95 %) 0 (0 %)
Uncovered (%) 511 (50.05 %) 511 (50.05 %) 0 (0 %)
Unknown 24 24 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Aug 6, 2024

Spec Test Coverage Analysis

Total Tested
534 118 (22.1 %)

Signed-off-by: dblock <dblock@amazon.com>
@dblock dblock force-pushed the payload-key-values branch from 4821f69 to 2fc45c5 Compare August 6, 2024 15:42
@Xtansia Xtansia merged commit 870a018 into opensearch-project:main Aug 6, 2024
@dblock dblock deleted the payload-key-values branch August 7, 2024 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants