From c4142c0e38f6e41e6efa7b3ba307a7b1f3c95bf4 Mon Sep 17 00:00:00 2001 From: Abhay Joshi <bios@amazon.com> Date: Thu, 11 May 2023 18:52:07 +0000 Subject: [PATCH] UserAgent changes --- .../search-aws/src/main/resources/application.properties | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/provider/search-aws/src/main/resources/application.properties b/provider/search-aws/src/main/resources/application.properties index ec58aad44..5fb436339 100644 --- a/provider/search-aws/src/main/resources/application.properties +++ b/provider/search-aws/src/main/resources/application.properties @@ -39,6 +39,10 @@ aws.region=${AWS_REGION} aws.es.serviceName=es aws.es.certificate.disableTrust=${ELASTIC_DISABLE_CERTIFICATE_TRUST:false} +# AWS user agent variables +aws.disableUserAgent=${DISABLE_USER_AGENT} +aws.osduVersion={OSDU_VERSION} + ## AWS Lambda configuration aws.lambda.get-groups-function-name=${OSDU_INSTANCE_NAME}-os-entitlements-GroupsFunction # Azure search query properties @@ -64,4 +68,6 @@ service.policy.id=osdu.partition["%s"].search policy.cache.timeout=${POLICY_CACHE_TIMEOUT} PARTITION_API=${PARTITION_BASE_URL}/api/partition/v1 + + spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration -- GitLab