Class PublishEnvironmentsResourceImpl

  • All Implemented Interfaces:
    com.artisol.teneo.studio.api.resources.PublishEnvironmentsResource

    public class PublishEnvironmentsResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
    • Constructor Detail

      • PublishEnvironmentsResourceImpl

        public PublishEnvironmentsResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • 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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getWebappPublishResult

        public Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport> getWebappPublishResult​(UUID taskId)
                                                                                                     throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getWebappPublishResult in interface com.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getWebappUnpublishResult

        public Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport> getWebappUnpublishResult​(UUID taskId)
                                                                                                       throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getWebappUnpublishResult in interface com.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 interface com.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getPublishEnvironmentStatusUpdateResult

        public Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport> getPublishEnvironmentStatusUpdateResult​(UUID taskId)
                                                                                                                      throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getPublishEnvironmentStatusUpdateResult in interface com.artisol.teneo.studio.api.resources.PublishEnvironmentsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException