BAEL-223: Updated package name and project directory
This commit is contained in:
parent
5444f7c1df
commit
8dd8cab664
|
@ -1,4 +1,4 @@
|
||||||
package com.baeldung.spring.data.es.config;
|
package com.baeldung.spring.data.dynamodb.config;
|
||||||
|
|
||||||
import com.amazonaws.auth.AWSCredentials;
|
import com.amazonaws.auth.AWSCredentials;
|
||||||
import com.amazonaws.auth.BasicAWSCredentials;
|
import com.amazonaws.auth.BasicAWSCredentials;
|
||||||
|
@ -11,7 +11,7 @@ import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.util.StringUtils;
|
import org.springframework.util.StringUtils;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableDynamoDBRepositories(basePackages = "com.baeldung.spring.data.es.repositories")
|
@EnableDynamoDBRepositories(basePackages = "com.baeldung.spring.data.dynamodb.repositories")
|
||||||
public class DynamoDBConfig {
|
public class DynamoDBConfig {
|
||||||
|
|
||||||
@Value("${amazon.dynamodb.endpoint}")
|
@Value("${amazon.dynamodb.endpoint}")
|
|
@ -1,4 +1,4 @@
|
||||||
package com.baeldung.spring.data.es.model;
|
package com.baeldung.spring.data.dynamodb.model;
|
||||||
|
|
||||||
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute;
|
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute;
|
||||||
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAutoGeneratedKey;
|
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAutoGeneratedKey;
|
|
@ -1,6 +1,6 @@
|
||||||
package com.baeldung.spring.data.es.repositories;
|
package com.baeldung.spring.data.dynamodb.repositories;
|
||||||
|
|
||||||
import com.baeldung.spring.data.es.model.ProductInfo;
|
import com.baeldung.spring.data.dynamodb.model.ProductInfo;
|
||||||
import org.socialsignin.spring.data.dynamodb.repository.EnableScan;
|
import org.socialsignin.spring.data.dynamodb.repository.EnableScan;
|
||||||
import org.springframework.data.repository.CrudRepository;
|
import org.springframework.data.repository.CrudRepository;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.baeldung.spring.data.es.repository;
|
package com.baeldung.spring.data.dynamodb.repository;
|
||||||
|
|
||||||
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
|
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
|
||||||
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper;
|
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper;
|
||||||
|
@ -6,8 +6,8 @@ import com.amazonaws.services.dynamodbv2.model.CreateTableRequest;
|
||||||
import com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput;
|
import com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput;
|
||||||
import com.amazonaws.services.dynamodbv2.model.ResourceInUseException;
|
import com.amazonaws.services.dynamodbv2.model.ResourceInUseException;
|
||||||
import com.baeldung.Application;
|
import com.baeldung.Application;
|
||||||
import com.baeldung.spring.data.es.model.ProductInfo;
|
import com.baeldung.spring.data.dynamodb.model.ProductInfo;
|
||||||
import com.baeldung.spring.data.es.repositories.ProductInfoRepository;
|
import com.baeldung.spring.data.dynamodb.repositories.ProductInfoRepository;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
Loading…
Reference in New Issue