Skip to content
Snippets Groups Projects
Commit 49cf8708 authored by Nikhil Singh[MicroSoft]'s avatar Nikhil Singh[MicroSoft] Committed by harshit aggarwal
Browse files

Implementation of Test Acknowledgement Subscription for Integration Tests

parent c888455c
No related branches found
No related tags found
2 merge requests!102Locking down maven central,!89Implementation of Test Acknowledgement Subscription for Integration Tests
......@@ -96,7 +96,6 @@ The following software have components provided under the terms of this license:
- Elasticsearch: 5.0.0-alpha5 (from https://github.com/elastic/elasticsearch)
- 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 API (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 )
......@@ -114,7 +113,6 @@ The following software have components provided under the terms of this license:
- Gson (from https://github.com/google/gson)
- Gson (from https://github.com/google/gson)
- 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)
......@@ -168,7 +166,6 @@ The following software have components provided under the terms of this license:
- Jakarta Bean Validation API (from https://beanvalidation.org)
- Java Native Access (from https://github.com/java-native-access/jna)
- Java Native Access Platform (from https://github.com/java-native-access/jna)
- Java Servlet API (from http://servlet-spec.java.net)
- Java UUID Generator (from http://wiki.fasterxml.com/JugHome)
- Javassist (from http://www.javassist.org/)
- Javassist (from http://www.javassist.org/)
......@@ -227,7 +224,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 )
......@@ -382,12 +378,13 @@ The following software have components provided under the terms of this license:
- jackson-databind (from http://github.com/FasterXML/jackson)
- jakarta.inject (from )
- jakarta.inject (from )
- jakarta.xml.bind-api (from )
- java-cloudant (from https://cloudant.com)
- java-cloudant (from https://cloudant.com)
- javaparser-core (from )
- javatuples (from http://www.javatuples.org)
- javax.inject (from http://code.google.com/p/atinject/)
- javax.inject (from )
- javax.inject (from http://code.google.com/p/atinject/)
- javax.ws.rs-api (from http://jax-rs-spec.java.net)
- javax.ws.rs-api (from https://github.com/eclipse-ee4j/jaxrs-api)
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
......@@ -498,11 +495,12 @@ The following software have components provided under the terms of this license:
- GAX (Google Api eXtensions) (from https://github.com/googleapis)
- GAX (Google Api eXtensions) (from https://github.com/googleapis)
- Hamcrest (from http://hamcrest.org/JavaHamcrest/)
- Hamcrest Core (from http://hamcrest.org/)
- Lucene Common Analyzers (from )
- Lucene Common Analyzers (from )
- Lucene Core (from )
- Reflections (from http://github.com/ronmamo/reflections)
- Stax2 API (from http://github.com/FasterXML/stax2-api)
- ThreeTen backport (from https://www.threeten.org/threetenbp)
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
- jersey-container-servlet-core (from git://java.net/jersey~code/project/jersey-container-servlet-core)
- jersey-core-client (from git://java.net/jersey~code/jersey-client)
......@@ -527,16 +525,15 @@ The following software have components provided under the terms of this license:
- ASM Tree (from )
- ASM Util (from )
- ASM library repackaged as OSGi bundle (from )
- Apache Commons Codec (from http://commons.apache.org/proper/commons-codec/)
- Apache Commons Codec (from http://commons.apache.org/proper/commons-codec/)
- Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el)
- 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)
- Google APIs Client Library for Java (from )
- Google Auth Library for Java - Credentials (from )
- Google Auth Library for Java - OAuth2 HTTP (from )
- Hamcrest (from http://hamcrest.org/JavaHamcrest/)
- Hamcrest library (from )
- HK2 API module (from git://java.net/hk2~git/hk2-api)
- HK2 Implementation Utilities (from )
- JavaBeans Activation Framework API jar (from )
- Lucene Common Analyzers (from )
- Lucene Common Analyzers (from )
......@@ -553,13 +550,16 @@ The following software have components provided under the terms of this license:
- Netty/Codec/HTTP (from )
- 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)
- ServiceLocator Default Implementation (from git://java.net/hk2~git/hk2-locator)
- 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)
- aopalliance-repackaged (from )
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
- jakarta.inject (from )
- jakarta.xml.bind-api (from )
- javax.ws.rs-api (from https://github.com/eclipse-ee4j/jaxrs-api)
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
- jersey-container-servlet-core (from git://java.net/jersey~code/project/jersey-container-servlet-core)
- jersey-core-client (from git://java.net/jersey~code/jersey-client)
......@@ -592,6 +592,11 @@ CC0-1.0
========================================================================
The following software have components provided under the terms of this license:
- 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/)
- 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/)
......@@ -601,8 +606,8 @@ CDDL-1.0
The following software have components provided under the terms of this license:
- ASM library repackaged as OSGi bundle (from )
- Apache Log4j Core (from )
- Class Model for Hk2 (from )
- Expression Language 3.0 API (from http://uel.java.net)
- HK2 API module (from git://java.net/hk2~git/hk2-api)
- HK2 Implementation Utilities (from )
- HK2 Spring Bridge (from )
......@@ -610,11 +615,10 @@ The following software have components provided under the terms of this license:
- HK2 configuration module (from )
- HK2 core module (from )
- HK2 module of HK2 itself (from )
- JavaBeans Activation Framework API jar (from )
- JavaBeans(TM) Activation Framework (from http://java.sun.com/javase/technologies/desktop/javabeans/jaf/index.jsp)
- Run Level Service (from )
- ServiceLocator Default Implementation (from git://java.net/hk2~git/hk2-locator)
- aopalliance-repackaged (from )
- javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250)
- javax.inject (from )
- javax.ws.rs-api (from http://jax-rs-spec.java.net)
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
......@@ -633,12 +637,7 @@ CDDL-1.1
The following software have components provided under the terms of this license:
- Java Architecture For XML Binding (from )
- Java Servlet API (from http://servlet-spec.java.net)
- JavaBeans Activation Framework (from )
- JavaBeans(TM) Activation Framework (from http://java.sun.com/javase/technologies/desktop/javabeans/jaf/index.jsp)
- JavaMail API (from )
- JavaMail API jar (from )
- OSGi resource locator (from )
- jersey-ext-bean-validation (from )
- jersey-spring4 (from )
- tomcat-embed-core (from http://tomcat.apache.org/)
......@@ -652,6 +651,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
========================================================================
......@@ -662,30 +669,22 @@ The following software have components provided under the terms of this license:
- Eclipse Xtend Active Annotations Library (from https://www.eclipse.org/Xtext/)
- Eclipse Xtend Runtime Library (from https://www.eclipse.org/Xtext/)
- Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el)
- HK2 API module (from git://java.net/hk2~git/hk2-api)
- HK2 Implementation Utilities (from )
- HK2 Spring Bridge (from )
- HK2 core module (from )
- HK2 module of HK2 itself (from )
- JUnit Jupiter (Aggregator) (from https://junit.org/junit5/)
- 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 Core (from https://github.com/Microsoft/ApplicationInsights-Java)
- 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)
- OSGi resource locator (from )
- Run Level Service (from )
- ServiceLocator Default Implementation (from git://java.net/hk2~git/hk2-locator)
- SnakeYAML (from http://www.snakeyaml.org)
- aopalliance-repackaged (from )
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
- jakarta.inject (from )
- jakarta.inject (from )
- javax.ws.rs-api (from https://github.com/eclipse-ee4j/jaxrs-api)
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
- jersey-container-servlet-core (from git://java.net/jersey~code/project/jersey-container-servlet-core)
......@@ -720,7 +719,6 @@ The following software have components provided under the terms of this license:
- HK2 core module (from )
- HK2 module of HK2 itself (from )
- JUnit Jupiter (Aggregator) (from https://junit.org/junit5/)
- OSGi resource locator (from )
- Run Level Service (from )
- ServiceLocator Default Implementation (from git://java.net/hk2~git/hk2-locator)
- aopalliance-repackaged (from )
......@@ -755,26 +753,29 @@ The following software have components provided under the terms of this license:
- ASM library repackaged as OSGi bundle (from )
- Class Model for Hk2 (from )
- Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el)
- Expression Language 3.0 API (from http://uel.java.net)
- HK2 API module (from git://java.net/hk2~git/hk2-api)
- HK2 API module (from git://java.net/hk2~git/hk2-api)
- HK2 Implementation Utilities (from )
- HK2 Implementation Utilities (from )
- HK2 Spring Bridge (from )
- HK2 config types (from )
- HK2 configuration module (from )
- HK2 core module (from )
- HK2 module of HK2 itself (from )
- Java Architecture For XML Binding (from )
- Java Servlet API (from http://servlet-spec.java.net)
- JavaBeans Activation Framework (from )
- JavaBeans Activation Framework API jar (from )
- JavaMail API (from )
- JavaMail API jar (from )
- OSGi resource locator (from )
- Run Level Service (from )
- ServiceLocator Default Implementation (from git://java.net/hk2~git/hk2-locator)
- ServiceLocator Default Implementation (from git://java.net/hk2~git/hk2-locator)
- aopalliance-repackaged (from )
- aopalliance-repackaged (from )
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
- jakarta.inject (from )
- javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250)
- javax.inject (from )
- javax.ws.rs-api (from https://github.com/eclipse-ee4j/jaxrs-api)
- javax.ws.rs-api (from http://jax-rs-spec.java.net)
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
- jersey-container-servlet-core (from git://java.net/jersey~code/project/jersey-container-servlet-core)
......@@ -791,19 +792,11 @@ The following software have components provided under the terms of this license:
- tomcat-embed-core (from http://tomcat.apache.org/)
- 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)
- Class Model for Hk2 (from )
- Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el)
- HK2 API module (from git://java.net/hk2~git/hk2-api)
......@@ -813,13 +806,6 @@ The following software have components provided under the terms of this license:
- HK2 core module (from )
- HK2 module of HK2 itself (from )
- Java Architecture For XML Binding (from )
- Java Servlet API (from http://servlet-spec.java.net)
- JavaBeans Activation Framework (from )
- JavaBeans Activation Framework API jar (from )
- JavaMail API (from )
- JavaMail API jar (from )
- OSGi resource locator (from )
- OSGi resource locator (from )
- Run Level Service (from )
- ServiceLocator Default Implementation (from git://java.net/hk2~git/hk2-locator)
- ServiceLocator Default Implementation (from git://java.net/hk2~git/hk2-locator)
......@@ -829,10 +815,9 @@ The following software have components provided under the terms of this license:
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
- jakarta.inject (from )
- jakarta.inject (from )
- javax.annotation-api (from http://jcp.org/en/jsr/detail?id=250)
- javax.inject (from )
- javax.ws.rs-api (from https://github.com/eclipse-ee4j/jaxrs-api)
- javax.ws.rs-api (from http://jax-rs-spec.java.net)
- javax.ws.rs-api (from https://github.com/eclipse-ee4j/jaxrs-api)
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
- jersey-container-servlet-core (from git://java.net/jersey~code/project/jersey-container-servlet-core)
......@@ -867,13 +852,27 @@ The following software have components provided under the terms of this license:
- Expression Language 3.0 (from https://projects.eclipse.org/projects/ee4j.el)
- OSGi resource locator (from )
- OSGi resource locator (from )
- Project Lombok (from https://projectlombok.org)
- Project Lombok (from https://projectlombok.org)
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
- jakarta.annotation-api (from https://projects.eclipse.org/projects/ee4j.ca)
- javax.ws.rs-api (from http://jax-rs-spec.java.net)
- javax.ws.rs-api (from https://github.com/eclipse-ee4j/jaxrs-api)
- javax.ws.rs-api (from http://jax-rs-spec.java.net)
========================================================================
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:
- Jackson (from http://jackson.codehaus.org)
- Stax2 API (from http://github.com/FasterXML/stax2-api)
- Woodstox (from https://github.com/FasterXML/woodstox)
- aalto-xml (from )
========================================================================
JSON
......@@ -893,33 +892,19 @@ 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 Core (from https://github.com/Microsoft/ApplicationInsights-Java)
- 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)
========================================================================
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 API (from )
- Apache Log4j Core (from )
- javaparser-core (from )
========================================================================
......@@ -929,6 +914,7 @@ 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)
......@@ -977,6 +963,7 @@ The following software have components provided under the terms of this license:
- adal4j (from https://github.com/AzureAD/azure-activedirectory-library-for-java)
- azure-documentdb (from https://azure.microsoft.com/en-us/services/cosmos-db/)
- documentdb-bulkexecutor (from http://azure.microsoft.com/en-us/services/documentdb/)
- jakarta.xml.bind-api (from )
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
- jersey-container-servlet-core (from git://java.net/jersey~code/project/jersey-container-servlet-core)
- jersey-core-client (from git://java.net/jersey~code/jersey-client)
......@@ -993,14 +980,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
========================================================================
......@@ -1008,35 +987,22 @@ 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 )
========================================================================
PHP-3.01
========================================================================
The following software have components provided under the terms of this license:
- JavaBeans Activation Framework API jar (from )
- jakarta.xml.bind-api (from )
========================================================================
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/)
- Spongy Castle (from http://rtyley.github.io/spongycastle/)
- jersey-core-common (from )
- jersey-core-server (from git://java.net/jersey~code/jersey-server)
- reactive-streams (from http://www.reactive-streams.org/)
========================================================================
SPL-1.0
TCL
========================================================================
The following software have components provided under the terms of this license:
- Checker Qual (from https://checkerframework.org)
- Checker Qual (from https://checkerframework.org)
- HK2 API module (from git://java.net/hk2~git/hk2-api)
========================================================================
W3C
......@@ -1059,6 +1025,14 @@ The following software have components provided under the terms of this license:
- Reflections (from http://github.com/ronmamo/reflections)
========================================================================
X11
========================================================================
The following software have components provided under the terms of this license:
- 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)
========================================================================
public-domain
========================================================================
......@@ -1066,8 +1040,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/)
......@@ -1076,8 +1048,6 @@ The following software have components provided under the terms of this license:
- Microsoft Azure SDK for EventGrid Management (from https://github.com/Azure/azure-sdk-for-java)
- Microsoft Azure SDK for SQL API of Azure Cosmos DB Service (from https://github.com/Azure/azure-sdk-for-java)
- Microsoft Azure client library for Blob Storage (from https://github.com/Azure/azure-sdk-for-java)
- Project Lombok (from https://projectlombok.org)
- Project Lombok (from https://projectlombok.org)
- Spring Web (from https://github.com/spring-projects/spring-framework)
- Spring Web (from https://github.com/spring-projects/spring-framework)
- azure-documentdb (from https://azure.microsoft.com/en-us/services/cosmos-db/)
......@@ -1085,7 +1055,6 @@ The following software have components provided under the terms of this license:
- jersey-core-common (from )
- jersey-core-server (from git://java.net/jersey~code/jersey-server)
- msal4j (from https://github.com/AzureAD/microsoft-authentication-library-for-java)
- reactive-streams (from http://www.reactive-streams.org/)
========================================================================
unknown
......@@ -1094,12 +1063,9 @@ The following software have components provided under the terms of this license:
- Byte Buddy (without dependencies) (from )
- Byte Buddy (without dependencies) (from )
- Checker Qual (from https://checkerframework.org)
- JSON in Java (from https://github.com/douglascrockford/JSON-java)
- JUnit (from http://junit.org)
- JUnit Jupiter (Aggregator) (from https://junit.org/junit5/)
- JavaBeans Activation Framework API jar (from )
- Spongy Castle (from http://rtyley.github.io/spongycastle/)
- jakarta.xml.bind-api (from )
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
- jersey-container-servlet (from git://java.net/jersey~code/project/jersey-container-servlet)
- jersey-container-servlet-core (from git://java.net/jersey~code/project/jersey-container-servlet-core)
......@@ -1116,10 +1082,5 @@ The following software have components provided under the terms of this license:
- jersey-media-jaxb (from )
- jersey-spring4 (from )
- jersey-spring5 (from https://repo1.maven.org/maven2/org/glassfish/jersey/ext/jersey-spring5)
- 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/)
// 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.register.provider.azure.subscriber;
import org.opengroup.osdu.core.common.logging.JaxRsDpsLog;
import org.opengroup.osdu.register.provider.interfaces.subscriber.ISubscriptionRepository;
import org.opengroup.osdu.register.provider.interfaces.subscriber.ITestSubscription;
import org.opengroup.osdu.register.subscriber.model.HmacSecret;
import org.opengroup.osdu.register.subscriber.model.Subscription;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
@Repository
public class TestSubscriptionAzure implements ITestSubscription {
@Autowired
private ISubscriptionRepository subscriptionRepository;
@Autowired
private JaxRsDpsLog logger;
@Override
public void performTestAcknowledgement() throws Exception {
try {
/* Creation of Test Acknowledgement Subscription which ensures the successful delivery
of notification at the test end point */
Subscription subscription = new Subscription();
subscription.setName("AcknowledgementTestSubscription");
subscription.setDescription("Subscription for Ack of test-endpoint");
subscription.setTopic("recordstopic");
subscription.setPushEndpoint("http://TestAck/api/register/v1/test/challenge/1");
subscription.setNotificationId("testingAcknowledgement");
subscription.setId("AckSubscription");
HmacSecret secret = new HmacSecret();
secret.setValue("TestAcknowledgementSubscription");
subscription.setSecret(secret);
subscription = subscriptionRepository.create(subscription);
logger.info("Successfully created Acknowledgement Subscription");
}catch(Exception e)
{
logger.error("An exception occurred while creating Test Acknowledgment Subscription");
throw e;
}
}
}
......@@ -18,11 +18,11 @@ package org.opengroup.osdu.register.api.test;
import javax.validation.ValidationException;
import javax.validation.constraints.NotBlank;
import org.opengroup.osdu.core.common.cryptographic.ISignatureService;
import org.opengroup.osdu.core.common.cryptographic.SignatureServiceException;
import org.opengroup.osdu.core.common.logging.JaxRsDpsLog;
import org.opengroup.osdu.register.api.dto.ChallengeResponse;
import org.opengroup.osdu.register.provider.interfaces.subscriber.ITestSubscription;
import org.opengroup.osdu.register.utils.AppServiceConfig;
import org.opengroup.osdu.register.utils.HashingUtil;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -48,6 +48,8 @@ public class SubscriberListenerApi {
private AppServiceConfig serviceConfig;
@Autowired
private JaxRsDpsLog logger;
@Autowired
private ITestSubscription testSubscription;
@GetMapping("challenge/{count}")
public ChallengeResponse testCrc(@RequestParam("crc") @NotBlank String crc,
......@@ -67,6 +69,12 @@ public class SubscriberListenerApi {
try {
signatureService.verifyHmacSignature(hmac, this.serviceConfig.getSubscriberSecret());
logger.info("Sending acknowledgement from hmac endpoint");
// Performing End Point Notification Acknowledgement
try {
testSubscription.performTestAcknowledgement();
}catch(Exception e) {
logger.error("An error occurred in Test Acknowledgement");
}
} catch (SignatureServiceException e) {
throw new ValidationException("Authorization signature validation Failed");
}
......
package org.opengroup.osdu.register.provider.interfaces.subscriber;
public interface ITestSubscription {
void performTestAcknowledgement() throws Exception;
}
package org.opengroup.osdu.register.subscriber.test;
import org.opengroup.osdu.register.provider.interfaces.subscriber.ITestSubscription;
import org.springframework.stereotype.Repository;
@Repository
public class TestSubscription implements ITestSubscription {
@Override
public void performTestAcknowledgement() {
// Implementation for Test Acknowledgement
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment