Advertisement
Guest User

Untitled

a guest
Jun 10th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server:
  2.   port: 443
  3.   ssl:
  4.     enabled: true
  5.     key-store: classpath:KeyStore.jks
  6.     key-store-password: s1mpleSecret
  7.     keyStoreType: PKCS12
  8.     keyAlias: api.webstoregods.com
  9.  
  10. spring:
  11.   application:
  12.     name: gateway-service
  13.   cloud:
  14.     gateway:
  15.       routes:
  16.       - id: member_email_identification_flow
  17.         uri: http://auth-service:9001
  18.         predicates:
  19.         - Path=/auth-service/members/*/email
  20.         filters:
  21.         - StripPrefix=1
  22.  
  23.       - id: auth_service_read_all_available_permissions_endpoint
  24.         uri: http://auth-service:9001
  25.         predicates:
  26.         - Path=/auth-service/permissions
  27.         filters:
  28.         - StripPrefix=1
  29.         - ValidateSessionId
  30.  
  31.       - id: auth_service_read_all_granted_permissions_endpoint
  32.         uri: http://auth-service:9001
  33.         predicates:
  34.         - Path=/auth-service/permissions/granted
  35.         filters:
  36.         - StripPrefix=1
  37.         - ValidateSessionId
  38.         - ValidatePermissions=BASIC_ACCESS
  39.  
  40.       - id: auth_service_expel_member_endpoint
  41.         uri: http://auth-service:9001
  42.         predicates:
  43.         - Path=/auth-service/permissions/expel
  44.         filters:
  45.         - StripPrefix=1
  46.         - ValidateSessionId
  47.         - ValidatePermissions=MODIFY_PERMISSIONS
  48.  
  49.       - id: auth_service_read_and_write_roles_endpoint
  50.         uri: http://auth-service:9001
  51.         predicates:
  52.         - Path=/auth-service/roles
  53.         filters:
  54.         - StripPrefix=1
  55.         - ValidateSessionId
  56.         - ValidatePermissions=BASIC_ACCESS & MODIFY_PERMISSIONS
  57.  
  58.       - id: auth_service_invalidate_session_endpoint
  59.         uri: http://auth-service:9001
  60.         predicates:
  61.         - Path=/auth-service/sessions/invalidate
  62.         filters:
  63.         - StripPrefix=1
  64.         - ValidateSessionId
  65.  
  66.       - id: webstore_service_create_new_webstore_endpoint
  67.         uri: http://webstore-service:9002
  68.         predicates:
  69.         - Path=/webstore-service/webstores
  70.         filters:
  71.         - StripPrefix=1
  72.         - ValidateSessionId
  73.  
  74.       - id: member_service_personal_information_endpoints
  75.         uri: http://member-service:9003
  76.         predicates:
  77.         - Path=/member-service/members/personal-information
  78.         filters:
  79.         - StripPrefix=1
  80.         - ValidateSessionId
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement