Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-message
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
cloud-message
Commits
b724ee59
Commit
b724ee59
authored
Oct 18, 2024
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置信息
parent
10c3a4d2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
cloud-newMessage-service/src/main/java/com/yizhi/message/application/CloudMessageApplication.java
+2
-1
cloud-newMessage-service/src/main/resources/bootstrap.properties
+3
-3
pom.xml
+2
-2
No files found.
cloud-newMessage-service/src/main/java/com/yizhi/message/application/CloudMessageApplication.java
View file @
b724ee59
...
@@ -4,6 +4,7 @@ import com.yizhi.message.application.constans.Constans;
...
@@ -4,6 +4,7 @@ import com.yizhi.message.application.constans.Constans;
import
org.springframework.amqp.core.Queue
;
import
org.springframework.amqp.core.Queue
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.openfeign.EnableFeignClients
;
import
org.springframework.cloud.openfeign.EnableFeignClients
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
...
@@ -13,7 +14,7 @@ import org.springframework.context.annotation.ComponentScan;
...
@@ -13,7 +14,7 @@ import org.springframework.context.annotation.ComponentScan;
* @Author: hutao
* @Author: hutao
* @Date: 2019
* @Date: 2019
*/
*/
@SpringBootApplication
@SpringBootApplication
(
exclude
=
{
RabbitAutoConfiguration
.
class
})
@EnableDiscoveryClient
@EnableDiscoveryClient
@EnableFeignClients
(
basePackages
=
{
"com.yizhi"
})
@EnableFeignClients
(
basePackages
=
{
"com.yizhi"
})
@ComponentScan
(
basePackages
=
{
"com.yizhi"
})
@ComponentScan
(
basePackages
=
{
"com.yizhi"
})
...
...
cloud-newMessage-service/src/main/resources/bootstrap.properties
View file @
b724ee59
server.port
=
35012
server.port
=
35012
spring.application.name
=
newMessage
spring.application.name
=
newMessage
ACTIVE
=
${spring.profiles.active}
ACTIVE
=
${spring.profiles.active}
spring.profiles.active
=
wmy401
spring.profiles.active
=
prod
# nacos
# nacos
spring.cloud.nacos.config.shared-dataids
=
common-${spring.profiles.active}.properties
spring.cloud.nacos.config.shared-dataids
=
common-${spring.profiles.active}.properties
spring.cloud.nacos.config.namespace
=
${spring.profiles.active}
spring.cloud.nacos.config.namespace
=
${spring.profiles.active}
spring.cloud.nacos.config.prefix
=
${spring.application.name}
spring.cloud.nacos.config.prefix
=
${spring.application.name}
spring.cloud.nacos.config.file-extension
=
properties
spring.cloud.nacos.config.file-extension
=
properties
spring.cloud.nacos.config.server-addr
=
192.168.1.7:3333;192.168.1.7:4444;192.168.1.7:5555
spring.cloud.nacos.config.server-addr
=
10.23.1.183:8848
\ No newline at end of file
\ No newline at end of file
pom.xml
View file @
b724ee59
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
<repositories>
<repositories>
<repository>
<repository>
<id>
learning
-data-group
</id>
<id>
hqzhdj
-data-group
</id>
<url>
http://192.168.0.15:8081/repository/
learning
-data-group/
</url>
<url>
http://192.168.0.15:8081/repository/
hqzhdj
-data-group/
</url>
<releases>
<releases>
<enabled>
true
</enabled>
<enabled>
true
</enabled>
</releases>
</releases>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment