Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_java
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
葛齐林
energyai_java
Commits
59c18cf3
Commit
59c18cf3
authored
Mar 31, 2021
by
Muceball
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
端口调整
parent
5e895c4b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
26 deletions
+26
-26
bootstrap.yml
...ice-authorization-server/src/main/resources/bootstrap.yml
+1
-1
application-dev.yml
...vice-config-server/src/main/resources/application-dev.yml
+4
-4
application.yml
...oservice-config-server/src/main/resources/application.yml
+1
-1
bootstrap.yml
...service-discovery-eureka/src/main/resources/bootstrap.yml
+1
-1
bootstrap.yml
microservice-gateway-zuul/src/main/resources/bootstrap.yml
+1
-1
pom.xml
pom.xml
+18
-18
No files found.
microservice-authorization-server/src/main/resources/bootstrap.yml
View file @
59c18cf3
...
@@ -16,7 +16,7 @@ eureka:
...
@@ -16,7 +16,7 @@ eureka:
healthcheck
:
healthcheck
:
enabled
:
true
enabled
:
true
serviceUrl
:
serviceUrl
:
defaultZone
:
http://user:password123@eureka:876
1
/eureka
defaultZone
:
http://user:password123@eureka:876
2
/eureka
instance
:
instance
:
lease-renewal-interval-in-seconds
:
4
lease-renewal-interval-in-seconds
:
4
lease-expiration-duration-in-seconds
:
12
lease-expiration-duration-in-seconds
:
12
...
...
microservice-config-server/src/main/resources/application-dev.yml
View file @
59c18cf3
...
@@ -41,7 +41,7 @@ spring:
...
@@ -41,7 +41,7 @@ spring:
async
:
async
:
request-timeout
:
60000
request-timeout
:
60000
redis
:
redis
:
host
:
10.20.72.35
host
:
47.94.207.62
port
:
6379
port
:
6379
password
:
password
:
jedis
:
jedis
:
...
@@ -59,9 +59,9 @@ spring:
...
@@ -59,9 +59,9 @@ spring:
datasource
:
datasource
:
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
driver-class-name
:
com.mysql.jdbc.Driver
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://10.20.72.31
:3306/energy?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
url
:
jdbc:mysql://47.94.207.62
:3306/energy?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
username
:
root
username
:
root
password
:
root
password
:
superAdmin&321
initialSize
:
5
initialSize
:
5
minIdle
:
0
minIdle
:
0
maxActive
:
1000
maxActive
:
1000
...
@@ -88,7 +88,7 @@ eureka:
...
@@ -88,7 +88,7 @@ eureka:
healthcheck
:
healthcheck
:
enabled
:
false
enabled
:
false
serviceUrl
:
serviceUrl
:
defaultZone
:
http://user:password123@eureka:876
1
/eureka
defaultZone
:
http://user:password123@eureka:876
2
/eureka
instance
:
instance
:
lease-renewal-interval-in-seconds
:
4
lease-renewal-interval-in-seconds
:
4
lease-expiration-duration-in-seconds
:
12
lease-expiration-duration-in-seconds
:
12
...
...
microservice-config-server/src/main/resources/application.yml
View file @
59c18cf3
...
@@ -17,7 +17,7 @@ eureka:
...
@@ -17,7 +17,7 @@ eureka:
healthcheck
:
healthcheck
:
enabled
:
true
enabled
:
true
serviceUrl
:
serviceUrl
:
defaultZone
:
http://user:password123@eureka:876
1
/eureka
defaultZone
:
http://user:password123@eureka:876
2
/eureka
# defaultZone: http://user:password123@eureka:8761/eureka
# defaultZone: http://user:password123@eureka:8761/eureka
# defaultZone: http://user:password123@172.19.0.1:8761/eureka
# defaultZone: http://user:password123@172.19.0.1:8761/eureka
instance
:
instance
:
...
...
microservice-discovery-eureka/src/main/resources/bootstrap.yml
View file @
59c18cf3
...
@@ -5,7 +5,7 @@ security:
...
@@ -5,7 +5,7 @@ security:
name
:
user
name
:
user
password
:
password123
password
:
password123
server
:
server
:
port
:
876
1
port
:
876
2
eureka
:
eureka
:
client
:
client
:
register-with-eureka
:
false
register-with-eureka
:
false
...
...
microservice-gateway-zuul/src/main/resources/bootstrap.yml
View file @
59c18cf3
...
@@ -100,7 +100,7 @@ eureka:
...
@@ -100,7 +100,7 @@ eureka:
fetch-registry
:
true
fetch-registry
:
true
registry-fetch-interval-seconds
:
8
registry-fetch-interval-seconds
:
8
serviceUrl
:
serviceUrl
:
defaultZone
:
http://user:password123@eureka:876
1
/eureka
defaultZone
:
http://user:password123@eureka:876
2
/eureka
instance
:
instance
:
lease-renewal-interval-in-seconds
:
4
lease-renewal-interval-in-seconds
:
4
lease-expiration-duration-in-seconds
:
12
lease-expiration-duration-in-seconds
:
12
...
...
pom.xml
View file @
59c18cf3
...
@@ -40,24 +40,24 @@
...
@@ -40,24 +40,24 @@
</dependencies>
</dependencies>
</dependencyManagement>
</dependencyManagement>
<!--注意: 这里必须要添加, 否者各种依赖有问题 -->
<!--注意: 这里必须要添加, 否者各种依赖有问题 -->
<repositories
>
<!-- <repositories>--
>
<repository
>
<!-- <repository>--
>
<id>
thirdparty
</id
>
<!-- <id>thirdparty</id>--
>
<name>
kg-thirdparty
</name
>
<!-- <name>kg-thirdparty</name>--
>
<url>
http://10.20.2.132:8081/repository/thirdparty/
</url
>
<!-- <url>http://10.20.2.132:8081/repository/thirdparty/</url>--
>
</repository
>
<!-- </repository>--
>
<repository
>
<!-- <repository>--
>
<id>
central
</id
>
<!-- <id>central</id>--
>
<name>
k-central
</name
>
<!-- <name>k-central</name>--
>
<!-- 公司外网地址
-->
<!-- <!– 公司外网地址 –>
-->
<url>
http://10.20.2.132:8081/repository/maven-central/
</url
>
<!-- <url>http://10.20.2.132:8081/repository/maven-central/</url>--
>
</repository
>
<!-- </repository>--
>
<repository
>
<!-- <repository>--
>
<id>
public
</id
>
<!-- <id>public</id>--
>
<name>
kg-public
</name
>
<!-- <name>kg-public</name>--
>
<url>
http://10.20.2.132:8081/repository/maven-public/
</url
>
<!-- <url>http://10.20.2.132:8081/repository/maven-public/</url>--
>
</repository
>
<!-- </repository>--
>
</repositories
>
<!-- </repositories>--
>
<build>
<build>
<resources>
<resources>
...
...
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