Skip to content
Snippets Groups Projects
Commit 5806afc4 authored by Neelesh Thakur's avatar Neelesh Thakur Committed by Mingyang Zhu
Browse files

consume updated core-lib-azure

parent 1901df19
No related branches found
No related tags found
1 merge request!50update logging library to latest, update core common library to add client option to rediscache construction
......@@ -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"));
......
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