aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorfkrzywka <filip.krzywka@nokia.com>2018-07-30 12:55:03 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-08-03 10:24:25 +0200
commitd76905b9c98ec32f17bb9568ff80c04068aa213e (patch)
tree83154a3bcea680fd5902b48f4c27828e33167c9a /pom.xml
parenta2d874fd73825b254a3e0be81cff57a5c3e1d9d7 (diff)
Define simple healthchecks for simulators
- currently containers are healthy if they have successfully started their Http servers thus simple endpoint at /healthcheck is sufficient - to enable docker healthcheck we need to add `curl` to docker images - http_proxy needs to be provided for docker to be able to build images behind proxy Closes ONAP-695 Change-Id: I02f0b8cc2732713b5307dbc34ba604d8185b74fc Signed-off-by: fkrzywka <filip.krzywka@nokia.com> Issue-ID: DCAEGEN2-601
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index ef531bfb..27461bed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,8 @@
<docker-image.registry>${onap.nexus.dockerregistry.daily}</docker-image.registry>
<docker-image.namespace>onap</docker-image.namespace>
<docker-image.name>ves-hv-collector/${project.artifactId}</docker-image.name>
+ <docker.http_proxy> </docker.http_proxy>
+ <docker.https_proxy> </docker.https_proxy>
</properties>
@@ -412,6 +414,10 @@
<alias>${project.artifactId}</alias>
<name>${docker-image.registry}/${docker-image.namespace}/${docker-image.name}</name>
<build>
+ <args>
+ <http_proxy>${docker.http_proxy}</http_proxy>
+ <https_proxy>${docker.https_proxy}</https_proxy>
+ </args>
<dockerFileDir>${project.basedir}</dockerFileDir>
</build>
</image>