The proof of concept integrating Camunda and Form.io freeware frameworks.
Application consists of multiple microservices which are programmed, launched and running separately.
- Java - REST services, orchestrates Camunda and Form.io REST services;
- Camunda - REST services and administrator console;
- Form.io - REST services and UI form/wizard modeler;
- BPMN modeler;
- Client - Angular.js client;
- HAProxy - Connection routing
- Monitoring - Docker health monitoring;
- Mongo - NoSQL database
- Go to website and download Docker: https://www.docker.com/
- Install Docker as described in documentation: https://docs.docker.com/
Check your Docker machine:
$ docker-machine ls
If Docker machine does not exists, create new one:
docker-machine create --driver virtualbox default
Docker images can be activated separately or together.
Docker images activation is described in docker-compose.yml
Launch all dockers with one command:
Go to the folder /org.unctad.docker folder and run command:
$ docker-compose up -d
Check what processes are running:
$ docker ps
Now you should see running processes.
Test in your browser http://localhost:6001
Deactivate dockers:
$ docker-compose down
List Docker networks:
$ docker network ls
List Docker images:
$ docker images
Remove Docker image:
$ docker rmi [imageId]
List Docker processes:
$ docker ps
Stop deactivate docker on container:
$ docker stop [dockerId]
Remove docker from container:
$ docker rm [dockerId]
Environment settings:
$ docker-machine env
Restart docker virtual machine: $ docker-machine restart
Enter into docker node shell:
$ docker exec -it [processId] /bin/bash
Check logging with command line:
$ docker logs [processId]
Delete all containers: docker rm $(docker ps -a -q)
Delete all images: $ docker rmi $(docker images -q)
All REST API-s are define in Swagger. Read more: http://swagger.io/open-source-integrations/
###Test server
http://unctad.redfunction.ee/