Advertisement
Guest User

Untitled

a guest
Jan 24th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.67 KB | None | 0 0
  1. service:
  2.   hostId: devenv
  3.   serviceId: dev-instance
  4.  
  5. # Swagger configs
  6. springfox:
  7.   documentation:
  8.     swagger:
  9.       v2:
  10.       path: /v2/api-docs
  11. # Server configs
  12. server:
  13.   port: 8002
  14.   servlet:
  15.     context-path:
  16.   apiBasePath: /api/v
  17.   apiVersion: 1
  18.   apiPath: ${server.apiBasePath}${server.apiVersion}/cbs
  19. # Spring configs
  20. spring:
  21.   jackson:
  22.     serialization:
  23.       WRITE_DATES_AS_TIMESTAMPS: false
  24.     default-property-inclusion: non-null
  25. #Logging Configuration
  26. #Logging configuratuion is declared in log4j2.yml
  27.  
  28. #Actuator Configuration
  29. management:
  30.   endpoints:
  31.     web:
  32.       base-path: /manage
  33.       exposure:
  34.         include: loggers, health, info, metrics, prometheus, cbs
  35.         exclude: auditevents, beans, conditions, configprops, env, flyway, heapdump, httptrace, jolokia, logfile, liquibase, mappings, scheduledtasks, sessions, shutdown, threaddump
  36.     enabled-by-default: false
  37.   endpoint:
  38.     loggers:
  39.       enabled: true
  40.     health:
  41.       enabled: true
  42.     info:
  43.       enabled: true
  44.     metrics:
  45.       enabled: true
  46.     prometheus:
  47.       enabled: true
  48.   metrics:
  49.     web:
  50.       server:
  51.         auto-time-requests: true
  52.     export:
  53.       prometheus:
  54.         enabled: false
  55.       influx:
  56.         compressed: true
  57.         enabled: false
  58.         auto-create-db: true
  59.         db: cbsservice
  60.         uri: http://192.168.99.100:8086
  61. #Security Configuration
  62. security:
  63.   wave:
  64.     enabled: false
  65.     user:
  66.       name: admin
  67.       password: secret
  68.       roles: USER,ADMIN,ACTUATOR
  69.   authentication:
  70.     token:
  71.       secret: with a value in an extension methods or authentication function will be considered
  72.       token_prefix:
  73.       header_string: Authorization
  74.       default: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0aW1lem9uZSI6IiswMzowMCIsInhzcmZUb2tlbiI6IjM0Mjc3YmIxLWMzNzQtNDM2ZC1hY2M3LWRjODU0ZDA0YzM0MiIsImFjdG9ySWQiOiIxMDAwIiwidXNlcm5hbWUiOiJMT0FOT0ZGSUNFUlMiLCJwYXNzd29yZCI6IjEyMzQ1Njc4OSIsInNlc3Npb25JZCI6IkMzNzg1REJBLTJEMDktNDg0NC1CMjQxLTcyRDFFMkQ0MUUwRSIsInNjb3BlcyI6W10sImlhdCI6MTUwNzIxNTIyNywiZXhwIjoxNTQxNDI2MDI3fQ.hKuGJN7PO76-y3fRORNXQWuKHHmGG4J8dxRaf1zKp2w
  75. # External CBS configs
  76. cbs:
  77.   throttling:
  78.     enabled: true
  79.     limit: 10
  80.   provider: amret
  81.   uri: http://192.168.110.35:8080/SWG_AMRET/services?wsdl
  82.   readTimeout: 180000
  83.   connectionTimeout: 180000
  84.   systemDate: 20180824
  85.   countryCode: BG
  86.   accountOfficer:
  87.    # account officer id used in CreateAccount cbs request
  88.     createAccount: 1
  89.     # account officer id used in CreateUniversalLoan cbs request
  90.     createUniversalLoan: 1
  91.   accountCategories:
  92.     convenient: 6403
  93.     happy: 6400
  94.     provident: 6406
  95.     wealthyBase: 6700
  96.     goalBase: 6600
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement