Ver código fonte

Merge branch 'develop' of gitadmin/tuoheng_gateway into release

pull/7/head
gitadmin 2 anos atrás
pai
commit
4b128e5521
8 arquivos alterados com 120 adições e 5 exclusões
  1. +5
    -0
      src/main/resources/application-prod.yml
  2. +5
    -0
      src/main/resources/application-test.yml
  3. +21
    -0
      target/classes/WEB-INF/classes/application-local.yml
  4. +22
    -1
      target/classes/application-dev.yml
  5. +21
    -0
      target/classes/application-local.yml
  6. +23
    -2
      target/classes/application-prod.yml
  7. +23
    -2
      target/classes/application-test.yml
  8. BIN
      target/classes/com/tuoheng/gateway/config/WebSecurityConfig.class

+ 5
- 0
src/main/resources/application-prod.yml Ver arquivo

@@ -1,4 +1,9 @@
spring:
security:
oauth2:
resource-server:
jwt:
issuer-uri: http://192.168.11.241:8090
cloud:
consul:
host: 172.16.1.31 # consul 所在服务地址

+ 5
- 0
src/main/resources/application-test.yml Ver arquivo

@@ -1,4 +1,9 @@
spring:
security:
oauth2:
resource-server:
jwt:
issuer-uri: http://192.168.11.241:8090
cloud:
consul:
host: 192.168.11.242 # consul 所在服务地址

+ 21
- 0
target/classes/WEB-INF/classes/application-local.yml Ver arquivo

@@ -101,6 +101,27 @@ spring:
- Path=/api/web/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin
predicates:
- Path=/pilot/admin/**
filters:
- StripPrefix=2
# pilot小程序服务
- id: tuoheng-pilot-miniprogram
uri: lb://tuoheng-pilot-miniprogram
predicates:
- Path=/pilot/miniprogram/**
filters:
- StripPrefix=2
# pilot api服务
- id: tuoheng-pilot-api
uri: lb://tuoheng-pilot-api
predicates:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0

+ 22
- 1
target/classes/application-dev.yml Ver arquivo

@@ -101,6 +101,27 @@ spring:
- Path=/api/web/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin
predicates:
- Path=/pilot/admin/**
filters:
- StripPrefix=2
# pilot小程序服务
- id: tuoheng-pilot-miniprogram
uri: lb://tuoheng-pilot-miniprogram
predicates:
- Path=/pilot/miniprogram/**
filters:
- StripPrefix=2
# pilot api服务
- id: tuoheng-pilot-api
uri: lb://tuoheng-pilot-api
predicates:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0
@@ -125,4 +146,4 @@ spring:
security:
ignore:
permitUrls: /api/system/demo/msg
oauthUrls: /api/*/serviceInst/*/getServiceInstParam/*,/api/*/serviceInst/*/getServiceInstCaseUrl/*,/api/*/serviceInst/*/*/application,/api/*/serviceInst/*/*/questionList
oauthUrls: /api/system/demo/hello,/api/*/serviceInst/*/getServiceInstParam/*,/api/*/serviceInst/*/getServiceInstCaseUrl/*,/api/*/serviceInst/*/*/application,/api/*/serviceInst/*/*/questionList

+ 21
- 0
target/classes/application-local.yml Ver arquivo

@@ -101,6 +101,27 @@ spring:
- Path=/api/web/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin
predicates:
- Path=/pilot/admin/**
filters:
- StripPrefix=2
# pilot小程序服务
- id: tuoheng-pilot-miniprogram
uri: lb://tuoheng-pilot-miniprogram
predicates:
- Path=/pilot/miniprogram/**
filters:
- StripPrefix=2
# pilot api服务
- id: tuoheng-pilot-api
uri: lb://tuoheng-pilot-api
predicates:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0

+ 23
- 2
target/classes/application-prod.yml Ver arquivo

@@ -89,6 +89,27 @@ spring:
- Path=/api/web/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin
predicates:
- Path=/pilot/admin/**
filters:
- StripPrefix=2
# pilot小程序服务
- id: tuoheng-pilot-miniprogram
uri: lb://tuoheng-pilot-miniprogram
predicates:
- Path=/pilot/miniprogram/**
filters:
- StripPrefix=2
# pilot api服务
- id: tuoheng-pilot-api
uri: lb://tuoheng-pilot-api
predicates:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0
@@ -112,5 +133,5 @@ spring:
#security放行白名单配置
security:
ignore:
# whites: /api/auth/**,/api/web/**
oauthUrls: /api/*/serviceInst/*/getServiceInstParam/*,/api/*/serviceInst/*/getServiceInstCaseUrl/*,/api/*/serviceInst/*/*/application,/api/*/serviceInst/*/*/questionList
permitUrls: /api/system/demo/msg
oauthUrls: /api/system/demo/hello,/api/*/serviceInst/*/getServiceInstParam/*,/api/*/serviceInst/*/getServiceInstCaseUrl/*,/api/*/serviceInst/*/*/application,/api/*/serviceInst/*/*/questionList

+ 23
- 2
target/classes/application-test.yml Ver arquivo

@@ -89,6 +89,27 @@ spring:
- Path=/api/web/**
filters:
- StripPrefix=2
# pilot后台管理
- id: tuoheng-pilot-admin
uri: lb://tuoheng-pilot-admin
predicates:
- Path=/pilot/admin/**
filters:
- StripPrefix=2
# pilot小程序服务
- id: tuoheng-pilot-miniprogram
uri: lb://tuoheng-pilot-miniprogram
predicates:
- Path=/pilot/miniprogram/**
filters:
- StripPrefix=2
# pilot api服务
- id: tuoheng-pilot-api
uri: lb://tuoheng-pilot-api
predicates:
- Path=/pilot/web/**
filters:
- StripPrefix=2
# Redis数据源
redis:
# 缓存库默认索引0
@@ -112,5 +133,5 @@ spring:
#security放行白名单配置
security:
ignore:
# whites: /api/auth/**,/api/web/**
oauthUrls: /api/*/serviceInst/*/getServiceInstParam/*,/api/*/serviceInst/*/getServiceInstCaseUrl/*,/api/*/serviceInst/*/*/application,/api/*/serviceInst/*/*/questionList
permitUrls: /api/system/demo/msg
oauthUrls: /api/system/demo/hello,/api/*/serviceInst/*/getServiceInstParam/*,/api/*/serviceInst/*/getServiceInstCaseUrl/*,/api/*/serviceInst/*/*/application,/api/*/serviceInst/*/*/questionList

BIN
target/classes/com/tuoheng/gateway/config/WebSecurityConfig.class Ver arquivo


Carregando…
Cancelar
Salvar