diff --git a/NOTICE b/NOTICE index 8a59bd973bb15b6f4a1d824b301100ddb76f1430..540343197a8e5985bc2132ec3dd3b5b9baa249b6 100644 --- a/NOTICE +++ b/NOTICE @@ -3,11 +3,11 @@ Generated by fossa-cli (https://github.com/fossas/fossa-cli). This software includes the following software and licenses: ======================================================================== -Android-Sdk +AML ======================================================================== The following software have components provided under the terms of this license: -- Android SDK (from https://www.android.com/) +- SnakeYAML (from http://www.snakeyaml.org) ======================================================================== Apache-2.0 @@ -69,7 +69,6 @@ The following software have components provided under the terms of this license: - AssertJ fluent assertions (from ) - Asynchronous Http Client (from ) - Asynchronous Http Client Netty Utils (from ) -- AutoValue Annotations (from ) - Azure Spring Boot Starter for Azure AD Spring Security Integration (from https://github.com/Azure/azure-sdk-for-java) - Bean Validation API (from http://beanvalidation.org) - Brave Instrumentation: Http Adapters (from ) @@ -77,35 +76,19 @@ The following software have components provided under the terms of this license: - Byte Buddy (without dependencies) (from ) - Byte Buddy Java agent (from ) - ClassMate (from http://github.com/cowtowncoder/java-classmate) -- Cloud Storage JSON API v1-rev58-1.21.0 (from ) - Commons IO (from http://commons.apache.org/io/) - Converter: Jackson (from ) - Core functionality for the Reactor Netty library (from https://github.com/reactor/reactor-netty) - Elastic JNA Distribution (from https://github.com/java-native-access/jna) - Elasticsearch: 5.0.0-alpha5 (from https://github.com/elastic/elasticsearch) - Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el) -- Expression Language 3.0 (from http://uel.java.net) - FindBugs-jsr305 (from http://findbugs.sourceforge.net/) -- GSON extensions to the Google HTTP Client Library for Java. (from ) - Google APIs Client Library for Java (from ) -- Google App Engine extensions to the Google HTTP Client Library for Java. (from ) -- Google Cloud Core (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core) -- Google Cloud Core HTTP (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http) -- Google Cloud Core gRPC (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc) -- Google Cloud Datastore (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-datastore) -- Google Cloud Key Management Service (KMS) API v1-rev22-1.23.0 (from ) -- Google Cloud Logging (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-logging) -- Google Cloud Pub/Sub (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-pubsub) -- Google Cloud Storage (from https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-storage) -- Google HTTP Client Library for Java (from https://github.com/google/google-http-java-client.git) - Google HTTP Client Library for Java (from https://github.com/google/google-http-java-client.git) - Google OAuth Client Library for Java (from ) - Gson (from https://github.com/google/gson) - Gson (from https://github.com/google/gson) - Guava InternalFutureFailureAccess and InternalFutures (from ) -- Guava InternalFutureFailureAccess and InternalFutures (from ) -- Guava ListenableFuture only (from ) -- Guava: Google Core Libraries for Java (from https://github.com/google/guava.git) - Guava: Google Core Libraries for Java (from https://github.com/google/guava.git) - HPPC Collections (from http://labs.carrotsearch.com) - HTTP functionality for the Reactor Netty library (from https://github.com/reactor/reactor-netty) @@ -117,7 +100,6 @@ The following software have components provided under the terms of this license: - IBM COS SDK For Java (from https://github.com/ibm/ibm-cos-sdk-java) - IBM COS SDK for Java - Core (from https://github.com/ibm/ibm-cos-sdk-java) - Identity and Access Management (IAM) API v1-rev247-1.23.0 (from ) -- Identity and Access Management (IAM) API v1-rev247-1.23.0 (from ) - IntelliJ IDEA Annotations (from http://www.jetbrains.org) - J2ObjC Annotations (from https://github.com/google/j2objc/) - JBoss Logging 3 (from http://www.jboss.org) @@ -128,13 +110,11 @@ The following software have components provided under the terms of this license: - JSON Web Token support for the JVM (from https://github.com/jwtk/jjwt.git) - JSON library from Android SDK (from http://developer.android.com/sdk) - JSONassert (from https://github.com/skyscreamer/JSONassert) -- Jackson (from http://jackson.codehaus.org) - Jackson 2 extensions to the Google HTTP Client Library for Java. (from https://github.com/google/google-http-java-client.git/google-http-client-jackson2) - Jackson dataformat: CBOR (from http://github.com/FasterXML/jackson-dataformats-binary) - Jackson dataformat: CBOR (from http://github.com/FasterXML/jackson-dataformats-binary) - Jackson datatype: JSR310 (from http://wiki.fasterxml.com/JacksonModuleJSR310) - Jackson datatype: JSR310 (from http://wiki.fasterxml.com/JacksonModuleJSR310) -- Jackson extensions to the Google HTTP Client Library for Java. (from ) - Jackson-annotations (from http://github.com/FasterXML/jackson) - Jackson-annotations (from http://github.com/FasterXML/jackson) - Jackson-core (from https://github.com/FasterXML/jackson-core) @@ -169,8 +149,6 @@ The following software have components provided under the terms of this license: - KeePassJava2 :: KDBX (from https://repo1.maven.org/maven2/org/linguafranca/pwdb/KeePassJava2-kdbx) - KeePassJava2 :: Simple (from https://repo1.maven.org/maven2/org/linguafranca/pwdb/KeePassJava2-simple) - Logback Contrib :: JSON :: Classic (from ) -- Logback Contrib :: JSON :: Core (from ) -- Logback Contrib :: Jackson (from ) - Lucene Common Analyzers (from ) - Lucene Core (from ) - Lucene Grouping (from ) @@ -198,7 +176,6 @@ The following software have components provided under the terms of this license: - Mockito (from http://mockito.org) - Netty Reactive Streams HTTP support (from ) - Netty Reactive Streams Implementation (from ) -- Netty Reactive Streams Implementation (from ) - Netty/Buffer (from http://netty.io/) - Netty/Buffer (from http://netty.io/) - Netty/Codec (from ) @@ -222,15 +199,11 @@ The following software have components provided under the terms of this license: - Netty/Transport (from http://netty.io/) - Netty/Transport/Native/Unix/Common (from ) - Netty/Transport/Native/Unix/Common (from ) -- Nimbus Content Type (from https://bitbucket.org/connect2id/nimbus-content-type) -- Nimbus JOSE+JWT (from https://bitbucket.org/connect2id/nimbus-jose-jwt) - Nimbus JOSE+JWT (from https://bitbucket.org/connect2id/nimbus-jose-jwt) - Nimbus JOSE+JWT (from https://bitbucket.org/connect2id/nimbus-jose-jwt) - Nimbus LangTag (from https://bitbucket.org/connect2id/nimbus-language-tags) -- Nimbus LangTag (from https://bitbucket.org/connect2id/nimbus-language-tags) - Non-Blocking Reactive Foundation for the JVM (from https://github.com/reactor/reactor) - OAuth 2.0 SDK with OpenID Connect extensions (from https://bitbucket.org/connect2id/oauth-2.0-sdk-with-openid-connect-extensions) -- OAuth 2.0 SDK with OpenID Connect extensions (from https://bitbucket.org/connect2id/oauth-2.0-sdk-with-openid-connect-extensions) - Objenesis (from http://objenesis.org) - OkHttp (from ) - OkHttp (from ) @@ -242,10 +215,8 @@ The following software have components provided under the terms of this license: - OpenCensus (from https://github.com/census-instrumentation/opencensus-java) - OpenCensus (from https://github.com/census-instrumentation/opencensus-java) - OpenCensus (from https://github.com/census-instrumentation/opencensus-java) -- OpenCensus (from https://github.com/census-instrumentation/opencensus-java) - PWDB :: Database (from https://repo1.maven.org/maven2/org/linguafranca/pwdb/database) - PowerMock (from http://www.powermock.org) -- Protocol Buffer extensions to the Google HTTP Client Library for Java. (from ) - QpidJMS Client (from ) - Reactive Streams Netty driver (from https://github.com/reactor/reactor-netty) - Retrofit (from ) @@ -327,31 +298,15 @@ The following software have components provided under the terms of this license: - aws-ssm-java-caching-client (from https://github.com/awslabs/aws-ssm-java-caching-client) - brave (from ) - cli (from https://github.com/elastic/elasticsearch) -- com.google.api.grpc:grpc-google-cloud-pubsub-v1 (from https://github.com/googleapis/googleapis) -- com.google.api.grpc:proto-google-cloud-logging-v2 (from https://github.com/googleapis/googleapis) -- com.google.api.grpc:proto-google-cloud-pubsub-v1 (from https://github.com/googleapis/googleapis) -- com.google.api.grpc:proto-google-common-protos (from https://github.com/googleapis/googleapis) - com.google.api.grpc:proto-google-common-protos (from https://github.com/googleapis/googleapis) -- com.google.api.grpc:proto-google-iam-v1 (from https://github.com/googleapis/googleapis) - compiler (from http://github.com/spullara/mustache.java) -- datastore-v1-proto-client (from ) - elasticsearch-core (from https://github.com/elastic/elasticsearch) - error-prone annotations (from ) -- error-prone annotations (from ) -- io.grpc:grpc-alts (from https://github.com/grpc/grpc-java) -- io.grpc:grpc-api (from https://github.com/grpc/grpc-java) -- io.grpc:grpc-auth (from https://github.com/grpc/grpc-java) - io.grpc:grpc-context (from https://github.com/grpc/grpc-java) - io.grpc:grpc-core (from https://github.com/grpc/grpc-java) -- io.grpc:grpc-core (from https://github.com/grpc/grpc-java) -- io.grpc:grpc-grpclb (from https://github.com/grpc/grpc-java) - io.grpc:grpc-netty-shaded (from https://github.com/grpc/grpc-java) -- io.grpc:grpc-netty-shaded (from https://github.com/grpc/grpc-java) -- io.grpc:grpc-protobuf (from https://github.com/grpc/grpc-java) - io.grpc:grpc-protobuf (from https://github.com/grpc/grpc-java) - io.grpc:grpc-protobuf-lite (from https://github.com/grpc/grpc-java) -- io.grpc:grpc-protobuf-lite (from https://github.com/grpc/grpc-java) -- io.grpc:grpc-stub (from https://github.com/grpc/grpc-java) - io.grpc:grpc-stub (from https://github.com/grpc/grpc-java) - ion-java (from https://github.com/amznlabs/ion-java/) - ion-java (from https://github.com/amznlabs/ion-java/) @@ -378,7 +333,6 @@ The following software have components provided under the terms of this license: - powermock-module-junit4 (from http://www.powermock.org) - powermock-module-junit4-common (from ) - powermock-reflect (from ) -- proto-google-cloud-datastore-v1 (from https://github.com/googleapis/api-client-staging) - proton-j (from ) - rank-eval (from https://github.com/elastic/elasticsearch) - rest (from https://github.com/elastic/elasticsearch) @@ -404,10 +358,8 @@ The following software have components provided under the terms of this license: - swagger-annotations (from ) - swagger-jaxrs (from ) - swagger-models (from ) -- tomcat-embed-core (from http://tomcat.apache.org/) - tomcat-embed-el (from http://tomcat.apache.org/) - tomcat-embed-el (from http://tomcat.apache.org/) -- tomcat-embed-websocket (from http://tomcat.apache.org/) - x-content (from https://github.com/elastic/elasticsearch) ======================================================================== @@ -415,12 +367,8 @@ BSD-2-Clause ======================================================================== The following software have components provided under the terms of this license: -- API Common (from https://github.com/googleapis) -- GAX (Google Api eXtensions) (from https://github.com/googleapis) -- GAX (Google Api eXtensions) (from https://github.com/googleapis) -- GAX (Google Api eXtensions) (from https://github.com/googleapis) -- Hamcrest Core (from http://hamcrest.org/) - Lucene Common Analyzers (from ) +- Reflections (from http://github.com/ronmamo/reflections) - Stax2 API (from http://github.com/FasterXML/stax2-api) ======================================================================== @@ -428,16 +376,9 @@ BSD-3-Clause ======================================================================== The following software have components provided under the terms of this license: -- API Common (from https://github.com/googleapis) - ASM Core (from ) -- Apache Commons Codec (from http://commons.apache.org/proper/commons-codec/) -- GAX (Google Api eXtensions) (from https://github.com/googleapis) -- GAX (Google Api eXtensions) (from https://github.com/googleapis) -- GAX (Google Api eXtensions) (from https://github.com/googleapis) +- Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el) - Google APIs Client Library for Java (from ) -- Google Auth Library for Java - Credentials (from ) -- Google Auth Library for Java - OAuth2 HTTP (from ) -- Hamcrest library (from ) - Lucene Common Analyzers (from ) - Lucene Core (from ) - Lucene Suggest (from ) @@ -448,14 +389,8 @@ The following software have components provided under the terms of this license: - Netty/Codec/HTTP (from ) - Netty/Codec/HTTP (from ) - Protocol Buffer Java API (from https://developers.google.com/protocol-buffers/) -- Protocol Buffer Java API (from https://developers.google.com/protocol-buffers/) -- Protocol Buffers [Util] (from ) -- Reflections (from http://github.com/ronmamo/reflections) -- SnakeYAML (from http://www.snakeyaml.org) - Spring Core (from https://github.com/spring-projects/spring-framework) - Spring Core (from https://github.com/spring-projects/spring-framework) -- Stax2 API (from http://github.com/FasterXML/stax2-api) -- ThreeTen backport (from https://www.threeten.org/threetenbp) ======================================================================== CC-BY-2.5 @@ -479,8 +414,9 @@ CC0-1.0 ======================================================================== The following software have components provided under the terms of this license: -- XNIO API (from http://www.jboss.org/xnio) -- XNIO NIO Implementation (from ) +- HdrHistogram (from http://hdrhistogram.github.io/HdrHistogram/) +- LatencyUtils (from http://latencyutils.github.io/LatencyUtils/) +- Netty/Common (from ) - reactive-streams (from http://www.reactive-streams.org/) - reactive-streams (from http://www.reactive-streams.org/) @@ -489,26 +425,22 @@ CDDL-1.0 ======================================================================== The following software have components provided under the terms of this license: +- Apache Log4j Core (from ) - Common Annotations 1.2 API (from ) -- JavaBeans Activation Framework API jar (from ) +- JavaBeans(TM) Activation Framework (from http://java.sun.com/javase/technologies/desktop/javabeans/jaf/index.jsp) - Old JAXB Core (from ) - Old JAXB Runtime (from ) -- javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250) ======================================================================== CDDL-1.1 ======================================================================== The following software have components provided under the terms of this license: -- Expression Language 3.0 (from http://uel.java.net) +- Common Annotations 1.2 API (from ) - Java Architecture For XML Binding (from ) - Java Architecture For XML Binding (from ) -- Java Servlet API (from http://servlet-spec.java.net) - Java(TM) API for WebSocket (from ) -- JavaBeans Activation Framework (from ) - JavaBeans(TM) Activation Framework (from http://java.sun.com/javase/technologies/desktop/javabeans/jaf/index.jsp) -- JavaMail API (from ) -- tomcat-embed-core (from http://tomcat.apache.org/) ======================================================================== CPL-1.0 @@ -517,6 +449,14 @@ The following software have components provided under the terms of this license: - JUnit (from http://junit.org) +======================================================================== +DOC +======================================================================== +The following software have components provided under the terms of this license: + +- Woodstox (from https://github.com/FasterXML/woodstox) +- aalto-xml (from ) + ======================================================================== EPL-1.0 ======================================================================== @@ -525,15 +465,10 @@ The following software have components provided under the terms of this license: - Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el) - JUnit Jupiter (Aggregator) (from https://junit.org/junit5/) - Java Servlet API (from https://projects.eclipse.org/projects/ee4j.servlet) -- Logback Classic Module (from ) - Logback Contrib :: JSON :: Classic (from ) -- Logback Contrib :: JSON :: Core (from ) -- Logback Contrib :: Jackson (from ) -- Logback Core Module (from ) - Microsoft Application Insights Java SDK Spring Boot starter (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Web Module (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Log4j 2 Appender (from https://github.com/Microsoft/ApplicationInsights-Java) -- SnakeYAML (from http://www.snakeyaml.org) - org.junit.jupiter:junit-jupiter-api (from http://junit.org/junit5/) - org.junit.jupiter:junit-jupiter-engine (from http://junit.org/junit5/) - org.junit.jupiter:junit-jupiter-params (from http://junit.org/junit5/) @@ -547,7 +482,6 @@ The following software have components provided under the terms of this license: - Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el) - JUnit Jupiter (Aggregator) (from https://junit.org/junit5/) -- Java Servlet API (from https://projects.eclipse.org/projects/ee4j.servlet) - org.junit.jupiter:junit-jupiter-api (from http://junit.org/junit5/) - org.junit.jupiter:junit-jupiter-engine (from http://junit.org/junit5/) - org.junit.jupiter:junit-jupiter-params (from http://junit.org/junit5/) @@ -560,46 +494,25 @@ GPL-2.0-only The following software have components provided under the terms of this license: - Common Annotations 1.2 API (from ) +- Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el) - Expression Language 3.0 (from http://uel.java.net) -- Java Architecture For XML Binding (from ) -- Java Architecture For XML Binding (from ) - Java Servlet API (from http://servlet-spec.java.net) - Java(TM) API for WebSocket (from ) -- JavaBeans Activation Framework (from ) -- JavaBeans Activation Framework API jar (from ) -- JavaMail API (from ) - Old JAXB Core (from ) - Old JAXB Runtime (from ) - javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250) -- tomcat-embed-core (from http://tomcat.apache.org/) - -======================================================================== -GPL-2.0-or-later -======================================================================== -The following software have components provided under the terms of this license: - -- SnakeYAML (from http://www.snakeyaml.org) ======================================================================== GPL-2.0-with-classpath-exception ======================================================================== The following software have components provided under the terms of this license: -- Checker Qual (from https://checkerframework.org) -- Expression Language 3.0 (from http://uel.java.net) - Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el) - Java Architecture For XML Binding (from ) - Java Architecture For XML Binding (from ) -- Java Servlet API (from https://projects.eclipse.org/projects/ee4j.servlet) -- Java Servlet API (from http://servlet-spec.java.net) - Java(TM) API for WebSocket (from ) -- JavaBeans Activation Framework (from ) -- JavaBeans Activation Framework API jar (from ) -- JavaMail API (from ) - Old JAXB Core (from ) - Old JAXB Runtime (from ) -- javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250) -- tomcat-embed-core (from http://tomcat.apache.org/) ======================================================================== GPL-3.0-only @@ -613,6 +526,22 @@ The following software have components provided under the terms of this license: - Old JAXB Runtime (from ) - Project Lombok (from https://projectlombok.org) +======================================================================== +ISC +======================================================================== +The following software have components provided under the terms of this license: + +- Java Native Access Platform (from https://github.com/java-native-access/jna) + +======================================================================== +ImageMagick +======================================================================== +The following software have components provided under the terms of this license: + +- Stax2 API (from http://github.com/FasterXML/stax2-api) +- Woodstox (from https://github.com/FasterXML/woodstox) +- aalto-xml (from ) + ======================================================================== JSON ======================================================================== @@ -630,32 +559,10 @@ The following software have components provided under the terms of this license: - Java Native Access Platform (from https://github.com/java-native-access/jna) - Javassist (from http://www.javassist.org/) - Javassist (from http://www.javassist.org/) -- Logback Classic Module (from ) - Logback Contrib :: JSON :: Classic (from ) -- Logback Contrib :: JSON :: Core (from ) -- Logback Contrib :: Jackson (from ) -- Logback Core Module (from ) - Microsoft Application Insights Java SDK Spring Boot starter (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Web Module (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Log4j 2 Appender (from https://github.com/Microsoft/ApplicationInsights-Java) -- XNIO API (from http://www.jboss.org/xnio) - -======================================================================== -LGPL-2.1-or-later -======================================================================== -The following software have components provided under the terms of this license: - -- Java Native Access Platform (from https://github.com/java-native-access/jna) -- Javassist (from http://www.javassist.org/) -- SnakeYAML (from http://www.snakeyaml.org) - -======================================================================== -LGPL-3.0-only -======================================================================== -The following software have components provided under the terms of this license: - -- Apache Log4j API (from ) -- Apache Log4j Core (from ) ======================================================================== MIT @@ -664,19 +571,18 @@ The following software have components provided under the terms of this license: - AWS Java SDK for AWS Lambda (from https://aws.amazon.com/sdkforjava) - Animal Sniffer Annotations (from ) +- Apache Log4j SLF4J Binding (from ) - Azure Java Client Authentication Library for AutoRest (from https://github.com/Azure/autorest-clientruntime-for-java) - Azure Java Client Runtime for ARM (from https://github.com/Azure/autorest-clientruntime-for-java) - Azure Java Client Runtime for AutoRest (from https://github.com/Azure/autorest-clientruntime-for-java) - Azure Spring Boot AutoConfigure (from https://github.com/Azure/azure-sdk-for-java) - Checker Qual (from https://checkerframework.org) -- Checker Qual (from https://checkerframework.org) - Extensions on Apache Proton-J library (from https://github.com/Azure/qpid-proton-j-extensions) - JOpt Simple (from http://pholser.github.io/jopt-simple) - JUL to SLF4J bridge (from http://www.slf4j.org) - JUL to SLF4J bridge (from http://www.slf4j.org) - Java Client Runtime for AutoRest (from https://github.com/Azure/autorest-clientruntime-for-java) - Java JWT (from http://www.jwt.io) -- Java JWT (from http://www.jwt.io) - Lucene Core (from ) - Microsoft Application Insights Java SDK Core (from https://github.com/Microsoft/ApplicationInsights-Java) - Microsoft Application Insights Java SDK Spring Boot starter (from https://github.com/Microsoft/ApplicationInsights-Java) @@ -716,14 +622,6 @@ The following software have components provided under the terms of this license: - spring-security-core (from http://spring.io/spring-security) - spring-security-core (from http://spring.io/spring-security) -======================================================================== -MPL-1.1 -======================================================================== -The following software have components provided under the terms of this license: - -- Javassist (from http://www.javassist.org/) -- Javassist (from http://www.javassist.org/) - ======================================================================== MPL-2.0 ======================================================================== @@ -731,7 +629,6 @@ The following software have components provided under the terms of this license: - Javassist (from http://www.javassist.org/) - Javassist (from http://www.javassist.org/) -- OkHttp (from ) ======================================================================== MS-RL @@ -745,22 +642,9 @@ Public-Domain ======================================================================== The following software have components provided under the terms of this license: -- HdrHistogram (from http://hdrhistogram.github.io/HdrHistogram/) -- LatencyUtils (from http://latencyutils.github.io/LatencyUtils/) - Old JAXB Core (from ) - Old JAXB Runtime (from ) - Spongy Castle (from http://rtyley.github.io/spongycastle/) -- XNIO API (from http://www.jboss.org/xnio) -- XNIO NIO Implementation (from ) -- reactive-streams (from http://www.reactive-streams.org/) - -======================================================================== -SPL-1.0 -======================================================================== -The following software have components provided under the terms of this license: - -- Checker Qual (from https://checkerframework.org) -- Checker Qual (from https://checkerframework.org) ======================================================================== WTFPL @@ -777,7 +661,6 @@ The following software have components provided under the terms of this license: - AWS Java SDK :: SDK Core (from https://aws.amazon.com/sdkforjava) - Asynchronous Http Client (from ) - Guava: Google Core Libraries for Java (from https://github.com/google/guava.git) -- Guava: Google Core Libraries for Java (from https://github.com/google/guava.git) - HdrHistogram (from http://hdrhistogram.github.io/HdrHistogram/) - Joda-Time (from http://www.joda.org/joda-time/) - Joda-Time (from http://www.joda.org/joda-time/) @@ -791,7 +674,6 @@ The following software have components provided under the terms of this license: - Spring Web (from https://github.com/spring-projects/spring-framework) - azure-documentdb (from https://azure.microsoft.com/en-us/services/cosmos-db/) - msal4j (from https://github.com/AzureAD/microsoft-authentication-library-for-java) -- reactive-streams (from http://www.reactive-streams.org/) ======================================================================== unknown @@ -799,15 +681,8 @@ unknown The following software have components provided under the terms of this license: - Byte Buddy (without dependencies) (from ) -- Checker Qual (from https://checkerframework.org) -- Common Annotations 1.2 API (from ) +- JSON in Java (from https://github.com/douglascrockford/JSON-java) - JUnit (from http://junit.org) -- JUnit Jupiter (Aggregator) (from https://junit.org/junit5/) - Spongy Castle (from http://rtyley.github.io/spongycastle/) -- org.junit.jupiter:junit-jupiter-api (from http://junit.org/junit5/) -- org.junit.jupiter:junit-jupiter-engine (from http://junit.org/junit5/) -- org.junit.jupiter:junit-jupiter-params (from http://junit.org/junit5/) -- org.junit.platform:junit-platform-commons (from http://junit.org/junit5/) -- org.junit.platform:junit-platform-engine (from http://junit.org/junit5/) diff --git a/devops/azure/chart/templates/deployment.yaml b/devops/azure/chart/templates/deployment.yaml index db62503cb4bccd653de9f3302b5d4ca676aeebff..15743798b4124847d52737f40c9e89b9fac23e8d 100644 --- a/devops/azure/chart/templates/deployment.yaml +++ b/devops/azure/chart/templates/deployment.yaml @@ -79,6 +79,8 @@ spec: value: osdu-db - name: entitlements_service_endpoint value: http://entitlements/api/entitlements/v2 + - name: entitlements_service_api_key + value: "OBSOLETE" - name: registeration_service_endpoint value: http://register/api/register/v1 - name: partition_service_endpoint diff --git a/notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java b/notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java index 442a2044e335488329a8e78f670652e7dd1c72b0..c571c062b0eb713a9f36f55c9192935c03c368e4 100644 --- a/notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java +++ b/notification-core/src/main/java/org/opengroup/osdu/notification/api/PubsubEndpoint.java @@ -99,12 +99,12 @@ public class PubsubEndpoint { Map<String, String> requestHeader = new HashMap<>(); if (secretType.equalsIgnoreCase(HMAC_TYPE)) { - this.log.info("receiving pubsub message, will send out hmac type request, pubsub message: " + pubsubMessage); + this.log.debug("receiving pubsub message, will send out hmac type request, pubsub message: " + pubsubMessage); HmacSecret hmacSecret = (HmacSecret) secret; String signedjwt = this.signatureService.getSignedSignature(endpoint, hmacSecret.getValue()); pushUrl = endpoint + "?hmac=" + signedjwt; } else if (secretType.equalsIgnoreCase(GSA_TYPE)) { - this.log.info("receiving pubsub message, will send out gsa type request, pubsub message: " + pubsubMessage); + this.log.debug("receiving pubsub message, will send out gsa type request, pubsub message: " + pubsubMessage); GsaSecret gsaSecret = (GsaSecret) secret; GsaSecretValue gsaSecretValue = gsaSecret.getValue(); @@ -117,7 +117,7 @@ public class PubsubEndpoint { requestHeader.put("Authorization", idToken); } - this.log.info("sending out notification to endpoint: " + endpoint); + this.log.debug("sending out notification to endpoint: " + endpoint); requestHeader.put(DpsHeaders.CONTENT_TYPE, "application/json"); requestHeader.put(DpsHeaders.CORRELATION_ID, headerAttributes.get(DpsHeaders.CORRELATION_ID)); requestHeader.put(DpsHeaders.DATA_PARTITION_ID, headerAttributes.get(DpsHeaders.DATA_PARTITION_ID)); @@ -128,7 +128,7 @@ public class PubsubEndpoint { this.log.error(NOT_ACKNOWLEDGE); return ResponseEntity.badRequest().body(NOT_ACKNOWLEDGE); } - this.log.info(ACKNOWLEDGE); + this.log.debug(ACKNOWLEDGE); return ResponseEntity.ok(ACKNOWLEDGE); } diff --git a/pom.xml b/pom.xml index 1e09d8bd11831e2058de8fee45d693e418c51c5c..66dac6053767ca9c32d9b671520c8289db2ca89e 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <java.version>8</java.version> <maven.compiler.target>${java.version}</maven.compiler.target> <maven.compiler.source>${java.version}</maven.compiler.source> - <os-core-common.version>0.6.9</os-core-common.version> + <os-core-common.version>0.9.0</os-core-common.version> </properties> <licenses> diff --git a/provider/notification-azure/pom.xml b/provider/notification-azure/pom.xml index b2ced818cb617a717db88e80dd4bc619baaec0ca..d7fdc248474b6586287104bb17975e039b2bab3b 100644 --- a/provider/notification-azure/pom.xml +++ b/provider/notification-azure/pom.xml @@ -39,7 +39,7 @@ <springframework.version>4.3.0.RELEASE</springframework.version> <reactor.netty.version>0.9.0.RELEASE</reactor.netty.version> <reactor.core.version>3.3.0.RELEASE</reactor.core.version> - <osdu.corelibazure.version>0.9.0</osdu.corelibazure.version> + <osdu.corelibazure.version>0.10.0-rc8</osdu.corelibazure.version> <junit.version>5.6.0</junit.version> <jjwt.version>3.8.1</jjwt.version> <mockito.version>2.23.0</mockito.version> 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 7aaccda189813531f38703cca25ee74252cc3570..7fd42f301fd5022a2c058a068b3cf5dee73fceb6 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 @@ -44,7 +44,7 @@ public class AzureServiceAccountValidatorImpl implements IServiceAccountValidato String appIdClaim = jwt.getClaim(APP_ID_CLAIM).asString(); if(appIdClaim!= null && appIdClaim.equals(userIdentity)) { - logger.info("PubSub authorized"); + logger.debug("PubSub authorized"); return true; } return false; diff --git a/provider/notification-azure/src/main/resources/application.properties b/provider/notification-azure/src/main/resources/application.properties index 34360637b6d88990c68ee70d365434b93c473440..a5e8bdbbddf801f90fbfef055acc712a647ae505 100644 --- a/provider/notification-azure/src/main/resources/application.properties +++ b/provider/notification-azure/src/main/resources/application.properties @@ -26,6 +26,10 @@ logging.slf4jlogger.enabled=true logging.mdccontext.enabled=false logging.ignore.servlet.paths=/swagger-ui.html +# Need below two properties for Entitlements config bean initialization due to a primary bean added in core-lib-azure which takes precedence over EntitlementsClientFactory class in notification service +AUTHORIZE_API=${entitlements_service_endpoint} +AUTHORIZE_API_KEY=${entitlements_service_api_key} + # Service settings PARTITION_API=${partition_service_endpoint} app.entitlements=${entitlements_service_endpoint} diff --git a/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestPubsubEndpointHMAC.java b/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestPubsubEndpointHMAC.java index 3f429752e1bbd58ecb5b69bfb2c6e6fbab9bc9cf..501e113e44f7d097dd9661f4e5a7f01ba4641603 100644 --- a/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestPubsubEndpointHMAC.java +++ b/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestPubsubEndpointHMAC.java @@ -98,7 +98,7 @@ public class TestPubsubEndpointHMAC extends PubsubEndpointHMACTests { ClientResponse response = descriptor.run(this.getArg(), this.testUtils.getOpsToken()); Assert.assertEquals(this.error(response.getStatus() == 204 ? "" : (String)response.getEntity(String.class)), (long)this.expectedOkResponseCode(), (long)response.getStatus()); Assert.assertEquals("GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH", response.getHeaders().getFirst("Access-Control-Allow-Methods")); - Assert.assertEquals("origin, content-type, accept, authorization, data-partition-id, correlation-id, appkey", response.getHeaders().getFirst("Access-Control-Allow-Headers")); + Assert.assertEquals("access-control-allow-origin, origin, content-type, accept, authorization, data-partition-id, correlation-id, appkey", response.getHeaders().getFirst("Access-Control-Allow-Headers")); Assert.assertEquals("*", response.getHeaders().getFirst("Access-Control-Allow-Origin")); Assert.assertEquals("true", response.getHeaders().getFirst("Access-Control-Allow-Credentials")); Assert.assertEquals("DENY", response.getHeaders().getFirst("X-Frame-Options")); diff --git a/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/BaseTestTemplate.java b/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/BaseTestTemplate.java index 8792991c580a08210a61326e527cbfca5c61459a..01a0be5de9ef90263eb40f6efd729e3919b72ddb 100644 --- a/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/BaseTestTemplate.java +++ b/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/BaseTestTemplate.java @@ -89,7 +89,7 @@ public abstract class BaseTestTemplate extends TestBase { assertEquals(error(response.getStatus() == 204 ? "" : response.getEntity(String.class)), expectedOkResponseCode(), response.getStatus()); assertEquals("GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH", response.getHeaders().getFirst("Access-Control-Allow-Methods")); - assertEquals("origin, content-type, accept, authorization, data-partition-id, correlation-id, appkey", response.getHeaders().getFirst("Access-Control-Allow-Headers")); + assertEquals("access-control-allow-origin, origin, content-type, accept, authorization, data-partition-id, correlation-id, appkey", response.getHeaders().getFirst("Access-Control-Allow-Headers")); assertEquals("*", response.getHeaders().getFirst("Access-Control-Allow-Origin")); assertEquals("true", response.getHeaders().getFirst("Access-Control-Allow-Credentials")); assertEquals("DENY", response.getHeaders().getFirst("X-Frame-Options"));