From 5806afc4e1916d0e5083210756cdb2cb139536ef Mon Sep 17 00:00:00 2001 From: NThakur4 <nthakur4@slb.com> Date: Thu, 6 May 2021 18:24:58 -0500 Subject: [PATCH] consume updated core-lib-azure --- .../src/main/resources/application.properties | 5 +++++ .../opengroup/osdu/partition/api/UpdatePartitionTest.java | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/provider/partition-azure/src/main/resources/application.properties b/provider/partition-azure/src/main/resources/application.properties index 7a5e78c58..bf1e521fa 100644 --- a/provider/partition-azure/src/main/resources/application.properties +++ b/provider/partition-azure/src/main/resources/application.properties @@ -9,6 +9,7 @@ PARTITION_API= #logging configuration logging.transaction.enabled=true logging.slf4jlogger.enabled=true +logging.mdccontext.enabled=true # AAD properties azure.activedirectory.app-resource-id=${aad_client_id} @@ -34,3 +35,7 @@ redis.port=6380 redis.expiration=3600 redis.ssl.enabled=true redis.database=${REDIS_DATABASE} + +service.cryptography.enabled=false +service.eventgrid.topic.enabled=false +service.eventgrid.manager.enabled=false diff --git a/testing/partition-test-core/src/main/java/org/opengroup/osdu/partition/api/UpdatePartitionTest.java b/testing/partition-test-core/src/main/java/org/opengroup/osdu/partition/api/UpdatePartitionTest.java index 7a3125cdb..923eb8c73 100644 --- a/testing/partition-test-core/src/main/java/org/opengroup/osdu/partition/api/UpdatePartitionTest.java +++ b/testing/partition-test-core/src/main/java/org/opengroup/osdu/partition/api/UpdatePartitionTest.java @@ -71,7 +71,6 @@ public abstract class UpdatePartitionTest extends BaseTestTemplate { deleteResource(); assertEquals(response.getStatus(), HttpStatus.NO_CONTENT.value()); 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")); assertTrue("origin, content-type, accept, authorization, data-partition-id, correlation-id, appkey".equals(response.getHeaders().getFirst("Access-Control-Allow-Headers")) || "access-control-allow-origin, origin, content-type, accept, authorization, data-partition-id, correlation-id, appkey".equals(response.getHeaders().getFirst("Access-Control-Allow-Headers"))); assertEquals("*", response.getHeaders().getFirst("Access-Control-Allow-Origin")); -- GitLab