added svcapi ui and camunda code
[it/otf.git] / otf-service-api / docker / Dockerfile
1 FROM openjdk:8\r
2 \r
3 ENV NAMESPACE=namespace\r
4 ENV APP_NAME=otf-service-api\r
5 ENV AAF_PERM_TYPE=type\r
6 ENV AAF_ID=username\r
7 ENV AAF_MECH_PASSWORD=password\r
8 ENV AAF_PASSWORD=password\r
9 ENV CADI_KEYFILE=/opt/secret/keyfile\r
10 ENV CADI_HOSTNAME=localhost\r
11 ENV APP_VERSION=1.0\r
12 ENV OTF_MONGO_HOSTS=localhost:27017\r
13 ENV OTF_MONGO_USERNAME=username\r
14 ENV OTF_MONGO_PASSWORD=password\r
15 ENV OTF_MONGO_REPLICASET=mongoOTF\r
16 ENV OTF_MONGO_DATABASE=otf\r
17 ENV otf.camunda.host=https://localhost\r
18 ENV otf.camunda.port=31313\r
19 ENV otf.camunda.executionUri=otf/tcu/execute-test/v1\r
20 ENV otf.camunda.pollingUri=otf/tcu/process-instance-completion-check/v1\r
21 ENV otf.camunda.deploymentUri=otf/tcu/deploy-test-strategy-zip/v1\r
22 ENV otf.camunda.processDefinitionKeyUri=rest/process-definition/key\r
23 ENV otf.camunda.deploymentDeletionUri=otf/tcu/delete-test-strategy/v1/deployment-id\r
24 ENV otf.camunda.testDefinitionDeletionUri=otf/tcu/delete-test-strategy/v1/test-definition-id\r
25 ENV otf.camunda.uri.execute-test=otf/tcu/execute/workflowRequest\r
26 ENV otf.camunda.uri.process-instance-completion-check=otf/tcu/process-instance-completion-check/v1\r
27 ENV otf.camunda.uri.deploy-test-strategy-zip=otf/tcu/deploy-test-strategy-zip/v1\r
28 ENV otf.camunda.uri.process-definition=rest/process-definition/key\r
29 ENV otf.camunda.uri.delete-test-strategy=otf/tcu/delete-test-strategy/v1/deployment-id\r
30 ENV otf.camunda.uri.delete-test-strategy-test-definition-id=otf/tcu/delete-test-strategy/v1/test-definition-id\r
31 ENV otf.camunda.uri.health=/otf/health/v1\r
32 ENV otf.api.poll-interval=6000\r
33 ENV otf.api.poll-attempts=50\r
34 ENV OTF_CERT_PATH=opt/cert/cert.p12\r
35 ENV OTF_CERT_PASS=password\r
36 \r
37 COPY otf-service-api.jar app.jar\r
38 \r
39 RUN mkdir -p /otf/logs\r
40 \r
41 ADD src src\r
42 \r
43 ENTRYPOINT ["java", "-jar", "app.jar"]\r