Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yst-dch-score
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Fei 张飞
yst-dch-score
Commits
6e235f18
Commit
6e235f18
authored
Aug 19, 2020
by
Fei 张飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust train project
parent
a5cb02dd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
73 additions
and
83 deletions
+73
-83
pom.xml
pom.xml
+19
-19
ItmSwagger2Config.java
...in/java/com/elitesland/item/config/ItmSwagger2Config.java
+5
-6
package-info.java
...rc/main/java/com/elitesland/item/config/package-info.java
+0
-9
application-dev.yml
yst-dch/src/main/resources/config/application-dev.yml
+24
-24
application-prod.yml
yst-dch/src/main/resources/config/application-prod.yml
+25
-25
No files found.
pom.xml
View file @
6e235f18
...
...
@@ -284,25 +284,25 @@
<version>
1.1.1
</version>
</dependency>
<!--dubbo 配置
-->
<dependency
>
<groupId>
org.apache.dubbo
</groupId
>
<artifactId>
dubbo-spring-boot-starter
</artifactId
>
<version>
${dubbo.version}
</version
>
</dependency
>
<dependency
>
<groupId>
org.apache.dubbo
</groupId
>
<artifactId>
dubbo-dependencies-zookeeper
</artifactId
>
<version>
${dubbo.version}
</version
>
<!-- <exclusions
>
<exclusion
>
<groupId>org.slf4j</groupId
>
<artifactId>slf4j-log4j12</artifactId
>
</exclusion
>
</exclusions>
-->
<type>
pom
</type
>
</dependency
>
<!-- <!–dubbo 配置–>
-->
<!-- <dependency>--
>
<!-- <groupId>org.apache.dubbo</groupId>--
>
<!-- <artifactId>dubbo-spring-boot-starter</artifactId>--
>
<!-- <version>${dubbo.version}</version>--
>
<!-- </dependency>--
>
<!-- <dependency>--
>
<!-- <groupId>org.apache.dubbo</groupId>--
>
<!-- <artifactId>dubbo-dependencies-zookeeper</artifactId>--
>
<!-- <version>${dubbo.version}</version>--
>
<!-- <!– <exclusions>--
>
<!-- <exclusion>--
>
<!-- <groupId>org.slf4j</groupId>--
>
<!-- <artifactId>slf4j-log4j12</artifactId>--
>
<!-- </exclusion>--
>
<!-- </exclusions>–>
-->
<!-- <type>pom</type>--
>
<!-- </dependency>--
>
</dependencies>
<build>
...
...
yst-dch/src/main/java/com/elitesland/item/config/ItmSwagger2Config.java
View file @
6e235f18
package
com
.
elitesland
.
itm
.
config
;
package
com
.
elitesland
.
it
e
m
.
config
;
import
com.elitesland.security.config.bean.JwtProperties
;
import
lombok.RequiredArgsConstructor
;
...
...
@@ -20,14 +20,13 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* <p>
* 功能说明
:品项模块
* </p>
* 功能说明
* </p
>
*
* @author
niucnen
* @
since 2020-07-03 15:32:37
* @author
Roman.Zhang
* @
date 2020/8/19
*/
@Configuration
@EnableSwagger2
...
...
yst-dch/src/main/java/com/elitesland/item/config/package-info.java
deleted
100644 → 0
View file @
a5cb02dd
/**
* <p>
* 功能说明:配置信息
* </p>
*
* @author Mir
* @date 2020/6/29
*/
package
com
.
elitesland
.
item
.
config
;
yst-dch/src/main/resources/config/application-dev.yml
View file @
6e235f18
...
...
@@ -16,7 +16,7 @@ spring:
redis
:
#数据库索引
database
:
0
host
:
1
92.168.0.19
1
host
:
1
27.0.0.
1
port
:
6379
password
:
#连接超时时间
...
...
@@ -102,26 +102,26 @@ swagger:
# direct-buffers: true
##################dubbo配置 start########
provider
:
service
:
version
:
1.0.0
dubbo
:
application
:
#应用配置,用于配置当前应用信息,不管该应用是提供者还是消费者。
name
:
yst-dch-Service
registry
:
#注册中心配置,用于配置连接注册中心相关信息。
address
:
zookeeper://frps.elitescloud.com:25144
timeout
:
10000
#file: ${user.home}/dubbo-cache/${spring.application.name}/dubbo.cache
# metadata-report:
# address: zookeeper://192.168.1.130:2181
protocol
:
#协议配置,用于配置提供服务的协议信息,协议由提供方指定,消费方被动接受。
name
:
dubbo
port
:
-1
version
:
1.0.0
scan
:
base-packages
:
com.elitesland.tms.service.impl
#服务暴露与发现消费所在的package
#客户端配置
consumer
:
timeout
:
10000
check
:
false
#消费端启动时不检查服务,避免启动报错,默认为true
##################dubbo配置 ent########
#
provider:
#
service:
#
version: 1.0.0
#
dubbo:
#
application: #应用配置,用于配置当前应用信息,不管该应用是提供者还是消费者。
#
name: yst-dch-Service
#
registry: #注册中心配置,用于配置连接注册中心相关信息。
#
address: zookeeper://frps.elitescloud.com:25144
#
timeout: 10000
#
#file: ${user.home}/dubbo-cache/${spring.application.name}/dubbo.cache
#
# metadata-report:
#
# address: zookeeper://192.168.1.130:2181
#
protocol: #协议配置,用于配置提供服务的协议信息,协议由提供方指定,消费方被动接受。
#
name: dubbo
#
port: -1
#
version: 1.0.0
#
scan:
#
base-packages: com.elitesland.tms.service.impl #服务暴露与发现消费所在的package
#
#客户端配置
#
consumer:
#
timeout: 10000
#
check: false #消费端启动时不检查服务,避免启动报错,默认为true
##################
#
dubbo配置 ent########
yst-dch/src/main/resources/config/application-prod.yml
View file @
6e235f18
...
...
@@ -13,7 +13,7 @@ spring:
redis
:
#数据库索引
database
:
0
host
:
1
27.0.0.
1
host
:
1
92.168.0.19
1
port
:
6379
password
:
#连接超时时间
...
...
@@ -82,27 +82,27 @@ swagger:
#################################### Swagger end ####################################
##################dubbo配置 start########
provider
:
service
:
version
:
1.0.0
dubbo
:
application
:
#应用配置,用于配置当前应用信息,不管该应用是提供者还是消费者。
name
:
yst-dch-Service
registry
:
#注册中心配置,用于配置连接注册中心相关信息。
address
:
zookeeper://frps.elitescloud.com:25144
timeout
:
10000
#file: ${user.home}/dubbo-cache/${spring.application.name}/dubbo.cache
# metadata-report:
# address: zookeeper://192.168.1.130:2181
protocol
:
#协议配置,用于配置提供服务的协议信息,协议由提供方指定,消费方被动接受。
name
:
dubbo
port
:
-1
version
:
1.0.0
scan
:
base-packages
:
com.elitesland.tms.service.impl
#服务暴露与发现消费所在的package
#客户端配置
consumer
:
timeout
:
10000
check
:
false
#消费端启动时不检查服务,避免启动报错,默认为true
##################dubbo配置 ent########
##################
#
dubbo配置 start########
#
provider:
#
service:
#
version: 1.0.0
#
dubbo:
#
application: #应用配置,用于配置当前应用信息,不管该应用是提供者还是消费者。
#
name: yst-dch-Service
#
registry: #注册中心配置,用于配置连接注册中心相关信息。
#
address: zookeeper://frps.elitescloud.com:25144
#
timeout: 10000
#
#file: ${user.home}/dubbo-cache/${spring.application.name}/dubbo.cache
#
# metadata-report:
#
# address: zookeeper://192.168.1.130:2181
#
protocol: #协议配置,用于配置提供服务的协议信息,协议由提供方指定,消费方被动接受。
#
name: dubbo
#
port: -1
#
version: 1.0.0
#
scan:
#
base-packages: com.elitesland.tms.service.impl #服务暴露与发现消费所在的package
#
#客户端配置
#
consumer:
#
timeout: 10000
#
check: false #消费端启动时不检查服务,避免启动报错,默认为true
##################
#
dubbo配置 ent########
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