환경 설정

02_Server 디렉토리에는 Web Admin 환경 설정을 위한 application.yml 파일이 위치해 있다.

  1. application.yml 환경설정

                    spring:
                      application:
                        name: bxframework-webadmin
                      main:
                        banner-mode: "off"
                      cloud:
                        kubernetes:
                          enabled: false
                      zipkin:
                        enabled: false
    
                    server:
                      max-http-header-size: 16KB
                      error:
                        include-exception: true
                        include-stacktrace: ON_PARAM
    
                    bxframework:
                      message:
                        enabled: false
                      request:
                        system-header: "bxmc.request.SimpleSystemHeader"
                        control-skip-patterns:
                          - "/**"
                        interceptors:  # @Component annotated beanName
                          - simpleServiceControlHandler
                        imageloggers:  # @Component annotated beanName
                          - simpleImageLoggingHandler
                        min-timeout-duration: 10s
                        # extractor class name
                        trace-key-extractor: bxmc.context.DefaultHttpRequestTraceKeyExtractor
                        trace-keys:  # SpEL: ExHttpServletRequest members
                          - name: x-request-start
                            expression: "getHeader('x-request-start')"
                          - name: host
                            expression: "getHeader('host')"
                      root-base-package: "bxmc.webadmin"
                      application: # BxmApplication
                        type: online
                        datasource: # BxmApplicationDataSourceConfig
                          main-ds: # DataSource Name <Map, ApplicationDataSource>
                            jdbc: # JdbcApplicationDataSource
                              driver-class-name: {{드라이버 클래스 이름}}
                              jdbc-url: {{JDBC URL}}
                              username: {{DB 사용자명}}
                              password: {{DB 패스워드}}
                      web-admin:
                        event-handler: defaultEventHandlerImpl
                        lra-recovery-url: http://localhost:8082/
    
                    bxframework-webadmin:
                      interceptor: defaultSessionInvalidInterceptor
    
                    logging:
                      level:
                        bxmc: debug
                        org.apache: debug
                        org.springframework.cloud.kubernetes: debug
SWLab Bankware Global
  • 전체
  • BXM
  • BXCM
  • BXCP
  • BXI
제품 선택 시 더 정확한 매뉴얼 가이드를 제공해드립니다.

Copyright© Bankwareglobal All Rights Reserved.