From 42425b98bc838459784549bb302313fbd7bdd355 Mon Sep 17 00:00:00 2001 From: komakkar Date: Mon, 17 Aug 2020 02:12:58 +0530 Subject: [PATCH 01/12] Intermediate changes --- provider/notification-azure/pom.xml | 36 ++++++++++++++++++- .../resources/application-local.properties | 4 +++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/provider/notification-azure/pom.xml b/provider/notification-azure/pom.xml index 69593aaf..59f27519 100644 --- a/provider/notification-azure/pom.xml +++ b/provider/notification-azure/pom.xml @@ -19,7 +19,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.opengroup.osdu notification-azure 1.0.0 notification-azure @@ -146,6 +145,25 @@ + + org.jacoco + jacoco-maven-plugin + 0.8.2 + + + + prepare-agent + + + + report + prepare-package + + report + + + + org.springframework.boot spring-boot-maven-plugin @@ -174,4 +192,20 @@ + + + + org.jacoco + jacoco-maven-plugin + + + + + report + + + + + + \ No newline at end of file diff --git a/provider/notification-azure/src/main/resources/application-local.properties b/provider/notification-azure/src/main/resources/application-local.properties index dede88f2..798b488d 100644 --- a/provider/notification-azure/src/main/resources/application-local.properties +++ b/provider/notification-azure/src/main/resources/application-local.properties @@ -37,3 +37,7 @@ tenantInfo.container.name=TenantInfo # Azure KeyVault configuration azure.keyvault.url=${KEYVAULT_URI} + +# Logging configuration +logging.transaction.enabled=true +logging.slf4jlogger.enabled=true -- GitLab From 514eacc0da63a7e6a42ea935e93eb01f377a18c6 Mon Sep 17 00:00:00 2001 From: komakkar Date: Mon, 17 Aug 2020 15:22:32 +0530 Subject: [PATCH 02/12] excluded slf4j conflicts --- provider/notification-azure/pom.xml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/provider/notification-azure/pom.xml b/provider/notification-azure/pom.xml index 59f27519..77213062 100644 --- a/provider/notification-azure/pom.xml +++ b/provider/notification-azure/pom.xml @@ -46,11 +46,25 @@ com.microsoft.azure azure-active-directory-spring-boot-starter ${azure.version} + + + org.slf4j + slf4j-api + + org.springframework.boot spring-boot-starter-security + + ch.qos.logback + logback-classic + + + org.apache.logging.log4j + log4j-to-slf4j + org.springframework.boot spring-boot-starter-logging @@ -80,11 +94,6 @@ spring-boot-configuration-processor true - - com.microsoft.azure - applicationinsights-logging-logback - [2.0,) - org.opengroup.osdu os-core-common -- GitLab From 502c0c5a925512a0015cc5b7c79bbf7b39ac06e0 Mon Sep 17 00:00:00 2001 From: komakkar Date: Thu, 3 Sep 2020 23:28:06 +0530 Subject: [PATCH 03/12] Resolving comments --- provider/notification-azure/list.txt | 287 ++++++++++++ provider/notification-azure/tree.txt | 33 ++ tree.txt | 677 +++++++++++++++++++++++++++ 3 files changed, 997 insertions(+) create mode 100644 provider/notification-azure/list.txt create mode 100644 provider/notification-azure/tree.txt create mode 100644 tree.txt diff --git a/provider/notification-azure/list.txt b/provider/notification-azure/list.txt new file mode 100644 index 00000000..fd40e98a --- /dev/null +++ b/provider/notification-azure/list.txt @@ -0,0 +1,287 @@ +[INFO] Scanning for projects... +[WARNING] +[WARNING] Some problems were encountered while building the effective model for org.opengroup.osdu:notification-azure:jar:1.0.0 +[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 224, column 21 +[WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 198, column 21 +[WARNING] +[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. +[WARNING] +[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. +[WARNING] +[INFO] +[INFO] ---------------< org.opengroup.osdu:notification-azure >---------------- +[INFO] Building notification-azure 1.0.0 +[INFO] --------------------------------[ jar ]--------------------------------- +[INFO] +[INFO] --- maven-dependency-plugin:2.8:list (default-cli) @ notification-azure --- +[INFO] +[INFO] The following files have been resolved: +[INFO] io.netty:netty-codec-dns:jar:4.1.38.Final:compile +[INFO] com.auth0:java-jwt:jar:3.8.1:compile +[INFO] org.apache.lucene:lucene-backward-codecs:jar:7.4.0:compile +[INFO] org.skyscreamer:jsonassert:jar:1.5.0:test +[INFO] org.springframework.security:spring-security-web:jar:5.1.6.RELEASE:compile +[INFO] com.squareup.retrofit2:adapter-rxjava:jar:2.6.2:compile +[INFO] javax.xml.bind:jaxb-api:jar:2.3.1:compile +[INFO] com.fasterxml.uuid:java-uuid-generator:jar:3.1.5:compile +[INFO] org.apache.logging.log4j:log4j-api:jar:2.11.2:compile +[INFO] org.springframework:spring-test:jar:5.1.9.RELEASE:test +[INFO] org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile +[INFO] io.reactivex:rxjava:jar:1.3.8:compile +[INFO] com.google.j2objc:j2objc-annotations:jar:1.3:compile +[INFO] org.apache.lucene:lucene-queries:jar:7.4.0:compile +[INFO] org.apache.lucene:lucene-spatial-extras:jar:7.4.0:compile +[INFO] com.squareup.okhttp3:okhttp-urlconnection:jar:3.12.2:compile +[INFO] io.projectreactor.addons:reactor-pool:jar:0.1.0.RELEASE:compile +[INFO] org.apache.lucene:lucene-core:jar:7.4.0:compile +[INFO] commons-beanutils:commons-beanutils:jar:1.9.2:compile +[INFO] org.elasticsearch:elasticsearch-core:jar:6.4.3:compile +[INFO] org.nanohttpd:nanohttpd:jar:2.3.1:compile +[INFO] javax.activation:javax.activation-api:jar:1.2.0:compile +[INFO] org.mockito:mockito-junit-jupiter:jar:2.23.0:test +[INFO] io.netty:netty-handler:jar:4.1.38.Final:compile +[INFO] org.hibernate.validator:hibernate-validator:jar:6.0.17.Final:compile +[INFO] com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.9:compile +[INFO] org.apiguardian:apiguardian-api:jar:1.0.0:test +[INFO] io.swagger:swagger-core:jar:1.5.22:compile +[INFO] io.netty:netty-codec:jar:4.1.38.Final:compile +[INFO] org.apache.lucene:lucene-analyzers-common:jar:7.4.0:compile +[INFO] org.apache.lucene:lucene-misc:jar:7.4.0:compile +[INFO] com.fasterxml:classmate:jar:1.4.0:compile +[INFO] org.springframework.boot:spring-boot-starter-json:jar:2.1.7.RELEASE:compile +[INFO] com.google.guava:guava:jar:28.2-jre:compile +[INFO] org.mockito:mockito-core:jar:2.23.4:test +[INFO] org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.2.Final:compile +[INFO] org.apache.lucene:lucene-sandbox:jar:7.4.0:compile +[INFO] io.dropwizard.metrics:metrics-core:jar:4.0.5:compile +[INFO] com.microsoft.azure:azure-servicebus:jar:3.1.4:compile +[INFO] org.springframework.security:spring-security-core:jar:5.1.6.RELEASE:compile +[INFO] com.sun.mail:javax.mail:jar:1.6.2:compile +[INFO] org.apache.httpcomponents:httpclient:jar:4.5.9:compile +[INFO] org.apache.commons:commons-lang3:jar:3.8.1:compile +[INFO] com.nimbusds:lang-tag:jar:1.5:compile +[INFO] io.netty:netty-common:jar:4.1.38.Final:compile +[INFO] com.azure:azure-core-http-netty:jar:1.5.3:compile +[INFO] org.asynchttpclient:async-http-client:jar:2.10.4:compile +[INFO] org.apache.logging.log4j:log4j-core:jar:2.11.2:compile +[INFO] org.apache.lucene:lucene-grouping:jar:7.4.0:compile +[INFO] org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile +[INFO] io.projectreactor.netty:reactor-netty:jar:0.9.0.RELEASE:compile +[INFO] com.microsoft.azure:applicationinsights-spring-boot-starter:jar:2.5.1:compile +[INFO] org.apache.lucene:lucene-spatial3d:jar:7.4.0:compile +[INFO] net.minidev:json-smart:jar:2.3:compile +[INFO] com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile +[INFO] org.springframework:spring-web:jar:5.1.9.RELEASE:compile +[INFO] com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.9:compile +[INFO] org.bouncycastle:bcprov-jdk15on:jar:1.60:compile +[INFO] org.junit.jupiter:junit-jupiter-params:jar:5.3.2:test +[INFO] javax.validation:validation-api:jar:2.0.1.Final:compile +[INFO] com.fasterxml.jackson.core:jackson-core:jar:2.9.9:compile +[INFO] io.grpc:grpc-context:jar:1.19.0:compile +[INFO] org.ow2.asm:asm:jar:5.0.4:compile +[INFO] com.typesafe.netty:netty-reactive-streams:jar:2.0.3:compile +[INFO] org.junit.jupiter:junit-jupiter-api:jar:5.3.2:test +[INFO] com.google.oauth-client:google-oauth-client:jar:1.30.1:compile +[INFO] io.springfox:springfox-swagger-common:jar:2.7.0:compile +[INFO] com.google.guava:failureaccess:jar:1.0.1:compile +[INFO] org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile +[INFO] com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile +[INFO] org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile +[INFO] org.springframework.boot:spring-boot-starter:jar:2.1.7.RELEASE:compile +[INFO] com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.9:compile +[INFO] io.netty:netty-codec-http:jar:4.1.38.Final:compile +[INFO] org.reactivestreams:reactive-streams:jar:1.0.2:compile +[INFO] org.springframework.security:spring-security-oauth2-jose:jar:5.1.6.RELEASE:compile +[INFO] com.microsoft.azure:qpid-proton-j-extensions:jar:1.2.2:compile +[INFO] com.azure:azure-identity:jar:1.0.1:compile +[INFO] io.netty:netty-resolver-dns:jar:4.1.38.Final:compile +[INFO] com.google.api-client:google-api-client:jar:1.30.2:compile +[INFO] commons-codec:commons-codec:jar:1.11:compile +[INFO] org.elasticsearch.client:elasticsearch-rest-client:jar:6.4.3:compile +[INFO] org.mapstruct:mapstruct:jar:1.1.0.Final:compile +[INFO] org.elasticsearch.plugin:lang-mustache-client:jar:6.4.3:compile +[INFO] org.elasticsearch:jna:jar:4.5.1:compile +[INFO] com.microsoft.azure:adal4j:jar:1.6.4:compile +[INFO] com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile +[INFO] com.google.code.findbugs:jsr305:jar:3.0.2:compile +[INFO] org.assertj:assertj-core:jar:3.11.1:test +[INFO] org.springframework.boot:spring-boot-starter-undertow:jar:2.1.7.RELEASE:compile +[INFO] com.fasterxml.jackson.core:jackson-databind:jar:2.9.9:compile +[INFO] com.azure:azure-storage-common:jar:12.3.0:compile +[INFO] org.elasticsearch:elasticsearch-x-content:jar:6.4.3:compile +[INFO] org.xmlunit:xmlunit-core:jar:2.6.3:test +[INFO] com.microsoft.azure:applicationinsights-web:jar:2.5.1:compile +[INFO] com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.9:compile +[INFO] com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.9.9:compile +[INFO] com.squareup.okhttp3:logging-interceptor:jar:3.12.2:compile +[INFO] org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:6.4.3:compile +[INFO] org.apache.qpid:proton-j:jar:0.33.2:compile +[INFO] com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.9:compile +[INFO] net.java.dev.jna:jna-platform:jar:4.5.2:compile +[INFO] net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile +[INFO] io.netty:netty-codec-socks:jar:4.1.38.Final:compile +[INFO] joda-time:joda-time:jar:2.10.3:compile +[INFO] commons-digester:commons-digester:jar:1.8.1:compile +[INFO] commons-collections:commons-collections:jar:3.2.2:compile +[INFO] io.netty:netty-tcnative-boringssl-static:jar:2.0.25.Final:compile +[INFO] io.netty:netty-transport-native-unix-common:jar:4.1.38.Final:compile +[INFO] com.squareup.retrofit2:retrofit:jar:2.5.0:compile +[INFO] io.swagger:swagger-models:jar:1.5.13:compile +[INFO] org.springframework:spring-webmvc:jar:5.1.9.RELEASE:compile +[INFO] org.elasticsearch.plugin:aggs-matrix-stats-client:jar:6.4.3:compile +[INFO] org.yaml:snakeyaml:jar:1.23:compile +[INFO] org.junit.jupiter:junit-jupiter:jar:5.6.0:test +[INFO] com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.9.9:compile +[INFO] io.netty:netty-handler-proxy:jar:4.1.38.Final:compile +[INFO] org.bouncycastle:bcpkix-jdk15on:jar:1.60:compile +[INFO] commons-validator:commons-validator:jar:1.6:compile +[INFO] io.netty:netty-codec-http2:jar:4.1.38.Final:compile +[INFO] org.elasticsearch:elasticsearch:jar:6.4.3:compile +[INFO] io.springfox:springfox-swagger-ui:jar:2.7.0:compile +[INFO] org.springframework.boot:spring-boot-actuator:jar:2.1.7.RELEASE:compile +[INFO] org.apache.lucene:lucene-join:jar:7.4.0:compile +[INFO] org.objenesis:objenesis:jar:2.6:test +[INFO] org.springframework.boot:spring-boot-configuration-processor:jar:2.1.7.RELEASE:compile +[INFO] org.apache.commons:commons-text:jar:1.6:compile +[INFO] org.springframework.boot:spring-boot-autoconfigure:jar:2.1.7.RELEASE:compile +[INFO] org.slf4j:slf4j-api:jar:1.7.26:compile +[INFO] org.javassist:javassist:jar:3.21.0-GA:compile +[INFO] javax.annotation:javax.annotation-api:jar:1.3.2:compile +[INFO] org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.22:compile +[INFO] io.jsonwebtoken:jjwt:jar:0.9.1:compile +[INFO] org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile +[INFO] com.google.code.gson:gson:jar:2.8.5:compile +[INFO] org.junit.platform:junit-platform-engine:jar:1.3.2:test +[INFO] commons-logging:commons-logging:jar:1.2:compile +[INFO] org.asynchttpclient:async-http-client-netty-utils:jar:2.10.4:compile +[INFO] org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile +[INFO] com.carrotsearch:hppc:jar:0.7.1:compile +[INFO] org.springframework:spring-context:jar:5.1.9.RELEASE:compile +[INFO] com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.9.9:compile +[INFO] org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.22:compile +[INFO] com.azure:azure-security-keyvault-secrets:jar:4.1.0:compile +[INFO] org.apache.commons:commons-collections4:jar:4.2:compile +[INFO] org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.4.Final:compile +[INFO] org.jboss.xnio:xnio-nio:jar:3.3.8.Final:runtime +[INFO] com.azure:azure-storage-blob:jar:12.3.0:compile +[INFO] org.jboss.xnio:xnio-api:jar:3.3.8.Final:compile +[INFO] com.microsoft.azure:azure-spring-boot-starter:jar:2.1.7:compile +[INFO] org.slf4j:jul-to-slf4j:jar:1.7.26:compile +[INFO] com.microsoft.azure:msal4j:jar:0.5.0-preview:compile +[INFO] io.opencensus:opencensus-contrib-http-util:jar:0.21.0:compile +[INFO] com.github.spullara.mustache.java:compiler:jar:0.9.3:compile +[INFO] com.tdunning:t-digest:jar:3.2:compile +[INFO] org.hdrhistogram:HdrHistogram:jar:2.1.9:compile +[INFO] org.junit.platform:junit-platform-commons:jar:1.3.2:test +[INFO] javax.activation:activation:jar:1.1:compile +[INFO] org.springframework.boot:spring-boot-starter-web:jar:2.1.7.RELEASE:compile +[INFO] org.springframework.boot:spring-boot-starter-validation:jar:2.1.7.RELEASE:compile +[INFO] org.opentest4j:opentest4j:jar:1.1.1:test +[INFO] org.springframework:spring-beans:jar:5.1.9.RELEASE:compile +[INFO] com.microsoft.azure:azure-active-directory-spring-boot-starter:jar:2.1.7:compile +[INFO] com.microsoft.azure:applicationinsights-logging-log4j2:jar:2.5.1:compile +[INFO] net.bytebuddy:byte-buddy:jar:1.9.16:compile +[INFO] org.springframework.security:spring-security-config:jar:5.1.6.RELEASE:compile +[INFO] com.nimbusds:oauth2-oidc-sdk:jar:6.0:compile +[INFO] org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.2:compile +[INFO] org.apache.logging.log4j:log4j-jul:jar:2.11.2:compile +[INFO] org.elasticsearch:elasticsearch-secure-sm:jar:6.4.3:compile +[INFO] org.springframework:spring-expression:jar:5.1.9.RELEASE:compile +[INFO] org.springframework.boot:spring-boot-test:jar:2.1.7.RELEASE:test +[INFO] javax.inject:javax.inject:jar:1:compile +[INFO] io.swagger:swagger-annotations:jar:1.5.13:compile +[INFO] io.netty:netty-transport:jar:4.1.38.Final:compile +[INFO] org.apache.httpcomponents:httpcore:jar:4.4.11:compile +[INFO] org.apache.lucene:lucene-highlighter:jar:7.4.0:compile +[INFO] com.squareup.okhttp3:okhttp:jar:3.12.6:compile +[INFO] com.jayway.jsonpath:json-path:jar:2.4.0:test +[INFO] net.bytebuddy:byte-buddy-agent:jar:1.9.16:test +[INFO] org.springframework.boot:spring-boot:jar:2.1.7.RELEASE:compile +[INFO] org.springframework:spring-aop:jar:5.1.9.RELEASE:compile +[INFO] org.opengroup.osdu:notification-core:jar:1.0.0:compile +[INFO] io.swagger:swagger-jaxrs:jar:1.5.22:compile +[INFO] org.reflections:reflections:jar:0.9.11:compile +[INFO] com.microsoft.azure:azure-annotations:jar:1.10.0:compile +[INFO] org.springframework.boot:spring-boot-starter-test:jar:2.1.6.RELEASE:test +[INFO] io.springfox:springfox-spring-web:jar:2.7.0:compile +[INFO] com.sun.xml.bind:jaxb-core:jar:2.3.0:compile +[INFO] io.springfox:springfox-spi:jar:2.7.0:compile +[INFO] org.elasticsearch:elasticsearch-cli:jar:6.4.3:compile +[INFO] io.springfox:springfox-core:jar:2.7.0:compile +[INFO] javax.servlet:javax.servlet-api:jar:4.0.1:compile +[INFO] org.elasticsearch.plugin:parent-join-client:jar:6.4.3:compile +[INFO] com.squareup.retrofit2:converter-jackson:jar:2.5.0:compile +[INFO] org.apache.httpcomponents:httpcore-nio:jar:4.4.11:compile +[INFO] org.springframework.security:spring-security-oauth2-client:jar:5.1.6.RELEASE:compile +[INFO] org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.22:compile +[INFO] org.opengroup.osdu:core-lib-azure:jar:0.0.17:compile +[INFO] org.hamcrest:hamcrest-library:jar:1.3:test +[INFO] com.squareup.okio:okio:jar:1.15.0:compile +[INFO] io.projectreactor:reactor-core:jar:3.3.0.RELEASE:compile +[INFO] com.auth0:jwks-rsa:jar:0.11.0:compile +[INFO] com.microsoft.azure:azure-client-runtime:jar:1.7.0:compile +[INFO] net.minidev:accessors-smart:jar:1.2:compile +[INFO] com.azure:azure-cosmos:jar:4.0.0-preview.1:compile +[INFO] com.nimbusds:nimbus-jose-jwt:jar:6.0.2:compile +[INFO] org.springframework:spring-core:jar:5.1.9.RELEASE:compile +[INFO] org.springframework:spring-jcl:jar:5.1.9.RELEASE:compile +[INFO] com.microsoft.rest:client-runtime:jar:1.7.0:compile +[INFO] commons-io:commons-io:jar:2.6:compile +[INFO] io.undertow:undertow-servlet:jar:2.0.23.Final:compile +[INFO] io.springfox:springfox-schema:jar:2.7.0:compile +[INFO] org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.7.RELEASE:compile +[INFO] org.projectlombok:lombok:jar:1.18.8:provided +[INFO] com.google.apis:google-api-services-iam:jar:v1-rev289-1.25.0:compile +[INFO] org.hamcrest:hamcrest-core:jar:1.3:test +[INFO] org.glassfish:javax.el:jar:3.0.0:compile +[INFO] com.sun.activation:javax.activation:jar:1.2.0:compile +[INFO] io.netty:netty-buffer:jar:4.1.38.Final:compile +[INFO] org.junit.jupiter:junit-jupiter-engine:jar:5.3.2:test +[INFO] io.micrometer:micrometer-registry-azure-monitor:jar:1.1.5:compile +[INFO] org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.1.7.RELEASE:compile +[INFO] com.google.http-client:google-http-client:jar:1.31.0:compile +[INFO] io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.38.Final:compile +[INFO] org.opengroup.osdu:os-core-common:jar:0.3.4:compile +[INFO] com.azure:azure-core:jar:1.6.0:compile +[INFO] org.springframework.security:spring-security-oauth2-core:jar:5.1.6.RELEASE:compile +[INFO] io.undertow:undertow-websockets-jsr:jar:2.0.23.Final:compile +[INFO] org.checkerframework:checker-qual:jar:2.10.0:compile +[INFO] org.apache.lucene:lucene-queryparser:jar:7.4.0:compile +[INFO] org.springframework.boot:spring-boot-test-autoconfigure:jar:2.1.7.RELEASE:test +[INFO] org.springframework.security.oauth:spring-security-oauth2:jar:2.3.6.RELEASE:compile +[INFO] com.google.errorprone:error_prone_annotations:jar:2.3.4:compile +[INFO] io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.38.Final:compile +[INFO] com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.9.9:compile +[INFO] org.apache.lucene:lucene-memory:jar:7.4.0:compile +[INFO] com.microsoft.azure:applicationinsights-core:jar:2.5.1:compile +[INFO] io.opencensus:opencensus-api:jar:0.21.0:compile +[INFO] com.microsoft.azure:azure-spring-boot:jar:2.1.7:compile +[INFO] org.springframework.boot:spring-boot-starter-security:jar:2.1.7.RELEASE:compile +[INFO] org.springframework.boot:spring-boot-starter-log4j2:jar:2.1.7.RELEASE:compile +[INFO] org.springframework.security:spring-security-jwt:jar:1.0.10.RELEASE:compile +[INFO] org.apache.lucene:lucene-spatial:jar:7.4.0:compile +[INFO] net.java.dev.jna:jna:jar:4.5.2:compile +[INFO] com.fasterxml.woodstox:woodstox-core:jar:5.0.3:compile +[INFO] io.springfox:springfox-swagger2:jar:2.7.0:compile +[INFO] com.microsoft.azure:azure-spring-boot-metrics-starter:jar:2.0.7:compile +[INFO] com.microsoft.azure:azure-client-authentication:jar:1.7.0:compile +[INFO] org.apache.lucene:lucene-suggest:jar:7.4.0:compile +[INFO] org.codehaus.woodstox:stax2-api:jar:3.1.4:compile +[INFO] biz.paluch.redis:lettuce:jar:4.5.0.Final:compile +[INFO] io.undertow:undertow-core:jar:2.0.23.Final:compile +[INFO] junit:junit:jar:4.12:test +[INFO] org.elasticsearch.plugin:rank-eval-client:jar:6.4.3:compile +[INFO] org.latencyutils:LatencyUtils:jar:2.0.3:compile +[INFO] com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile +[INFO] io.micrometer:micrometer-core:jar:1.1.5:compile +[INFO] io.reactivex.rxjava2:rxjava:jar:2.2.11:compile +[INFO] com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test +[INFO] io.netty:netty-resolver:jar:4.1.38.Final:compile +[INFO] com.google.http-client:google-http-client-jackson2:jar:1.30.1:compile +[INFO] +[INFO] ------------------------------------------------------------------------ +[INFO] BUILD SUCCESS +[INFO] ------------------------------------------------------------------------ +[INFO] Total time: 5.708 s +[INFO] Finished at: 2020-09-03T20:18:06+05:30 +[INFO] ------------------------------------------------------------------------ diff --git a/provider/notification-azure/tree.txt b/provider/notification-azure/tree.txt new file mode 100644 index 00000000..5861071b --- /dev/null +++ b/provider/notification-azure/tree.txt @@ -0,0 +1,33 @@ +[INFO] Scanning for projects... +[WARNING] +[WARNING] Some problems were encountered while building the effective model for org.opengroup.osdu:notification-azure:jar:1.0.0 +[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 224, column 21 +[WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 198, column 21 +[WARNING] +[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. +[WARNING] +[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. +[WARNING] +Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.pom +Progress (1): 2.7/11 kB Progress (1): 5.5/11 kB Progress (1): 8.2/11 kB Progress (1): 11/11 kB Progress (1): 11 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.pom (11 kB at 3.8 kB/s) +Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/release/maven-release/2.5.3/maven-release-2.5.3.pom +Progress (1): 2.7/5.0 kB Progress (1): 5.0 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/release/maven-release/2.5.3/maven-release-2.5.3.pom (5.0 kB at 7.4 kB/s) +Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.jar +Progress (1): 2.7/53 kB Progress (1): 5.5/53 kB Progress (1): 8.2/53 kB Progress (1): 11/53 kB Progress (1): 14/53 kB Progress (1): 16/53 kB Progress (1): 19/53 kB Progress (1): 22/53 kB Progress (1): 25/53 kB Progress (1): 27/53 kB Progress (1): 30/53 kB Progress (1): 33/53 kB Progress (1): 36/53 kB Progress (1): 38/53 kB Progress (1): 41/53 kB Progress (1): 44/53 kB Progress (1): 47/53 kB Progress (1): 49/53 kB Progress (1): 52/53 kB Progress (1): 53 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.jar (53 kB at 50 kB/s) +Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml +Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml +Progress (1): 2.7/14 kB Progress (1): 5.5/14 kB Progress (1): 8.2/14 kB Progress (1): 11/14 kB Progress (1): 14/14 kB Progress (1): 14 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 20 kB/s) +Progress (1): 2.7/20 kB Progress (1): 5.5/20 kB Progress (1): 8.2/20 kB Progress (1): 11/20 kB Progress (1): 14/20 kB Progress (1): 16/20 kB Progress (1): 19/20 kB Progress (1): 20 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 kB at 12 kB/s) +[INFO] ------------------------------------------------------------------------ +[INFO] BUILD FAILURE +[INFO] ------------------------------------------------------------------------ +[INFO] Total time: 10.341 s +[INFO] Finished at: 2020-09-03T20:11:02+05:30 +[INFO] ------------------------------------------------------------------------ +[ERROR] No plugin found for prefix 'dependeny' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\komakkar\.m2\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] +[ERROR] +[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. +[ERROR] Re-run Maven using the -X switch to enable full debug logging. +[ERROR] +[ERROR] For more information about the errors and possible solutions, please read the following articles: +[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException diff --git a/tree.txt b/tree.txt new file mode 100644 index 00000000..c6346f7e --- /dev/null +++ b/tree.txt @@ -0,0 +1,677 @@ +[INFO] Scanning for projects... +[WARNING] +[WARNING] Some problems were encountered while building the effective model for org.opengroup.osdu:notification-gcp:jar:1.0.0 +[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 141, column 21 +[WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 105, column 21 +[WARNING] +[WARNING] Some problems were encountered while building the effective model for org.opengroup.osdu:notification-azure:jar:1.0.0 +[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework.boot:spring-boot-starter-test:jar -> version 2.1.6.RELEASE vs (?) @ line 170, column 21 +[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 224, column 21 +[WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 198, column 21 +[WARNING] +[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. +[WARNING] +[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. +[WARNING] +[INFO] ------------------------------------------------------------------------ +[INFO] Reactor Build Order: +[INFO] +[INFO] os-notification [pom] +[INFO] notification-core [jar] +[INFO] notification-gcp [jar] +[INFO] notification-azure [jar] +[INFO] +[INFO] -----------------< org.opengroup.osdu:os-notification >----------------- +[INFO] Building os-notification 1.0.0 [1/4] +[INFO] --------------------------------[ pom ]--------------------------------- +[INFO] +[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ os-notification --- +[INFO] org.opengroup.osdu:os-notification:pom:1.0.0 +[INFO] \- org.projectlombok:lombok:jar:1.18.8:provided +[INFO] +[INFO] ----------------< org.opengroup.osdu:notification-core >---------------- +[INFO] Building notification-core 1.0.0 [2/4] +[INFO] --------------------------------[ jar ]--------------------------------- +[INFO] +[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ notification-core --- +[INFO] org.opengroup.osdu:notification-core:jar:1.0.0 +[INFO] +- org.opengroup.osdu:os-core-common:jar:0.3.6:compile +[INFO] | +- javax.inject:javax.inject:jar:1:compile +[INFO] | +- javax.validation:validation-api:jar:2.0.1.Final:compile +[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.9:compile +[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile +[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.9:compile +[INFO] | +- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.9:compile +[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.9:compile +[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.9:compile +[INFO] | +- io.jsonwebtoken:jjwt:jar:0.9.1:compile +[INFO] | +- biz.paluch.redis:lettuce:jar:4.5.0.Final:compile +[INFO] | | +- io.reactivex:rxjava:jar:1.3.8:compile +[INFO] | | +- io.netty:netty-common:jar:4.1.38.Final:compile +[INFO] | | +- io.netty:netty-transport:jar:4.1.38.Final:compile +[INFO] | | | +- io.netty:netty-buffer:jar:4.1.38.Final:compile +[INFO] | | | \- io.netty:netty-resolver:jar:4.1.38.Final:compile +[INFO] | | \- io.netty:netty-handler:jar:4.1.38.Final:compile +[INFO] | | \- io.netty:netty-codec:jar:4.1.38.Final:compile +[INFO] | +- org.apache.commons:commons-lang3:jar:3.8.1:compile +[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.9:compile +[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.11:compile +[INFO] | +- io.swagger:swagger-jaxrs:jar:1.5.22:compile +[INFO] | | +- io.swagger:swagger-core:jar:1.5.22:compile +[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.9:compile +[INFO] | | \- org.reflections:reflections:jar:0.9.11:compile +[INFO] | | \- org.javassist:javassist:jar:3.21.0-GA:compile +[INFO] | +- org.elasticsearch:elasticsearch:jar:6.4.3:compile +[INFO] | | +- org.elasticsearch:elasticsearch-core:jar:6.4.3:compile +[INFO] | | +- org.elasticsearch:elasticsearch-secure-sm:jar:6.4.3:compile +[INFO] | | +- org.elasticsearch:elasticsearch-x-content:jar:6.4.3:compile +[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.9.9:compile +[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.9.9:compile +[INFO] | | +- org.apache.lucene:lucene-core:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-analyzers-common:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-backward-codecs:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-grouping:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-highlighter:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-join:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-memory:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-misc:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-queries:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-queryparser:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-sandbox:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-spatial:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-spatial-extras:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-spatial3d:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-suggest:jar:7.4.0:compile +[INFO] | | +- org.elasticsearch:elasticsearch-cli:jar:6.4.3:compile +[INFO] | | | \- net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile +[INFO] | | +- com.carrotsearch:hppc:jar:0.7.1:compile +[INFO] | | +- joda-time:joda-time:jar:2.10.3:compile +[INFO] | | +- com.tdunning:t-digest:jar:3.2:compile +[INFO] | | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile +[INFO] | | +- org.apache.logging.log4j:log4j-api:jar:2.11.2:compile +[INFO] | | \- org.elasticsearch:jna:jar:4.5.1:compile +[INFO] | +- org.elasticsearch.client:elasticsearch-rest-client:jar:6.4.3:compile +[INFO] | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile +[INFO] | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4.11:compile +[INFO] | \- org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:6.4.3:compile +[INFO] | +- org.elasticsearch.plugin:parent-join-client:jar:6.4.3:compile +[INFO] | +- org.elasticsearch.plugin:aggs-matrix-stats-client:jar:6.4.3:compile +[INFO] | +- org.elasticsearch.plugin:rank-eval-client:jar:6.4.3:compile +[INFO] | \- org.elasticsearch.plugin:lang-mustache-client:jar:6.4.3:compile +[INFO] | \- com.github.spullara.mustache.java:compiler:jar:0.9.3:compile +[INFO] +- org.projectlombok:lombok:jar:1.18.8:provided +[INFO] +- com.google.http-client:google-http-client:jar:1.30.1:compile +[INFO] | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile +[INFO] | +- com.google.j2objc:j2objc-annotations:jar:1.3:compile +[INFO] | +- io.opencensus:opencensus-api:jar:0.21.0:compile +[INFO] | | \- io.grpc:grpc-context:jar:1.19.0:compile +[INFO] | \- io.opencensus:opencensus-contrib-http-util:jar:0.21.0:compile +[INFO] +- com.google.oauth-client:google-oauth-client:jar:1.30.1:compile +[INFO] +- com.google.api-client:google-api-client:jar:1.30.2:compile +[INFO] | \- com.google.http-client:google-http-client-jackson2:jar:1.30.1:compile +[INFO] +- com.google.guava:guava:jar:27.0-jre:compile +[INFO] | +- com.google.guava:failureaccess:jar:1.0:compile +[INFO] | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile +[INFO] | +- org.checkerframework:checker-qual:jar:2.5.2:compile +[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.2.0:compile +[INFO] | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.17:compile +[INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile +[INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile +[INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile +[INFO] +- com.google.apis:google-api-services-iam:jar:v1-rev289-1.25.0:compile +[INFO] +- com.auth0:java-jwt:jar:3.8.3:compile +[INFO] | \- commons-codec:commons-codec:jar:1.11:compile +[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.1.7.RELEASE:compile +[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.1.7.RELEASE:compile +[INFO] | | +- org.springframework.boot:spring-boot:jar:2.1.7.RELEASE:compile +[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.7.RELEASE:compile +[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.1.7.RELEASE:compile +[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile +[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile +[INFO] | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.11.2:compile +[INFO] | | | \- org.slf4j:jul-to-slf4j:jar:1.7.26:compile +[INFO] | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile +[INFO] | | \- org.yaml:snakeyaml:jar:1.23:compile +[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.1.7.RELEASE:compile +[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.7.RELEASE:compile +[INFO] | +- org.springframework:spring-web:jar:5.1.9.RELEASE:compile +[INFO] | \- org.springframework:spring-webmvc:jar:5.1.9.RELEASE:compile +[INFO] +- org.springframework.boot:spring-boot-starter-undertow:jar:2.2.2.RELEASE:compile +[INFO] | +- io.undertow:undertow-servlet:jar:2.0.23.Final:compile +[INFO] | | \- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.2.Final:compile +[INFO] | +- io.undertow:undertow-websockets-jsr:jar:2.0.23.Final:compile +[INFO] | | \- org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.4.Final:compile +[INFO] | +- jakarta.servlet:jakarta.servlet-api:jar:4.0.3:compile +[INFO] | \- org.glassfish:jakarta.el:jar:3.0.3:compile +[INFO] +- io.undertow:undertow-core:jar:2.0.27.Final:compile +[INFO] | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile +[INFO] | +- org.jboss.xnio:xnio-api:jar:3.3.8.Final:compile +[INFO] | \- org.jboss.xnio:xnio-nio:jar:3.3.8.Final:runtime +[INFO] +- org.springframework.boot:spring-boot-starter-validation:jar:2.2.2.RELEASE:compile +[INFO] | +- jakarta.validation:jakarta.validation-api:jar:2.0.1:compile +[INFO] | \- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.22:compile +[INFO] +- org.hibernate.validator:hibernate-validator:jar:6.1.0.Final:compile +[INFO] | \- com.fasterxml:classmate:jar:1.4.0:compile +[INFO] +- org.springframework.security:spring-security-config:jar:5.1.6.RELEASE:compile +[INFO] | +- org.springframework.security:spring-security-core:jar:5.1.6.RELEASE:compile +[INFO] | +- org.springframework:spring-aop:jar:5.1.9.RELEASE:compile +[INFO] | +- org.springframework:spring-beans:jar:5.1.9.RELEASE:compile +[INFO] | +- org.springframework:spring-context:jar:5.1.9.RELEASE:compile +[INFO] | \- org.springframework:spring-core:jar:5.1.9.RELEASE:compile +[INFO] | \- org.springframework:spring-jcl:jar:5.1.9.RELEASE:compile +[INFO] +- org.springframework.security:spring-security-web:jar:5.1.6.RELEASE:compile +[INFO] | \- org.springframework:spring-expression:jar:5.1.9.RELEASE:compile +[INFO] +- com.google.code.gson:gson:jar:2.8.5:compile +[INFO] +- io.springfox:springfox-swagger2:jar:2.7.0:compile +[INFO] | +- io.swagger:swagger-annotations:jar:1.5.13:compile +[INFO] | +- io.swagger:swagger-models:jar:1.5.13:compile +[INFO] | +- io.springfox:springfox-spi:jar:2.7.0:compile +[INFO] | | \- io.springfox:springfox-core:jar:2.7.0:compile +[INFO] | | \- net.bytebuddy:byte-buddy:jar:1.9.16:compile +[INFO] | +- io.springfox:springfox-schema:jar:2.7.0:compile +[INFO] | +- io.springfox:springfox-swagger-common:jar:2.7.0:compile +[INFO] | +- io.springfox:springfox-spring-web:jar:2.7.0:compile +[INFO] | +- org.slf4j:slf4j-api:jar:1.7.26:compile +[INFO] | +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile +[INFO] | +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile +[INFO] | \- org.mapstruct:mapstruct:jar:1.1.0.Final:compile +[INFO] +- io.springfox:springfox-swagger-ui:jar:2.7.0:compile +[INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.2:test +[INFO] | +- org.powermock:powermock-api-support:jar:2.0.2:test +[INFO] | | +- org.powermock:powermock-reflect:jar:2.0.2:test +[INFO] | | | \- net.bytebuddy:byte-buddy-agent:jar:1.9.16:test +[INFO] | | \- org.powermock:powermock-core:jar:2.0.2:test +[INFO] | \- org.mockito:mockito-core:jar:2.23.4:test +[INFO] | \- org.objenesis:objenesis:jar:2.6:test +[INFO] +- org.powermock:powermock-module-junit4:jar:2.0.2:test +[INFO] | +- org.powermock:powermock-module-junit4-common:jar:2.0.2:test +[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test +[INFO] +- org.mockito:mockito-all:jar:2.0.2-beta:test +[INFO] +- junit:junit:jar:4.12:test +[INFO] \- org.springframework:spring-test:jar:5.1.9.RELEASE:test +[INFO] +[INFO] ----------------< org.opengroup.osdu:notification-gcp >----------------- +[INFO] Building notification-gcp 1.0.0 [3/4] +[INFO] --------------------------------[ jar ]--------------------------------- +[INFO] +[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ notification-gcp --- +[INFO] org.opengroup.osdu:notification-gcp:jar:1.0.0 +[INFO] +- org.opengroup.osdu:os-core-common:jar:0.3.6:compile +[INFO] | +- org.springframework.boot:spring-boot-starter-web:jar:2.1.7.RELEASE:compile +[INFO] | | +- org.springframework.boot:spring-boot-starter:jar:2.1.7.RELEASE:compile +[INFO] | | | +- org.springframework.boot:spring-boot:jar:2.1.7.RELEASE:compile +[INFO] | | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.7.RELEASE:compile +[INFO] | | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.1.7.RELEASE:compile +[INFO] | | | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile +[INFO] | | | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile +[INFO] | | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.11.2:compile +[INFO] | | | | \- org.slf4j:jul-to-slf4j:jar:1.7.26:compile +[INFO] | | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile +[INFO] | | | \- org.yaml:snakeyaml:jar:1.23:compile +[INFO] | | +- org.springframework.boot:spring-boot-starter-json:jar:2.1.7.RELEASE:compile +[INFO] | | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.7.RELEASE:compile +[INFO] | | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.22:compile +[INFO] | | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.22:compile +[INFO] | | +- org.springframework:spring-web:jar:5.1.9.RELEASE:compile +[INFO] | | \- org.springframework:spring-webmvc:jar:5.1.9.RELEASE:compile +[INFO] | +- javax.inject:javax.inject:jar:1:compile +[INFO] | +- javax.validation:validation-api:jar:2.0.1.Final:compile +[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.9:compile +[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile +[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.9:compile +[INFO] | +- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.9:compile +[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.9:compile +[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.9:compile +[INFO] | +- com.auth0:java-jwt:jar:3.8.1:compile +[INFO] | +- io.jsonwebtoken:jjwt:jar:0.9.1:compile +[INFO] | +- biz.paluch.redis:lettuce:jar:4.5.0.Final:compile +[INFO] | | +- io.reactivex:rxjava:jar:1.3.8:compile +[INFO] | | +- io.netty:netty-common:jar:4.1.38.Final:compile +[INFO] | | +- io.netty:netty-transport:jar:4.1.38.Final:compile +[INFO] | | | +- io.netty:netty-buffer:jar:4.1.38.Final:compile +[INFO] | | | \- io.netty:netty-resolver:jar:4.1.38.Final:compile +[INFO] | | \- io.netty:netty-handler:jar:4.1.38.Final:compile +[INFO] | | \- io.netty:netty-codec:jar:4.1.38.Final:compile +[INFO] | +- com.google.guava:guava:jar:28.2-jre:compile +[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile +[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile +[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile +[INFO] | | +- org.checkerframework:checker-qual:jar:2.10.0:compile +[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile +[INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile +[INFO] | +- com.google.code.gson:gson:jar:2.8.5:compile +[INFO] | +- com.google.http-client:google-http-client:jar:1.31.0:compile +[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.11:compile +[INFO] | | +- io.opencensus:opencensus-api:jar:0.21.0:compile +[INFO] | | | \- io.grpc:grpc-context:jar:1.19.0:compile +[INFO] | | \- io.opencensus:opencensus-contrib-http-util:jar:0.21.0:compile +[INFO] | +- org.apache.commons:commons-lang3:jar:3.8.1:compile +[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.9:compile +[INFO] | +- io.swagger:swagger-jaxrs:jar:1.5.22:compile +[INFO] | | +- io.swagger:swagger-core:jar:1.5.22:compile +[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.9:compile +[INFO] | | \- org.reflections:reflections:jar:0.9.11:compile +[INFO] | | \- org.javassist:javassist:jar:3.21.0-GA:compile +[INFO] | +- org.elasticsearch:elasticsearch:jar:6.4.3:compile +[INFO] | | +- org.elasticsearch:elasticsearch-core:jar:6.4.3:compile +[INFO] | | +- org.elasticsearch:elasticsearch-secure-sm:jar:6.4.3:compile +[INFO] | | +- org.elasticsearch:elasticsearch-x-content:jar:6.4.3:compile +[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.9.9:compile +[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.9.9:compile +[INFO] | | +- org.apache.lucene:lucene-core:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-analyzers-common:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-backward-codecs:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-grouping:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-highlighter:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-join:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-memory:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-misc:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-queries:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-queryparser:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-sandbox:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-spatial:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-spatial-extras:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-spatial3d:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-suggest:jar:7.4.0:compile +[INFO] | | +- org.elasticsearch:elasticsearch-cli:jar:6.4.3:compile +[INFO] | | | \- net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile +[INFO] | | +- com.carrotsearch:hppc:jar:0.7.1:compile +[INFO] | | +- joda-time:joda-time:jar:2.10.3:compile +[INFO] | | +- com.tdunning:t-digest:jar:3.2:compile +[INFO] | | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile +[INFO] | | +- org.apache.logging.log4j:log4j-api:jar:2.11.2:compile +[INFO] | | \- org.elasticsearch:jna:jar:4.5.1:compile +[INFO] | +- org.elasticsearch.client:elasticsearch-rest-client:jar:6.4.3:compile +[INFO] | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile +[INFO] | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4.11:compile +[INFO] | \- org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:6.4.3:compile +[INFO] | +- org.elasticsearch.plugin:parent-join-client:jar:6.4.3:compile +[INFO] | +- org.elasticsearch.plugin:aggs-matrix-stats-client:jar:6.4.3:compile +[INFO] | +- org.elasticsearch.plugin:rank-eval-client:jar:6.4.3:compile +[INFO] | \- org.elasticsearch.plugin:lang-mustache-client:jar:6.4.3:compile +[INFO] | \- com.github.spullara.mustache.java:compiler:jar:0.9.3:compile +[INFO] +- org.opengroup.osdu:core-lib-gcp:jar:0.1.21:compile +[INFO] | +- com.google.apis:google-api-services-iam:jar:v1-rev281-1.25.0:compile +[INFO] | +- com.google.apis:google-api-services-cloudkms:jar:v1-rev86-1.24.1:compile +[INFO] | +- commons-codec:commons-codec:jar:1.11:compile +[INFO] | +- com.google.cloud:google-cloud-datastore:jar:1.86.0:compile +[INFO] | | +- com.google.cloud:google-cloud-core-http:jar:1.86.0:compile +[INFO] | | | +- com.google.cloud:google-cloud-core:jar:1.86.0:compile +[INFO] | | | | +- com.google.api:gax:jar:1.47.1:compile +[INFO] | | | | \- com.google.protobuf:protobuf-java-util:jar:3.7.1:compile +[INFO] | | | +- com.google.auth:google-auth-library-credentials:jar:0.16.2:compile +[INFO] | | | +- com.google.auth:google-auth-library-oauth2-http:jar:0.16.2:compile +[INFO] | | | +- com.google.http-client:google-http-client-appengine:jar:1.31.0:compile +[INFO] | | | \- com.google.api:gax-httpjson:jar:0.64.1:compile +[INFO] | | | \- org.threeten:threetenbp:jar:1.3.3:compile +[INFO] | | +- com.google.api.grpc:proto-google-cloud-datastore-v1:jar:0.69.0:compile +[INFO] | | | +- com.google.protobuf:protobuf-java:jar:3.7.1:compile +[INFO] | | | +- com.google.api:api-common:jar:1.8.1:compile +[INFO] | | | \- com.google.api.grpc:proto-google-common-protos:jar:1.16.0:compile +[INFO] | | +- com.google.cloud.datastore:datastore-v1-proto-client:jar:1.6.0:compile +[INFO] | | | +- com.google.http-client:google-http-client-protobuf:jar:1.20.0:compile +[INFO] | | | \- com.google.http-client:google-http-client-jackson:jar:1.20.0:compile +[INFO] | | | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.11:compile +[INFO] | | \- io.grpc:grpc-core:jar:1.21.0:compile +[INFO] | | +- io.grpc:grpc-api:jar:1.21.0:compile (version selected from constraint [1.21.0,1.21.0]) +[INFO] | | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.17:compile +[INFO] | | +- com.google.android:annotations:jar:4.1.1.4:compile +[INFO] | | \- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.21.0:compile +[INFO] | +- com.google.cloud:google-cloud-storage:jar:1.86.0:compile +[INFO] | | \- com.google.apis:google-api-services-storage:jar:v1-rev20190624-1.30.1:compile +[INFO] | +- com.google.cloud:google-cloud-pubsub:jar:1.86.0:compile +[INFO] | | +- com.google.cloud:google-cloud-core-grpc:jar:1.86.0:compile +[INFO] | | | \- com.google.api:gax-grpc:jar:1.47.1:compile +[INFO] | | | +- io.grpc:grpc-auth:jar:1.21.0:compile +[INFO] | | | +- io.grpc:grpc-netty-shaded:jar:1.21.0:compile +[INFO] | | | \- io.grpc:grpc-alts:jar:1.21.0:compile +[INFO] | | | \- io.grpc:grpc-grpclb:jar:1.21.0:compile +[INFO] | | +- com.google.api.grpc:proto-google-cloud-pubsub-v1:jar:1.68.0:compile +[INFO] | | | \- com.google.api.grpc:proto-google-iam-v1:jar:0.12.0:compile +[INFO] | | \- com.google.api.grpc:grpc-google-cloud-pubsub-v1:jar:1.68.0:compile +[INFO] | | +- io.grpc:grpc-stub:jar:1.21.0:compile +[INFO] | | \- io.grpc:grpc-protobuf:jar:1.21.0:compile +[INFO] | | \- io.grpc:grpc-protobuf-lite:jar:1.21.0:compile +[INFO] | \- com.google.cloud:google-cloud-logging:jar:1.86.0:compile +[INFO] | \- com.google.api.grpc:proto-google-cloud-logging-v2:jar:0.69.0:compile +[INFO] +- org.opengroup.osdu:notification-core:jar:1.0.0:compile +[INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.30.1:compile +[INFO] | +- com.google.api-client:google-api-client:jar:1.30.2:compile +[INFO] | | \- com.google.http-client:google-http-client-jackson2:jar:1.30.1:compile +[INFO] | +- javax.xml.bind:jaxb-api:jar:2.3.1:compile +[INFO] | | \- javax.activation:javax.activation-api:jar:1.2.0:compile +[INFO] | +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile +[INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile +[INFO] | +- org.springframework.boot:spring-boot-starter-undertow:jar:2.1.7.RELEASE:compile +[INFO] | | +- io.undertow:undertow-servlet:jar:2.0.23.Final:compile +[INFO] | | | \- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.2.Final:compile +[INFO] | | +- io.undertow:undertow-websockets-jsr:jar:2.0.23.Final:compile +[INFO] | | | \- org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.4.Final:compile +[INFO] | | +- javax.servlet:javax.servlet-api:jar:4.0.1:compile +[INFO] | | \- org.glassfish:javax.el:jar:3.0.0:compile +[INFO] | +- io.undertow:undertow-core:jar:2.0.23.Final:compile +[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile +[INFO] | | +- org.jboss.xnio:xnio-api:jar:3.3.8.Final:compile +[INFO] | | \- org.jboss.xnio:xnio-nio:jar:3.3.8.Final:runtime +[INFO] | +- org.springframework.boot:spring-boot-starter-validation:jar:2.1.7.RELEASE:compile +[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.22:compile +[INFO] | +- org.hibernate.validator:hibernate-validator:jar:6.0.17.Final:compile +[INFO] | | \- com.fasterxml:classmate:jar:1.4.0:compile +[INFO] | +- org.springframework.security:spring-security-config:jar:5.1.6.RELEASE:compile +[INFO] | | +- org.springframework.security:spring-security-core:jar:5.1.6.RELEASE:compile +[INFO] | | +- org.springframework:spring-aop:jar:5.1.9.RELEASE:compile +[INFO] | | +- org.springframework:spring-beans:jar:5.1.9.RELEASE:compile +[INFO] | | +- org.springframework:spring-context:jar:5.1.9.RELEASE:compile +[INFO] | | \- org.springframework:spring-core:jar:5.1.9.RELEASE:compile +[INFO] | | \- org.springframework:spring-jcl:jar:5.1.9.RELEASE:compile +[INFO] | +- org.springframework.security:spring-security-web:jar:5.1.6.RELEASE:compile +[INFO] | | \- org.springframework:spring-expression:jar:5.1.9.RELEASE:compile +[INFO] | +- io.springfox:springfox-swagger2:jar:2.7.0:compile +[INFO] | | +- io.swagger:swagger-annotations:jar:1.5.13:compile +[INFO] | | +- io.swagger:swagger-models:jar:1.5.13:compile +[INFO] | | +- io.springfox:springfox-spi:jar:2.7.0:compile +[INFO] | | | \- io.springfox:springfox-core:jar:2.7.0:compile +[INFO] | | +- io.springfox:springfox-schema:jar:2.7.0:compile +[INFO] | | +- io.springfox:springfox-swagger-common:jar:2.7.0:compile +[INFO] | | +- io.springfox:springfox-spring-web:jar:2.7.0:compile +[INFO] | | +- org.slf4j:slf4j-api:jar:1.7.26:compile +[INFO] | | +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile +[INFO] | | +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile +[INFO] | | \- org.mapstruct:mapstruct:jar:1.1.0.Final:compile +[INFO] | \- io.springfox:springfox-swagger-ui:jar:2.7.0:compile +[INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.2:test +[INFO] | +- org.powermock:powermock-api-support:jar:2.0.2:test +[INFO] | | +- org.powermock:powermock-reflect:jar:2.0.2:test +[INFO] | | | +- net.bytebuddy:byte-buddy:jar:1.9.16:compile +[INFO] | | | \- net.bytebuddy:byte-buddy-agent:jar:1.9.16:test +[INFO] | | \- org.powermock:powermock-core:jar:2.0.2:test +[INFO] | \- org.mockito:mockito-core:jar:2.23.4:test +[INFO] | \- org.objenesis:objenesis:jar:2.6:test +[INFO] +- org.powermock:powermock-module-junit4:jar:2.0.2:test +[INFO] | +- org.powermock:powermock-module-junit4-common:jar:2.0.2:test +[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test +[INFO] +- org.mockito:mockito-all:jar:2.0.2-beta:test +[INFO] +- junit:junit:jar:4.12:test +[INFO] \- org.projectlombok:lombok:jar:1.18.8:provided +[INFO] +[INFO] ---------------< org.opengroup.osdu:notification-azure >---------------- +[INFO] Building notification-azure 1.0.0 [4/4] +[INFO] --------------------------------[ jar ]--------------------------------- +[INFO] +[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ notification-azure --- +[INFO] org.opengroup.osdu:notification-azure:jar:1.0.0 +[INFO] +- com.microsoft.azure:azure-active-directory-spring-boot-starter:jar:2.1.7:compile +[INFO] | +- com.microsoft.azure:azure-spring-boot-starter:jar:2.1.7:compile +[INFO] | | \- com.microsoft.azure:azure-spring-boot:jar:2.1.7:compile +[INFO] | +- org.springframework:spring-web:jar:5.1.9.RELEASE:compile +[INFO] | +- org.springframework.security:spring-security-core:jar:5.1.6.RELEASE:compile +[INFO] | | \- org.springframework:spring-expression:jar:5.1.9.RELEASE:compile +[INFO] | +- org.springframework.security:spring-security-web:jar:5.1.6.RELEASE:compile +[INFO] | +- org.springframework.security:spring-security-config:jar:5.1.6.RELEASE:compile +[INFO] | +- com.microsoft.azure:adal4j:jar:1.6.4:compile +[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.9.9:compile +[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile +[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.9:compile +[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:2.1.7.RELEASE:compile +[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.1.7.RELEASE:compile +[INFO] | | +- org.springframework.boot:spring-boot:jar:2.1.7.RELEASE:compile +[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.7.RELEASE:compile +[INFO] | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile +[INFO] | | \- org.yaml:snakeyaml:jar:1.23:compile +[INFO] | \- org.springframework:spring-aop:jar:5.1.9.RELEASE:compile +[INFO] +- org.springframework.security.oauth:spring-security-oauth2:jar:2.3.6.RELEASE:compile +[INFO] | +- org.springframework:spring-beans:jar:5.1.9.RELEASE:compile +[INFO] | +- org.springframework:spring-core:jar:5.1.9.RELEASE:compile +[INFO] | | \- org.springframework:spring-jcl:jar:5.1.9.RELEASE:compile +[INFO] | +- org.springframework:spring-context:jar:5.1.9.RELEASE:compile +[INFO] | +- org.springframework:spring-webmvc:jar:5.1.9.RELEASE:compile +[INFO] | +- commons-codec:commons-codec:jar:1.11:compile +[INFO] | \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile +[INFO] | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile +[INFO] +- org.springframework.security:spring-security-jwt:jar:1.0.10.RELEASE:compile +[INFO] | \- org.bouncycastle:bcpkix-jdk15on:jar:1.60:compile +[INFO] | \- org.bouncycastle:bcprov-jdk15on:jar:1.60:compile +[INFO] +- org.springframework.security:spring-security-oauth2-client:jar:5.1.6.RELEASE:compile +[INFO] | +- com.nimbusds:oauth2-oidc-sdk:jar:6.0:compile +[INFO] | | +- com.sun.mail:javax.mail:jar:1.6.2:compile +[INFO] | | | \- javax.activation:activation:jar:1.1:compile +[INFO] | | +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile +[INFO] | | +- net.minidev:json-smart:jar:2.3:compile (version selected from constraint [1.3.1,2.3]) +[INFO] | | | \- net.minidev:accessors-smart:jar:1.2:compile +[INFO] | | | \- org.ow2.asm:asm:jar:5.0.4:compile +[INFO] | | \- com.nimbusds:lang-tag:jar:1.5:compile (version selected from constraint [1.4.3,)) +[INFO] | \- org.springframework.security:spring-security-oauth2-core:jar:5.1.6.RELEASE:compile +[INFO] +- org.springframework.security:spring-security-oauth2-jose:jar:5.1.6.RELEASE:compile +[INFO] | \- com.nimbusds:nimbus-jose-jwt:jar:6.0.2:compile +[INFO] +- org.springframework.boot:spring-boot-configuration-processor:jar:2.1.7.RELEASE:compile +[INFO] +- org.opengroup.osdu:os-core-common:jar:0.3.4:compile +[INFO] | +- org.springframework.boot:spring-boot-starter-web:jar:2.1.7.RELEASE:compile +[INFO] | | +- org.springframework.boot:spring-boot-starter-json:jar:2.1.7.RELEASE:compile +[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.9:compile +[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.9:compile +[INFO] | | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.9:compile +[INFO] | | \- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.7.RELEASE:compile +[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.22:compile +[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.22:compile +[INFO] | +- javax.inject:javax.inject:jar:1:compile +[INFO] | +- javax.validation:validation-api:jar:2.0.1.Final:compile +[INFO] | +- io.jsonwebtoken:jjwt:jar:0.9.1:compile +[INFO] | +- biz.paluch.redis:lettuce:jar:4.5.0.Final:compile +[INFO] | | +- io.reactivex:rxjava:jar:1.3.8:compile +[INFO] | | +- io.netty:netty-common:jar:4.1.38.Final:compile +[INFO] | | \- io.netty:netty-transport:jar:4.1.38.Final:compile +[INFO] | | \- io.netty:netty-resolver:jar:4.1.38.Final:compile +[INFO] | +- com.google.guava:guava:jar:28.2-jre:compile +[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile +[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile +[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile +[INFO] | | +- org.checkerframework:checker-qual:jar:2.10.0:compile +[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile +[INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile +[INFO] | +- com.google.code.gson:gson:jar:2.8.5:compile +[INFO] | +- com.google.http-client:google-http-client:jar:1.31.0:compile +[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.11:compile +[INFO] | | +- io.opencensus:opencensus-api:jar:0.21.0:compile +[INFO] | | | \- io.grpc:grpc-context:jar:1.19.0:compile +[INFO] | | \- io.opencensus:opencensus-contrib-http-util:jar:0.21.0:compile +[INFO] | +- org.apache.commons:commons-lang3:jar:3.8.1:compile +[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.9:compile +[INFO] | +- io.swagger:swagger-jaxrs:jar:1.5.22:compile +[INFO] | | +- io.swagger:swagger-core:jar:1.5.22:compile +[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.9:compile +[INFO] | | \- org.reflections:reflections:jar:0.9.11:compile +[INFO] | | \- org.javassist:javassist:jar:3.21.0-GA:compile +[INFO] | +- org.elasticsearch:elasticsearch:jar:6.4.3:compile +[INFO] | | +- org.elasticsearch:elasticsearch-core:jar:6.4.3:compile +[INFO] | | +- org.elasticsearch:elasticsearch-secure-sm:jar:6.4.3:compile +[INFO] | | +- org.elasticsearch:elasticsearch-x-content:jar:6.4.3:compile +[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.9.9:compile +[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.9.9:compile +[INFO] | | +- org.apache.lucene:lucene-core:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-analyzers-common:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-backward-codecs:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-grouping:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-highlighter:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-join:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-memory:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-misc:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-queries:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-queryparser:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-sandbox:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-spatial:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-spatial-extras:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-spatial3d:jar:7.4.0:compile +[INFO] | | +- org.apache.lucene:lucene-suggest:jar:7.4.0:compile +[INFO] | | +- org.elasticsearch:elasticsearch-cli:jar:6.4.3:compile +[INFO] | | | \- net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile +[INFO] | | +- com.carrotsearch:hppc:jar:0.7.1:compile +[INFO] | | +- joda-time:joda-time:jar:2.10.3:compile +[INFO] | | +- com.tdunning:t-digest:jar:3.2:compile +[INFO] | | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile +[INFO] | | +- org.apache.logging.log4j:log4j-api:jar:2.11.2:compile +[INFO] | | \- org.elasticsearch:jna:jar:4.5.1:compile +[INFO] | +- org.elasticsearch.client:elasticsearch-rest-client:jar:6.4.3:compile +[INFO] | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile +[INFO] | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4.11:compile +[INFO] | \- org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:6.4.3:compile +[INFO] | +- org.elasticsearch.plugin:parent-join-client:jar:6.4.3:compile +[INFO] | +- org.elasticsearch.plugin:aggs-matrix-stats-client:jar:6.4.3:compile +[INFO] | +- org.elasticsearch.plugin:rank-eval-client:jar:6.4.3:compile +[INFO] | \- org.elasticsearch.plugin:lang-mustache-client:jar:6.4.3:compile +[INFO] | \- com.github.spullara.mustache.java:compiler:jar:0.9.3:compile +[INFO] +- org.opengroup.osdu:core-lib-azure:jar:0.0.17:compile +[INFO] | +- com.azure:azure-core-http-netty:jar:1.5.3:compile +[INFO] | | +- com.azure:azure-core:jar:1.6.0:compile +[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.9.9:compile +[INFO] | | | | +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.9:compile +[INFO] | | | | +- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile +[INFO] | | | | \- com.fasterxml.woodstox:woodstox-core:jar:5.0.3:compile +[INFO] | | | \- io.netty:netty-tcnative-boringssl-static:jar:2.0.25.Final:compile +[INFO] | | +- io.netty:netty-buffer:jar:4.1.38.Final:compile +[INFO] | | +- io.netty:netty-transport-native-unix-common:jar:4.1.38.Final:compile +[INFO] | | \- io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.38.Final:compile +[INFO] | +- com.azure:azure-identity:jar:1.0.1:compile +[INFO] | | +- org.slf4j:slf4j-api:jar:1.7.26:compile +[INFO] | | +- com.microsoft.azure:msal4j:jar:0.5.0-preview:compile +[INFO] | | +- org.nanohttpd:nanohttpd:jar:2.3.1:compile +[INFO] | | \- net.java.dev.jna:jna-platform:jar:4.5.2:compile +[INFO] | | \- net.java.dev.jna:jna:jar:4.5.2:compile +[INFO] | +- com.azure:azure-security-keyvault-secrets:jar:4.1.0:compile +[INFO] | +- com.azure:azure-cosmos:jar:4.0.0-preview.1:compile +[INFO] | | +- com.fasterxml.uuid:java-uuid-generator:jar:3.1.5:compile +[INFO] | | +- commons-validator:commons-validator:jar:1.6:compile +[INFO] | | | +- commons-beanutils:commons-beanutils:jar:1.9.2:compile +[INFO] | | | +- commons-digester:commons-digester:jar:1.8.1:compile +[INFO] | | | +- commons-logging:commons-logging:jar:1.2:compile +[INFO] | | | \- commons-collections:commons-collections:jar:3.2.2:compile +[INFO] | | +- org.apache.commons:commons-collections4:jar:4.2:compile +[INFO] | | +- org.apache.commons:commons-text:jar:1.6:compile +[INFO] | | +- io.dropwizard.metrics:metrics-core:jar:4.0.5:compile +[INFO] | | +- io.micrometer:micrometer-core:jar:1.1.5:compile +[INFO] | | | \- org.latencyutils:LatencyUtils:jar:2.0.3:compile +[INFO] | | \- io.reactivex.rxjava2:rxjava:jar:2.2.11:compile +[INFO] | +- com.azure:azure-storage-blob:jar:12.3.0:compile +[INFO] | | \- com.azure:azure-storage-common:jar:12.3.0:compile +[INFO] | +- com.microsoft.azure:azure-servicebus:jar:3.1.4:compile +[INFO] | | +- org.apache.qpid:proton-j:jar:0.33.2:compile +[INFO] | | +- com.microsoft.azure:qpid-proton-j-extensions:jar:1.2.2:compile +[INFO] | | +- org.asynchttpclient:async-http-client:jar:2.10.4:compile +[INFO] | | | +- org.asynchttpclient:async-http-client-netty-utils:jar:2.10.4:compile +[INFO] | | | +- io.netty:netty-resolver-dns:jar:4.1.38.Final:compile +[INFO] | | | | \- io.netty:netty-codec-dns:jar:4.1.38.Final:compile +[INFO] | | | +- com.typesafe.netty:netty-reactive-streams:jar:2.0.3:compile +[INFO] | | | \- com.sun.activation:javax.activation:jar:1.2.0:compile +[INFO] | | \- com.microsoft.azure:azure-client-authentication:jar:1.7.0:compile +[INFO] | | +- com.microsoft.azure:azure-client-runtime:jar:1.7.0:compile +[INFO] | | | \- com.microsoft.rest:client-runtime:jar:1.7.0:compile +[INFO] | | | +- com.squareup.retrofit2:retrofit:jar:2.5.0:compile +[INFO] | | | +- com.squareup.okhttp3:okhttp:jar:3.12.6:compile +[INFO] | | | | \- com.squareup.okio:okio:jar:1.15.0:compile +[INFO] | | | +- com.squareup.okhttp3:logging-interceptor:jar:3.12.2:compile +[INFO] | | | +- com.squareup.okhttp3:okhttp-urlconnection:jar:3.12.2:compile +[INFO] | | | +- com.squareup.retrofit2:converter-jackson:jar:2.5.0:compile +[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.9.9:compile +[INFO] | | | \- com.squareup.retrofit2:adapter-rxjava:jar:2.6.2:compile +[INFO] | | \- com.microsoft.azure:azure-annotations:jar:1.10.0:compile +[INFO] | +- com.microsoft.azure:applicationinsights-spring-boot-starter:jar:2.5.1:compile +[INFO] | | +- com.microsoft.azure:applicationinsights-core:jar:2.5.1:compile +[INFO] | | \- com.microsoft.azure:applicationinsights-web:jar:2.5.1:compile +[INFO] | +- com.microsoft.azure:azure-spring-boot-metrics-starter:jar:2.0.7:compile +[INFO] | | +- io.micrometer:micrometer-registry-azure-monitor:jar:1.1.5:compile +[INFO] | | \- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.1.7.RELEASE:compile +[INFO] | | \- org.springframework.boot:spring-boot-actuator:jar:2.1.7.RELEASE:compile +[INFO] | +- org.springframework.boot:spring-boot-starter-log4j2:jar:2.1.7.RELEASE:compile +[INFO] | | +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.2:compile +[INFO] | | +- org.apache.logging.log4j:log4j-core:jar:2.11.2:compile +[INFO] | | +- org.apache.logging.log4j:log4j-jul:jar:2.11.2:compile +[INFO] | | \- org.slf4j:jul-to-slf4j:jar:1.7.26:compile +[INFO] | \- com.microsoft.azure:applicationinsights-logging-log4j2:jar:2.5.1:compile +[INFO] +- com.auth0:java-jwt:jar:3.8.1:compile +[INFO] +- org.opengroup.osdu:notification-core:jar:1.0.0:compile +[INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.30.1:compile +[INFO] | +- com.google.api-client:google-api-client:jar:1.30.2:compile +[INFO] | | \- com.google.http-client:google-http-client-jackson2:jar:1.30.1:compile +[INFO] | +- javax.xml.bind:jaxb-api:jar:2.3.1:compile +[INFO] | | \- javax.activation:javax.activation-api:jar:1.2.0:compile +[INFO] | +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile +[INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile +[INFO] | +- com.google.apis:google-api-services-iam:jar:v1-rev289-1.25.0:compile +[INFO] | +- org.springframework.boot:spring-boot-starter-undertow:jar:2.1.7.RELEASE:compile +[INFO] | | +- io.undertow:undertow-servlet:jar:2.0.23.Final:compile +[INFO] | | | \- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.2.Final:compile +[INFO] | | +- io.undertow:undertow-websockets-jsr:jar:2.0.23.Final:compile +[INFO] | | | \- org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.4.Final:compile +[INFO] | | +- javax.servlet:javax.servlet-api:jar:4.0.1:compile +[INFO] | | \- org.glassfish:javax.el:jar:3.0.0:compile +[INFO] | +- io.undertow:undertow-core:jar:2.0.23.Final:compile +[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile +[INFO] | | +- org.jboss.xnio:xnio-api:jar:3.3.8.Final:compile +[INFO] | | \- org.jboss.xnio:xnio-nio:jar:3.3.8.Final:runtime +[INFO] | +- org.springframework.boot:spring-boot-starter-validation:jar:2.1.7.RELEASE:compile +[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.22:compile +[INFO] | +- org.hibernate.validator:hibernate-validator:jar:6.0.17.Final:compile +[INFO] | | \- com.fasterxml:classmate:jar:1.4.0:compile +[INFO] | +- io.springfox:springfox-swagger2:jar:2.7.0:compile +[INFO] | | +- io.swagger:swagger-annotations:jar:1.5.13:compile +[INFO] | | +- io.swagger:swagger-models:jar:1.5.13:compile +[INFO] | | +- io.springfox:springfox-spi:jar:2.7.0:compile +[INFO] | | | \- io.springfox:springfox-core:jar:2.7.0:compile +[INFO] | | +- io.springfox:springfox-schema:jar:2.7.0:compile +[INFO] | | +- io.springfox:springfox-swagger-common:jar:2.7.0:compile +[INFO] | | +- io.springfox:springfox-spring-web:jar:2.7.0:compile +[INFO] | | +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile +[INFO] | | +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile +[INFO] | | \- org.mapstruct:mapstruct:jar:1.1.0.Final:compile +[INFO] | \- io.springfox:springfox-swagger-ui:jar:2.7.0:compile +[INFO] +- io.projectreactor.netty:reactor-netty:jar:0.9.0.RELEASE:compile +[INFO] | +- io.netty:netty-codec-http:jar:4.1.38.Final:compile +[INFO] | | \- io.netty:netty-codec:jar:4.1.38.Final:compile +[INFO] | +- io.netty:netty-codec-http2:jar:4.1.38.Final:compile +[INFO] | +- io.netty:netty-handler:jar:4.1.38.Final:compile +[INFO] | +- io.netty:netty-handler-proxy:jar:4.1.38.Final:compile +[INFO] | | \- io.netty:netty-codec-socks:jar:4.1.38.Final:compile +[INFO] | +- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.38.Final:compile +[INFO] | \- io.projectreactor.addons:reactor-pool:jar:0.1.0.RELEASE:compile +[INFO] +- io.projectreactor:reactor-core:jar:3.3.0.RELEASE:compile +[INFO] | \- org.reactivestreams:reactive-streams:jar:1.0.2:compile +[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.1.7.RELEASE:test +[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.1.7.RELEASE:test +[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.1.7.RELEASE:test +[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test +[INFO] | +- junit:junit:jar:4.12:test +[INFO] | +- org.assertj:assertj-core:jar:3.11.1:test +[INFO] | +- org.hamcrest:hamcrest-core:jar:1.3:test +[INFO] | +- org.hamcrest:hamcrest-library:jar:1.3:test +[INFO] | +- org.skyscreamer:jsonassert:jar:1.5.0:test +[INFO] | | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test +[INFO] | +- org.springframework:spring-test:jar:5.1.9.RELEASE:test +[INFO] | \- org.xmlunit:xmlunit-core:jar:2.6.3:test +[INFO] +- org.junit.jupiter:junit-jupiter:jar:5.6.0:test +[INFO] | +- org.junit.jupiter:junit-jupiter-api:jar:5.3.2:test +[INFO] | | +- org.apiguardian:apiguardian-api:jar:1.0.0:test +[INFO] | | +- org.opentest4j:opentest4j:jar:1.1.1:test +[INFO] | | \- org.junit.platform:junit-platform-commons:jar:1.3.2:test +[INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:5.3.2:test +[INFO] | \- org.junit.jupiter:junit-jupiter-engine:jar:5.3.2:test +[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.3.2:test +[INFO] +- org.mockito:mockito-core:jar:3.0.0:test +[INFO] | +- net.bytebuddy:byte-buddy:jar:1.9.16:compile +[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.9.16:test +[INFO] | \- org.objenesis:objenesis:jar:2.6:test +[INFO] +- com.auth0:jwks-rsa:jar:0.11.0:compile +[INFO] | \- commons-io:commons-io:jar:2.6:compile +[INFO] +- org.mockito:mockito-junit-jupiter:jar:2.23.0:test +[INFO] \- org.projectlombok:lombok:jar:1.18.8:provided +[INFO] ------------------------------------------------------------------------ +[INFO] Reactor Summary for os-notification 1.0.0: +[INFO] +[INFO] os-notification .................................... SUCCESS [ 2.493 s] +[INFO] notification-core .................................. SUCCESS [ 3.053 s] +[INFO] notification-gcp ................................... SUCCESS [ 1.761 s] +[INFO] notification-azure ................................. SUCCESS [ 11.938 s] +[INFO] ------------------------------------------------------------------------ +[INFO] BUILD SUCCESS +[INFO] ------------------------------------------------------------------------ +[INFO] Total time: 20.300 s +[INFO] Finished at: 2020-09-03T19:54:16+05:30 +[INFO] ------------------------------------------------------------------------ -- GitLab From 71600b76dfa302aa959e27852802f216511490c3 Mon Sep 17 00:00:00 2001 From: komakkar Date: Fri, 4 Sep 2020 01:42:57 +0530 Subject: [PATCH 04/12] Added logs --- provider/notification-azure/pom.xml | 4 ---- .../azure/pubsub/EventGridHandshakeHandler.java | 5 +++++ .../pubsub/EventGridRequestBodyExtractor.java | 15 ++++++++++----- .../provider/azure/util/AppProperties.java | 6 ++++++ .../azure/util/AzureCosmosProperties.java | 7 +++++++ .../util/AzureServiceAccountValidatorImpl.java | 3 --- .../azure/util/GoogleServiceAccountImpl.java | 7 +++++++ .../util/ServiceAccountJwtAzureClientImpl.java | 16 +++++++++++----- 8 files changed, 46 insertions(+), 17 deletions(-) diff --git a/provider/notification-azure/pom.xml b/provider/notification-azure/pom.xml index 6051a4d2..a6ec6e27 100644 --- a/provider/notification-azure/pom.xml +++ b/provider/notification-azure/pom.xml @@ -65,10 +65,6 @@ org.apache.logging.log4j log4j-to-slf4j - - org.springframework.boot - spring-boot-starter-logging - diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridHandshakeHandler.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridHandshakeHandler.java index b3b2a861..83ebf3db 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridHandshakeHandler.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridHandshakeHandler.java @@ -15,6 +15,7 @@ package org.opengroup.osdu.notification.provider.azure.pubsub; import com.google.gson.JsonObject; +import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; import org.opengroup.osdu.core.common.model.http.AppException; import org.opengroup.osdu.notification.provider.interfaces.IPubsubHandshakeHandler; import org.springframework.beans.factory.annotation.Autowired; @@ -27,6 +28,9 @@ public class EventGridHandshakeHandler implements IPubsubHandshakeHandler { @Autowired private EventGridRequestBodyExtractor eventGridRequestBodyExtractor; + @Autowired + JaxRsDpsLog logger; + /** * Extract Handshake response string form Handshake request. * TODO: Check if there is a need to verify subscription name with @@ -44,6 +48,7 @@ public class EventGridHandshakeHandler implements IPubsubHandshakeHandler { response = jsonResponse.toString(); } catch (Exception exception) { + logger.error(exception.getMessage()); throw new AppException(HttpStatus.BAD_REQUEST.value(), "Request payload parsing error", "Unable to parse request payload.", exception); } diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridRequestBodyExtractor.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridRequestBodyExtractor.java index 0d1a4033..c5fcedb7 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridRequestBodyExtractor.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridRequestBodyExtractor.java @@ -49,11 +49,11 @@ public class EventGridRequestBodyExtractor implements IPubsubRequestBodyExtracto private static final Gson GSON = new Gson(); private static final ObjectMapper objectMapper = new ObjectMapper(); - private JsonObject root = null; - private HttpServletRequest httpServletRequest; - private JaxRsDpsLog log; + private final JsonObject root = null; + private final HttpServletRequest httpServletRequest; + private final JaxRsDpsLog logger; - private NotificationRequest notificationRequest; + private final NotificationRequest notificationRequest; private NotificationData notificationData; private HandshakeRequestData handshakeRequestData; private boolean isHandshakeRequest; @@ -61,7 +61,7 @@ public class EventGridRequestBodyExtractor implements IPubsubRequestBodyExtracto @Autowired public EventGridRequestBodyExtractor(HttpServletRequest httpServletRequest, JaxRsDpsLog log) { this.httpServletRequest = httpServletRequest; - this.log = log; + this.logger = log; this.notificationRequest = extractNotificationRequestFromHttpRequest(); } @@ -73,6 +73,7 @@ public class EventGridRequestBodyExtractor implements IPubsubRequestBodyExtracto */ public Map extractAttributesFromRequestBody() { if(isHandshakeRequest) { + logger.error("Invalid Event Grid Message. Is a handshake request"); return null; } return this.notificationData.getAttributes(); @@ -86,6 +87,7 @@ public class EventGridRequestBodyExtractor implements IPubsubRequestBodyExtracto */ public String extractDataFromRequestBody() { if(isHandshakeRequest) { + logger.error("Invalid Event Grid Message. Is a handshake request"); return null; } return new String(Base64.getDecoder().decode(notificationData.getData())); @@ -100,6 +102,7 @@ public class EventGridRequestBodyExtractor implements IPubsubRequestBodyExtracto public String extractNotificationIdFromRequestBody() { String subscriptionId = httpServletRequest.getHeader(SUBSCRIPTION_ID); if (Strings.isNullOrEmpty(subscriptionId)) { + logger.error("Invalid Event Grid Message. Subscription Id is null or empty"); throw new AppException(HttpStatus.BAD_REQUEST.value(), "Invalid Event Grid Message", "Subscription ID not found"); } return subscriptionId; @@ -123,6 +126,7 @@ public class EventGridRequestBodyExtractor implements IPubsubRequestBodyExtracto */ public String getValidationCodeForHandshake() { if(!isHandshakeRequest) { + logger.error("Invalid Event Grid Message. Is not a handshake request"); return null; } return this.handshakeRequestData.getValidationCode(); @@ -154,6 +158,7 @@ public class EventGridRequestBodyExtractor implements IPubsubRequestBodyExtracto extractNotificationData(notificationRequest); } } catch (Exception e) { + logger.error("Invalid Event Grid Message. %s", e.getMessage()); throw new AppException(HttpStatus.BAD_REQUEST.value(), "Request payload parsing error", "Unable to parse request payload.", "Request contents are null or empty"); } diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java index 59736e87..32f048a4 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java @@ -17,6 +17,7 @@ package org.opengroup.osdu.notification.provider.azure.util; import com.azure.security.keyvault.secrets.SecretClient; import com.azure.security.keyvault.secrets.models.KeyVaultSecret; +import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; import org.opengroup.osdu.notification.provider.interfaces.IAppProperties; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; @@ -49,6 +50,9 @@ public class AppProperties implements IAppProperties { @Autowired private SecretClient secretClient; + @Autowired + private JaxRsDpsLog logger; + private String authURL; private String authClientID; @@ -102,11 +106,13 @@ public class AppProperties implements IAppProperties { private String getKeyVaultSecret(SecretClient kv, String secretName) { KeyVaultSecret secret = kv.getSecret(secretName); if (secret == null) { + logger.error(String.format("Secret unexpectedly missing from KeyVault response for secret with name %s", secretName)); throw new IllegalStateException(String.format("No secret found with name %s", secretName)); } String secretValue = secret.getValue(); if (secretValue == null) { + logger.error(String.format("Secret unexpectedly missing from KeyVault response for secret with name %s", secretName)); throw new IllegalStateException(String.format( "Secret unexpectedly missing from KeyVault response for secret with name %s", secretName)); } diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java index 22bb7ee4..81bca28a 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java @@ -2,6 +2,8 @@ package org.opengroup.osdu.notification.provider.azure.util; import com.azure.security.keyvault.secrets.SecretClient; import com.azure.security.keyvault.secrets.models.KeyVaultSecret; +import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.stereotype.Component; @@ -17,6 +19,9 @@ public class AzureCosmosProperties { @Value("${azure.cosmosdb.database}") private String cosmosDBName; + @Autowired + private JaxRsDpsLog logger; + // TODO : Move away from Named beans. @Bean @Named("COSMOS_ENDPOINT") @@ -45,11 +50,13 @@ public class AzureCosmosProperties { public String getKeyVaultSecret(SecretClient kv, String secretName) { KeyVaultSecret secret = kv.getSecret(secretName); if (secret == null) { + logger.error(String.format("No secret found with name %s", secretName)); throw new IllegalStateException(String.format("No secret found with name %s", secretName)); } String secretValue = secret.getValue(); if (secretValue == null) { + logger.error(String.format("Secret unexpectedly missing from KeyVault response for secret with name %s", secretName)); throw new IllegalStateException(String.format( "Secret unexpectedly missing from KeyVault response for secret with name %s", secretName)); } diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureServiceAccountValidatorImpl.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureServiceAccountValidatorImpl.java index dc1a3451..e68b499c 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureServiceAccountValidatorImpl.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureServiceAccountValidatorImpl.java @@ -14,11 +14,8 @@ package org.opengroup.osdu.notification.provider.azure.util; -import com.auth0.jwt.JWT; -import com.auth0.jwt.interfaces.DecodedJWT; import org.opengroup.osdu.notification.provider.interfaces.IServiceAccountValidator; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Component; import org.springframework.stereotype.Service; @Service diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/GoogleServiceAccountImpl.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/GoogleServiceAccountImpl.java index 9b0adf6c..dc31ed83 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/GoogleServiceAccountImpl.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/GoogleServiceAccountImpl.java @@ -15,7 +15,9 @@ package org.opengroup.osdu.notification.provider.azure.util; import lombok.SneakyThrows; +import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; import org.opengroup.osdu.notification.provider.interfaces.IGoogleServiceAccount; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import javax.naming.AuthenticationNotSupportedException; @@ -23,10 +25,15 @@ import javax.naming.AuthenticationNotSupportedException; @Component public class GoogleServiceAccountImpl implements IGoogleServiceAccount { + @Autowired + JaxRsDpsLog logger; + @SneakyThrows @Override public String getIdToken(String keyString, String audience) { // TODO : Check if it is to be supported + logger.error("GSA tokens are not supported."); + throw new AuthenticationNotSupportedException(); } } diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/ServiceAccountJwtAzureClientImpl.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/ServiceAccountJwtAzureClientImpl.java index 5d6d9933..391637b2 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/ServiceAccountJwtAzureClientImpl.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/ServiceAccountJwtAzureClientImpl.java @@ -19,6 +19,7 @@ import com.microsoft.aad.adal4j.AuthenticationContext; import com.microsoft.aad.adal4j.AuthenticationResult; import com.microsoft.aad.adal4j.ClientCredential; import org.apache.http.HttpStatus; +import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; import org.opengroup.osdu.core.common.model.http.AppException; import org.opengroup.osdu.core.common.model.search.IdToken; import org.opengroup.osdu.core.common.model.tenant.TenantInfo; @@ -43,10 +44,13 @@ public class ServiceAccountJwtAzureClientImpl implements IServiceAccountJwtClien @Autowired private IJwtCache tenantJwtCache; + @Autowired + JaxRsDpsLog logger; + public String getIdToken(String tenantName) { - // TODO : Add logs. TenantInfo tenant = tenantInfoServiceProvider.getTenantInfo(tenantName); if (tenant == null) { + logger.error(String.format("Invalid tenant name %s", tenantName)); throw new AppException(HttpStatus.SC_BAD_REQUEST, "Invalid tenant Name", "Invalid tenant Name from azure"); } @@ -67,10 +71,12 @@ public class ServiceAccountJwtAzureClientImpl implements IServiceAccountJwtClien ACCESS_TOKEN = getAccessToken(service); IdToken idToken = IdToken.builder().tokenValue(ACCESS_TOKEN).expirationTimeMillis(JWT.decode(ACCESS_TOKEN).getExpiresAt().getTime()).build(); tenantJwtCache.put(tenant.getName(), idToken); - } catch (AppException e) { - throw e; - } catch (Exception e) { - throw new AppException(HttpStatus.SC_INTERNAL_SERVER_ERROR, "Persistence error", "Error generating token", e); + } catch (AppException appException) { + logger.error(String.format("Could not get a token %s", appException.getMessage())); + throw appException; + } catch (Exception exception) { + logger.error(String.format("Could not get a token %s", exception.getMessage())); + throw new AppException(HttpStatus.SC_INTERNAL_SERVER_ERROR, "Persistence error", "Error generating token", exception); } finally { if(service != null) { service.shutdown(); -- GitLab From 923ddea526845dfd1680c8f13a399e92c24e87da Mon Sep 17 00:00:00 2001 From: komakkar Date: Fri, 4 Sep 2020 01:56:53 +0530 Subject: [PATCH 05/12] UT changes --- .../notification/pubsub/EventGridHandshakeHandlerTest.java | 4 ++++ .../osdu/notification/util/ServiceAccountClientImplTest.java | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java index 3006ae11..68f87776 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java @@ -22,6 +22,7 @@ import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.Spy; import org.mockito.junit.MockitoJUnitRunner; +import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; import org.opengroup.osdu.core.common.model.http.AppException; import org.opengroup.osdu.notification.provider.azure.pubsub.EventGridHandshakeHandler; import org.opengroup.osdu.notification.provider.azure.pubsub.EventGridRequestBodyExtractor; @@ -37,6 +38,9 @@ public class EventGridHandshakeHandlerTest { @Mock EventGridRequestBodyExtractor eventGridRequestBodyExtractor; + @Mock + JaxRsDpsLog logger; + @InjectMocks @Spy private EventGridHandshakeHandler sut; diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java index 5153d620..d7099cb5 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java @@ -23,6 +23,7 @@ import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.Spy; import org.mockito.junit.MockitoJUnitRunner; +import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; import org.opengroup.osdu.core.common.model.http.AppException; import org.opengroup.osdu.core.common.model.search.IdToken; import org.opengroup.osdu.core.common.model.tenant.TenantInfo; @@ -63,6 +64,9 @@ public class ServiceAccountClientImplTest { @Mock private JwtCache tenantJwtCacheMock; + @Mock + private JaxRsDpsLog logger; + @InjectMocks @Spy private ServiceAccountJwtAzureClientImpl sut; -- GitLab From 172a2d2c87531c6ed815c3fb4b7a6cc8a28aa140 Mon Sep 17 00:00:00 2001 From: komakkar Date: Fri, 4 Sep 2020 03:37:50 +0530 Subject: [PATCH 06/12] intermediate changes --- provider/notification-azure/pom.xml | 62 ++++-------- .../resources/application-local.properties | 4 + .../notification/util/AppPropertiesTests.java | 34 +++++++ .../util/AzureCosmosPropertiesTest.java | 95 +++++++++++++++++++ .../org.mockito.plugins.MockMaker | 1 + 5 files changed, 155 insertions(+), 41 deletions(-) create mode 100644 provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java create mode 100644 provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java create mode 100644 provider/notification-azure/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker diff --git a/provider/notification-azure/pom.xml b/provider/notification-azure/pom.xml index a6ec6e27..0e44f42f 100644 --- a/provider/notification-azure/pom.xml +++ b/provider/notification-azure/pom.xml @@ -41,6 +41,7 @@ 0.9.0.RELEASE 3.3.0.RELEASE + com.microsoft.azure @@ -53,58 +54,25 @@ - - org.springframework.boot - spring-boot-starter-security - - - ch.qos.logback - logback-classic - - - org.apache.logging.log4j - log4j-to-slf4j - - - - - org.springframework.security.oauth - spring-security-oauth2 - 2.3.6.RELEASE - - - org.springframework.security - spring-security-jwt - 1.0.10.RELEASE - - - org.springframework.security - spring-security-oauth2-client - - - org.springframework.security - spring-security-oauth2-jose - - - org.springframework.boot - spring-boot-configuration-processor - true - + org.opengroup.osdu os-core-common 0.3.4 + org.opengroup.osdu core-lib-azure 0.0.17 + com.auth0 java-jwt 3.8.1 + org.opengroup.osdu notification-core @@ -121,6 +89,7 @@ reactor-netty ${reactor.netty.version} + io.projectreactor reactor-core @@ -140,17 +109,28 @@ 2.1.6.RELEASE - + + + + + org.junit.jupiter + junit-jupiter + RELEASE + test + - com.auth0 - jwks-rsa - 0.11.0 + org.mockito + mockito-junit-jupiter + 2.23.0 + test + diff --git a/provider/notification-azure/src/main/resources/application-local.properties b/provider/notification-azure/src/main/resources/application-local.properties index 798b488d..9ef96f78 100644 --- a/provider/notification-azure/src/main/resources/application-local.properties +++ b/provider/notification-azure/src/main/resources/application-local.properties @@ -15,6 +15,7 @@ # Log settings logging.level.org.springframework.web=DEBUG spring.profiles.active=local +LOG_PREFIX=notification # Service settings app.entitlements=${entitlements_service_endpoint} @@ -38,6 +39,9 @@ tenantInfo.container.name=TenantInfo # Azure KeyVault configuration azure.keyvault.url=${KEYVAULT_URI} +# Application name +spring.application.name=notification-azure + # Logging configuration logging.transaction.enabled=true logging.slf4jlogger.enabled=true diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java new file mode 100644 index 00000000..72b605e1 --- /dev/null +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java @@ -0,0 +1,34 @@ +// Copyright © Microsoft Corporation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package org.opengroup.osdu.notification.util; + +import com.azure.security.keyvault.secrets.SecretClient; +import com.azure.security.keyvault.secrets.models.KeyVaultSecret; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.opengroup.osdu.notification.provider.azure.util.AzureCosmosProperties; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.mockito.Mockito.doReturn; + +@ExtendWith(MockitoExtension.class) +public class AppPropertiesTests { + + +} diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java new file mode 100644 index 00000000..5c424e74 --- /dev/null +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java @@ -0,0 +1,95 @@ +// Copyright © Microsoft Corporation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package org.opengroup.osdu.notification.util; + +import com.azure.security.keyvault.secrets.SecretClient; +import com.azure.security.keyvault.secrets.models.KeyVaultSecret; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.mockito.junit.jupiter.MockitoExtension; +import org.opengroup.osdu.notification.provider.azure.util.AzureCosmosProperties; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.mockito.Mockito.doReturn; + +@ExtendWith(MockitoExtension.class) +public class AzureCosmosPropertiesTest { + + @InjectMocks + private AzureCosmosProperties sut; + + @Mock + private SecretClient kv; + + @Mock + private KeyVaultSecret secret; + + @Test + public void kvSecretChecksForNullResponse() { + // Set-Up + doReturn(null).when(kv).getSecret("secret-name"); + + // Act + IllegalStateException exception = assertThrows(IllegalStateException.class, () ->{ + sut.getKeyVaultSecret(kv, "secret-name"); + }); + + // Assert + assertEquals("No secret found with name secret-name", exception.getMessage()); + } + @Test + public void kvSecretChecksForNullValueWithinResponse() { + // Set-Up + doReturn(null).when(secret).getValue(); + doReturn(secret).when(kv).getSecret("secret-name"); + + // Act + IllegalStateException exception = assertThrows(IllegalStateException.class, () ->{ + sut.getKeyVaultSecret(kv, "secret-name"); + }); + + // Assert + assertEquals("Secret unexpectedly missing from KeyVault response for secret with name secret-name", exception.getMessage()); + } + + @Test + public void configReturnsCorrectSecretCosmosKey() { + // Set-Up + doReturn("cosmos-key-secret").when(secret).getValue(); + doReturn(secret).when(kv).getSecret("cosmos-primary-key"); + + // Act + String secretValue = sut.cosmosKey(kv); + + // Assert + assertEquals( "cosmos-key-secret", secretValue); + } + + @Test + public void configReturnsCorrectSecretCosmosEndpoint() { + // Set-Up + doReturn("cosmos-endpoint-secret").when(secret).getValue(); + doReturn(secret).when(kv).getSecret("cosmos-endpoint"); + + // Act + String secretValue = sut.cosmosEndpoint(kv); + + // Assert + assertEquals( "cosmos-endpoint-secret", secretValue); + } +} diff --git a/provider/notification-azure/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker b/provider/notification-azure/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker new file mode 100644 index 00000000..1f0955d4 --- /dev/null +++ b/provider/notification-azure/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker @@ -0,0 +1 @@ +mock-maker-inline -- GitLab From 50d9062ab591b4f3d860de99fb898d86a0b90f1e Mon Sep 17 00:00:00 2001 From: komakkar Date: Fri, 4 Sep 2020 14:08:04 +0530 Subject: [PATCH 07/12] Added Tests. --- provider/notification-azure/pom.xml | 28 +++-- .../provider/azure/util/AppProperties.java | 2 +- .../azure/util/AzureCosmosProperties.java | 3 +- .../pubsub/EventGridHandshakeHandlerTest.java | 6 +- .../EventGridRequestBodyExtractorTest.java | 2 +- .../notificaion/util/AppPropertiesTests.java | 118 ++++++++++++++++++ .../util/AzureCosmosPropertiesTest.java | 27 ++-- .../AzureServiceAccountValidatorImplTest.java | 4 +- .../util/ServiceAccountClientImplTest.java | 2 +- .../notification/util/AppPropertiesTests.java | 34 ----- 10 files changed, 165 insertions(+), 61 deletions(-) rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notification => notificaion}/pubsub/EventGridHandshakeHandlerTest.java (94%) rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notification => notificaion}/pubsub/EventGridRequestBodyExtractorTest.java (99%) create mode 100644 provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AppPropertiesTests.java rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notification => notificaion}/util/AzureCosmosPropertiesTest.java (82%) rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notification => notificaion}/util/AzureServiceAccountValidatorImplTest.java (94%) rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notification => notificaion}/util/ServiceAccountClientImplTest.java (99%) delete mode 100644 provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java diff --git a/provider/notification-azure/pom.xml b/provider/notification-azure/pom.xml index 0e44f42f..95a5b1e2 100644 --- a/provider/notification-azure/pom.xml +++ b/provider/notification-azure/pom.xml @@ -110,13 +110,6 @@ 2.1.6.RELEASE - - org.junit.jupiter junit-jupiter @@ -130,9 +123,26 @@ 2.23.0 test - + + + ${gitlab-server} + https://community.opengroup.org/api/v4/groups/17/-/packages/maven + + + + + + ${gitlab-server} + https://community.opengroup.org/api/v4/projects/44/packages/maven + + + ${gitlab-server} + https://community.opengroup.org/api/v4/projects/44/packages/maven + + + @@ -165,7 +175,7 @@ spring-boot - org.opengroup.osdu.notification.provider.azure.Application + azure.Application diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java index 32f048a4..8cbc9bb0 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java @@ -103,7 +103,7 @@ public class AppProperties implements IAppProperties { return maxCacheSize; } - private String getKeyVaultSecret(SecretClient kv, String secretName) { + public String getKeyVaultSecret(SecretClient kv, String secretName) { KeyVaultSecret secret = kv.getSecret(secretName); if (secret == null) { logger.error(String.format("Secret unexpectedly missing from KeyVault response for secret with name %s", secretName)); diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java index 81bca28a..258c9229 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java @@ -6,11 +6,12 @@ import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; import org.springframework.stereotype.Component; import javax.inject.Named; -@Component +@Configuration public class AzureCosmosProperties { @Value("${tenantinfo.container.name}") diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridHandshakeHandlerTest.java similarity index 94% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridHandshakeHandlerTest.java index 68f87776..dd3fafc8 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridHandshakeHandlerTest.java @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notification.pubsub; +package org.opengroup.osdu.notificaion.pubsub; import org.junit.Assert; import org.junit.Test; @@ -46,7 +46,7 @@ public class EventGridHandshakeHandlerTest { private EventGridHandshakeHandler sut; @Test - public void should_returnValidResponse_getHandshakeResponse() throws IOException { + public void should_returnValidResponse_getHandshakeResponse() { // Set up when(sut.getHandshakeResponse()).thenReturn("testValidationCode"); String expectedResponse = "{\"ValidationResponse\":\"testValidationCode\"}"; @@ -59,7 +59,7 @@ public class EventGridHandshakeHandlerTest { } @Test - public void should_throw_getHandshakeResponse() throws IOException { + public void should_throw_getHandshakeResponse() { // Set up when(sut.getHandshakeResponse()) .thenThrow(new AppException(HttpStatus.BAD_REQUEST.value(), "Request payload parsing error", "" )); diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridRequestBodyExtractorTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridRequestBodyExtractorTest.java similarity index 99% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridRequestBodyExtractorTest.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridRequestBodyExtractorTest.java index ad875413..c00bd0fc 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridRequestBodyExtractorTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridRequestBodyExtractorTest.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notification.pubsub; +package org.opengroup.osdu.notificaion.pubsub; import org.junit.Assert; import org.junit.Test; diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AppPropertiesTests.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AppPropertiesTests.java new file mode 100644 index 00000000..0d612026 --- /dev/null +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AppPropertiesTests.java @@ -0,0 +1,118 @@ +// Copyright © Microsoft Corporation +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package org.opengroup.osdu.notificaion.util; + +import com.azure.security.keyvault.secrets.SecretClient; +import com.azure.security.keyvault.secrets.models.KeyVaultSecret; +import org.junit.Before; +import org.junit.Test; +import org.mockito.InjectMocks; +import org.mockito.Mock; +import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; +import org.opengroup.osdu.notification.provider.azure.util.AppProperties; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.mockito.Mockito.doReturn; +import static org.mockito.MockitoAnnotations.initMocks; + +public class AppPropertiesTests { + + @Mock + private SecretClient kv; + + @Mock + private KeyVaultSecret secret; + + @Mock + private JaxRsDpsLog logger; + + @InjectMocks + private AppProperties sut; + + @Before + public void init() { + initMocks(this); + } + + @Test + public void should_throwWhenSecretNameIsNull_getKeyVaultSecret() { + // Set-Up + doReturn(null).when(kv).getSecret("secret-name"); + + // Act + IllegalStateException exception = assertThrows(IllegalStateException.class, () ->{ + sut.getKeyVaultSecret(kv, "secret-name"); + }); + + // Assert + assertEquals("No secret found with name secret-name", exception.getMessage()); + } + + @Test + public void should_throwWhenSecretIsMissing_getKeyVaultSecret() { + // Set-Up + doReturn(null).when(secret).getValue(); + doReturn(secret).when(kv).getSecret("secret-name"); + + // Act + IllegalStateException exception = assertThrows(IllegalStateException.class, () ->{ + sut.getKeyVaultSecret(kv, "secret-name"); + }); + + // Assert + assertEquals("Secret unexpectedly missing from KeyVault response for secret with name secret-name", exception.getMessage()); + } + + @Test + public void should_returnRightClientAuth_getCosmosKey() { + // Set-Up + doReturn("client-auth-secret").when(secret).getValue(); + doReturn(secret).when(kv).getSecret("app-dev-sp-password"); + + // Act + String secretValue = sut.getAuthClientSecret(); + + // Assert + assertEquals( "client-auth-secret", secretValue); + } + + @Test + public void should_returnRightCosmosSecret_getCosmosKey() { + // Set-Up + doReturn("cosmos-endpoint-secret").when(secret).getValue(); + doReturn(secret).when(kv).getSecret("app-dev-sp-username"); + + // Act + String secretValue = sut.getAuthClientID(); + + // Assert + assertEquals( "cosmos-endpoint-secret", secretValue); + } + + @Test + public void should_returnRightAuthURL_getCosmosKey() { + // Set-Up + doReturn("cosmos-endpoint-secret").when(secret).getValue(); + doReturn(secret).when(kv).getSecret("app-dev-sp-tenant-id"); + + // Act + String secretValue = sut.getAuthURL(); + + // Assert + assertEquals( "cosmos-endpoint-secret", secretValue); + } + +} diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureCosmosPropertiesTest.java similarity index 82% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureCosmosPropertiesTest.java index 5c424e74..a58cfabb 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureCosmosPropertiesTest.java @@ -12,22 +12,22 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notification.util; +package org.opengroup.osdu.notificaion.util; import com.azure.security.keyvault.secrets.SecretClient; import com.azure.security.keyvault.secrets.models.KeyVaultSecret; -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; +import org.junit.Before; +import org.junit.Test; import org.mockito.InjectMocks; import org.mockito.Mock; -import org.mockito.junit.jupiter.MockitoExtension; +import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; import org.opengroup.osdu.notification.provider.azure.util.AzureCosmosProperties; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.doReturn; +import static org.mockito.MockitoAnnotations.initMocks; -@ExtendWith(MockitoExtension.class) public class AzureCosmosPropertiesTest { @InjectMocks @@ -39,8 +39,16 @@ public class AzureCosmosPropertiesTest { @Mock private KeyVaultSecret secret; + @Mock + private JaxRsDpsLog logger; + + @Before + public void init() { + initMocks(this); + } + @Test - public void kvSecretChecksForNullResponse() { + public void should_throwWhenSecretNameIsNull_getKeyVaultSecret() { // Set-Up doReturn(null).when(kv).getSecret("secret-name"); @@ -52,8 +60,9 @@ public class AzureCosmosPropertiesTest { // Assert assertEquals("No secret found with name secret-name", exception.getMessage()); } + @Test - public void kvSecretChecksForNullValueWithinResponse() { + public void should_throwWhenSecretIsMissing_getKeyVaultSecret() { // Set-Up doReturn(null).when(secret).getValue(); doReturn(secret).when(kv).getSecret("secret-name"); @@ -68,7 +77,7 @@ public class AzureCosmosPropertiesTest { } @Test - public void configReturnsCorrectSecretCosmosKey() { + public void should_returnRightCosmosKey_getCosmosKey() { // Set-Up doReturn("cosmos-key-secret").when(secret).getValue(); doReturn(secret).when(kv).getSecret("cosmos-primary-key"); @@ -81,7 +90,7 @@ public class AzureCosmosPropertiesTest { } @Test - public void configReturnsCorrectSecretCosmosEndpoint() { + public void should_returnRightCosmosSecret_getCosmosKey() { // Set-Up doReturn("cosmos-endpoint-secret").when(secret).getValue(); doReturn(secret).when(kv).getSecret("cosmos-endpoint"); diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureServiceAccountValidatorImplTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureServiceAccountValidatorImplTest.java similarity index 94% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureServiceAccountValidatorImplTest.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureServiceAccountValidatorImplTest.java index 0899d9a4..6589e257 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureServiceAccountValidatorImplTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureServiceAccountValidatorImplTest.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notification.util; +package org.opengroup.osdu.notificaion.util; import org.junit.Assert; import org.junit.Before; @@ -41,7 +41,7 @@ public class AzureServiceAccountValidatorImplTest { @Before public void setup() { - when(this.appProperties.getAadClientID()).thenReturn(this.invalidAADClientID); + when(this.appProperties.getAadClientID()).thenReturn(invalidAADClientID); } @Test diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/ServiceAccountClientImplTest.java similarity index 99% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/ServiceAccountClientImplTest.java index d7099cb5..4e991a7d 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/ServiceAccountClientImplTest.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notification.util; +package org.opengroup.osdu.notificaion.util; import org.apache.http.HttpStatus; import org.junit.Assert; diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java deleted file mode 100644 index 72b605e1..00000000 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright © Microsoft Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package org.opengroup.osdu.notification.util; - -import com.azure.security.keyvault.secrets.SecretClient; -import com.azure.security.keyvault.secrets.models.KeyVaultSecret; -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; -import org.mockito.InjectMocks; -import org.mockito.Mock; -import org.mockito.junit.jupiter.MockitoExtension; -import org.opengroup.osdu.notification.provider.azure.util.AzureCosmosProperties; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertThrows; -import static org.mockito.Mockito.doReturn; - -@ExtendWith(MockitoExtension.class) -public class AppPropertiesTests { - - -} -- GitLab From 2b833ac1a796b02be9e4101c12acaf0022a3a917 Mon Sep 17 00:00:00 2001 From: komakkar Date: Fri, 4 Sep 2020 14:32:24 +0530 Subject: [PATCH 08/12] Cleaning stray changes --- provider/notification-azure/list.txt | 287 ------------ provider/notification-azure/tree.txt | 33 -- tree.txt | 677 --------------------------- 3 files changed, 997 deletions(-) delete mode 100644 provider/notification-azure/list.txt delete mode 100644 provider/notification-azure/tree.txt delete mode 100644 tree.txt diff --git a/provider/notification-azure/list.txt b/provider/notification-azure/list.txt deleted file mode 100644 index fd40e98a..00000000 --- a/provider/notification-azure/list.txt +++ /dev/null @@ -1,287 +0,0 @@ -[INFO] Scanning for projects... -[WARNING] -[WARNING] Some problems were encountered while building the effective model for org.opengroup.osdu:notification-azure:jar:1.0.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 224, column 21 -[WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 198, column 21 -[WARNING] -[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. -[WARNING] -[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. -[WARNING] -[INFO] -[INFO] ---------------< org.opengroup.osdu:notification-azure >---------------- -[INFO] Building notification-azure 1.0.0 -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:list (default-cli) @ notification-azure --- -[INFO] -[INFO] The following files have been resolved: -[INFO] io.netty:netty-codec-dns:jar:4.1.38.Final:compile -[INFO] com.auth0:java-jwt:jar:3.8.1:compile -[INFO] org.apache.lucene:lucene-backward-codecs:jar:7.4.0:compile -[INFO] org.skyscreamer:jsonassert:jar:1.5.0:test -[INFO] org.springframework.security:spring-security-web:jar:5.1.6.RELEASE:compile -[INFO] com.squareup.retrofit2:adapter-rxjava:jar:2.6.2:compile -[INFO] javax.xml.bind:jaxb-api:jar:2.3.1:compile -[INFO] com.fasterxml.uuid:java-uuid-generator:jar:3.1.5:compile -[INFO] org.apache.logging.log4j:log4j-api:jar:2.11.2:compile -[INFO] org.springframework:spring-test:jar:5.1.9.RELEASE:test -[INFO] org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile -[INFO] io.reactivex:rxjava:jar:1.3.8:compile -[INFO] com.google.j2objc:j2objc-annotations:jar:1.3:compile -[INFO] org.apache.lucene:lucene-queries:jar:7.4.0:compile -[INFO] org.apache.lucene:lucene-spatial-extras:jar:7.4.0:compile -[INFO] com.squareup.okhttp3:okhttp-urlconnection:jar:3.12.2:compile -[INFO] io.projectreactor.addons:reactor-pool:jar:0.1.0.RELEASE:compile -[INFO] org.apache.lucene:lucene-core:jar:7.4.0:compile -[INFO] commons-beanutils:commons-beanutils:jar:1.9.2:compile -[INFO] org.elasticsearch:elasticsearch-core:jar:6.4.3:compile -[INFO] org.nanohttpd:nanohttpd:jar:2.3.1:compile -[INFO] javax.activation:javax.activation-api:jar:1.2.0:compile -[INFO] org.mockito:mockito-junit-jupiter:jar:2.23.0:test -[INFO] io.netty:netty-handler:jar:4.1.38.Final:compile -[INFO] org.hibernate.validator:hibernate-validator:jar:6.0.17.Final:compile -[INFO] com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.9:compile -[INFO] org.apiguardian:apiguardian-api:jar:1.0.0:test -[INFO] io.swagger:swagger-core:jar:1.5.22:compile -[INFO] io.netty:netty-codec:jar:4.1.38.Final:compile -[INFO] org.apache.lucene:lucene-analyzers-common:jar:7.4.0:compile -[INFO] org.apache.lucene:lucene-misc:jar:7.4.0:compile -[INFO] com.fasterxml:classmate:jar:1.4.0:compile -[INFO] org.springframework.boot:spring-boot-starter-json:jar:2.1.7.RELEASE:compile -[INFO] com.google.guava:guava:jar:28.2-jre:compile -[INFO] org.mockito:mockito-core:jar:2.23.4:test -[INFO] org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.2.Final:compile -[INFO] org.apache.lucene:lucene-sandbox:jar:7.4.0:compile -[INFO] io.dropwizard.metrics:metrics-core:jar:4.0.5:compile -[INFO] com.microsoft.azure:azure-servicebus:jar:3.1.4:compile -[INFO] org.springframework.security:spring-security-core:jar:5.1.6.RELEASE:compile -[INFO] com.sun.mail:javax.mail:jar:1.6.2:compile -[INFO] org.apache.httpcomponents:httpclient:jar:4.5.9:compile -[INFO] org.apache.commons:commons-lang3:jar:3.8.1:compile -[INFO] com.nimbusds:lang-tag:jar:1.5:compile -[INFO] io.netty:netty-common:jar:4.1.38.Final:compile -[INFO] com.azure:azure-core-http-netty:jar:1.5.3:compile -[INFO] org.asynchttpclient:async-http-client:jar:2.10.4:compile -[INFO] org.apache.logging.log4j:log4j-core:jar:2.11.2:compile -[INFO] org.apache.lucene:lucene-grouping:jar:7.4.0:compile -[INFO] org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile -[INFO] io.projectreactor.netty:reactor-netty:jar:0.9.0.RELEASE:compile -[INFO] com.microsoft.azure:applicationinsights-spring-boot-starter:jar:2.5.1:compile -[INFO] org.apache.lucene:lucene-spatial3d:jar:7.4.0:compile -[INFO] net.minidev:json-smart:jar:2.3:compile -[INFO] com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile -[INFO] org.springframework:spring-web:jar:5.1.9.RELEASE:compile -[INFO] com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.9:compile -[INFO] org.bouncycastle:bcprov-jdk15on:jar:1.60:compile -[INFO] org.junit.jupiter:junit-jupiter-params:jar:5.3.2:test -[INFO] javax.validation:validation-api:jar:2.0.1.Final:compile -[INFO] com.fasterxml.jackson.core:jackson-core:jar:2.9.9:compile -[INFO] io.grpc:grpc-context:jar:1.19.0:compile -[INFO] org.ow2.asm:asm:jar:5.0.4:compile -[INFO] com.typesafe.netty:netty-reactive-streams:jar:2.0.3:compile -[INFO] org.junit.jupiter:junit-jupiter-api:jar:5.3.2:test -[INFO] com.google.oauth-client:google-oauth-client:jar:1.30.1:compile -[INFO] io.springfox:springfox-swagger-common:jar:2.7.0:compile -[INFO] com.google.guava:failureaccess:jar:1.0.1:compile -[INFO] org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile -[INFO] com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile -[INFO] org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile -[INFO] org.springframework.boot:spring-boot-starter:jar:2.1.7.RELEASE:compile -[INFO] com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.9:compile -[INFO] io.netty:netty-codec-http:jar:4.1.38.Final:compile -[INFO] org.reactivestreams:reactive-streams:jar:1.0.2:compile -[INFO] org.springframework.security:spring-security-oauth2-jose:jar:5.1.6.RELEASE:compile -[INFO] com.microsoft.azure:qpid-proton-j-extensions:jar:1.2.2:compile -[INFO] com.azure:azure-identity:jar:1.0.1:compile -[INFO] io.netty:netty-resolver-dns:jar:4.1.38.Final:compile -[INFO] com.google.api-client:google-api-client:jar:1.30.2:compile -[INFO] commons-codec:commons-codec:jar:1.11:compile -[INFO] org.elasticsearch.client:elasticsearch-rest-client:jar:6.4.3:compile -[INFO] org.mapstruct:mapstruct:jar:1.1.0.Final:compile -[INFO] org.elasticsearch.plugin:lang-mustache-client:jar:6.4.3:compile -[INFO] org.elasticsearch:jna:jar:4.5.1:compile -[INFO] com.microsoft.azure:adal4j:jar:1.6.4:compile -[INFO] com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile -[INFO] com.google.code.findbugs:jsr305:jar:3.0.2:compile -[INFO] org.assertj:assertj-core:jar:3.11.1:test -[INFO] org.springframework.boot:spring-boot-starter-undertow:jar:2.1.7.RELEASE:compile -[INFO] com.fasterxml.jackson.core:jackson-databind:jar:2.9.9:compile -[INFO] com.azure:azure-storage-common:jar:12.3.0:compile -[INFO] org.elasticsearch:elasticsearch-x-content:jar:6.4.3:compile -[INFO] org.xmlunit:xmlunit-core:jar:2.6.3:test -[INFO] com.microsoft.azure:applicationinsights-web:jar:2.5.1:compile -[INFO] com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.9:compile -[INFO] com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.9.9:compile -[INFO] com.squareup.okhttp3:logging-interceptor:jar:3.12.2:compile -[INFO] org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:6.4.3:compile -[INFO] org.apache.qpid:proton-j:jar:0.33.2:compile -[INFO] com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.9:compile -[INFO] net.java.dev.jna:jna-platform:jar:4.5.2:compile -[INFO] net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile -[INFO] io.netty:netty-codec-socks:jar:4.1.38.Final:compile -[INFO] joda-time:joda-time:jar:2.10.3:compile -[INFO] commons-digester:commons-digester:jar:1.8.1:compile -[INFO] commons-collections:commons-collections:jar:3.2.2:compile -[INFO] io.netty:netty-tcnative-boringssl-static:jar:2.0.25.Final:compile -[INFO] io.netty:netty-transport-native-unix-common:jar:4.1.38.Final:compile -[INFO] com.squareup.retrofit2:retrofit:jar:2.5.0:compile -[INFO] io.swagger:swagger-models:jar:1.5.13:compile -[INFO] org.springframework:spring-webmvc:jar:5.1.9.RELEASE:compile -[INFO] org.elasticsearch.plugin:aggs-matrix-stats-client:jar:6.4.3:compile -[INFO] org.yaml:snakeyaml:jar:1.23:compile -[INFO] org.junit.jupiter:junit-jupiter:jar:5.6.0:test -[INFO] com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.9.9:compile -[INFO] io.netty:netty-handler-proxy:jar:4.1.38.Final:compile -[INFO] org.bouncycastle:bcpkix-jdk15on:jar:1.60:compile -[INFO] commons-validator:commons-validator:jar:1.6:compile -[INFO] io.netty:netty-codec-http2:jar:4.1.38.Final:compile -[INFO] org.elasticsearch:elasticsearch:jar:6.4.3:compile -[INFO] io.springfox:springfox-swagger-ui:jar:2.7.0:compile -[INFO] org.springframework.boot:spring-boot-actuator:jar:2.1.7.RELEASE:compile -[INFO] org.apache.lucene:lucene-join:jar:7.4.0:compile -[INFO] org.objenesis:objenesis:jar:2.6:test -[INFO] org.springframework.boot:spring-boot-configuration-processor:jar:2.1.7.RELEASE:compile -[INFO] org.apache.commons:commons-text:jar:1.6:compile -[INFO] org.springframework.boot:spring-boot-autoconfigure:jar:2.1.7.RELEASE:compile -[INFO] org.slf4j:slf4j-api:jar:1.7.26:compile -[INFO] org.javassist:javassist:jar:3.21.0-GA:compile -[INFO] javax.annotation:javax.annotation-api:jar:1.3.2:compile -[INFO] org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.22:compile -[INFO] io.jsonwebtoken:jjwt:jar:0.9.1:compile -[INFO] org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile -[INFO] com.google.code.gson:gson:jar:2.8.5:compile -[INFO] org.junit.platform:junit-platform-engine:jar:1.3.2:test -[INFO] commons-logging:commons-logging:jar:1.2:compile -[INFO] org.asynchttpclient:async-http-client-netty-utils:jar:2.10.4:compile -[INFO] org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile -[INFO] com.carrotsearch:hppc:jar:0.7.1:compile -[INFO] org.springframework:spring-context:jar:5.1.9.RELEASE:compile -[INFO] com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.9.9:compile -[INFO] org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.22:compile -[INFO] com.azure:azure-security-keyvault-secrets:jar:4.1.0:compile -[INFO] org.apache.commons:commons-collections4:jar:4.2:compile -[INFO] org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.4.Final:compile -[INFO] org.jboss.xnio:xnio-nio:jar:3.3.8.Final:runtime -[INFO] com.azure:azure-storage-blob:jar:12.3.0:compile -[INFO] org.jboss.xnio:xnio-api:jar:3.3.8.Final:compile -[INFO] com.microsoft.azure:azure-spring-boot-starter:jar:2.1.7:compile -[INFO] org.slf4j:jul-to-slf4j:jar:1.7.26:compile -[INFO] com.microsoft.azure:msal4j:jar:0.5.0-preview:compile -[INFO] io.opencensus:opencensus-contrib-http-util:jar:0.21.0:compile -[INFO] com.github.spullara.mustache.java:compiler:jar:0.9.3:compile -[INFO] com.tdunning:t-digest:jar:3.2:compile -[INFO] org.hdrhistogram:HdrHistogram:jar:2.1.9:compile -[INFO] org.junit.platform:junit-platform-commons:jar:1.3.2:test -[INFO] javax.activation:activation:jar:1.1:compile -[INFO] org.springframework.boot:spring-boot-starter-web:jar:2.1.7.RELEASE:compile -[INFO] org.springframework.boot:spring-boot-starter-validation:jar:2.1.7.RELEASE:compile -[INFO] org.opentest4j:opentest4j:jar:1.1.1:test -[INFO] org.springframework:spring-beans:jar:5.1.9.RELEASE:compile -[INFO] com.microsoft.azure:azure-active-directory-spring-boot-starter:jar:2.1.7:compile -[INFO] com.microsoft.azure:applicationinsights-logging-log4j2:jar:2.5.1:compile -[INFO] net.bytebuddy:byte-buddy:jar:1.9.16:compile -[INFO] org.springframework.security:spring-security-config:jar:5.1.6.RELEASE:compile -[INFO] com.nimbusds:oauth2-oidc-sdk:jar:6.0:compile -[INFO] org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.2:compile -[INFO] org.apache.logging.log4j:log4j-jul:jar:2.11.2:compile -[INFO] org.elasticsearch:elasticsearch-secure-sm:jar:6.4.3:compile -[INFO] org.springframework:spring-expression:jar:5.1.9.RELEASE:compile -[INFO] org.springframework.boot:spring-boot-test:jar:2.1.7.RELEASE:test -[INFO] javax.inject:javax.inject:jar:1:compile -[INFO] io.swagger:swagger-annotations:jar:1.5.13:compile -[INFO] io.netty:netty-transport:jar:4.1.38.Final:compile -[INFO] org.apache.httpcomponents:httpcore:jar:4.4.11:compile -[INFO] org.apache.lucene:lucene-highlighter:jar:7.4.0:compile -[INFO] com.squareup.okhttp3:okhttp:jar:3.12.6:compile -[INFO] com.jayway.jsonpath:json-path:jar:2.4.0:test -[INFO] net.bytebuddy:byte-buddy-agent:jar:1.9.16:test -[INFO] org.springframework.boot:spring-boot:jar:2.1.7.RELEASE:compile -[INFO] org.springframework:spring-aop:jar:5.1.9.RELEASE:compile -[INFO] org.opengroup.osdu:notification-core:jar:1.0.0:compile -[INFO] io.swagger:swagger-jaxrs:jar:1.5.22:compile -[INFO] org.reflections:reflections:jar:0.9.11:compile -[INFO] com.microsoft.azure:azure-annotations:jar:1.10.0:compile -[INFO] org.springframework.boot:spring-boot-starter-test:jar:2.1.6.RELEASE:test -[INFO] io.springfox:springfox-spring-web:jar:2.7.0:compile -[INFO] com.sun.xml.bind:jaxb-core:jar:2.3.0:compile -[INFO] io.springfox:springfox-spi:jar:2.7.0:compile -[INFO] org.elasticsearch:elasticsearch-cli:jar:6.4.3:compile -[INFO] io.springfox:springfox-core:jar:2.7.0:compile -[INFO] javax.servlet:javax.servlet-api:jar:4.0.1:compile -[INFO] org.elasticsearch.plugin:parent-join-client:jar:6.4.3:compile -[INFO] com.squareup.retrofit2:converter-jackson:jar:2.5.0:compile -[INFO] org.apache.httpcomponents:httpcore-nio:jar:4.4.11:compile -[INFO] org.springframework.security:spring-security-oauth2-client:jar:5.1.6.RELEASE:compile -[INFO] org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.22:compile -[INFO] org.opengroup.osdu:core-lib-azure:jar:0.0.17:compile -[INFO] org.hamcrest:hamcrest-library:jar:1.3:test -[INFO] com.squareup.okio:okio:jar:1.15.0:compile -[INFO] io.projectreactor:reactor-core:jar:3.3.0.RELEASE:compile -[INFO] com.auth0:jwks-rsa:jar:0.11.0:compile -[INFO] com.microsoft.azure:azure-client-runtime:jar:1.7.0:compile -[INFO] net.minidev:accessors-smart:jar:1.2:compile -[INFO] com.azure:azure-cosmos:jar:4.0.0-preview.1:compile -[INFO] com.nimbusds:nimbus-jose-jwt:jar:6.0.2:compile -[INFO] org.springframework:spring-core:jar:5.1.9.RELEASE:compile -[INFO] org.springframework:spring-jcl:jar:5.1.9.RELEASE:compile -[INFO] com.microsoft.rest:client-runtime:jar:1.7.0:compile -[INFO] commons-io:commons-io:jar:2.6:compile -[INFO] io.undertow:undertow-servlet:jar:2.0.23.Final:compile -[INFO] io.springfox:springfox-schema:jar:2.7.0:compile -[INFO] org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.7.RELEASE:compile -[INFO] org.projectlombok:lombok:jar:1.18.8:provided -[INFO] com.google.apis:google-api-services-iam:jar:v1-rev289-1.25.0:compile -[INFO] org.hamcrest:hamcrest-core:jar:1.3:test -[INFO] org.glassfish:javax.el:jar:3.0.0:compile -[INFO] com.sun.activation:javax.activation:jar:1.2.0:compile -[INFO] io.netty:netty-buffer:jar:4.1.38.Final:compile -[INFO] org.junit.jupiter:junit-jupiter-engine:jar:5.3.2:test -[INFO] io.micrometer:micrometer-registry-azure-monitor:jar:1.1.5:compile -[INFO] org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.1.7.RELEASE:compile -[INFO] com.google.http-client:google-http-client:jar:1.31.0:compile -[INFO] io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.38.Final:compile -[INFO] org.opengroup.osdu:os-core-common:jar:0.3.4:compile -[INFO] com.azure:azure-core:jar:1.6.0:compile -[INFO] org.springframework.security:spring-security-oauth2-core:jar:5.1.6.RELEASE:compile -[INFO] io.undertow:undertow-websockets-jsr:jar:2.0.23.Final:compile -[INFO] org.checkerframework:checker-qual:jar:2.10.0:compile -[INFO] org.apache.lucene:lucene-queryparser:jar:7.4.0:compile -[INFO] org.springframework.boot:spring-boot-test-autoconfigure:jar:2.1.7.RELEASE:test -[INFO] org.springframework.security.oauth:spring-security-oauth2:jar:2.3.6.RELEASE:compile -[INFO] com.google.errorprone:error_prone_annotations:jar:2.3.4:compile -[INFO] io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.38.Final:compile -[INFO] com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.9.9:compile -[INFO] org.apache.lucene:lucene-memory:jar:7.4.0:compile -[INFO] com.microsoft.azure:applicationinsights-core:jar:2.5.1:compile -[INFO] io.opencensus:opencensus-api:jar:0.21.0:compile -[INFO] com.microsoft.azure:azure-spring-boot:jar:2.1.7:compile -[INFO] org.springframework.boot:spring-boot-starter-security:jar:2.1.7.RELEASE:compile -[INFO] org.springframework.boot:spring-boot-starter-log4j2:jar:2.1.7.RELEASE:compile -[INFO] org.springframework.security:spring-security-jwt:jar:1.0.10.RELEASE:compile -[INFO] org.apache.lucene:lucene-spatial:jar:7.4.0:compile -[INFO] net.java.dev.jna:jna:jar:4.5.2:compile -[INFO] com.fasterxml.woodstox:woodstox-core:jar:5.0.3:compile -[INFO] io.springfox:springfox-swagger2:jar:2.7.0:compile -[INFO] com.microsoft.azure:azure-spring-boot-metrics-starter:jar:2.0.7:compile -[INFO] com.microsoft.azure:azure-client-authentication:jar:1.7.0:compile -[INFO] org.apache.lucene:lucene-suggest:jar:7.4.0:compile -[INFO] org.codehaus.woodstox:stax2-api:jar:3.1.4:compile -[INFO] biz.paluch.redis:lettuce:jar:4.5.0.Final:compile -[INFO] io.undertow:undertow-core:jar:2.0.23.Final:compile -[INFO] junit:junit:jar:4.12:test -[INFO] org.elasticsearch.plugin:rank-eval-client:jar:6.4.3:compile -[INFO] org.latencyutils:LatencyUtils:jar:2.0.3:compile -[INFO] com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile -[INFO] io.micrometer:micrometer-core:jar:1.1.5:compile -[INFO] io.reactivex.rxjava2:rxjava:jar:2.2.11:compile -[INFO] com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test -[INFO] io.netty:netty-resolver:jar:4.1.38.Final:compile -[INFO] com.google.http-client:google-http-client-jackson2:jar:1.30.1:compile -[INFO] -[INFO] ------------------------------------------------------------------------ -[INFO] BUILD SUCCESS -[INFO] ------------------------------------------------------------------------ -[INFO] Total time: 5.708 s -[INFO] Finished at: 2020-09-03T20:18:06+05:30 -[INFO] ------------------------------------------------------------------------ diff --git a/provider/notification-azure/tree.txt b/provider/notification-azure/tree.txt deleted file mode 100644 index 5861071b..00000000 --- a/provider/notification-azure/tree.txt +++ /dev/null @@ -1,33 +0,0 @@ -[INFO] Scanning for projects... -[WARNING] -[WARNING] Some problems were encountered while building the effective model for org.opengroup.osdu:notification-azure:jar:1.0.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 224, column 21 -[WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 198, column 21 -[WARNING] -[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. -[WARNING] -[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. -[WARNING] -Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.pom -Progress (1): 2.7/11 kB Progress (1): 5.5/11 kB Progress (1): 8.2/11 kB Progress (1): 11/11 kB Progress (1): 11 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.pom (11 kB at 3.8 kB/s) -Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/release/maven-release/2.5.3/maven-release-2.5.3.pom -Progress (1): 2.7/5.0 kB Progress (1): 5.0 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/release/maven-release/2.5.3/maven-release-2.5.3.pom (5.0 kB at 7.4 kB/s) -Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.jar -Progress (1): 2.7/53 kB Progress (1): 5.5/53 kB Progress (1): 8.2/53 kB Progress (1): 11/53 kB Progress (1): 14/53 kB Progress (1): 16/53 kB Progress (1): 19/53 kB Progress (1): 22/53 kB Progress (1): 25/53 kB Progress (1): 27/53 kB Progress (1): 30/53 kB Progress (1): 33/53 kB Progress (1): 36/53 kB Progress (1): 38/53 kB Progress (1): 41/53 kB Progress (1): 44/53 kB Progress (1): 47/53 kB Progress (1): 49/53 kB Progress (1): 52/53 kB Progress (1): 53 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.jar (53 kB at 50 kB/s) -Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml -Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml -Progress (1): 2.7/14 kB Progress (1): 5.5/14 kB Progress (1): 8.2/14 kB Progress (1): 11/14 kB Progress (1): 14/14 kB Progress (1): 14 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 20 kB/s) -Progress (1): 2.7/20 kB Progress (1): 5.5/20 kB Progress (1): 8.2/20 kB Progress (1): 11/20 kB Progress (1): 14/20 kB Progress (1): 16/20 kB Progress (1): 19/20 kB Progress (1): 20 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 kB at 12 kB/s) -[INFO] ------------------------------------------------------------------------ -[INFO] BUILD FAILURE -[INFO] ------------------------------------------------------------------------ -[INFO] Total time: 10.341 s -[INFO] Finished at: 2020-09-03T20:11:02+05:30 -[INFO] ------------------------------------------------------------------------ -[ERROR] No plugin found for prefix 'dependeny' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\komakkar\.m2\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] -[ERROR] -[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. -[ERROR] Re-run Maven using the -X switch to enable full debug logging. -[ERROR] -[ERROR] For more information about the errors and possible solutions, please read the following articles: -[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException diff --git a/tree.txt b/tree.txt deleted file mode 100644 index c6346f7e..00000000 --- a/tree.txt +++ /dev/null @@ -1,677 +0,0 @@ -[INFO] Scanning for projects... -[WARNING] -[WARNING] Some problems were encountered while building the effective model for org.opengroup.osdu:notification-gcp:jar:1.0.0 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 141, column 21 -[WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 105, column 21 -[WARNING] -[WARNING] Some problems were encountered while building the effective model for org.opengroup.osdu:notification-azure:jar:1.0.0 -[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework.boot:spring-boot-starter-test:jar -> version 2.1.6.RELEASE vs (?) @ line 170, column 21 -[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 224, column 21 -[WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 198, column 21 -[WARNING] -[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. -[WARNING] -[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. -[WARNING] -[INFO] ------------------------------------------------------------------------ -[INFO] Reactor Build Order: -[INFO] -[INFO] os-notification [pom] -[INFO] notification-core [jar] -[INFO] notification-gcp [jar] -[INFO] notification-azure [jar] -[INFO] -[INFO] -----------------< org.opengroup.osdu:os-notification >----------------- -[INFO] Building os-notification 1.0.0 [1/4] -[INFO] --------------------------------[ pom ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ os-notification --- -[INFO] org.opengroup.osdu:os-notification:pom:1.0.0 -[INFO] \- org.projectlombok:lombok:jar:1.18.8:provided -[INFO] -[INFO] ----------------< org.opengroup.osdu:notification-core >---------------- -[INFO] Building notification-core 1.0.0 [2/4] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ notification-core --- -[INFO] org.opengroup.osdu:notification-core:jar:1.0.0 -[INFO] +- org.opengroup.osdu:os-core-common:jar:0.3.6:compile -[INFO] | +- javax.inject:javax.inject:jar:1:compile -[INFO] | +- javax.validation:validation-api:jar:2.0.1.Final:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.9:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.9:compile -[INFO] | +- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.9:compile -[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.9:compile -[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.9:compile -[INFO] | +- io.jsonwebtoken:jjwt:jar:0.9.1:compile -[INFO] | +- biz.paluch.redis:lettuce:jar:4.5.0.Final:compile -[INFO] | | +- io.reactivex:rxjava:jar:1.3.8:compile -[INFO] | | +- io.netty:netty-common:jar:4.1.38.Final:compile -[INFO] | | +- io.netty:netty-transport:jar:4.1.38.Final:compile -[INFO] | | | +- io.netty:netty-buffer:jar:4.1.38.Final:compile -[INFO] | | | \- io.netty:netty-resolver:jar:4.1.38.Final:compile -[INFO] | | \- io.netty:netty-handler:jar:4.1.38.Final:compile -[INFO] | | \- io.netty:netty-codec:jar:4.1.38.Final:compile -[INFO] | +- org.apache.commons:commons-lang3:jar:3.8.1:compile -[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.9:compile -[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.11:compile -[INFO] | +- io.swagger:swagger-jaxrs:jar:1.5.22:compile -[INFO] | | +- io.swagger:swagger-core:jar:1.5.22:compile -[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.9:compile -[INFO] | | \- org.reflections:reflections:jar:0.9.11:compile -[INFO] | | \- org.javassist:javassist:jar:3.21.0-GA:compile -[INFO] | +- org.elasticsearch:elasticsearch:jar:6.4.3:compile -[INFO] | | +- org.elasticsearch:elasticsearch-core:jar:6.4.3:compile -[INFO] | | +- org.elasticsearch:elasticsearch-secure-sm:jar:6.4.3:compile -[INFO] | | +- org.elasticsearch:elasticsearch-x-content:jar:6.4.3:compile -[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.9.9:compile -[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.9.9:compile -[INFO] | | +- org.apache.lucene:lucene-core:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-analyzers-common:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-backward-codecs:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-grouping:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-highlighter:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-join:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-memory:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-misc:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-queries:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-queryparser:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-sandbox:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-spatial:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-spatial-extras:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-spatial3d:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-suggest:jar:7.4.0:compile -[INFO] | | +- org.elasticsearch:elasticsearch-cli:jar:6.4.3:compile -[INFO] | | | \- net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile -[INFO] | | +- com.carrotsearch:hppc:jar:0.7.1:compile -[INFO] | | +- joda-time:joda-time:jar:2.10.3:compile -[INFO] | | +- com.tdunning:t-digest:jar:3.2:compile -[INFO] | | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile -[INFO] | | +- org.apache.logging.log4j:log4j-api:jar:2.11.2:compile -[INFO] | | \- org.elasticsearch:jna:jar:4.5.1:compile -[INFO] | +- org.elasticsearch.client:elasticsearch-rest-client:jar:6.4.3:compile -[INFO] | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile -[INFO] | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4.11:compile -[INFO] | \- org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:6.4.3:compile -[INFO] | +- org.elasticsearch.plugin:parent-join-client:jar:6.4.3:compile -[INFO] | +- org.elasticsearch.plugin:aggs-matrix-stats-client:jar:6.4.3:compile -[INFO] | +- org.elasticsearch.plugin:rank-eval-client:jar:6.4.3:compile -[INFO] | \- org.elasticsearch.plugin:lang-mustache-client:jar:6.4.3:compile -[INFO] | \- com.github.spullara.mustache.java:compiler:jar:0.9.3:compile -[INFO] +- org.projectlombok:lombok:jar:1.18.8:provided -[INFO] +- com.google.http-client:google-http-client:jar:1.30.1:compile -[INFO] | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile -[INFO] | +- com.google.j2objc:j2objc-annotations:jar:1.3:compile -[INFO] | +- io.opencensus:opencensus-api:jar:0.21.0:compile -[INFO] | | \- io.grpc:grpc-context:jar:1.19.0:compile -[INFO] | \- io.opencensus:opencensus-contrib-http-util:jar:0.21.0:compile -[INFO] +- com.google.oauth-client:google-oauth-client:jar:1.30.1:compile -[INFO] +- com.google.api-client:google-api-client:jar:1.30.2:compile -[INFO] | \- com.google.http-client:google-http-client-jackson2:jar:1.30.1:compile -[INFO] +- com.google.guava:guava:jar:27.0-jre:compile -[INFO] | +- com.google.guava:failureaccess:jar:1.0:compile -[INFO] | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile -[INFO] | +- org.checkerframework:checker-qual:jar:2.5.2:compile -[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.2.0:compile -[INFO] | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.17:compile -[INFO] +- javax.xml.bind:jaxb-api:jar:2.3.0:compile -[INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile -[INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile -[INFO] +- com.google.apis:google-api-services-iam:jar:v1-rev289-1.25.0:compile -[INFO] +- com.auth0:java-jwt:jar:3.8.3:compile -[INFO] | \- commons-codec:commons-codec:jar:1.11:compile -[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.1.7.RELEASE:compile -[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.1.7.RELEASE:compile -[INFO] | | +- org.springframework.boot:spring-boot:jar:2.1.7.RELEASE:compile -[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.7.RELEASE:compile -[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.1.7.RELEASE:compile -[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile -[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile -[INFO] | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.11.2:compile -[INFO] | | | \- org.slf4j:jul-to-slf4j:jar:1.7.26:compile -[INFO] | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile -[INFO] | | \- org.yaml:snakeyaml:jar:1.23:compile -[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.1.7.RELEASE:compile -[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.7.RELEASE:compile -[INFO] | +- org.springframework:spring-web:jar:5.1.9.RELEASE:compile -[INFO] | \- org.springframework:spring-webmvc:jar:5.1.9.RELEASE:compile -[INFO] +- org.springframework.boot:spring-boot-starter-undertow:jar:2.2.2.RELEASE:compile -[INFO] | +- io.undertow:undertow-servlet:jar:2.0.23.Final:compile -[INFO] | | \- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.2.Final:compile -[INFO] | +- io.undertow:undertow-websockets-jsr:jar:2.0.23.Final:compile -[INFO] | | \- org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.4.Final:compile -[INFO] | +- jakarta.servlet:jakarta.servlet-api:jar:4.0.3:compile -[INFO] | \- org.glassfish:jakarta.el:jar:3.0.3:compile -[INFO] +- io.undertow:undertow-core:jar:2.0.27.Final:compile -[INFO] | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile -[INFO] | +- org.jboss.xnio:xnio-api:jar:3.3.8.Final:compile -[INFO] | \- org.jboss.xnio:xnio-nio:jar:3.3.8.Final:runtime -[INFO] +- org.springframework.boot:spring-boot-starter-validation:jar:2.2.2.RELEASE:compile -[INFO] | +- jakarta.validation:jakarta.validation-api:jar:2.0.1:compile -[INFO] | \- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.22:compile -[INFO] +- org.hibernate.validator:hibernate-validator:jar:6.1.0.Final:compile -[INFO] | \- com.fasterxml:classmate:jar:1.4.0:compile -[INFO] +- org.springframework.security:spring-security-config:jar:5.1.6.RELEASE:compile -[INFO] | +- org.springframework.security:spring-security-core:jar:5.1.6.RELEASE:compile -[INFO] | +- org.springframework:spring-aop:jar:5.1.9.RELEASE:compile -[INFO] | +- org.springframework:spring-beans:jar:5.1.9.RELEASE:compile -[INFO] | +- org.springframework:spring-context:jar:5.1.9.RELEASE:compile -[INFO] | \- org.springframework:spring-core:jar:5.1.9.RELEASE:compile -[INFO] | \- org.springframework:spring-jcl:jar:5.1.9.RELEASE:compile -[INFO] +- org.springframework.security:spring-security-web:jar:5.1.6.RELEASE:compile -[INFO] | \- org.springframework:spring-expression:jar:5.1.9.RELEASE:compile -[INFO] +- com.google.code.gson:gson:jar:2.8.5:compile -[INFO] +- io.springfox:springfox-swagger2:jar:2.7.0:compile -[INFO] | +- io.swagger:swagger-annotations:jar:1.5.13:compile -[INFO] | +- io.swagger:swagger-models:jar:1.5.13:compile -[INFO] | +- io.springfox:springfox-spi:jar:2.7.0:compile -[INFO] | | \- io.springfox:springfox-core:jar:2.7.0:compile -[INFO] | | \- net.bytebuddy:byte-buddy:jar:1.9.16:compile -[INFO] | +- io.springfox:springfox-schema:jar:2.7.0:compile -[INFO] | +- io.springfox:springfox-swagger-common:jar:2.7.0:compile -[INFO] | +- io.springfox:springfox-spring-web:jar:2.7.0:compile -[INFO] | +- org.slf4j:slf4j-api:jar:1.7.26:compile -[INFO] | +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile -[INFO] | +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile -[INFO] | \- org.mapstruct:mapstruct:jar:1.1.0.Final:compile -[INFO] +- io.springfox:springfox-swagger-ui:jar:2.7.0:compile -[INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.2:test -[INFO] | +- org.powermock:powermock-api-support:jar:2.0.2:test -[INFO] | | +- org.powermock:powermock-reflect:jar:2.0.2:test -[INFO] | | | \- net.bytebuddy:byte-buddy-agent:jar:1.9.16:test -[INFO] | | \- org.powermock:powermock-core:jar:2.0.2:test -[INFO] | \- org.mockito:mockito-core:jar:2.23.4:test -[INFO] | \- org.objenesis:objenesis:jar:2.6:test -[INFO] +- org.powermock:powermock-module-junit4:jar:2.0.2:test -[INFO] | +- org.powermock:powermock-module-junit4-common:jar:2.0.2:test -[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test -[INFO] +- org.mockito:mockito-all:jar:2.0.2-beta:test -[INFO] +- junit:junit:jar:4.12:test -[INFO] \- org.springframework:spring-test:jar:5.1.9.RELEASE:test -[INFO] -[INFO] ----------------< org.opengroup.osdu:notification-gcp >----------------- -[INFO] Building notification-gcp 1.0.0 [3/4] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ notification-gcp --- -[INFO] org.opengroup.osdu:notification-gcp:jar:1.0.0 -[INFO] +- org.opengroup.osdu:os-core-common:jar:0.3.6:compile -[INFO] | +- org.springframework.boot:spring-boot-starter-web:jar:2.1.7.RELEASE:compile -[INFO] | | +- org.springframework.boot:spring-boot-starter:jar:2.1.7.RELEASE:compile -[INFO] | | | +- org.springframework.boot:spring-boot:jar:2.1.7.RELEASE:compile -[INFO] | | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.7.RELEASE:compile -[INFO] | | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.1.7.RELEASE:compile -[INFO] | | | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile -[INFO] | | | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile -[INFO] | | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.11.2:compile -[INFO] | | | | \- org.slf4j:jul-to-slf4j:jar:1.7.26:compile -[INFO] | | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile -[INFO] | | | \- org.yaml:snakeyaml:jar:1.23:compile -[INFO] | | +- org.springframework.boot:spring-boot-starter-json:jar:2.1.7.RELEASE:compile -[INFO] | | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.7.RELEASE:compile -[INFO] | | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.22:compile -[INFO] | | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.22:compile -[INFO] | | +- org.springframework:spring-web:jar:5.1.9.RELEASE:compile -[INFO] | | \- org.springframework:spring-webmvc:jar:5.1.9.RELEASE:compile -[INFO] | +- javax.inject:javax.inject:jar:1:compile -[INFO] | +- javax.validation:validation-api:jar:2.0.1.Final:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.9:compile -[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile -[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.9:compile -[INFO] | +- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.9:compile -[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.9:compile -[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.9:compile -[INFO] | +- com.auth0:java-jwt:jar:3.8.1:compile -[INFO] | +- io.jsonwebtoken:jjwt:jar:0.9.1:compile -[INFO] | +- biz.paluch.redis:lettuce:jar:4.5.0.Final:compile -[INFO] | | +- io.reactivex:rxjava:jar:1.3.8:compile -[INFO] | | +- io.netty:netty-common:jar:4.1.38.Final:compile -[INFO] | | +- io.netty:netty-transport:jar:4.1.38.Final:compile -[INFO] | | | +- io.netty:netty-buffer:jar:4.1.38.Final:compile -[INFO] | | | \- io.netty:netty-resolver:jar:4.1.38.Final:compile -[INFO] | | \- io.netty:netty-handler:jar:4.1.38.Final:compile -[INFO] | | \- io.netty:netty-codec:jar:4.1.38.Final:compile -[INFO] | +- com.google.guava:guava:jar:28.2-jre:compile -[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile -[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile -[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile -[INFO] | | +- org.checkerframework:checker-qual:jar:2.10.0:compile -[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile -[INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile -[INFO] | +- com.google.code.gson:gson:jar:2.8.5:compile -[INFO] | +- com.google.http-client:google-http-client:jar:1.31.0:compile -[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.11:compile -[INFO] | | +- io.opencensus:opencensus-api:jar:0.21.0:compile -[INFO] | | | \- io.grpc:grpc-context:jar:1.19.0:compile -[INFO] | | \- io.opencensus:opencensus-contrib-http-util:jar:0.21.0:compile -[INFO] | +- org.apache.commons:commons-lang3:jar:3.8.1:compile -[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.9:compile -[INFO] | +- io.swagger:swagger-jaxrs:jar:1.5.22:compile -[INFO] | | +- io.swagger:swagger-core:jar:1.5.22:compile -[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.9:compile -[INFO] | | \- org.reflections:reflections:jar:0.9.11:compile -[INFO] | | \- org.javassist:javassist:jar:3.21.0-GA:compile -[INFO] | +- org.elasticsearch:elasticsearch:jar:6.4.3:compile -[INFO] | | +- org.elasticsearch:elasticsearch-core:jar:6.4.3:compile -[INFO] | | +- org.elasticsearch:elasticsearch-secure-sm:jar:6.4.3:compile -[INFO] | | +- org.elasticsearch:elasticsearch-x-content:jar:6.4.3:compile -[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.9.9:compile -[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.9.9:compile -[INFO] | | +- org.apache.lucene:lucene-core:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-analyzers-common:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-backward-codecs:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-grouping:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-highlighter:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-join:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-memory:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-misc:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-queries:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-queryparser:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-sandbox:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-spatial:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-spatial-extras:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-spatial3d:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-suggest:jar:7.4.0:compile -[INFO] | | +- org.elasticsearch:elasticsearch-cli:jar:6.4.3:compile -[INFO] | | | \- net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile -[INFO] | | +- com.carrotsearch:hppc:jar:0.7.1:compile -[INFO] | | +- joda-time:joda-time:jar:2.10.3:compile -[INFO] | | +- com.tdunning:t-digest:jar:3.2:compile -[INFO] | | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile -[INFO] | | +- org.apache.logging.log4j:log4j-api:jar:2.11.2:compile -[INFO] | | \- org.elasticsearch:jna:jar:4.5.1:compile -[INFO] | +- org.elasticsearch.client:elasticsearch-rest-client:jar:6.4.3:compile -[INFO] | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile -[INFO] | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4.11:compile -[INFO] | \- org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:6.4.3:compile -[INFO] | +- org.elasticsearch.plugin:parent-join-client:jar:6.4.3:compile -[INFO] | +- org.elasticsearch.plugin:aggs-matrix-stats-client:jar:6.4.3:compile -[INFO] | +- org.elasticsearch.plugin:rank-eval-client:jar:6.4.3:compile -[INFO] | \- org.elasticsearch.plugin:lang-mustache-client:jar:6.4.3:compile -[INFO] | \- com.github.spullara.mustache.java:compiler:jar:0.9.3:compile -[INFO] +- org.opengroup.osdu:core-lib-gcp:jar:0.1.21:compile -[INFO] | +- com.google.apis:google-api-services-iam:jar:v1-rev281-1.25.0:compile -[INFO] | +- com.google.apis:google-api-services-cloudkms:jar:v1-rev86-1.24.1:compile -[INFO] | +- commons-codec:commons-codec:jar:1.11:compile -[INFO] | +- com.google.cloud:google-cloud-datastore:jar:1.86.0:compile -[INFO] | | +- com.google.cloud:google-cloud-core-http:jar:1.86.0:compile -[INFO] | | | +- com.google.cloud:google-cloud-core:jar:1.86.0:compile -[INFO] | | | | +- com.google.api:gax:jar:1.47.1:compile -[INFO] | | | | \- com.google.protobuf:protobuf-java-util:jar:3.7.1:compile -[INFO] | | | +- com.google.auth:google-auth-library-credentials:jar:0.16.2:compile -[INFO] | | | +- com.google.auth:google-auth-library-oauth2-http:jar:0.16.2:compile -[INFO] | | | +- com.google.http-client:google-http-client-appengine:jar:1.31.0:compile -[INFO] | | | \- com.google.api:gax-httpjson:jar:0.64.1:compile -[INFO] | | | \- org.threeten:threetenbp:jar:1.3.3:compile -[INFO] | | +- com.google.api.grpc:proto-google-cloud-datastore-v1:jar:0.69.0:compile -[INFO] | | | +- com.google.protobuf:protobuf-java:jar:3.7.1:compile -[INFO] | | | +- com.google.api:api-common:jar:1.8.1:compile -[INFO] | | | \- com.google.api.grpc:proto-google-common-protos:jar:1.16.0:compile -[INFO] | | +- com.google.cloud.datastore:datastore-v1-proto-client:jar:1.6.0:compile -[INFO] | | | +- com.google.http-client:google-http-client-protobuf:jar:1.20.0:compile -[INFO] | | | \- com.google.http-client:google-http-client-jackson:jar:1.20.0:compile -[INFO] | | | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.11:compile -[INFO] | | \- io.grpc:grpc-core:jar:1.21.0:compile -[INFO] | | +- io.grpc:grpc-api:jar:1.21.0:compile (version selected from constraint [1.21.0,1.21.0]) -[INFO] | | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.17:compile -[INFO] | | +- com.google.android:annotations:jar:4.1.1.4:compile -[INFO] | | \- io.opencensus:opencensus-contrib-grpc-metrics:jar:0.21.0:compile -[INFO] | +- com.google.cloud:google-cloud-storage:jar:1.86.0:compile -[INFO] | | \- com.google.apis:google-api-services-storage:jar:v1-rev20190624-1.30.1:compile -[INFO] | +- com.google.cloud:google-cloud-pubsub:jar:1.86.0:compile -[INFO] | | +- com.google.cloud:google-cloud-core-grpc:jar:1.86.0:compile -[INFO] | | | \- com.google.api:gax-grpc:jar:1.47.1:compile -[INFO] | | | +- io.grpc:grpc-auth:jar:1.21.0:compile -[INFO] | | | +- io.grpc:grpc-netty-shaded:jar:1.21.0:compile -[INFO] | | | \- io.grpc:grpc-alts:jar:1.21.0:compile -[INFO] | | | \- io.grpc:grpc-grpclb:jar:1.21.0:compile -[INFO] | | +- com.google.api.grpc:proto-google-cloud-pubsub-v1:jar:1.68.0:compile -[INFO] | | | \- com.google.api.grpc:proto-google-iam-v1:jar:0.12.0:compile -[INFO] | | \- com.google.api.grpc:grpc-google-cloud-pubsub-v1:jar:1.68.0:compile -[INFO] | | +- io.grpc:grpc-stub:jar:1.21.0:compile -[INFO] | | \- io.grpc:grpc-protobuf:jar:1.21.0:compile -[INFO] | | \- io.grpc:grpc-protobuf-lite:jar:1.21.0:compile -[INFO] | \- com.google.cloud:google-cloud-logging:jar:1.86.0:compile -[INFO] | \- com.google.api.grpc:proto-google-cloud-logging-v2:jar:0.69.0:compile -[INFO] +- org.opengroup.osdu:notification-core:jar:1.0.0:compile -[INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.30.1:compile -[INFO] | +- com.google.api-client:google-api-client:jar:1.30.2:compile -[INFO] | | \- com.google.http-client:google-http-client-jackson2:jar:1.30.1:compile -[INFO] | +- javax.xml.bind:jaxb-api:jar:2.3.1:compile -[INFO] | | \- javax.activation:javax.activation-api:jar:1.2.0:compile -[INFO] | +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile -[INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile -[INFO] | +- org.springframework.boot:spring-boot-starter-undertow:jar:2.1.7.RELEASE:compile -[INFO] | | +- io.undertow:undertow-servlet:jar:2.0.23.Final:compile -[INFO] | | | \- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.2.Final:compile -[INFO] | | +- io.undertow:undertow-websockets-jsr:jar:2.0.23.Final:compile -[INFO] | | | \- org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.4.Final:compile -[INFO] | | +- javax.servlet:javax.servlet-api:jar:4.0.1:compile -[INFO] | | \- org.glassfish:javax.el:jar:3.0.0:compile -[INFO] | +- io.undertow:undertow-core:jar:2.0.23.Final:compile -[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile -[INFO] | | +- org.jboss.xnio:xnio-api:jar:3.3.8.Final:compile -[INFO] | | \- org.jboss.xnio:xnio-nio:jar:3.3.8.Final:runtime -[INFO] | +- org.springframework.boot:spring-boot-starter-validation:jar:2.1.7.RELEASE:compile -[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.22:compile -[INFO] | +- org.hibernate.validator:hibernate-validator:jar:6.0.17.Final:compile -[INFO] | | \- com.fasterxml:classmate:jar:1.4.0:compile -[INFO] | +- org.springframework.security:spring-security-config:jar:5.1.6.RELEASE:compile -[INFO] | | +- org.springframework.security:spring-security-core:jar:5.1.6.RELEASE:compile -[INFO] | | +- org.springframework:spring-aop:jar:5.1.9.RELEASE:compile -[INFO] | | +- org.springframework:spring-beans:jar:5.1.9.RELEASE:compile -[INFO] | | +- org.springframework:spring-context:jar:5.1.9.RELEASE:compile -[INFO] | | \- org.springframework:spring-core:jar:5.1.9.RELEASE:compile -[INFO] | | \- org.springframework:spring-jcl:jar:5.1.9.RELEASE:compile -[INFO] | +- org.springframework.security:spring-security-web:jar:5.1.6.RELEASE:compile -[INFO] | | \- org.springframework:spring-expression:jar:5.1.9.RELEASE:compile -[INFO] | +- io.springfox:springfox-swagger2:jar:2.7.0:compile -[INFO] | | +- io.swagger:swagger-annotations:jar:1.5.13:compile -[INFO] | | +- io.swagger:swagger-models:jar:1.5.13:compile -[INFO] | | +- io.springfox:springfox-spi:jar:2.7.0:compile -[INFO] | | | \- io.springfox:springfox-core:jar:2.7.0:compile -[INFO] | | +- io.springfox:springfox-schema:jar:2.7.0:compile -[INFO] | | +- io.springfox:springfox-swagger-common:jar:2.7.0:compile -[INFO] | | +- io.springfox:springfox-spring-web:jar:2.7.0:compile -[INFO] | | +- org.slf4j:slf4j-api:jar:1.7.26:compile -[INFO] | | +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile -[INFO] | | +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile -[INFO] | | \- org.mapstruct:mapstruct:jar:1.1.0.Final:compile -[INFO] | \- io.springfox:springfox-swagger-ui:jar:2.7.0:compile -[INFO] +- org.powermock:powermock-api-mockito2:jar:2.0.2:test -[INFO] | +- org.powermock:powermock-api-support:jar:2.0.2:test -[INFO] | | +- org.powermock:powermock-reflect:jar:2.0.2:test -[INFO] | | | +- net.bytebuddy:byte-buddy:jar:1.9.16:compile -[INFO] | | | \- net.bytebuddy:byte-buddy-agent:jar:1.9.16:test -[INFO] | | \- org.powermock:powermock-core:jar:2.0.2:test -[INFO] | \- org.mockito:mockito-core:jar:2.23.4:test -[INFO] | \- org.objenesis:objenesis:jar:2.6:test -[INFO] +- org.powermock:powermock-module-junit4:jar:2.0.2:test -[INFO] | +- org.powermock:powermock-module-junit4-common:jar:2.0.2:test -[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test -[INFO] +- org.mockito:mockito-all:jar:2.0.2-beta:test -[INFO] +- junit:junit:jar:4.12:test -[INFO] \- org.projectlombok:lombok:jar:1.18.8:provided -[INFO] -[INFO] ---------------< org.opengroup.osdu:notification-azure >---------------- -[INFO] Building notification-azure 1.0.0 [4/4] -[INFO] --------------------------------[ jar ]--------------------------------- -[INFO] -[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ notification-azure --- -[INFO] org.opengroup.osdu:notification-azure:jar:1.0.0 -[INFO] +- com.microsoft.azure:azure-active-directory-spring-boot-starter:jar:2.1.7:compile -[INFO] | +- com.microsoft.azure:azure-spring-boot-starter:jar:2.1.7:compile -[INFO] | | \- com.microsoft.azure:azure-spring-boot:jar:2.1.7:compile -[INFO] | +- org.springframework:spring-web:jar:5.1.9.RELEASE:compile -[INFO] | +- org.springframework.security:spring-security-core:jar:5.1.6.RELEASE:compile -[INFO] | | \- org.springframework:spring-expression:jar:5.1.9.RELEASE:compile -[INFO] | +- org.springframework.security:spring-security-web:jar:5.1.6.RELEASE:compile -[INFO] | +- org.springframework.security:spring-security-config:jar:5.1.6.RELEASE:compile -[INFO] | +- com.microsoft.azure:adal4j:jar:1.6.4:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.9.9:compile -[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile -[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.9:compile -[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:2.1.7.RELEASE:compile -[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.1.7.RELEASE:compile -[INFO] | | +- org.springframework.boot:spring-boot:jar:2.1.7.RELEASE:compile -[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.7.RELEASE:compile -[INFO] | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile -[INFO] | | \- org.yaml:snakeyaml:jar:1.23:compile -[INFO] | \- org.springframework:spring-aop:jar:5.1.9.RELEASE:compile -[INFO] +- org.springframework.security.oauth:spring-security-oauth2:jar:2.3.6.RELEASE:compile -[INFO] | +- org.springframework:spring-beans:jar:5.1.9.RELEASE:compile -[INFO] | +- org.springframework:spring-core:jar:5.1.9.RELEASE:compile -[INFO] | | \- org.springframework:spring-jcl:jar:5.1.9.RELEASE:compile -[INFO] | +- org.springframework:spring-context:jar:5.1.9.RELEASE:compile -[INFO] | +- org.springframework:spring-webmvc:jar:5.1.9.RELEASE:compile -[INFO] | +- commons-codec:commons-codec:jar:1.11:compile -[INFO] | \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile -[INFO] | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile -[INFO] +- org.springframework.security:spring-security-jwt:jar:1.0.10.RELEASE:compile -[INFO] | \- org.bouncycastle:bcpkix-jdk15on:jar:1.60:compile -[INFO] | \- org.bouncycastle:bcprov-jdk15on:jar:1.60:compile -[INFO] +- org.springframework.security:spring-security-oauth2-client:jar:5.1.6.RELEASE:compile -[INFO] | +- com.nimbusds:oauth2-oidc-sdk:jar:6.0:compile -[INFO] | | +- com.sun.mail:javax.mail:jar:1.6.2:compile -[INFO] | | | \- javax.activation:activation:jar:1.1:compile -[INFO] | | +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile -[INFO] | | +- net.minidev:json-smart:jar:2.3:compile (version selected from constraint [1.3.1,2.3]) -[INFO] | | | \- net.minidev:accessors-smart:jar:1.2:compile -[INFO] | | | \- org.ow2.asm:asm:jar:5.0.4:compile -[INFO] | | \- com.nimbusds:lang-tag:jar:1.5:compile (version selected from constraint [1.4.3,)) -[INFO] | \- org.springframework.security:spring-security-oauth2-core:jar:5.1.6.RELEASE:compile -[INFO] +- org.springframework.security:spring-security-oauth2-jose:jar:5.1.6.RELEASE:compile -[INFO] | \- com.nimbusds:nimbus-jose-jwt:jar:6.0.2:compile -[INFO] +- org.springframework.boot:spring-boot-configuration-processor:jar:2.1.7.RELEASE:compile -[INFO] +- org.opengroup.osdu:os-core-common:jar:0.3.4:compile -[INFO] | +- org.springframework.boot:spring-boot-starter-web:jar:2.1.7.RELEASE:compile -[INFO] | | +- org.springframework.boot:spring-boot-starter-json:jar:2.1.7.RELEASE:compile -[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.9:compile -[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.9:compile -[INFO] | | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.9:compile -[INFO] | | \- org.springframework.boot:spring-boot-starter-tomcat:jar:2.1.7.RELEASE:compile -[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.22:compile -[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.22:compile -[INFO] | +- javax.inject:javax.inject:jar:1:compile -[INFO] | +- javax.validation:validation-api:jar:2.0.1.Final:compile -[INFO] | +- io.jsonwebtoken:jjwt:jar:0.9.1:compile -[INFO] | +- biz.paluch.redis:lettuce:jar:4.5.0.Final:compile -[INFO] | | +- io.reactivex:rxjava:jar:1.3.8:compile -[INFO] | | +- io.netty:netty-common:jar:4.1.38.Final:compile -[INFO] | | \- io.netty:netty-transport:jar:4.1.38.Final:compile -[INFO] | | \- io.netty:netty-resolver:jar:4.1.38.Final:compile -[INFO] | +- com.google.guava:guava:jar:28.2-jre:compile -[INFO] | | +- com.google.guava:failureaccess:jar:1.0.1:compile -[INFO] | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile -[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile -[INFO] | | +- org.checkerframework:checker-qual:jar:2.10.0:compile -[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile -[INFO] | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile -[INFO] | +- com.google.code.gson:gson:jar:2.8.5:compile -[INFO] | +- com.google.http-client:google-http-client:jar:1.31.0:compile -[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.11:compile -[INFO] | | +- io.opencensus:opencensus-api:jar:0.21.0:compile -[INFO] | | | \- io.grpc:grpc-context:jar:1.19.0:compile -[INFO] | | \- io.opencensus:opencensus-contrib-http-util:jar:0.21.0:compile -[INFO] | +- org.apache.commons:commons-lang3:jar:3.8.1:compile -[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.9:compile -[INFO] | +- io.swagger:swagger-jaxrs:jar:1.5.22:compile -[INFO] | | +- io.swagger:swagger-core:jar:1.5.22:compile -[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.9:compile -[INFO] | | \- org.reflections:reflections:jar:0.9.11:compile -[INFO] | | \- org.javassist:javassist:jar:3.21.0-GA:compile -[INFO] | +- org.elasticsearch:elasticsearch:jar:6.4.3:compile -[INFO] | | +- org.elasticsearch:elasticsearch-core:jar:6.4.3:compile -[INFO] | | +- org.elasticsearch:elasticsearch-secure-sm:jar:6.4.3:compile -[INFO] | | +- org.elasticsearch:elasticsearch-x-content:jar:6.4.3:compile -[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.9.9:compile -[INFO] | | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.9.9:compile -[INFO] | | +- org.apache.lucene:lucene-core:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-analyzers-common:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-backward-codecs:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-grouping:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-highlighter:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-join:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-memory:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-misc:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-queries:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-queryparser:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-sandbox:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-spatial:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-spatial-extras:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-spatial3d:jar:7.4.0:compile -[INFO] | | +- org.apache.lucene:lucene-suggest:jar:7.4.0:compile -[INFO] | | +- org.elasticsearch:elasticsearch-cli:jar:6.4.3:compile -[INFO] | | | \- net.sf.jopt-simple:jopt-simple:jar:5.0.2:compile -[INFO] | | +- com.carrotsearch:hppc:jar:0.7.1:compile -[INFO] | | +- joda-time:joda-time:jar:2.10.3:compile -[INFO] | | +- com.tdunning:t-digest:jar:3.2:compile -[INFO] | | +- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile -[INFO] | | +- org.apache.logging.log4j:log4j-api:jar:2.11.2:compile -[INFO] | | \- org.elasticsearch:jna:jar:4.5.1:compile -[INFO] | +- org.elasticsearch.client:elasticsearch-rest-client:jar:6.4.3:compile -[INFO] | | +- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile -[INFO] | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4.11:compile -[INFO] | \- org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:6.4.3:compile -[INFO] | +- org.elasticsearch.plugin:parent-join-client:jar:6.4.3:compile -[INFO] | +- org.elasticsearch.plugin:aggs-matrix-stats-client:jar:6.4.3:compile -[INFO] | +- org.elasticsearch.plugin:rank-eval-client:jar:6.4.3:compile -[INFO] | \- org.elasticsearch.plugin:lang-mustache-client:jar:6.4.3:compile -[INFO] | \- com.github.spullara.mustache.java:compiler:jar:0.9.3:compile -[INFO] +- org.opengroup.osdu:core-lib-azure:jar:0.0.17:compile -[INFO] | +- com.azure:azure-core-http-netty:jar:1.5.3:compile -[INFO] | | +- com.azure:azure-core:jar:1.6.0:compile -[INFO] | | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.9.9:compile -[INFO] | | | | +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.9:compile -[INFO] | | | | +- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile -[INFO] | | | | \- com.fasterxml.woodstox:woodstox-core:jar:5.0.3:compile -[INFO] | | | \- io.netty:netty-tcnative-boringssl-static:jar:2.0.25.Final:compile -[INFO] | | +- io.netty:netty-buffer:jar:4.1.38.Final:compile -[INFO] | | +- io.netty:netty-transport-native-unix-common:jar:4.1.38.Final:compile -[INFO] | | \- io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.38.Final:compile -[INFO] | +- com.azure:azure-identity:jar:1.0.1:compile -[INFO] | | +- org.slf4j:slf4j-api:jar:1.7.26:compile -[INFO] | | +- com.microsoft.azure:msal4j:jar:0.5.0-preview:compile -[INFO] | | +- org.nanohttpd:nanohttpd:jar:2.3.1:compile -[INFO] | | \- net.java.dev.jna:jna-platform:jar:4.5.2:compile -[INFO] | | \- net.java.dev.jna:jna:jar:4.5.2:compile -[INFO] | +- com.azure:azure-security-keyvault-secrets:jar:4.1.0:compile -[INFO] | +- com.azure:azure-cosmos:jar:4.0.0-preview.1:compile -[INFO] | | +- com.fasterxml.uuid:java-uuid-generator:jar:3.1.5:compile -[INFO] | | +- commons-validator:commons-validator:jar:1.6:compile -[INFO] | | | +- commons-beanutils:commons-beanutils:jar:1.9.2:compile -[INFO] | | | +- commons-digester:commons-digester:jar:1.8.1:compile -[INFO] | | | +- commons-logging:commons-logging:jar:1.2:compile -[INFO] | | | \- commons-collections:commons-collections:jar:3.2.2:compile -[INFO] | | +- org.apache.commons:commons-collections4:jar:4.2:compile -[INFO] | | +- org.apache.commons:commons-text:jar:1.6:compile -[INFO] | | +- io.dropwizard.metrics:metrics-core:jar:4.0.5:compile -[INFO] | | +- io.micrometer:micrometer-core:jar:1.1.5:compile -[INFO] | | | \- org.latencyutils:LatencyUtils:jar:2.0.3:compile -[INFO] | | \- io.reactivex.rxjava2:rxjava:jar:2.2.11:compile -[INFO] | +- com.azure:azure-storage-blob:jar:12.3.0:compile -[INFO] | | \- com.azure:azure-storage-common:jar:12.3.0:compile -[INFO] | +- com.microsoft.azure:azure-servicebus:jar:3.1.4:compile -[INFO] | | +- org.apache.qpid:proton-j:jar:0.33.2:compile -[INFO] | | +- com.microsoft.azure:qpid-proton-j-extensions:jar:1.2.2:compile -[INFO] | | +- org.asynchttpclient:async-http-client:jar:2.10.4:compile -[INFO] | | | +- org.asynchttpclient:async-http-client-netty-utils:jar:2.10.4:compile -[INFO] | | | +- io.netty:netty-resolver-dns:jar:4.1.38.Final:compile -[INFO] | | | | \- io.netty:netty-codec-dns:jar:4.1.38.Final:compile -[INFO] | | | +- com.typesafe.netty:netty-reactive-streams:jar:2.0.3:compile -[INFO] | | | \- com.sun.activation:javax.activation:jar:1.2.0:compile -[INFO] | | \- com.microsoft.azure:azure-client-authentication:jar:1.7.0:compile -[INFO] | | +- com.microsoft.azure:azure-client-runtime:jar:1.7.0:compile -[INFO] | | | \- com.microsoft.rest:client-runtime:jar:1.7.0:compile -[INFO] | | | +- com.squareup.retrofit2:retrofit:jar:2.5.0:compile -[INFO] | | | +- com.squareup.okhttp3:okhttp:jar:3.12.6:compile -[INFO] | | | | \- com.squareup.okio:okio:jar:1.15.0:compile -[INFO] | | | +- com.squareup.okhttp3:logging-interceptor:jar:3.12.2:compile -[INFO] | | | +- com.squareup.okhttp3:okhttp-urlconnection:jar:3.12.2:compile -[INFO] | | | +- com.squareup.retrofit2:converter-jackson:jar:2.5.0:compile -[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.9.9:compile -[INFO] | | | \- com.squareup.retrofit2:adapter-rxjava:jar:2.6.2:compile -[INFO] | | \- com.microsoft.azure:azure-annotations:jar:1.10.0:compile -[INFO] | +- com.microsoft.azure:applicationinsights-spring-boot-starter:jar:2.5.1:compile -[INFO] | | +- com.microsoft.azure:applicationinsights-core:jar:2.5.1:compile -[INFO] | | \- com.microsoft.azure:applicationinsights-web:jar:2.5.1:compile -[INFO] | +- com.microsoft.azure:azure-spring-boot-metrics-starter:jar:2.0.7:compile -[INFO] | | +- io.micrometer:micrometer-registry-azure-monitor:jar:1.1.5:compile -[INFO] | | \- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.1.7.RELEASE:compile -[INFO] | | \- org.springframework.boot:spring-boot-actuator:jar:2.1.7.RELEASE:compile -[INFO] | +- org.springframework.boot:spring-boot-starter-log4j2:jar:2.1.7.RELEASE:compile -[INFO] | | +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.11.2:compile -[INFO] | | +- org.apache.logging.log4j:log4j-core:jar:2.11.2:compile -[INFO] | | +- org.apache.logging.log4j:log4j-jul:jar:2.11.2:compile -[INFO] | | \- org.slf4j:jul-to-slf4j:jar:1.7.26:compile -[INFO] | \- com.microsoft.azure:applicationinsights-logging-log4j2:jar:2.5.1:compile -[INFO] +- com.auth0:java-jwt:jar:3.8.1:compile -[INFO] +- org.opengroup.osdu:notification-core:jar:1.0.0:compile -[INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.30.1:compile -[INFO] | +- com.google.api-client:google-api-client:jar:1.30.2:compile -[INFO] | | \- com.google.http-client:google-http-client-jackson2:jar:1.30.1:compile -[INFO] | +- javax.xml.bind:jaxb-api:jar:2.3.1:compile -[INFO] | | \- javax.activation:javax.activation-api:jar:1.2.0:compile -[INFO] | +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile -[INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile -[INFO] | +- com.google.apis:google-api-services-iam:jar:v1-rev289-1.25.0:compile -[INFO] | +- org.springframework.boot:spring-boot-starter-undertow:jar:2.1.7.RELEASE:compile -[INFO] | | +- io.undertow:undertow-servlet:jar:2.0.23.Final:compile -[INFO] | | | \- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.2.Final:compile -[INFO] | | +- io.undertow:undertow-websockets-jsr:jar:2.0.23.Final:compile -[INFO] | | | \- org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.4.Final:compile -[INFO] | | +- javax.servlet:javax.servlet-api:jar:4.0.1:compile -[INFO] | | \- org.glassfish:javax.el:jar:3.0.0:compile -[INFO] | +- io.undertow:undertow-core:jar:2.0.23.Final:compile -[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile -[INFO] | | +- org.jboss.xnio:xnio-api:jar:3.3.8.Final:compile -[INFO] | | \- org.jboss.xnio:xnio-nio:jar:3.3.8.Final:runtime -[INFO] | +- org.springframework.boot:spring-boot-starter-validation:jar:2.1.7.RELEASE:compile -[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.22:compile -[INFO] | +- org.hibernate.validator:hibernate-validator:jar:6.0.17.Final:compile -[INFO] | | \- com.fasterxml:classmate:jar:1.4.0:compile -[INFO] | +- io.springfox:springfox-swagger2:jar:2.7.0:compile -[INFO] | | +- io.swagger:swagger-annotations:jar:1.5.13:compile -[INFO] | | +- io.swagger:swagger-models:jar:1.5.13:compile -[INFO] | | +- io.springfox:springfox-spi:jar:2.7.0:compile -[INFO] | | | \- io.springfox:springfox-core:jar:2.7.0:compile -[INFO] | | +- io.springfox:springfox-schema:jar:2.7.0:compile -[INFO] | | +- io.springfox:springfox-swagger-common:jar:2.7.0:compile -[INFO] | | +- io.springfox:springfox-spring-web:jar:2.7.0:compile -[INFO] | | +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile -[INFO] | | +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile -[INFO] | | \- org.mapstruct:mapstruct:jar:1.1.0.Final:compile -[INFO] | \- io.springfox:springfox-swagger-ui:jar:2.7.0:compile -[INFO] +- io.projectreactor.netty:reactor-netty:jar:0.9.0.RELEASE:compile -[INFO] | +- io.netty:netty-codec-http:jar:4.1.38.Final:compile -[INFO] | | \- io.netty:netty-codec:jar:4.1.38.Final:compile -[INFO] | +- io.netty:netty-codec-http2:jar:4.1.38.Final:compile -[INFO] | +- io.netty:netty-handler:jar:4.1.38.Final:compile -[INFO] | +- io.netty:netty-handler-proxy:jar:4.1.38.Final:compile -[INFO] | | \- io.netty:netty-codec-socks:jar:4.1.38.Final:compile -[INFO] | +- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.38.Final:compile -[INFO] | \- io.projectreactor.addons:reactor-pool:jar:0.1.0.RELEASE:compile -[INFO] +- io.projectreactor:reactor-core:jar:3.3.0.RELEASE:compile -[INFO] | \- org.reactivestreams:reactive-streams:jar:1.0.2:compile -[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.1.7.RELEASE:test -[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.1.7.RELEASE:test -[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.1.7.RELEASE:test -[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test -[INFO] | +- junit:junit:jar:4.12:test -[INFO] | +- org.assertj:assertj-core:jar:3.11.1:test -[INFO] | +- org.hamcrest:hamcrest-core:jar:1.3:test -[INFO] | +- org.hamcrest:hamcrest-library:jar:1.3:test -[INFO] | +- org.skyscreamer:jsonassert:jar:1.5.0:test -[INFO] | | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test -[INFO] | +- org.springframework:spring-test:jar:5.1.9.RELEASE:test -[INFO] | \- org.xmlunit:xmlunit-core:jar:2.6.3:test -[INFO] +- org.junit.jupiter:junit-jupiter:jar:5.6.0:test -[INFO] | +- org.junit.jupiter:junit-jupiter-api:jar:5.3.2:test -[INFO] | | +- org.apiguardian:apiguardian-api:jar:1.0.0:test -[INFO] | | +- org.opentest4j:opentest4j:jar:1.1.1:test -[INFO] | | \- org.junit.platform:junit-platform-commons:jar:1.3.2:test -[INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:5.3.2:test -[INFO] | \- org.junit.jupiter:junit-jupiter-engine:jar:5.3.2:test -[INFO] | \- org.junit.platform:junit-platform-engine:jar:1.3.2:test -[INFO] +- org.mockito:mockito-core:jar:3.0.0:test -[INFO] | +- net.bytebuddy:byte-buddy:jar:1.9.16:compile -[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.9.16:test -[INFO] | \- org.objenesis:objenesis:jar:2.6:test -[INFO] +- com.auth0:jwks-rsa:jar:0.11.0:compile -[INFO] | \- commons-io:commons-io:jar:2.6:compile -[INFO] +- org.mockito:mockito-junit-jupiter:jar:2.23.0:test -[INFO] \- org.projectlombok:lombok:jar:1.18.8:provided -[INFO] ------------------------------------------------------------------------ -[INFO] Reactor Summary for os-notification 1.0.0: -[INFO] -[INFO] os-notification .................................... SUCCESS [ 2.493 s] -[INFO] notification-core .................................. SUCCESS [ 3.053 s] -[INFO] notification-gcp ................................... SUCCESS [ 1.761 s] -[INFO] notification-azure ................................. SUCCESS [ 11.938 s] -[INFO] ------------------------------------------------------------------------ -[INFO] BUILD SUCCESS -[INFO] ------------------------------------------------------------------------ -[INFO] Total time: 20.300 s -[INFO] Finished at: 2020-09-03T19:54:16+05:30 -[INFO] ------------------------------------------------------------------------ -- GitLab From 1ca2d5f39094175577f55769ff973ff30c171443 Mon Sep 17 00:00:00 2001 From: komakkar Date: Fri, 4 Sep 2020 14:34:52 +0530 Subject: [PATCH 09/12] Corrected Typo --- .../pubsub/EventGridHandshakeHandlerTest.java | 2 +- .../pubsub/EventGridRequestBodyExtractorTest.java | 2 +- .../{notificaion => notification}/util/AppPropertiesTests.java | 2 +- .../util/AzureCosmosPropertiesTest.java | 2 +- .../util/AzureServiceAccountValidatorImplTest.java | 2 +- .../util/ServiceAccountClientImplTest.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notificaion => notification}/pubsub/EventGridHandshakeHandlerTest.java (98%) rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notificaion => notification}/pubsub/EventGridRequestBodyExtractorTest.java (99%) rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notificaion => notification}/util/AppPropertiesTests.java (98%) rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notificaion => notification}/util/AzureCosmosPropertiesTest.java (98%) rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notificaion => notification}/util/AzureServiceAccountValidatorImplTest.java (98%) rename provider/notification-azure/src/test/java/org/opengroup/osdu/{notificaion => notification}/util/ServiceAccountClientImplTest.java (99%) diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridHandshakeHandlerTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java similarity index 98% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridHandshakeHandlerTest.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java index dd3fafc8..674b60e3 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridHandshakeHandlerTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java @@ -13,7 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notificaion.pubsub; +package org.opengroup.osdu.notification.pubsub; import org.junit.Assert; import org.junit.Test; diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridRequestBodyExtractorTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridRequestBodyExtractorTest.java similarity index 99% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridRequestBodyExtractorTest.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridRequestBodyExtractorTest.java index c00bd0fc..ad875413 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/pubsub/EventGridRequestBodyExtractorTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridRequestBodyExtractorTest.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notificaion.pubsub; +package org.opengroup.osdu.notification.pubsub; import org.junit.Assert; import org.junit.Test; diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AppPropertiesTests.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java similarity index 98% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AppPropertiesTests.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java index 0d612026..39b6f808 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AppPropertiesTests.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notificaion.util; +package org.opengroup.osdu.notification.util; import com.azure.security.keyvault.secrets.SecretClient; import com.azure.security.keyvault.secrets.models.KeyVaultSecret; diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureCosmosPropertiesTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java similarity index 98% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureCosmosPropertiesTest.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java index a58cfabb..790f1dea 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureCosmosPropertiesTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notificaion.util; +package org.opengroup.osdu.notification.util; import com.azure.security.keyvault.secrets.SecretClient; import com.azure.security.keyvault.secrets.models.KeyVaultSecret; diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureServiceAccountValidatorImplTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureServiceAccountValidatorImplTest.java similarity index 98% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureServiceAccountValidatorImplTest.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureServiceAccountValidatorImplTest.java index 6589e257..606e68bd 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/AzureServiceAccountValidatorImplTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureServiceAccountValidatorImplTest.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notificaion.util; +package org.opengroup.osdu.notification.util; import org.junit.Assert; import org.junit.Before; diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/ServiceAccountClientImplTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java similarity index 99% rename from provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/ServiceAccountClientImplTest.java rename to provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java index 4e991a7d..d7099cb5 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notificaion/util/ServiceAccountClientImplTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package org.opengroup.osdu.notificaion.util; +package org.opengroup.osdu.notification.util; import org.apache.http.HttpStatus; import org.junit.Assert; -- GitLab From e0ca8e2526dc66649812e540cb46677db37f3c25 Mon Sep 17 00:00:00 2001 From: komakkar Date: Mon, 7 Sep 2020 23:12:20 +0530 Subject: [PATCH 10/12] intermediate changes --- provider/notification-azure/pom.xml | 6 +++++ .../pubsub/EventGridHandshakeHandler.java | 26 +++++++------------ .../provider/azure/util/AppProperties.java | 2 +- .../azure/util/AzureCosmosProperties.java | 10 +------ .../azure/util/GoogleServiceAccountImpl.java | 6 ----- .../ServiceAccountJwtAzureClientImpl.java | 19 +++----------- .../resources/application-local.properties | 1 + .../pubsub/EventGridHandshakeHandlerTest.java | 7 +++-- .../notification/util/AppPropertiesTests.java | 4 +-- .../util/AzureCosmosPropertiesTest.java | 19 ++------------ .../util/ServiceAccountClientImplTest.java | 16 ------------ 11 files changed, 30 insertions(+), 86 deletions(-) diff --git a/provider/notification-azure/pom.xml b/provider/notification-azure/pom.xml index 95a5b1e2..4bdf206d 100644 --- a/provider/notification-azure/pom.xml +++ b/provider/notification-azure/pom.xml @@ -65,6 +65,12 @@ org.opengroup.osdu core-lib-azure 0.0.17 + diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridHandshakeHandler.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridHandshakeHandler.java index 83ebf3db..06a980be 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridHandshakeHandler.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/EventGridHandshakeHandler.java @@ -25,11 +25,15 @@ import org.springframework.stereotype.Component; @Component public class EventGridHandshakeHandler implements IPubsubHandshakeHandler { - @Autowired private EventGridRequestBodyExtractor eventGridRequestBodyExtractor; + private JaxRsDpsLog logger; + @Autowired - JaxRsDpsLog logger; + EventGridHandshakeHandler(JaxRsDpsLog logger, EventGridRequestBodyExtractor eventGridRequestBodyExtractor) { + this.logger = logger; + this.eventGridRequestBodyExtractor = eventGridRequestBodyExtractor; + } /** * Extract Handshake response string form Handshake request. @@ -39,20 +43,10 @@ public class EventGridHandshakeHandler implements IPubsubHandshakeHandler { */ @Override public String getHandshakeResponse() { - String response; - - try { - String validationCode = this.eventGridRequestBodyExtractor.getValidationCodeForHandshake(); - JsonObject jsonResponse = new JsonObject(); - jsonResponse.addProperty("ValidationResponse", validationCode); - - response = jsonResponse.toString(); - } catch (Exception exception) { - logger.error(exception.getMessage()); - throw new AppException(HttpStatus.BAD_REQUEST.value(), "Request payload parsing error", - "Unable to parse request payload.", exception); - } + String validationCode = this.eventGridRequestBodyExtractor.getValidationCodeForHandshake(); + JsonObject jsonResponse = new JsonObject(); + jsonResponse.addProperty("ValidationResponse", validationCode); - return response; + return jsonResponse.toString(); } } diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java index 8cbc9bb0..32f048a4 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AppProperties.java @@ -103,7 +103,7 @@ public class AppProperties implements IAppProperties { return maxCacheSize; } - public String getKeyVaultSecret(SecretClient kv, String secretName) { + private String getKeyVaultSecret(SecretClient kv, String secretName) { KeyVaultSecret secret = kv.getSecret(secretName); if (secret == null) { logger.error(String.format("Secret unexpectedly missing from KeyVault response for secret with name %s", secretName)); diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java index 258c9229..bc5ef75b 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/AzureCosmosProperties.java @@ -2,12 +2,9 @@ package org.opengroup.osdu.notification.provider.azure.util; import com.azure.security.keyvault.secrets.SecretClient; import com.azure.security.keyvault.secrets.models.KeyVaultSecret; -import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import org.springframework.stereotype.Component; import javax.inject.Named; @@ -20,9 +17,6 @@ public class AzureCosmosProperties { @Value("${azure.cosmosdb.database}") private String cosmosDBName; - @Autowired - private JaxRsDpsLog logger; - // TODO : Move away from Named beans. @Bean @Named("COSMOS_ENDPOINT") @@ -48,16 +42,14 @@ public class AzureCosmosProperties { return cosmosDBName; } - public String getKeyVaultSecret(SecretClient kv, String secretName) { + private String getKeyVaultSecret(SecretClient kv, String secretName) { KeyVaultSecret secret = kv.getSecret(secretName); if (secret == null) { - logger.error(String.format("No secret found with name %s", secretName)); throw new IllegalStateException(String.format("No secret found with name %s", secretName)); } String secretValue = secret.getValue(); if (secretValue == null) { - logger.error(String.format("Secret unexpectedly missing from KeyVault response for secret with name %s", secretName)); throw new IllegalStateException(String.format( "Secret unexpectedly missing from KeyVault response for secret with name %s", secretName)); } diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/GoogleServiceAccountImpl.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/GoogleServiceAccountImpl.java index dc31ed83..abf78fed 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/GoogleServiceAccountImpl.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/GoogleServiceAccountImpl.java @@ -15,9 +15,7 @@ package org.opengroup.osdu.notification.provider.azure.util; import lombok.SneakyThrows; -import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; import org.opengroup.osdu.notification.provider.interfaces.IGoogleServiceAccount; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import javax.naming.AuthenticationNotSupportedException; @@ -25,14 +23,10 @@ import javax.naming.AuthenticationNotSupportedException; @Component public class GoogleServiceAccountImpl implements IGoogleServiceAccount { - @Autowired - JaxRsDpsLog logger; - @SneakyThrows @Override public String getIdToken(String keyString, String audience) { // TODO : Check if it is to be supported - logger.error("GSA tokens are not supported."); throw new AuthenticationNotSupportedException(); } diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/ServiceAccountJwtAzureClientImpl.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/ServiceAccountJwtAzureClientImpl.java index 391637b2..68154423 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/ServiceAccountJwtAzureClientImpl.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/util/ServiceAccountJwtAzureClientImpl.java @@ -19,7 +19,6 @@ import com.microsoft.aad.adal4j.AuthenticationContext; import com.microsoft.aad.adal4j.AuthenticationResult; import com.microsoft.aad.adal4j.ClientCredential; import org.apache.http.HttpStatus; -import org.opengroup.osdu.core.common.logging.JaxRsDpsLog; import org.opengroup.osdu.core.common.model.http.AppException; import org.opengroup.osdu.core.common.model.search.IdToken; import org.opengroup.osdu.core.common.model.tenant.TenantInfo; @@ -44,13 +43,9 @@ public class ServiceAccountJwtAzureClientImpl implements IServiceAccountJwtClien @Autowired private IJwtCache tenantJwtCache; - @Autowired - JaxRsDpsLog logger; - public String getIdToken(String tenantName) { - TenantInfo tenant = tenantInfoServiceProvider.getTenantInfo(tenantName); + TenantInfo tenant = this.tenantInfoServiceProvider.getTenantInfo(tenantName); if (tenant == null) { - logger.error(String.format("Invalid tenant name %s", tenantName)); throw new AppException(HttpStatus.SC_BAD_REQUEST, "Invalid tenant Name", "Invalid tenant Name from azure"); } @@ -59,7 +54,7 @@ public class ServiceAccountJwtAzureClientImpl implements IServiceAccountJwtClien try { // TODO : Refactor to move ID token form Common.Core.model.search to Common.core - IdToken cachedToken = (IdToken) tenantJwtCache.get(tenant.getName()); + IdToken cachedToken = (IdToken) this.tenantJwtCache.get(tenant.getName()); if ((cachedToken != null) && !IdToken.refreshToken(cachedToken)) { return cachedToken.getTokenValue(); @@ -70,14 +65,8 @@ public class ServiceAccountJwtAzureClientImpl implements IServiceAccountJwtClien ACCESS_TOKEN = getAccessToken(service); IdToken idToken = IdToken.builder().tokenValue(ACCESS_TOKEN).expirationTimeMillis(JWT.decode(ACCESS_TOKEN).getExpiresAt().getTime()).build(); - tenantJwtCache.put(tenant.getName(), idToken); - } catch (AppException appException) { - logger.error(String.format("Could not get a token %s", appException.getMessage())); - throw appException; - } catch (Exception exception) { - logger.error(String.format("Could not get a token %s", exception.getMessage())); - throw new AppException(HttpStatus.SC_INTERNAL_SERVER_ERROR, "Persistence error", "Error generating token", exception); - } finally { + this.tenantJwtCache.put(tenant.getName(), idToken); + } finally { if(service != null) { service.shutdown(); } diff --git a/provider/notification-azure/src/main/resources/application-local.properties b/provider/notification-azure/src/main/resources/application-local.properties index 9ef96f78..fb39e6dd 100644 --- a/provider/notification-azure/src/main/resources/application-local.properties +++ b/provider/notification-azure/src/main/resources/application-local.properties @@ -45,3 +45,4 @@ spring.application.name=notification-azure # Logging configuration logging.transaction.enabled=true logging.slf4jlogger.enabled=true +logging.mdccontext.enabled=true \ No newline at end of file diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java index 674b60e3..e8b52993 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/pubsub/EventGridHandshakeHandlerTest.java @@ -36,10 +36,10 @@ import static org.mockito.Mockito.when; @RunWith(MockitoJUnitRunner.class) public class EventGridHandshakeHandlerTest { @Mock - EventGridRequestBodyExtractor eventGridRequestBodyExtractor; + private EventGridRequestBodyExtractor eventGridRequestBodyExtractor; @Mock - JaxRsDpsLog logger; + private JaxRsDpsLog logger; @InjectMocks @Spy @@ -61,7 +61,7 @@ public class EventGridHandshakeHandlerTest { @Test public void should_throw_getHandshakeResponse() { // Set up - when(sut.getHandshakeResponse()) + when(eventGridRequestBodyExtractor.getValidationCodeForHandshake()) .thenThrow(new AppException(HttpStatus.BAD_REQUEST.value(), "Request payload parsing error", "" )); try{ // Act @@ -71,7 +71,6 @@ public class EventGridHandshakeHandlerTest { fail("Should Throw Exception"); } catch (AppException appException){ Assert.assertEquals(HttpStatus.BAD_REQUEST.value(), appException.getError().getCode()); - Assert.assertEquals("Unable to parse request payload.", appException.getError().getMessage()); } catch (Exception exception) { fail("Should Throw AppException"); } diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java index 39b6f808..da92ed95 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AppPropertiesTests.java @@ -54,7 +54,7 @@ public class AppPropertiesTests { // Act IllegalStateException exception = assertThrows(IllegalStateException.class, () ->{ - sut.getKeyVaultSecret(kv, "secret-name"); + sut.getAuthClientSecret(); }); // Assert @@ -69,7 +69,7 @@ public class AppPropertiesTests { // Act IllegalStateException exception = assertThrows(IllegalStateException.class, () ->{ - sut.getKeyVaultSecret(kv, "secret-name"); + sut.getAuthClientSecret(); }); // Assert diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java index 790f1dea..4c05c9aa 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/AzureCosmosPropertiesTest.java @@ -54,26 +54,11 @@ public class AzureCosmosPropertiesTest { // Act IllegalStateException exception = assertThrows(IllegalStateException.class, () ->{ - sut.getKeyVaultSecret(kv, "secret-name"); + sut.cosmosKey(kv); }); // Assert - assertEquals("No secret found with name secret-name", exception.getMessage()); - } - - @Test - public void should_throwWhenSecretIsMissing_getKeyVaultSecret() { - // Set-Up - doReturn(null).when(secret).getValue(); - doReturn(secret).when(kv).getSecret("secret-name"); - - // Act - IllegalStateException exception = assertThrows(IllegalStateException.class, () ->{ - sut.getKeyVaultSecret(kv, "secret-name"); - }); - - // Assert - assertEquals("Secret unexpectedly missing from KeyVault response for secret with name secret-name", exception.getMessage()); + assertEquals("No secret found with name cosmos-primary-key", exception.getMessage()); } @Test diff --git a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java index d7099cb5..034f9700 100644 --- a/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java +++ b/provider/notification-azure/src/test/java/org/opengroup/osdu/notification/util/ServiceAccountClientImplTest.java @@ -121,22 +121,6 @@ public class ServiceAccountClientImplTest { Assert.assertEquals(validToken, returnedToken); } - @Test - public void should_throw500ForInvalidAccessTokenResponse_getIdToken() { - try { - // Act - this.sut.getIdToken(tenantName); - - // Assert - fail("Should throw exception"); - } catch (AppException e) { - Assert.assertEquals(HttpStatus.SC_INTERNAL_SERVER_ERROR, e.getError().getCode()); - Assert.assertEquals("Error generating token", e.getError().getMessage()); - } catch (Exception e) { - fail("Should not throw this exception" + e.getMessage()); - } - } - @Test public void should_return403GivenInvalidApplicationProperties_getAccessToken() { when(appProperties.getAuthURL()).thenReturn("https://login.microsoftonline.com/s/oauth2/token/"); -- GitLab From 3098c419d3c97f7e56a00a497818d3ff1df1ba17 Mon Sep 17 00:00:00 2001 From: komakkar Date: Tue, 8 Sep 2020 13:28:34 +0530 Subject: [PATCH 11/12] correcting azure pom --- provider/notification-azure/pom.xml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/provider/notification-azure/pom.xml b/provider/notification-azure/pom.xml index 4bdf206d..8f5ae796 100644 --- a/provider/notification-azure/pom.xml +++ b/provider/notification-azure/pom.xml @@ -58,13 +58,28 @@ org.opengroup.osdu os-core-common - 0.3.4 + 0.3.6 + + + + org.springframework.boot + spring-boot-starter-security + + + ch.qos.logback + logback-classic + + + org.apache.logging.log4j + log4j-to-slf4j + + org.opengroup.osdu core-lib-azure - 0.0.17 + 0.0.22 -- GitLab