File tree Expand file tree Collapse file tree
java/com/lohika/jclub/client
test/java/com/lohika/jclub/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Sandbox to play with spring cloud features
1414| ----------------------| -----------------------------| --------------| --------------------------------------------------|
1515| Rating service | Rating Calculation Service | 8081 | |
1616| Hackster service| Hackster Detection Service | 8082| |
17+ | Client service| Client Service | 8083| |
1718| Realtor service| Realtor Api Service | 8080| To call other services used Feign, RestTemplate |
1819| Storage service| Storage of Apartment Records Service | 8091| H2 based service for ApartmentRecord data storage. |
1920| API gateway service| Zull API Gateway Service | 8090| |
Original file line number Diff line number Diff line change 1+ distributionUrl =https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+
6+ <groupId >com.lohika.jclub.client</groupId >
7+ <artifactId >client-service</artifactId >
8+ <version >0.0.1-SNAPSHOT</version >
9+ <packaging >jar</packaging >
10+
11+ <name >client-service</name >
12+ <description >Client service for Spring Boot</description >
13+
14+ <parent >
15+ <groupId >org.springframework.boot</groupId >
16+ <artifactId >spring-boot-starter-parent</artifactId >
17+ <version >1.5.4.RELEASE</version >
18+ <relativePath /> <!-- lookup parent from repository -->
19+ </parent >
20+
21+ <properties >
22+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
23+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
24+ <java .version>1.8</java .version>
25+ </properties >
26+
27+ <dependencies >
28+ <dependency >
29+ <groupId >org.springframework.boot</groupId >
30+ <artifactId >spring-boot-starter-web</artifactId >
31+ </dependency >
32+
33+ <dependency >
34+ <groupId >org.springframework.boot</groupId >
35+ <artifactId >spring-boot-starter-test</artifactId >
36+ <scope >test</scope >
37+ </dependency >
38+ </dependencies >
39+
40+ <build >
41+ <plugins >
42+ <plugin >
43+ <groupId >org.springframework.boot</groupId >
44+ <artifactId >spring-boot-maven-plugin</artifactId >
45+ </plugin >
46+ </plugins >
47+ </build >
48+
49+
50+ </project >
Original file line number Diff line number Diff line change 1+ package com .lohika .jclub .client ;
2+
3+ import org .springframework .boot .SpringApplication ;
4+ import org .springframework .boot .autoconfigure .SpringBootApplication ;
5+
6+ @ SpringBootApplication
7+ public class ClientServiceApplication {
8+
9+ public static void main (String [] args ) {
10+ SpringApplication .run (ClientServiceApplication .class , args );
11+ }
12+ }
Original file line number Diff line number Diff line change 1+ spring.application.name =client-service
2+ server.port =8083
3+ spring.data.rest.return-body-on-create =true
4+ spring.data.rest.return-body-on-update =true
Original file line number Diff line number Diff line change 1+ _________ __ _
2+ / ____/ (_)__ ____ / /_ ________ ______ __(_)_______
3+ / / / / / _ \/ __ \/ __/ / ___/ _ \/ ___/ | / / / ___/ _ \
4+ / /___/ / / __/ / / / /_ (__ ) __/ / | |/ / / /__/ __/
5+ \____/_/_/\___/_/ /_/\__/ /____/\___/_/ |___/_/\___/\___/
6+
7+ v.${application.version}
Original file line number Diff line number Diff line change 1+ package com .lohika .jclub .client ;
2+
3+ import org .junit .Test ;
4+ import org .junit .runner .RunWith ;
5+ import org .springframework .boot .test .context .SpringBootTest ;
6+ import org .springframework .test .context .junit4 .SpringRunner ;
7+
8+ @ RunWith (SpringRunner .class )
9+ @ SpringBootTest
10+ public class ClientServiceApplicationTests {
11+
12+ @ Test
13+ public void contextLoads () {
14+ }
15+
16+ }
Original file line number Diff line number Diff line change 2222 <module >storage-service</module >
2323 <module >storage-service-client</module >
2424 <module >api-gateway-service</module >
25+ <module >client-service</module >
2526 </modules >
26- </project >
27+ </project >
You can’t perform that action at this time.
0 commit comments