This repository has been archived by the owner on Jul 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Move Deployments interfaces out of deployments.service.ts #2962
Comments
4 tasks
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.
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
The text was updated successfully, but these errors were encountered: