Search in sources :

Example 1 with ConfigServiceImpl

use of com.formkiq.stacks.dynamodb.ConfigServiceImpl in project formkiq-core by formkiq.

the class AbstractApiTest method setupConfigService.

private static void setupConfigService(final String awsprofile) {
    String documentsTable = ssmService.getParameterValue("/formkiq/" + appenvironment + "/dynamodb/DocumentsTableName");
    DynamoDbConnectionBuilder dbConnection = new DynamoDbConnectionBuilder().setCredentials(awsprofile).setRegion(awsregion);
    configService = new ConfigServiceImpl(dbConnection, documentsTable);
}
Also used : ConfigServiceImpl(com.formkiq.stacks.dynamodb.ConfigServiceImpl) DynamoDbConnectionBuilder(com.formkiq.stacks.dynamodb.DynamoDbConnectionBuilder)

Aggregations

ConfigServiceImpl (com.formkiq.stacks.dynamodb.ConfigServiceImpl)1 DynamoDbConnectionBuilder (com.formkiq.stacks.dynamodb.DynamoDbConnectionBuilder)1