FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

update rabbit config · JavaNick/spring-cloud-example@b6ab41d · GitHub

Commit b6ab41d

Browse files
zhaozhou
committed
update rabbit config
1 parent 620c1eb commit b6ab41d

5 files changed

Lines changed: 9 additions & 137 deletions

File tree

‎cloud-comx/pom.xml‎

Lines changed: 4 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,14 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
87
<artifactId>cloud-comx</artifactId>
98
<packaging>jar</packaging>
109
<name>cloud-comx</name>
11-
<!--
12-
<groupId>cn.com.mx</groupId>
13-
<artifactId>jcomx</artifactId>
14-
-->
10+
1511
<version>1.0-SNAPSHOT</version>
12+
1613
<properties>
17-
<!-- Use the latest version whenever possible. -->
18-
<!-- for spring cloud -->
1914
<start-class>com.gomeplus.comx.boot.server.ComxSpringCloudApplication</start-class>
20-
<!-- end spring cloud -->
2115
<nettygroup>io.netty</nettygroup>
2216
<nettyversion>4.1.6.Final</nettyversion>
2317
</properties>
@@ -57,27 +51,22 @@
5751
</dependency>
5852

5953

60-
61-
<!-- http clients -->
62-
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
6354
<dependency>
6455
<groupId>org.apache.httpcomponents</groupId>
6556
<artifactId>httpclient</artifactId>
6657
<version>4.5.2</version>
6758
</dependency>
68-
<!-- end http client-->
69-
<!-- end common utils -->
7059

7160

7261

7362
<!-- servers -->
74-
<!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-server -->
7563
<dependency>
7664
<groupId>org.eclipse.jetty</groupId>
7765
<artifactId>jetty-server</artifactId>
7866
<version>9.4.0.v20161208</version>
7967
</dependency>
80-
<!-- end servers -->
68+
69+
8170
<!-- netty -->
8271
<dependency>
8372
<groupId>${nettygroup}</groupId>
@@ -129,55 +118,24 @@
129118
<artifactId>netty-codec-stomp</artifactId>
130119
<version>${nettyversion}</version>
131120
</dependency>
132-
<!--
133-
all 缺 部分包
134-
<dependency>
135-
<groupId>io.netty</groupId>
136-
<artifactId>netty-all</artifactId>
137-
<version>5.0.0.Alpha2</version>
138-
</dependency>
139-
-->
140-
<!-- netty -->
141-
142121

143-
144-
145-
146-
147-
148-
<!-- io utils -->
149-
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
150122
<dependency>
151123
<groupId>commons-io</groupId>
152124
<artifactId>commons-io</artifactId>
153125
<version>2.5</version>
154126
</dependency>
155-
<!-- https://mvnrepository.com/artifact/com.google.guava/guava-base -->
156127
<dependency>
157128
<groupId>com.google.guava</groupId>
158129
<artifactId>guava</artifactId>
159130
<version>21.0</version>
160131
</dependency>
161-
<!-- end io utils -->
162132

163-
<!-- jedis -->
164-
<!-- jedis 客户端不兼容 不能随意升级 -->
165-
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
166133
<dependency>
167134
<groupId>redis.clients</groupId>
168135
<artifactId>jedis</artifactId>
169136
<version>2.9.0</version>
170137
</dependency>
171-
<!-- end jedis -->
172-
173-
174-
175-
176-
177138

178-
179-
<!-- groovy and test-->
180-
<!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-all -->
181139
<dependency>
182140
<groupId>org.codehaus.groovy</groupId>
183141
<artifactId>groovy-all</artifactId>
@@ -198,10 +156,6 @@
198156
<!-- end groovy and test-->
199157

200158

201-
202-
203-
204-
205159
<!-- spring and springcloud -->
206160
<dependency>
207161
<groupId>org.springframework.cloud</groupId>
@@ -228,21 +182,15 @@
228182
<artifactId>spring-cloud-starter-eureka</artifactId>
229183
</dependency>
230184

231-
232185
<dependency>
233186
<groupId>org.jolokia</groupId>
234187
<artifactId>jolokia-core</artifactId>
235188
</dependency>
236189

237190

238-
239-
240191
</dependencies>
241192

242193

243-
244-
245-
246194
<profiles>
247195
<profile>
248196
<id>docker</id>
@@ -259,48 +207,10 @@
259207

260208
<build>
261209
<plugins>
262-
<!-- spring cloud -->
263210
<plugin>
264211
<groupId>org.springframework.boot</groupId>
265212
<artifactId>spring-boot-maven-plugin</artifactId>
266213
</plugin>
267-
268-
269-
270-
<!-- for groovy, use gmaven -->
271-
<!--
272-
<plugin>
273-
<groupId>org.codehaus.gmaven</groupId>
274-
<artifactId>gmaven-plugin</artifactId>
275-
<version>1.3</version>
276-
<executions>
277-
<execution>
278-
<goals> <goal>generateTestStubs</goal> <goal>testCompile</goal>
279-
</goals>
280-
</execution>
281-
</executions>
282-
</plugin>
283-
-->
284-
<!-- use java 1.8 -->
285-
<!--
286-
<plugin>
287-
<groupId>org.apache.maven.plugins</groupId>
288-
<artifactId>maven-compiler-plugin</artifactId>
289-
<version>2.3.2</version>
290-
<configuration>
291-
<source>1.8</source>
292-
<target>1.8</target>
293-
</configuration>
294-
</plugin>
295-
-->
296-
<!-- jetty -->
297-
<!--
298-
<plugin>
299-
<groupId>org.eclipse.jetty</groupId>
300-
<artifactId>jetty-maven-plugin</artifactId>
301-
<version>9.4.0.v20161208</version>
302-
</plugin>
303-
-->
304214
</plugins>
305215
</build>
306216
</project>

‎cloud-comx/src/test/java/com/gomeplus/comx/utils/rest/clients/ApacheHttpClientTest.java‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

cloud-config-server/src/main/resources/application.yml renamed to cloud-config-server/src/main/resources/bootstrap.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
spring:
2-
application:
3-
name : config-server
2+
application.name : config-server
43
profiles.active: dev
54
cloud:
65
config:
@@ -9,26 +8,17 @@ spring:
98
uri: https://github.com/ThoreauZZ/spring-cloud-example.git
109
# uri: file:/github/spring-learn
1110
searchPaths: config-repo
12-
11+
server:
12+
port : 9000
1313

1414
---
1515
spring:
1616
profiles: dev
1717

18-
server:
19-
port : 9000
20-
21-
rabbitmq:
22-
host: localhost
23-
port: 5672
24-
username: guest
25-
password: guest
26-
virtualHost: /
27-
2818
eureka:
2919
client:
3020
serviceUrl:
31-
defaultZone: http://discovery:9001/eureka/
21+
defaultZone: http://localhost:9001/eureka/
3222

3323

3424
---

‎cloud-zipkin-ui/src/main/resources/bootstrap.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ spring:
99
discovery:
1010
enabled: true
1111
serviceId: config-server
12+
1213
---
1314

1415
spring:

‎config-repo/myconfig-dev.properties‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL