Skip to content
Snippets Groups Projects
Commit 81594ac2 authored by Abhay Joshi's avatar Abhay Joshi
Browse files

    adding useragent changes
parent 46c5813b
No related branches found
No related tags found
2 merge requests!744Upgraded packages to mitigated vulns in netty, guava, snakeyaml,!723Merge Dev Into Master
......@@ -33,6 +33,10 @@ aws.dynamodb.schemaRepositoryTable.ssm.relativePath=${SCHEMA_REPOSITORY_SSM_RELA
aws.dynamodb.recordMetadataTable.ssm.relativePath=${RECORD_METADATA_SSM_RELATIVE_PATH:services/core/storage/RecordMetadataTable}
aws.dynamodb.legalTagTable.ssm.relativePath=${LEGAL_TAG_SSM_RELATIVE_PATH:services/core/storage/LegalTagTable}
# AWS user agent variables
aws.disableUserAgent=${DISABLE_USER_AGENT}
aws.osduVersion={OSDU_VERSION}
## AWS S3 configuration
aws.s3.max-record-threads=2000
......@@ -65,6 +69,8 @@ aws.elasticache.cluster.endpoint=${CACHE_CLUSTER_ENDPOINT:null}
aws.elasticache.cluster.port=${CACHE_CLUSTER_PORT:null}
aws.elasticache.cluster.key=${CACHE_CLUSTER_KEY:null}
# values mongo/dinamo for choose any condition from implementation
repository.implementation=${STORAGE_SERVICE_REPOSITORY_IMPLEMENTATION:dynamodb}
......
......@@ -8,3 +8,5 @@ spring.main.allow-bean-definition-overriding=true
repository.implementation=mongodb
spring.profiles.active=noswagger
spring.mongodb.embedded.version=3.5.5
......@@ -17,6 +17,7 @@ import com.amazonaws.auth.EnvironmentVariableCredentialsProvider;
import com.amazonaws.services.cognitoidp.AWSCognitoIdentityProvider;
import com.amazonaws.services.cognitoidp.AWSCognitoIdentityProviderClientBuilder;
public class AWSCognitoBuilder {
public static AWSCognitoIdentityProvider generateCognitoClient(){
AWSCognitoIdentityProviderClientBuilder builder = AWSCognitoIdentityProviderClientBuilder.standard()
......
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