Package step.repositories.staging
Class StagingRepositoryServices
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.repositories.staging.StagingRepositoryServices
-
Field Summary
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeInStagingContext
(String id, Map<String, String> executionParameters, boolean isolate) void
init()
uploadFile
(String id, InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail) void
uploadPlan
(String id, Plan plan) Methods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
Methods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Field Details
-
stagingContextAccessor
-
resourceManager
-
-
Constructor Details
-
StagingRepositoryServices
public StagingRepositoryServices()
-
-
Method Details
-
init
- Overrides:
init
in classAbstractStepServices
- Throws:
Exception
-
createContext
@GET @Path("/context") @Consumes("application/json") @Produces("text/plain") public String createContext() -
uploadPlan
-
uploadFile
@POST @Path("/context/{id}/file") @Consumes("multipart/form-data") @Produces("text/plain") public String uploadFile(@PathParam("id") String id, InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail) throws Exception - Throws:
Exception
-
executeInStagingContext
-
destroyStagingContext
@POST @Path("/context/{id}/destroy") @Consumes("application/json") public void destroyStagingContext(@PathParam("id") String id)
-