Class OpenshiftClient
java.lang.Object
org.qubership.atp.environments.utils.cloud.ExternalCloudClient
org.qubership.atp.environments.utils.cloud.OpenshiftClient
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.qubership.atp.environments.utils.cloud.ExternalCloudClient
namespace, serverUrl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(ConnectionParameters connectionParameters) Gets set of images, this entity contains data about Image.List<com.openshift.restclient.model.route.IRoute> Gets set of routes related to the project.getRouteUrl(String serviceName, List<com.openshift.restclient.model.route.IRoute> routes) Gets set of routes related to the project.List<com.openshift.restclient.model.IService> getServices(String openshiftProject) Gets set of routes related to the project.getServicesByExistingServices(List<System> existingServices) getServicesByServiceId(List<UUID> existingServiceIds) List<com.openshift.restclient.model.IDeploymentConfig> readDeploymentConfigs(String namespace) Gets list of deployment configs, this entity contains data about Image.Methods inherited from class org.qubership.atp.environments.utils.cloud.ExternalCloudClient
createClient
-
Constructor Details
-
OpenshiftClient
public OpenshiftClient()
-
-
Method Details
-
configure
- Specified by:
configurein classExternalCloudClient
-
getImageSet
Gets set of images, this entity contains data about Image.- Returns:
- List.
-
readDeploymentConfigs
public List<com.openshift.restclient.model.IDeploymentConfig> readDeploymentConfigs(String namespace) Gets list of deployment configs, this entity contains data about Image.- Parameters:
namespace- - project name in openshift.- Returns:
- List.
-
getRoutes
Gets set of routes related to the project.- Parameters:
openshiftProject- - project name in openshift.- Returns:
- Set
-
getRouteUrl
public String getRouteUrl(String serviceName, List<com.openshift.restclient.model.route.IRoute> routes) Gets set of routes related to the project.- Parameters:
serviceName- - route name in openShift.routes- - routes in openShift project.- Returns:
- Service route
-
getServices
Gets set of routes related to the project.- Parameters:
openshiftProject- - project name in openshift.- Returns:
- Set
-
getShortServices
- Specified by:
getShortServicesin classExternalCloudClient
-
getServicesByExistingServices
- Specified by:
getServicesByExistingServicesin classExternalCloudClient
-
getServicesByServiceId
- Specified by:
getServicesByServiceIdin classExternalCloudClient
-