From 33edcccd013574fd39d8245fe0d3982178b71e08 Mon Sep 17 00:00:00 2001
From: Abhay Joshi <bios@amazon.com>
Date: Thu, 11 May 2023 18:59:38 +0000
Subject: [PATCH]     adding useragent changes

(cherry picked from commit 34b5481fedd50b593c2eed741764de3c010a4796)
---
 .../indexer-aws/src/main/resources/application.properties   | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/provider/indexer-aws/src/main/resources/application.properties b/provider/indexer-aws/src/main/resources/application.properties
index 7ebff5469..e7862f686 100644
--- a/provider/indexer-aws/src/main/resources/application.properties
+++ b/provider/indexer-aws/src/main/resources/application.properties
@@ -42,6 +42,10 @@ aws.elasticache.cluster.key=${CACHE_CLUSTER_KEY:null}
 aws.elasticache.cluster.index.expiration=60
 aws.elasticache.cluster.schema.expiration=60
 
+# AWS user agent variables
+aws.disableUserAgent=${DISABLE_USER_AGENT}
+aws.osduVersion={OSDU_VERSION}
+
 # Maximum size of cache value
 MAX_CACHE_VALUE_SIZE=1000
 
@@ -50,6 +54,8 @@ MAX_CACHE_VALUE_SIZE=1000
 
 aws.ssm=${SSM_ENABLED}
 
+
+
 server.ssl.enabled=${SSL_ENABLED:true}
 server.ssl.key-store-type=PKCS12
 server.ssl.key-store=${SSL_KEY_STORE_PATH:/certs/osduonaws.p12}
-- 
GitLab