Ver Fonte

配置修改

vincent há 3 anos atrás
pai
commit
bce3aea9b4

+ 1 - 1
maxkey-gateway/build.gradle

@@ -12,7 +12,7 @@ plugins {
 
 apply plugin: 'com.google.cloud.tools.jib'
 
-description = "maxkey-gateway"
+description = "taihu-gateway"
 
 //docker
 jib {

+ 7 - 7
maxkey-gateway/src/main/resources/application.yml

@@ -6,23 +6,23 @@ server:
   port: 9000
 spring:
   application:
-    name: maxkey-gateway
+    name: taihu-gateway
   cloud:
     gateway:
       routes:
         #nacos健康检查端口8080
-        - id: maxkey_router
-          uri: lb://maxkey
+        - id: taihu_router
+          uri: lb://taihu
           filters:
             - PrefixPath=/
           predicates:
-            - Path=/maxkey/**
-        - id: maxkey-demo_router
-          uri: lb://maxkey-demo
+            - Path=/taihu/**
+        - id: taihu-demo_router
+          uri: lb://taihu-demo
           filters:
             - PrefixPath=/
           predicates:
-            - Path=/maxkey-demo/**
+            - Path=/taihu-demo/**
 #      discovery:
 #        locator:
 #          enabled: true

+ 1 - 1
maxkey-gateway/src/main/resources/bootstrap.properties

@@ -4,7 +4,7 @@ spring.cloud.nacos.config.server-addr           =${NACOS_CONFIG_SERVER_ADDR:127.
 # Data ID:maxkey.properties
 # Group:DEFAULT_GROUP
 # configuration:useLocalCache=true
-spring.application.name                         =maxkey-gateway
+spring.application.name                         =taihu-gateway
 # Suffix for the configuration. Supports properties,yaml,yml,default is properties
 spring.cloud.nacos.config.file-extension        =properties
 #spring.cloud.nacos.config.file-extension=yaml

+ 1 - 1
maxkey-webs/maxkey-web-maxkey/build.gradle

@@ -12,7 +12,7 @@ plugins {
 
 apply plugin: 'com.google.cloud.tools.jib'
 
-description = "maxkey-web-maxkey"
+description = "tiahu-auth"
 
 //docker
 jib {

+ 2 - 2
maxkey-webs/maxkey-web-maxkey/src/main/resources/application-http.properties

@@ -22,7 +22,7 @@ server.port                                     =8080
 #28800s=8h
 server.servlet.session.timeout                  =1800
 #server context path
-server.servlet.context-path                     =/maxkey
+server.servlet.context-path                     =/taihu
 #nacos discovery
 spring.cloud.nacos.discovery.enabled            =${NACOS_DISCOVERY_ENABLED:true}
 spring.cloud.nacos.discovery.instance-enabled   =true
@@ -37,7 +37,7 @@ maxkey.server.name                              =${maxkey.server.scheme}://${max
 maxkey.server.uri                               =${maxkey.server.name}:${server.port}${server.servlet.context-path}
 #default.uri                
 maxkey.server.default.uri                       =${maxkey.server.uri}/appList
-maxkey.server.mgt.uri                           =${maxkey.server.name}:9527/maxkey-mgt/login
+maxkey.server.mgt.uri                           =${maxkey.server.name}:9527/taihu-mgt/login
 maxkey.server.authz.uri                         =${maxkey.server.name}:${server.port}${server.servlet.context-path}
 #InMemory 0 , Redis 2               
 maxkey.server.persistence                       =${SERVER_PERSISTENCE:2}

+ 2 - 2
maxkey-webs/maxkey-web-maxkey/src/main/resources/application.properties

@@ -15,10 +15,10 @@
 ############################################################################
 #MaxKey Title and Version                                                  #
 ############################################################################
-application.title                           =MaxKey
+application.title                           =xintong
 application.formatted-version               =v3.1.1 GA
 #for dynamic service discovery
-spring.application.name                     =maxkey
+spring.application.name                     =auth
 ############################################################################
 #Main.banner-mode configuration                                            #
 ############################################################################