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

Move Deployments interfaces out of deployments.service.ts #2962

Closed
2 tasks done
andrewazores opened this issue Apr 9, 2018 · 0 comments
Closed
2 tasks done

Move Deployments interfaces out of deployments.service.ts #2962

andrewazores opened this issue Apr 9, 2018 · 0 comments

Comments

@andrewazores
Copy link
Collaborator

andrewazores commented Apr 9, 2018

Parent: #2921

Task

Currently, many of the types (interfaces) used by the Deployments page to represent various data and WIT API response formats are contained in and exported by the deployments.service.ts file. The DeploymentsService class itself is being repositioned so that it is internal to the Deployments page, with the intended service for external consumers being the DeploymentApiService. For this reason, all of the interfaces contained in deployments.service.ts that are not Deployments-specific and are relevant for any consumer of the DeploymentApiService should be moved, either into deployment-api.service.ts or the deployments/models directory.

Relationships

@andrewazores andrewazores added this to the Platform Backlog milestone Apr 9, 2018
@andrewazores andrewazores self-assigned this Apr 18, 2018
andrewazores added a commit to andrewazores/fabric8-ui that referenced this issue Apr 18, 2018
Interfaces used to define the shape of Deployments backend API responses are moved to
deployment-api.service.ts so that they are next to the functions that return them. Two unused
interfaces (Environment and Pods) are removed entirely. NetworkStat is moved to models to fit with
CpuStat and MemoryStat.

related to openshiftio/openshift.io#2962
andrewazores added a commit to andrewazores/fabric8-ui that referenced this issue Apr 18, 2018
Add a ScaledStat interface to provide a common type for ScaledNetworkStat and ScaledMemoryStat

fixes openshiftio/openshift.io#2962
andrewazores added a commit to andrewazores/fabric8-ui that referenced this issue Apr 18, 2018
Interfaces used to define the shape of Deployments backend API responses are moved to
deployment-api.service.ts so that they are next to the functions that return them. Two unused
interfaces (Environment and Pods) are removed entirely. NetworkStat is moved to models to fit with
CpuStat and MemoryStat.

related to openshiftio/openshift.io#2962
andrewazores added a commit to andrewazores/fabric8-ui that referenced this issue Apr 18, 2018
Add a ScaledStat interface to provide a common type for ScaledNetworkStat and ScaledMemoryStat

fixes openshiftio/openshift.io#2962
andrewazores added a commit to fabric8-ui/fabric8-ui that referenced this issue Apr 18, 2018
Interfaces used to define the shape of Deployments backend API responses are moved to
deployment-api.service.ts so that they are next to the functions that return them. Two unused
interfaces (Environment and Pods) are removed entirely. NetworkStat is moved to models to fit with
CpuStat and MemoryStat.

related to openshiftio/openshift.io#2962
sanketpathak pushed a commit to sanketpathak/fabric8-ui that referenced this issue May 6, 2018
Interfaces used to define the shape of Deployments backend API responses are moved to
deployment-api.service.ts so that they are next to the functions that return them. Two unused
interfaces (Environment and Pods) are removed entirely. NetworkStat is moved to models to fit with
CpuStat and MemoryStat.

related to openshiftio/openshift.io#2962
sanketpathak pushed a commit to sanketpathak/fabric8-ui that referenced this issue May 6, 2018
Add a ScaledStat interface to provide a common type for ScaledNetworkStat and ScaledMemoryStat

fixes openshiftio/openshift.io#2962
sanketpathak pushed a commit to sanketpathak/fabric8-ui that referenced this issue May 6, 2018
Interfaces used to define the shape of Deployments backend API responses are moved to
deployment-api.service.ts so that they are next to the functions that return them. Two unused
interfaces (Environment and Pods) are removed entirely. NetworkStat is moved to models to fit with
CpuStat and MemoryStat.

related to openshiftio/openshift.io#2962
sanketpathak pushed a commit to sanketpathak/fabric8-ui that referenced this issue May 6, 2018
Add a ScaledStat interface to provide a common type for ScaledNetworkStat and ScaledMemoryStat

fixes openshiftio/openshift.io#2962
sanketpathak pushed a commit to sanketpathak/fabric8-ui that referenced this issue May 7, 2018
Interfaces used to define the shape of Deployments backend API responses are moved to
deployment-api.service.ts so that they are next to the functions that return them. Two unused
interfaces (Environment and Pods) are removed entirely. NetworkStat is moved to models to fit with
CpuStat and MemoryStat.

related to openshiftio/openshift.io#2962
sanketpathak pushed a commit to sanketpathak/fabric8-ui that referenced this issue May 7, 2018
Add a ScaledStat interface to provide a common type for ScaledNetworkStat and ScaledMemoryStat

fixes openshiftio/openshift.io#2962
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