Bogumil Zebek | 483ccbf | 2020-03-25 11:54:11 +0100 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
| 3 | .. Copyright 2020 NOKIA |
| 4 | |
| 5 | Build |
| 6 | ===== |
| 7 | |
| 8 | Jenkins |
| 9 | ------- |
| 10 | #. JJB Master |
| 11 | |
| 12 | https://jenkins.onap.org/view/aaf/job/aaf-certservice-master-merge-java/ |
| 13 | |
| 14 | #. JJB Stage |
| 15 | |
| 16 | https://jenkins.onap.org/view/aaf/job/aaf-certservice-maven-docker-stage-master/ |
| 17 | |
| 18 | #. JJB Release |
| 19 | |
| 20 | https://jenkins.onap.org/view/aaf/job/aaf-certservice-maven-stage-master/ |
| 21 | https://jenkins.onap.org/view/aaf/job/aaf-certservice-release-merge/ |
| 22 | |
| 23 | #. JJB CSIT |
| 24 | |
| 25 | https://jenkins.onap.org/view/CSIT/job/aaf-master-csit-certservice/ |
| 26 | |
| 27 | Environment |
| 28 | ----------- |
| 29 | |
| 30 | * Java 11 |
| 31 | * Apache Maven 3.6.0 |
| 32 | * Linux |
| 33 | * Docker 18.09.5 |
| 34 | * Python 2.7.x |
| 35 | |
| 36 | How to build images? |
| 37 | -------------------- |
| 38 | |
| 39 | #. Checkout the project from https://gerrit.onap.org/r/#/admin/projects/aaf/certservice |
| 40 | #. Read information's stored in README.md file |
| 41 | #. Use a Makefile to build images:: |
| 42 | |
| 43 | make build |
| 44 | |
| 45 | How to start service locally? |
| 46 | ----------------------------------------------- |
| 47 | #. Start Cert Service with configured EJBCA:: |
| 48 | |
| 49 | make start-backend |
| 50 | |
| 51 | #. Run Cert Service Client:: |
| 52 | |
| 53 | make run-client |
| 54 | |
| 55 | #. Remove client container:: |
| 56 | |
| 57 | make stop-client |
| 58 | |
| 59 | #. Stop Cert Service and EJBCA:: |
| 60 | |
| 61 | make stop-backend |