Commit 5806afc4 authored by neelesh thakur's avatar neelesh thakur Committed by Mingyang Zhu
Browse files

consume updated core-lib-azure

parent 1901df19
......@@ -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
......@@ -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"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment