class OpenShiftServiceImpl implements OpenShiftService {

    @Override
    public String deploy(String name, DeploymentData deploymentData) {
        final String sanitizedName = openshiftName(name);
        LOGGER.debug("Deploy {}", sanitizedName);

        ensureDeploymentConfig(sanitizedName, deploymentData);
        ensureSecret(sanitizedName, deploymentData);
        ensureExposure(sanitizedName, deploymentData);

        DeploymentConfig deployment = openShiftClient.deploymentConfigs().withName(sanitizedName).deployLatest();
        return String.valueOf(deployment.getStatus().getLatestVersion());
    }

    public  OpenShiftServiceImpl(NamespacedOpenShiftClient openShiftClient, OpenShiftConfigurationProperties config);

}