= jbpm = * https://www.jbpm.org/ * https://www.jbpm.org/learn/gettingStartedUsingSingleZipDistribution.html jBPM is a toolkit for building business applications to help automate business processes and decisions BPM makes the bridge between business analysts, developers and end users, by offering process management features and tools in a way that both business users and developers like it. {{{#!highlight sh cd ~ wget https://download.jboss.org/jbpm/release/7.73.0.Final/jbpm-server-7.73.0.Final-dist.zip curl https://download.jboss.org/jbpm/release/7.73.0.Final/jbpm-server-7.73.0.Final-dist.zip -o jbpm-server-7.73.0.Final-dist.zip mkdir jbpm mv jbpm-server-7.73.0.Final-dist.zip jbpm/ cd jbpm/ unzip jbpm-server-7.73.0.Final-dist.zip # move war files out of deployments mv standalone/deployments/*war . bin/standalone.sh nohup bin/standalone.sh 2>&1 & bin/add-user.sh wbadmin wbadmin # add management user wbadmin # http://127.0.0.1:9990 admin console cp business-central.war standalone/deployments/ # http://localhost:8080/business-central # Login/password: wbadmin/wbadmin # OpenAPI Swagger http://localhost:8080/kie-server/docs # https://hub.docker.com/r/jboss/jbpm-server-full docker run -p 8080:8080 -p 8001:8001 -p 9990:9990 -d --name jbpm-server-full jboss/jbpm-server-full:latest docker exec -it jbpm-server-full bash cd ../standalone/log tail -f server.log }}} == Docker environment == {{{#!highlight sh docker network create jbpmnet docker run --rm --name postgres-server --network jbpmnet -e POSTGRES_USER=jbpm -e POSTGRES_PASSWORD=jbpm -e POSTGRES_DB=jbpm -d postgres docker run --rm -p 8080:8080 -p 8001:8001 -d --network jbpmnet --name jbpm-server-full -e JBPM_DB_DRIVER=postgres -e JBPM_DB_HOST=postgres-server jboss/jbpm-server-full:latest # http://127.0.0.1:9990 admin console # http://localhost:8080/business-central # Login/password: wbadmin/wbadmin # OpenAPI Swagger http://localhost:8080/kie-server/docs # https://hub.docker.com/r/jboss/jbpm-server-full docker exec -it jbpm-server-full bash cd ../standalone/log tail -f server.log }}} === Add driver === * admin, data sources, data source explorer * Add driver * name pgsql * driver class name: org.postgresql.Driver * groupId: org.postgresql * artifactId: postgresql * version: 42.5.2 === Add data source === * admin, data sources, data source explorer * Add data source * Datasource: jbpmds * connection URL: jdbc:postgresql://postgres-server:5432/jbpm * user: jbpm * driver jbpm === Git clone test project === {{{#!highlight sh git clone ssh://wbadmin@localhost:8001/MySpace/teste cd teste/ ls nano readme.md git add readme.md ls git commit -m "changed readme" git pull origin master git push origin master }}} == Predefined users == * wbadmin/wbadmin * krisv/krisv * john/john * mary/mary * katy/katy * jack/jack * kieserver/kieserver1!