diff options
author | vrvarma <vikas.varma@att.com> | 2020-03-27 11:49:22 -0400 |
---|---|---|
committer | vrvarma <vikas.varma@att.com> | 2020-03-27 15:09:48 -0400 |
commit | ffae1a93274931e68d491736f01e8573e671c748 (patch) | |
tree | 537a01ca8827f7acae53fe0ccf63b40e4f7c7e44 | |
parent | 5debbd92e089afe66915ecd42f80216dfa7c8f5f (diff) |
Fix optf-cmso sonar reports
Change-Id: Ie4bae1ac7c4732c82023aba9adcee7c110145257
Signed-off-by: vrvarma <vikas.varma@att.com>
Issue-ID: OPTFRA-694
-rw-r--r-- | cmso-database/pom.xml | 5 | ||||
-rw-r--r-- | cmso-optimizer/pom.xml | 1 | ||||
-rw-r--r-- | cmso-service/pom.xml | 5 | ||||
-rw-r--r-- | cmso-sonar/docker/integration/docker-compose.yml | 7 | ||||
-rw-r--r-- | cmso-ticketmgt/pom.xml | 19 | ||||
-rw-r--r-- | cmso-topology/pom.xml | 5 |
6 files changed, 37 insertions, 5 deletions
diff --git a/cmso-database/pom.xml b/cmso-database/pom.xml index 4d27a21..fa600dd 100644 --- a/cmso-database/pom.xml +++ b/cmso-database/pom.xml @@ -93,6 +93,11 @@ <groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.yaml</groupId>
+ <artifactId>snakeyaml</artifactId>
+ <version>1.26</version>
+ </dependency>
</dependencies>
<build>
diff --git a/cmso-optimizer/pom.xml b/cmso-optimizer/pom.xml index 1ce329d..bf6e3eb 100644 --- a/cmso-optimizer/pom.xml +++ b/cmso-optimizer/pom.xml @@ -185,6 +185,7 @@ <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> + <version>1.26</version> </dependency> <!-- <dependency> <groupId>org.onap.aaf.authz</groupId> <artifactId>aaf-cadi-aaf</artifactId> diff --git a/cmso-service/pom.xml b/cmso-service/pom.xml index fdb0077..db8d37e 100644 --- a/cmso-service/pom.xml +++ b/cmso-service/pom.xml @@ -192,6 +192,11 @@ </exclusions>
</dependency>
+ <dependency>
+ <groupId>org.yaml</groupId>
+ <artifactId>snakeyaml</artifactId>
+ <version>1.26</version>
+ </dependency>
<!-- <dependency> <groupId>org.onap.aaf.authz</groupId> <artifactId>aaf-cadi-aaf</artifactId>
<version>2.1.1</version> </dependency> -->
<dependency>
diff --git a/cmso-sonar/docker/integration/docker-compose.yml b/cmso-sonar/docker/integration/docker-compose.yml index 448d970..df0e2d9 100644 --- a/cmso-sonar/docker/integration/docker-compose.yml +++ b/cmso-sonar/docker/integration/docker-compose.yml @@ -13,6 +13,7 @@ services: db-init-svc: image: onap/optf-cmso-dbinit + user: root volumes: - "./cmso-service/etc:/share/etc:rw" - "./cmso-service/logs:/share/logs:rw" @@ -25,6 +26,7 @@ services: db-init-opt: image: onap/optf-cmso-dbinit + user: root volumes: - "./cmso-optimizer/etc:/share/etc:rw" - "./cmso-optimizer/logs:/share/logs:rw" @@ -38,6 +40,7 @@ services: cmso-service: image: onap/optf-cmso-service + user: root volumes: - "./cmso-service/etc:/share/etc:rw" - "./cmso-service/logs:/share/logs:rw" @@ -55,6 +58,7 @@ services: cmso-ticketmgt: image: onap/optf-cmso-ticketmgt + user: root volumes: - "./cmso-ticketmgt/etc:/share/etc:rw" - "./cmso-ticketmgt/logs:/share/logs:rw" @@ -65,6 +69,7 @@ services: cmso-topology: image: onap/optf-cmso-topology + user: root volumes: - "./cmso-topology/etc:/share/etc:rw" - "./cmso-topology/logs:/share/logs:rw" @@ -75,6 +80,7 @@ services: cmso-optimizer: image: onap/optf-cmso-optimizer + user: root volumes: - "./cmso-optimizer/etc:/share/etc:rw" - "./cmso-optimizer/logs:/share/logs:rw" @@ -93,6 +99,7 @@ services: cmso-robot: image: onap/optf-cmso-robot + user: root volumes: - "./cmso-robot/logs:/share:rw" depends_on: diff --git a/cmso-ticketmgt/pom.xml b/cmso-ticketmgt/pom.xml index 1569d92..7ba9a83 100644 --- a/cmso-ticketmgt/pom.xml +++ b/cmso-ticketmgt/pom.xml @@ -152,6 +152,12 @@ <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-yaml</artifactId> + <exclusions> + <exclusion> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>com.att.eelf</groupId> @@ -219,6 +225,11 @@ <artifactId>commons-text</artifactId> <version>1.6</version> </dependency> + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>1.26</version> + </dependency> <!-- Testing Dependencies --> <!-- <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-api-mockito2</artifactId> <version>1.7.4</version> <scope>test</scope> </dependency> --> @@ -327,11 +338,9 @@ <name>onap-cmso-tm</name> </assembly> <args> - <!-- plugin cannot handle empty (no proxy) arguments - <http_proxy_arg>${docker.http_proxy}</http_proxy_arg> - <https_proxy_arg>${docker.https_proxy}</https_proxy_arg> - --> - </args> + <!-- plugin cannot handle empty (no proxy) arguments <http_proxy_arg>${docker.http_proxy}</http_proxy_arg> + <https_proxy_arg>${docker.https_proxy}</https_proxy_arg> --> + </args> </build> </image> </images> diff --git a/cmso-topology/pom.xml b/cmso-topology/pom.xml index ba39fa3..756d75b 100644 --- a/cmso-topology/pom.xml +++ b/cmso-topology/pom.xml @@ -171,6 +171,11 @@ </exclusions> </dependency> + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>1.26</version> + </dependency> <!-- <dependency> <groupId>org.onap.aaf.authz</groupId> <artifactId>aaf-cadi-aaf</artifactId> <version>2.1.1</version> </dependency> --> <dependency> |