Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Review Deployments API and remove unused APIs #2597

Closed
jiekang opened this issue Mar 14, 2018 · 2 comments
Closed

Review Deployments API and remove unused APIs #2597

jiekang opened this issue Mar 14, 2018 · 2 comments

Comments

@jiekang
Copy link
Collaborator

jiekang commented Mar 14, 2018

Parent: #2636

The deployments page is in a stable position and barring UX overhauls, uses a stable set of APIs. The API [1] should be reviewed and any unused endpoints should be removed.

[1] https://github.com/fabric8-services/fabric8-wit/blob/master/design/deployments.go

@jiekang
Copy link
Collaborator Author

jiekang commented Mar 16, 2018

API that is currently being used by the UI:

Scale pods: deployments/spaces/${spaceId}/applications/${applicationId}/deployments/${environmentName}?podCount=${desiredReplicas}

Preload timeseries:
deployments/spaces/${spaceId}/applications/${applicationId}/deployments/${environmentName}/statseries?start=${startTime}&end=${endTime}

Poll timeseries:
deployments/spaces/${spaceId}/applications/${applicationId}/deployments/${environmentName}/stats

Get environments:
deployments/spaces/${spaceId}/environments

Get applications:
deployments/spaces/${spaceId}

Delete deployment:
deployments/spaces/${spaceId}/applications/${applicationId}/deployments/${environmentName}

@jiekang
Copy link
Collaborator Author

jiekang commented Mar 23, 2018

Closing as fix has been merged.

@jiekang jiekang closed this as completed Mar 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant