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

[management] Ability to easily put an endpoint in backup mode #1890

Closed
Produits opened this issue Feb 5, 2019 · 4 comments · Fixed by gravitee-io/gravitee-management-rest-api#726

Comments

@Produits
Copy link

commented Feb 5, 2019

Expected Behavior

I would like to be able to easily change the status of an endpoint by API: backup or not, in order to perform maintenance operations on an endpoint without having a service interruption. This mechanism works well but implementation is not simple

Current Behavior

Currently, I have to:

  • retrieve all API information
  • change the status of the endpoint
  • remove keys that are not accepted by the PUT
  • make my call

Possible Solution

It would be interesting to be able to make a call like this:
PATCH management/apis/:id_api/id_endpoint?backup=true/false

@brasseld brasseld changed the title Ability to easily put an endpoint in backup mode [management] Ability to easily put an endpoint in backup mode Feb 5, 2019
@Produits

This comment has been minimized.

Copy link
Author

commented Feb 5, 2019

The "Out of sync" information is also missing in the GET management/apis/:id_api
This is interesting information since it is necessary to re-deploy the API when the status of the endpoint is changed.

@brasseld

This comment has been minimized.

@Produits

This comment has been minimized.

Copy link
Author

commented Feb 5, 2019

Thank you for the answer. It works fine but in the documentation, the response is the same as for a get whereas in fact the response contains just the id and the key is_synchronized.
I think that it ould be better if the is_synchronized key was added in the standard json response

@brasseld

This comment has been minimized.

Copy link
Member

commented Feb 5, 2019

ok, the doc is wrong, the response contains api_id and state property.

brasseld added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Sep 4, 2019
@brasseld brasseld added this to the APIM - 1.29.0 milestone Sep 4, 2019
aelamrani added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
API Management
Awaiting triage
3 participants
You can’t perform that action at this time.