Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spacetech-cloud
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘晓滨
spacetech-cloud
Commits
c5760d13
Commit
c5760d13
authored
Nov 16, 2020
by
曹志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理配置
parent
bb8d2878
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
20 deletions
+12
-20
log.txt
log.txt
+0
-0
pom.xml
spacetech-service-growth/pom.xml
+4
-14
GrowthApplication.java
...growth/src/main/java/com/spacetech/GrowthApplication.java
+2
-0
application.yml
spacetech-service-growth/src/main/resources/application.yml
+1
-1
bootstrap.yml
spacetech-service-growth/src/main/resources/bootstrap.yml
+5
-5
No files found.
log.txt
0 → 100644
View file @
c5760d13
This diff is collapsed.
Click to expand it.
spacetech-service-growth/pom.xml
View file @
c5760d13
...
@@ -17,16 +17,6 @@
...
@@ -17,16 +17,6 @@
<dependencies>
<dependencies>
<!--nacos服务发现-->
<dependency>
<groupId>
com.alibaba.cloud
</groupId>
<artifactId>
spring-cloud-starter-alibaba-nacos-discovery
</artifactId>
</dependency>
<!--nacos注册中心-->
<dependency>
<groupId>
com.alibaba.cloud
</groupId>
<artifactId>
spring-cloud-starter-alibaba-nacos-config
</artifactId>
</dependency>
<!--dubbo-->
<!--dubbo-->
<dependency>
<dependency>
<groupId>
com.alibaba.cloud
</groupId>
<groupId>
com.alibaba.cloud
</groupId>
...
@@ -81,8 +71,8 @@
...
@@ -81,8 +71,8 @@
<dependency>
<dependency>
<groupId>
com.spacetech
</groupId>
<groupId>
com.spacetech
</groupId>
<artifactId>
spacetech-common-util
s
</artifactId>
<artifactId>
spacetech-common-util
</artifactId>
<version>
1.0
-SNAPSHOT
</version>
<version>
0.0.1
-SNAPSHOT
</version>
<exclusions>
<exclusions>
<exclusion>
<exclusion>
<artifactId>
zookeeper
</artifactId>
<artifactId>
zookeeper
</artifactId>
...
@@ -97,8 +87,8 @@
...
@@ -97,8 +87,8 @@
<dependency>
<dependency>
<groupId>
com.spacetech
</groupId>
<groupId>
com.spacetech
</groupId>
<artifactId>
spacetech-
gateway
</artifactId>
<artifactId>
spacetech-
service-interface
</artifactId>
<version>
1.0
-SNAPSHOT
</version>
<version>
0.0.1
-SNAPSHOT
</version>
</dependency>
</dependency>
...
...
spacetech-service-growth/src/main/java/com/spacetech/GrowthApplication.java
View file @
c5760d13
...
@@ -4,9 +4,11 @@ package com.spacetech;
...
@@ -4,9 +4,11 @@ package com.spacetech;
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.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.data.jpa.repository.config.EnableJpaRepositories
;
@SpringBootApplication
@SpringBootApplication
@EnableDiscoveryClient
@EnableDiscoveryClient
@EnableJpaRepositories
(
basePackages
=
"com.spacetech.dao"
)
public
class
GrowthApplication
{
public
class
GrowthApplication
{
...
...
spacetech-service-growth/src/main/resources/application.yml
View file @
c5760d13
...
@@ -56,7 +56,7 @@ dubbo:
...
@@ -56,7 +56,7 @@ dubbo:
protocol
:
protocol
:
name
:
dubbo
name
:
dubbo
port
:
-1
port
:
-1
# serialization: kryo
registries
:
registries
:
zk
:
zk
:
...
...
spacetech-service-growth/src/main/resources/bootstrap.yml
View file @
c5760d13
...
@@ -7,16 +7,16 @@ spring:
...
@@ -7,16 +7,16 @@ spring:
discovery
:
discovery
:
server-addr
:
${nacos.server.addr}
server-addr
:
${nacos.server.addr}
# 配置中心,使用时开启
# 配置中心,使用时开启
config
:
#
config:
server-addr
:
${nacos.server.addr}
#
server-addr: ${nacos.server.addr}
file-extension
:
yaml
#
file-extension: yaml
# extension-configs:
# extension-configs:
# - data-id: logback-spring.xml # 日志配置
# - data-id: logback-spring.xml # 日志配置
# group: COMMON-GROUP
# group: COMMON-GROUP
# refresh: true
# refresh: true
main
:
#
main:
web-application-type
:
none
#
web-application-type: none
nacos
:
nacos
:
server
:
server
:
...
...
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