Skip to content

Commit e4d0295

Browse files
committed
RF Storage service
1 parent 2852d9a commit e4d0295

21 files changed

Lines changed: 28 additions & 38 deletions

File tree

api-gateway-service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2323
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2424
<java.version>1.8</java.version>
25-
<spring-cloud.version>Dalston.SR1</spring-cloud.version>
25+
<spring-cloud.version>Dalston.RELEASE</spring-cloud.version>
2626
</properties>
2727

2828
<dependencies>

realtor-service/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<version>0.0.1-SNAPSHOT</version>
99
<packaging>jar</packaging>
1010

11-
<name>realtor-service</name>
11+
<name>Realtor service</name>
1212
<description>Demo project for Spring Boot</description>
1313

1414
<parent>
@@ -50,7 +50,7 @@
5050
<artifactId>spring-cloud-starter-feign</artifactId>
5151
</dependency>
5252
<dependency>
53-
<groupId>com.lohika.jclub.storage</groupId>
53+
<groupId>com.lohika.jclub.storage.client</groupId>
5454
<artifactId>storage-service-client</artifactId>
5555
<version>0.0.1-SNAPSHOT</version>
5656
</dependency>

realtor-service/src/main/java/com/lohika/jclub/realtor/RealtorController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import lombok.extern.slf4j.Slf4j;
44

5-
import com.lohika.jclub.storage.Apartment;
6-
import com.lohika.jclub.storage.StorageServiceClient;
5+
import com.lohika.jclub.storage.client.Apartment;
6+
import com.lohika.jclub.storage.client.StorageServiceClient;
77

88
import org.springframework.beans.factory.annotation.Autowired;
99
import org.springframework.cloud.client.ServiceInstance;

realtor-service/src/main/java/com/lohika/jclub/realtor/RealtorServiceApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.lohika.jclub.realtor;
22

33

4-
import com.lohika.jclub.storage.EnableStorageServiceClient;
4+
import com.lohika.jclub.storage.client.EnableStorageServiceClient;
55

66
import org.springframework.boot.SpringApplication;
77
import org.springframework.boot.autoconfigure.SpringBootApplication;

storage-service-client/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55

6-
<groupId>com.lohika.jclub.storage</groupId>
6+
<groupId>com.lohika.jclub.storage.client</groupId>
77
<artifactId>storage-service-client</artifactId>
88
<version>0.0.1-SNAPSHOT</version>
99
<packaging>jar</packaging>
@@ -61,7 +61,7 @@
6161
<scope>test</scope>
6262
</dependency>
6363
<dependency>
64-
<groupId>com.lohika.jclub.storage</groupId>
64+
<groupId>com.lohika.jclub.storage.service</groupId>
6565
<artifactId>storage-service</artifactId>
6666
<version>0.0.1-SNAPSHOT</version>
6767
<scope>test</scope>

storage-service-client/src/main/java/com/lohika/jclub/storage/Apartment.java renamed to storage-service-client/src/main/java/com/lohika/jclub/storage/client/Apartment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lohika.jclub.storage;
1+
package com.lohika.jclub.storage.client;
22

33
import lombok.AllArgsConstructor;
44
import lombok.Builder;

storage-service-client/src/main/java/com/lohika/jclub/storage/EnableStorageServiceClient.java renamed to storage-service-client/src/main/java/com/lohika/jclub/storage/client/EnableStorageServiceClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lohika.jclub.storage;
1+
package com.lohika.jclub.storage.client;
22

33
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
44
import org.springframework.cloud.netflix.feign.EnableFeignClients;

storage-service-client/src/main/java/com/lohika/jclub/storage/FeignMappingDefaultConfiguration.java renamed to storage-service-client/src/main/java/com/lohika/jclub/storage/client/FeignMappingDefaultConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lohika.jclub.storage;
1+
package com.lohika.jclub.storage.client;
22

33
import feign.Feign;
44

storage-service-client/src/main/java/com/lohika/jclub/storage/StorageServiceClient.java renamed to storage-service-client/src/main/java/com/lohika/jclub/storage/client/StorageServiceClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lohika.jclub.storage;
1+
package com.lohika.jclub.storage.client;
22

33
import org.springframework.cloud.netflix.feign.FeignClient;
44
import org.springframework.hateoas.PagedResources;

storage-service-client/src/main/java/com/lohika/jclub/storage/StorageServiceClientConfiguration.java renamed to storage-service-client/src/main/java/com/lohika/jclub/storage/client/StorageServiceClientConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.lohika.jclub.storage;
1+
package com.lohika.jclub.storage.client;
22

33
import org.springframework.context.annotation.Bean;
44
import org.springframework.context.annotation.Configuration;

0 commit comments

Comments
 (0)