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 UUIDbeginPublish(UUID solutionId, UUID environmentId, com.artisol.teneo.studio.api.models.publish.PublishOption publishOption)UUIDbeginUnpublish(UUID solutionId, UUID environmentId)UUIDbeginUpdatePublishEnvironmentStatus(UUID solutionId, UUID environmentId)com.artisol.teneo.studio.api.models.publish.PublishEnvironmentcreatePreConfiguredPublishEnvironment(UUID solutionId, com.artisol.teneo.studio.api.enums.PublishEnvironmentType type)com.artisol.teneo.studio.api.models.publish.PublishEnvironmentcreatePublishEnvironment(UUID solutionId, com.artisol.teneo.studio.api.models.publish.PublishEnvironment publishEnvironment)com.artisol.teneo.studio.api.models.publish.PublishTargetcreatePublishEnvironmentTarget(UUID solutionId, UUID environmentId, com.artisol.teneo.studio.api.models.publish.PublishTarget target)voiddeletePublishEnvironment(UUID solutionId, UUID environmentId)voiddeletePublishEnvironmentTarget(UUID solutionId, UUID targetId)InputStreamgetFilePublishResult(UUID taskId)Collection<com.artisol.teneo.studio.api.models.publish.PublishEnvironmentVersionInfo>getHistory(UUID solutionId, UUID environmentId)com.artisol.teneo.studio.api.models.publish.PublishEnvironmentgetPublishEnvironment(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.PublishTargetgetPublishEnvironmentTarget(UUID solutionId, UUID targetId)com.artisol.teneo.studio.api.models.publish.PublishTargetStatusgetPublishEnvironmentTargetStatus(UUID solutionId, UUID targetId)StringgetPublishUrl(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.PublishEnvironmentupdatePublishEnvironment(UUID solutionId, UUID environmentId, com.artisol.teneo.studio.api.models.publish.PublishEnvironment publishEnvironment)com.artisol.teneo.studio.api.models.publish.PublishTargetupdatePublishEnvironmentTarget(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:
beginPublishin 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:
beginUnpublishin 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:
createPublishEnvironmentin 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:
updatePublishEnvironmentin 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:
createPublishEnvironmentTargetin 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:
updatePublishEnvironmentTargetin 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:
deletePublishEnvironmentin 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:
deletePublishEnvironmentTargetin 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:
getPublishUrlin 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:
beginUpdatePublishEnvironmentStatusin 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:
getPublishEnvironmentStatusForSolutionin 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:
getPublishEnvironmentsin 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:
createPreConfiguredPublishEnvironmentin 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:
getPublishEnvironmentin 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:
getPublishEnvironmentTargetin 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:
getPublishEnvironmentTargetStatusin 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:
getHistoryin 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:
getWebappPublishResultin 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:
getWebappUnpublishResultin 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:
getFilePublishResultin 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:
getPublishEnvironmentStatusUpdateResultin interfacecom.artisol.teneo.studio.api.resources.PublishEnvironmentsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-