Category Archives: KIE Execution Server

KIE Execution Server :: Client :: KIE Server REST Client Example

Environment Wildfly 10.1.0.Final jBPM 7.4.1.Final Configure Wildfly users: ./add-user.sh -a -u kieserver -p kieserver1 -g admin,kie-server ./add-user.sh -a -u martin -p kieserver1 -g admin,kie-server ./add-user.sh -a -u john -p kieserver1 -g admin,kie-server Deploy: kie-server-7.4.1.Final-ee7.war with name kie-server.war   Subprojects kie-server-rest-client-kjar … Continue reading

Posted in KIE Execution Server, KIE Server REST Client | Leave a comment

KIE Execution Server :: REST Calls Example

  Client VM: pc-4-dev-1; IP=192.168.195.104 Script: System.out.println(“hello-kie-server”); Local variable for process: java.lang.String processVar1 Eclipse project pom.xml <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd”> <modelVersion>4.0.0</modelVersion> <groupId>zjc.poltman.kieserver.client</groupId> <artifactId>hello-kie-server-client</artifactId> <version>0.0.1</version> <dependencies> <dependency> <groupId>org.kie</groupId> <artifactId>kie-internal</artifactId> <version>6.5.0.Final</version> </dependency> <dependency> <groupId>org.kie.server</groupId> <artifactId>kie-server-client</artifactId> <version>6.5.0.Final</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.1.2</version> … Continue reading

Posted in jBPM, KIE Execution Server | Tagged , | Leave a comment

KIE Execution Server :: Managing Process Definitions REST API Examples

  in progress Development Environment – like in Containers REST API Examples List process definitions Request: (We have one container with one process.) curl -X GET -H ‘Content-type: application/xml’ -u ‘kieserver:kieserver1’ http://192.168.195.101:8080/kie-server/services/rest/server/queries/processes/definitions Response: Create process instance Request: curl -X POST … Continue reading

Posted in jBPM, KIE Execution Server | Leave a comment

KIE Execution Server :: Containers REST API Examples

  Development Environment Projects   After mvn deploy on kjar-project-1 and kjar-project-2:   Create containers: curl -X PUT -H ‘Content-type: application/xml’ -u ‘kieserver:kieserver1’ –data @createHelloContainer.xml http://192.168.195.101:8080/kie-server/services/rest/server/containers/hello curl -X PUT -H ‘Content-type: application/xml’ -u ‘kieserver:kieserver1’ –data @create-kjar-project-1-Container.xml http://192.168.195.101:8080/kie-server/services/rest/server/containers/project-1-Container curl -X PUT … Continue reading

Posted in jBPM, KIE Execution Server | Leave a comment

KIE Execution Server :: Kick-off Example

  Development Environment Deploy KIE Server I work with pc-1-jboss-kie-server, IP=192.168.195.101, see post My jBPM Network Environment Configuration using VMware Workstation. Create user: ./add-user.sh -a -u kieserver -p kieserver1 -g admin,kie-server Copy the file kie-server-6.5.0.Final-ee7.war into deployment folder and rename … Continue reading

Posted in jBPM, KIE Execution Server | Leave a comment