Skip to content
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

[Weighted Routing] Update rest api spec #6336

Closed

Conversation

anshu1106
Copy link
Contributor

Description

This PR updates rest api spec

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
@@ -1,19 +1,31 @@
{
"cluster.delete_weighted_routing": {
"documentation": {
"url": "https://opensearch.org/docs/latest/opensearch/rest-api/weighted-routing/delete",
"url": "https://opensearch.org/docs/2.5/api-reference/cluster-api/cluster-awareness/",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not point to latest? That seems to be the standard. Also the 2.5 reference will go stale.

% git grep 'opensearch.org/docs/' rest-api-spec/src/main/resources/rest-api-spec/api/
rest-api-spec/src/main/resources/rest-api-spec/api/cat.cluster_manager.json:      "url":"https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_decommission_awareness.json:      "url": "https://opensearch.org/docs/latest/opensearch/rest-api/decommission/",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_weighted_routing.json:      "url": "https://opensearch.org/docs/latest/opensearch/rest-api/weighted-routing/delete",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_decommission_awareness.json:      "url": "https://opensearch.org/docs/latest/opensearch/rest-api/decommission/",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_weighted_routing.json:      "url": "https://opensearch.org/docs/latest/opensearch/rest-api/weighted-routing/get",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_decommission_awareness.json:      "url": "https://opensearch.org/docs/latest/opensearch/rest-api/decommission/",
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_weighted_routing.json:      "url": "https://opensearch.org/docs/latest/opensearch/rest-api/weighted-routing/put",
rest-api-spec/src/main/resources/rest-api-spec/api/create_pit.json:      "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/",
rest-api-spec/src/main/resources/rest-api-spec/api/delete_all_pits.json:      "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/",
rest-api-spec/src/main/resources/rest-api-spec/api/delete_pit.json:      "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/",
rest-api-spec/src/main/resources/rest-api-spec/api/get_all_pits.json:      "url":"https://opensearch.org/docs/latest/opensearch/rest-api/point_in_time/",
rest-api-spec/src/main/resources/rest-api-spec/api/remote_store.restore.json:      "url": "https://opensearch.org/docs/latest/opensearch/rest-api/remote-store#restore",

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.action.admin.cluster.tasks.PendingTasksBlocksIT.testPendingTasksWithClusterNotRecoveredBlock

@opensearch-trigger-bot
Copy link
Contributor

This PR is stalled because it has been open for 30 days with no activity. Remove stalled label or comment or this will be closed in 7 days.

@opensearch-trigger-bot opensearch-trigger-bot bot added the stalled Issues that have stalled label Jul 7, 2023
@opensearch-trigger-bot
Copy link
Contributor

This PR was closed because it has been stalled for 7 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog stalled Issues that have stalled
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants