Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
easy-affair-show
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
easy-affair-show
Commits
e634ebb0
Commit
e634ebb0
authored
Sep 06, 2022
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回退到微服务版本
parent
82fd9ee5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
46 deletions
+30
-46
eas-manager/pom.xml
eas-manager/pom.xml
+8
-6
eas-manager/src/main/resources/bootstrap.yml
eas-manager/src/main/resources/bootstrap.yml
+14
-32
pom.xml
pom.xml
+8
-8
No files found.
eas-manager/pom.xml
View file @
e634ebb0
...
...
@@ -30,7 +30,9 @@
<profiles.kafka.brokers>
192.168.0.251:9092
</profiles.kafka.brokers>
<profiles.rabbitmq.host>
192.168.0.98
</profiles.rabbitmq.host>
<profiles.rabbitmq.port>
5672
</profiles.rabbitmq.port>
<profiles.nacos.server-addr>
192.168.0.252:8848
</profiles.nacos.server-addr>
<profiles.nacos.group>
DEFAULT_GROUP
</profiles.nacos.group>
<profiles.nacos.namespace>
easy-affair-show
</profiles.nacos.namespace>
<profiles.log.path>
/mortals/app/logs
</profiles.log.path>
</properties>
</profile>
...
...
@@ -116,11 +118,11 @@
<artifactId>
jjwt
</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework</groupId>-->
<!-- <artifactId>spring-test</artifactId>-->
<!-- <version>RELEASE</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.springframework</groupId>-->
<!-- <artifactId>spring-test</artifactId>-->
<!-- <version>RELEASE</version>-->
<!-- </dependency>-->
<dependency>
<groupId>
junit
</groupId>
...
...
eas-manager/src/main/resources/bootstrap.yml
View file @
e634ebb0
server
:
port
:
17001
servlet
:
context-path
:
/eas
tomcat
:
uri-encoding
:
utf-8
spring
:
...
...
@@ -16,45 +13,30 @@ spring:
jackson
:
date-format
:
yyyy-MM-dd HH:mm:ss
time-zone
:
GMT+8
security
:
enable
:
true
user
:
name
:
admin
password
:
1
redis
:
host
:
127.0.0.1
port
:
6379
database
:
6
timeout
:
30000
pool
:
max-idle
:
30
min-idle
:
0
max-active
:
100
max-wait
:
1000
datasource
:
type
:
com.alibaba.druid.pool.DruidDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://localhost:3306/yi_zheng_xiu?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Hongkong
username
:
root
password
:
12345678
cloud
:
nacos
:
# Nacos 作为注册中心的配置项,对应 NacosDiscoveryProperties 配置类
discovery
:
server-addr
:
@
profiles.nacos.server-addr@
# Nacos 服务器地址
group
:
@
profiles.nacos.group@
namespace
:
@
profiles.nacos.namespace@
config
:
server-addr
:
${spring.cloud.nacos.discovery.server-addr}
# Nacos 服务器地址
group
:
${spring.cloud.nacos.discovery.group}
namespace
:
${spring.cloud.nacos.discovery.namespace}
# Nacos 命名空间 dev 的编号
file-extension
:
yaml
mybatis
:
root-path
:
com.mortals
type-aliases-package
:
com.mortals.framework.model,com.mortals.xhx.common.**.model,com.mortals.xhx.**.model
mapper-locations
:
classpath*:sqlmap/**/*.xml
config-location
:
classpath*:config/mybatis-sqlmap-config.xml
application
:
auth
:
unloginUrl
:
/refresh,/error,/login/login,/login/index,/login/logout,/customer/login/login,/customer/login/logout,/securitycode/createCode,/customer/trial/save,/file/common/*,/file/preview/*,/test*,/api/asset/*,/api/*,/zwfw/*,/ws/*,/swagger-ui*,/topic/*,/uploads/*
uncheckUrl
:
/refresh,/error,/login/login,/login/index,/login/logout,/customer/login/login,/customer/login/logout,/securitycode/createCode,/customer/trial/save,/file/common/*,/file/preview/*,/test*,/api/asset/*,/api/*,/zwfw/*,/ws/*,/swagger-ui*,/topic/*,/uploads/*
workflow
:
tenantId
:
${spring.application.name}
cookie
:
ssoServerUrl
:
http://sso.testnew.com
key
:
026db82420614469897fcc2dc1b4ce38
domain
:
base.testnew.com
port
:
111
token
:
head
:
mortal
upload
:
path
:
/mortals/app/data
pom.xml
View file @
e634ebb0
...
...
@@ -50,14 +50,14 @@
</dependency>
<!-- 引入 Spring Cloud Alibaba Nacos Config 相关依赖,将 Nacos 作为配置中心,并实现对其的自动配置 -->
<!-- <dependency>--
>
<!-- <groupId>com.alibaba.cloud</groupId>--
>
<!-- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>--
>
<!-- </dependency>--
>
<!-- <dependency>--
>
<!-- <groupId>com.alibaba.cloud</groupId>--
>
<!-- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>--
>
<!-- </dependency>--
>
<dependency
>
<groupId>
com.alibaba.cloud
</groupId
>
<artifactId>
spring-cloud-starter-alibaba-nacos-config
</artifactId
>
</dependency
>
<dependency
>
<groupId>
com.alibaba.cloud
</groupId
>
<artifactId>
spring-cloud-starter-alibaba-nacos-discovery
</artifactId
>
</dependency
>
</dependencies>
...
...
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