Class PublishEnvironmentsResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.PublishEnvironmentsResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
public class PublishEnvironmentsResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
DELETE_ENVIRONMENT_PATH, DELETE_ENVIRONMENT_SUMMARY, DELETE_TARGET_PATH, DELETE_TARGET_SUMMARY, GET_ENVIRONMENT_HISTORY_PATH, GET_ENVIRONMENT_HISTORY_SUMMARY, GET_ENVIRONMENT_PATH, GET_ENVIRONMENT_SUMMARY, GET_ENVIRONMENTS_PATH, GET_ENVIRONMENTS_SUMMARY, GET_FILE_PUBLISH_RESULT_PATH, GET_FILE_PUBLISH_RESULT_SUMMARY, GET_PUBLISHED_URL_PATH, GET_PUBLISHED_URL_SUMMARY, GET_STATUS_UPDATE_RESULT_PATH, GET_STATUS_UPDATE_RESULT_SUMMARY, GET_STATUSES_PATH, GET_STATUSES_SUMMARY, GET_TARGET_PATH, GET_TARGET_STATUS_PATH, GET_TARGET_STATUS_SUMMARY, GET_TARGET_SUMMARY, GET_WEBAPP_PUBLISH_RESULT_PATH, GET_WEBAPP_PUBLISH_RESULT_SUMMARY, GET_WEBAPP_UNPUBLISH_RESULT_PATH, GET_WEBAPP_UNPUBLISH_RESULT_SUMMARY, PATH, POST_ENVIRONMENT_PATH, POST_ENVIRONMENT_SUMMARY, POST_PRE_CONFIGURED_PATH, POST_PRE_CONFIGURED_SUMMARY, POST_PUBLISH_BEGIN_PATH, POST_PUBLISH_BEGIN_SUMMARY, POST_STATUS_UPDATE_BEGIN_PATH, POST_STATUS_UPDATE_BEGIN_SUMMARY, POST_TARGET_PATH, POST_TARGET_SUMMARY, POST_UNPUBLISH_BEGIN_PATH, POST_UNPUBLISH_BEGIN_SUMMARY, PUT_ENVIRONMENT_PATH, PUT_ENVIRONMENT_SUMMARY, PUT_TARGET_PATH, PUT_TARGET_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description PublishEnvironmentsResourceImpl(javax.ws.rs.client.WebTarget webTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
beginPublish(UUID solutionId, UUID environmentId, com.artisol.teneo.studio.api.models.publish.PublishOption publishOption)
UUID
beginUnpublish(UUID solutionId, UUID environmentId)
UUID
beginUpdatePublishEnvironmentStatus(UUID solutionId, UUID environmentId)
com.artisol.teneo.studio.api.models.publish.PublishEnvironment
createPreConfiguredPublishEnvironment(UUID solutionId, com.artisol.teneo.studio.api.enums.PublishEnvironmentType type)
com.artisol.teneo.studio.api.models.publish.PublishEnvironment
createPublishEnvironment(UUID solutionId, com.artisol.teneo.studio.api.models.publish.PublishEnvironment publishEnvironment)
com.artisol.teneo.studio.api.models.publish.PublishTarget
createPublishEnvironmentTarget(UUID solutionId, UUID environmentId, com.artisol.teneo.studio.api.models.publish.PublishTarget target)
void
deletePublishEnvironment(UUID solutionId, UUID environmentId)
void
deletePublishEnvironmentTarget(UUID solutionId, UUID targetId)
InputStream
getFilePublishResult(UUID taskId)
Collection<com.artisol.teneo.studio.api.models.publish.PublishEnvironmentVersionInfo>
getHistory(UUID solutionId, UUID environmentId)
com.artisol.teneo.studio.api.models.publish.PublishEnvironment
getPublishEnvironment(UUID solutionId, UUID environmentId)
List<com.artisol.teneo.studio.api.models.publish.PublishEnvironment>
getPublishEnvironments(UUID solutionId)
Collection<com.artisol.teneo.studio.api.models.publish.PublishTargetStatus>
getPublishEnvironmentStatusForSolution(UUID solutionId)
List<com.artisol.teneo.studio.api.models.SuccessReport>
getPublishEnvironmentStatusUpdateResult(UUID taskId)
com.artisol.teneo.studio.api.models.publish.PublishTarget
getPublishEnvironmentTarget(UUID solutionId, UUID targetId)
com.artisol.teneo.studio.api.models.publish.PublishTargetStatus
getPublishEnvironmentTargetStatus(UUID solutionId, UUID targetId)
String
getPublishUrl(UUID solutionId, UUID environmentId)
Collection<com.artisol.teneo.studio.api.models.SuccessReport>
getWebappPublishResult(UUID taskId)
Collection<com.artisol.teneo.studio.api.models.SuccessReport>
getWebappUnpublishResult(UUID taskId)
com.artisol.teneo.studio.api.models.publish.PublishEnvironment
updatePublishEnvironment(UUID solutionId, UUID environmentId, com.artisol.teneo.studio.api.models.publish.PublishEnvironment publishEnvironment)
com.artisol.teneo.studio.api.models.publish.PublishTarget
updatePublishEnvironmentTarget(UUID solutionId, UUID targetId, com.artisol.teneo.studio.api.models.publish.PublishTarget environmentTarget)
-
-
-
Method Detail
-
beginPublish
public UUID beginPublish(UUID solutionId, UUID environmentId, com.artisol.teneo.studio.api.models.publish.PublishOption publishOption) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
beginPublish
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
beginUnpublish
public UUID beginUnpublish(UUID solutionId, UUID environmentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
beginUnpublish
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
createPublishEnvironment
public com.artisol.teneo.studio.api.models.publish.PublishEnvironment createPublishEnvironment(UUID solutionId, com.artisol.teneo.studio.api.models.publish.PublishEnvironment publishEnvironment) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
createPublishEnvironment
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
updatePublishEnvironment
public com.artisol.teneo.studio.api.models.publish.PublishEnvironment updatePublishEnvironment(UUID solutionId, UUID environmentId, com.artisol.teneo.studio.api.models.publish.PublishEnvironment publishEnvironment) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
updatePublishEnvironment
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
createPublishEnvironmentTarget
public com.artisol.teneo.studio.api.models.publish.PublishTarget createPublishEnvironmentTarget(UUID solutionId, UUID environmentId, com.artisol.teneo.studio.api.models.publish.PublishTarget target) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
createPublishEnvironmentTarget
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
updatePublishEnvironmentTarget
public com.artisol.teneo.studio.api.models.publish.PublishTarget updatePublishEnvironmentTarget(UUID solutionId, UUID targetId, com.artisol.teneo.studio.api.models.publish.PublishTarget environmentTarget) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
updatePublishEnvironmentTarget
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
deletePublishEnvironment
public void deletePublishEnvironment(UUID solutionId, UUID environmentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
deletePublishEnvironment
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
deletePublishEnvironmentTarget
public void deletePublishEnvironmentTarget(UUID solutionId, UUID targetId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
deletePublishEnvironmentTarget
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getPublishUrl
public String getPublishUrl(UUID solutionId, UUID environmentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getPublishUrl
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
beginUpdatePublishEnvironmentStatus
public UUID beginUpdatePublishEnvironmentStatus(UUID solutionId, UUID environmentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
beginUpdatePublishEnvironmentStatus
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getPublishEnvironmentStatusForSolution
public Collection<com.artisol.teneo.studio.api.models.publish.PublishTargetStatus> getPublishEnvironmentStatusForSolution(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getPublishEnvironmentStatusForSolution
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getPublishEnvironments
public List<com.artisol.teneo.studio.api.models.publish.PublishEnvironment> getPublishEnvironments(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getPublishEnvironments
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
createPreConfiguredPublishEnvironment
public com.artisol.teneo.studio.api.models.publish.PublishEnvironment createPreConfiguredPublishEnvironment(UUID solutionId, com.artisol.teneo.studio.api.enums.PublishEnvironmentType type) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
createPreConfiguredPublishEnvironment
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getPublishEnvironment
public com.artisol.teneo.studio.api.models.publish.PublishEnvironment getPublishEnvironment(UUID solutionId, UUID environmentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getPublishEnvironment
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getPublishEnvironmentTarget
public com.artisol.teneo.studio.api.models.publish.PublishTarget getPublishEnvironmentTarget(UUID solutionId, UUID targetId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getPublishEnvironmentTarget
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getPublishEnvironmentTargetStatus
public com.artisol.teneo.studio.api.models.publish.PublishTargetStatus getPublishEnvironmentTargetStatus(UUID solutionId, UUID targetId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getPublishEnvironmentTargetStatus
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getHistory
public Collection<com.artisol.teneo.studio.api.models.publish.PublishEnvironmentVersionInfo> getHistory(UUID solutionId, UUID environmentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getHistory
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getWebappPublishResult
public Collection<com.artisol.teneo.studio.api.models.SuccessReport> getWebappPublishResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getWebappPublishResult
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getWebappUnpublishResult
public Collection<com.artisol.teneo.studio.api.models.SuccessReport> getWebappUnpublishResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getWebappUnpublishResult
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getFilePublishResult
public InputStream getFilePublishResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getFilePublishResult
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getPublishEnvironmentStatusUpdateResult
public List<com.artisol.teneo.studio.api.models.SuccessReport> getPublishEnvironmentStatusUpdateResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getPublishEnvironmentStatusUpdateResult
in interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-