summaryrefslogtreecommitdiffstats
path: root/docs/sections/build.rst
blob: 44c38c46479c4f4f13cc81f17495700035194540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. Copyright 2020 NOKIA

Build
======

Jenkins
-------
#. JJB Master

    https://jenkins.onap.org/view/aaf/job/aaf-certservice-master-merge-java/

#. JJB Stage

    https://jenkins.onap.org/view/aaf/job/aaf-certservice-maven-docker-stage-master/

#. JJB Release

    https://jenkins.onap.org/view/aaf/job/aaf-certservice-maven-stage-master/
    https://jenkins.onap.org/view/aaf/job/aaf-certservice-release-merge/

#. JJB CSIT

    https://jenkins.onap.org/view/CSIT/job/aaf-master-csit-certservice/

Environment
-----------

* Java 11
* Apache Maven 3.6.0
* Linux
* Docker 18.09.5
* Python 2.7.x

How to build images?
--------------------

#. Checkout the project from https://gerrit.onap.org/r/#/admin/projects/aaf/certservice
#. Read information stored in README.md file
#. Use a Makefile to build images::

    make build

How to start service locally?
-----------------------------------------------
#. Start Cert Service with configured EJBCA::

    make start-backend

#. Run Cert Service Client::

    make run-client

#. Remove client container::

    make stop-client

#. Stop Cert Service and EJBCA::

    make stop-backend