Class DeploymentService
- java.lang.Object
-
- org.flowable.ui.admin.service.engine.DeploymentService
-
@Service public class DeploymentService extends Object
Service for invoking Flowable REST services.
-
-
Field Summary
Fields Modifier and Type Field Description protected FlowableClientServiceclientUtilprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
Constructor Summary
Constructors Constructor Description DeploymentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteDeployment(ServerConfig serverConfig, javax.servlet.http.HttpServletResponse httpResponse, String appDeploymentId)protected Stringencode(String string)protected com.fasterxml.jackson.databind.JsonNodegetAppDefinitionJson(ByteArrayInputStream bais)com.fasterxml.jackson.databind.JsonNodegetDeployment(ServerConfig serverConfig, String deploymentId)com.fasterxml.jackson.databind.JsonNodelistDeployments(ServerConfig serverConfig, Map<String,String[]> parameterMap)com.fasterxml.jackson.databind.JsonNodeuploadDeployment(ServerConfig serverConfig, String name, InputStream inputStream)
-
-
-
Field Detail
-
clientUtil
@Autowired protected FlowableClientService clientUtil
-
objectMapper
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Method Detail
-
listDeployments
public com.fasterxml.jackson.databind.JsonNode listDeployments(ServerConfig serverConfig, Map<String,String[]> parameterMap)
-
getDeployment
public com.fasterxml.jackson.databind.JsonNode getDeployment(ServerConfig serverConfig, String deploymentId)
-
uploadDeployment
public com.fasterxml.jackson.databind.JsonNode uploadDeployment(ServerConfig serverConfig, String name, InputStream inputStream) throws IOException
- Throws:
IOException
-
deleteDeployment
public void deleteDeployment(ServerConfig serverConfig, javax.servlet.http.HttpServletResponse httpResponse, String appDeploymentId)
-
getAppDefinitionJson
protected com.fasterxml.jackson.databind.JsonNode getAppDefinitionJson(ByteArrayInputStream bais) throws IOException
- Throws:
IOException
-
-