diff options
author | Rama-Huawei <rama.subba.reddy.s@huawei.com> | 2022-05-18 10:54:09 +0530 |
---|---|---|
committer | Rama-Huawei <rama.subba.reddy.s@huawei.com> | 2022-06-02 10:25:45 +0530 |
commit | 1e5a6e041efef87d43a182b54d4b01f4ae87355c (patch) | |
tree | f5dea5ee17a6768a5a9b9b1d1ba771294748395b /mod/genprocessor/pom.xml | |
parent | 95855b69835177954e185f171af2f0aea3b3d3f3 (diff) |
CodeCoverage improvement for dcaegen2-platform-mod-genprocessor
Issue-ID: DCAEGEN2-3169
Signed-off-by: Rama-Huawei <rama.subba.reddy.s@huawei.com>
Change-Id: Ia7d7cd62b0f07953edfeceebe0ab38398ed9bb85
Diffstat (limited to 'mod/genprocessor/pom.xml')
-rw-r--r-- | mod/genprocessor/pom.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/mod/genprocessor/pom.xml b/mod/genprocessor/pom.xml index 22e85f5..a0a3b89 100644 --- a/mod/genprocessor/pom.xml +++ b/mod/genprocessor/pom.xml @@ -2,6 +2,7 @@ <!-- ============LICENSE_START======================================================= Copyright (c) 2020 AT&T Intellectual Property. All rights reserved. +Copyright (C) 2022 Huawei. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -26,7 +27,7 @@ limitations under the License. </parent> <groupId>org.onap.dcaegen2.platform.mod</groupId> <artifactId>genprocessor</artifactId> - <version>1.0.2-SNAPSHOT</version> + <version>1.0.3-SNAPSHOT</version> <name>dcaegen2-platform-mod-genprocessor</name> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> @@ -139,10 +140,10 @@ limitations under the License. </files> </inline> </assembly> - <runCmds> - <runCmd>sed -i /etc/nginx/nginx.conf -e '/^user /d' && touch /var/run/nginx.pid && mkdir -p /www/data && chown -R nginx:nginx /www /etc/nginx /var/cache/nginx /var/log/nginx /var/run/nginx.pid</runCmd> - </runCmds> - <user>nginx</user> + <runCmds> + <runCmd>sed -i /etc/nginx/nginx.conf -e '/^user /d' && touch /var/run/nginx.pid && mkdir -p /www/data && chown -R nginx:nginx /www /etc/nginx /var/cache/nginx /var/log/nginx /var/run/nginx.pid</runCmd> + </runCmds> + <user>nginx</user> <entryPoint> <exec> <arg>nginx</arg> @@ -165,16 +166,16 @@ limitations under the License. <assembly> <descriptorRef>artifact-with-dependencies</descriptorRef> </assembly> - <runCmds> - <runCmd>groupadd -g 1000 dcaemod && useradd --shell /bin/bash -u 1000 -g 1000 -m dcaemod</runCmd> - </runCmds> + <runCmds> + <runCmd>groupadd -g 1000 dcaemod && useradd --shell /bin/bash -u 1000 -g 1000 -m dcaemod</runCmd> + </runCmds> <workdir>/maven</workdir> <env> <GENPROC_WORKING_DIR>/work</GENPROC_WORKING_DIR> <GENPROC_ONBOARDING_API_HOST>http://onboarding-api:8080/onboarding</GENPROC_ONBOARDING_API_HOST> <GENPROC_SLEEP_SEC>10</GENPROC_SLEEP_SEC> </env> - <user>dcaemod</user> + <user>dcaemod</user> <entryPoint> <exec> <arg>java</arg> |