├── PortalInfraAdmin.yml ├── PortalRegistration.yml ├── PortalGateway.yml ├── PortalWebAdmin.yml ├── PortalWebUser.yml ├── PortalStorageApi.yml ├── PortalApi.yml └── PortalCommonApi.yml /PortalInfraAdmin.yml: -------------------------------------------------------------------------------- 1 | # Spring properties 2 | spring: 3 | application: 4 | name: PortalInfraAdmin # Identify this application 5 | security: 6 | username: admin 7 | password: 'Paasta@2018' 8 | boot: 9 | #Spring boot admin settings 10 | admin: 11 | routes: 12 | endpoints: env,metrics,trace,info,trace,heapdump,hystrix.stream,docs 13 | #Timeintervalin ms to update the status of App 14 | monitor: 15 | perio: 10000 16 | #LifeTime of App status in ms. 17 | status-lifetime: 10000 18 | #Connection Timeout in ms when App's status and info 19 | connect-timeout: 2000 20 | #Read Timeout in ms when App's status and info 21 | read-timeout: 5000 22 | metadata-keys-to-sanitize: .password$,.*secret$,.*key$,.$token$,.credentials.,.*vcap_services$ 23 | client: 24 | metadata: 25 | user.name: ${security.user.name} 26 | user.password: ${security.user.password} 27 | ##INFRA_ADMIN Settings 28 | project: 29 | name: paasta-infra-admin 30 | artifactId: paasta-infra-admin 31 | description: paasta-infra-admin 32 | info: 33 | app: 34 | encoding: Encoding - UTF-8 35 | java: 36 | source: Source - java ver 37 | target: Instance1 - Java ver 38 | build: 39 | name: ${project.name} 40 | artifact: ${project.artifactId} 41 | description: ${project.description} 42 | 43 | eureka: 44 | instance: 45 | preferIpAddress: true 46 | 47 | management: # If you set off security... 48 | security: 49 | enabled: false 50 | 51 | server: 52 | port: ${PORT:2227} # HTTP (Tomcat) port 53 | 54 | -------------------------------------------------------------------------------- /PortalRegistration.yml: -------------------------------------------------------------------------------- 1 | # Spring properties 2 | spring: 3 | application: 4 | name: PortalRegistration # Identify this application 5 | boot: 6 | #Spring boot admin settings 7 | admin: 8 | routes: 9 | endpoints: env,metrics,trace,info,trace,heapdump,hystrix.stream,docs 10 | #Timeintervalin ms to update the status of App 11 | monitor: 12 | perio: 10000 13 | #LifeTime of App status in ms. 14 | status-lifetime: 10000 15 | #Connection Timeout in ms when App's status and info 16 | connect-timeout: 2000 17 | #Read Timeout in ms when App's status and info 18 | read-timeout: 5000 19 | metadata-keys-to-sanitize: .password$,.*secret$,.*key$,.$token$,.credentials.,.*vcap_services$ 20 | metadata: 21 | user: 22 | name: ${security.user.name} 23 | password: ${security.user.password} 24 | 25 | ##INFRA_ADMIN Settings 26 | project: 27 | name: paasta-registration 28 | artifactId: paasta-registration 29 | description: paasta eureka service 30 | info: 31 | app: 32 | encoding: Encoding - UTF-8 33 | java: 34 | source: Source - java ver 35 | target: Instance1 - Java ver 36 | spring: 37 | profiles: ${spring.profiles.active:default} 38 | build: 39 | name: ${project.name} 40 | artifact: ${project.artifactId} 41 | description: ${project.description} 42 | 43 | management: # If you set off security... 44 | security: 45 | enabled: true 46 | 47 | security: 48 | user: 49 | name: regClient 50 | password: regClient 51 | 52 | # Configure this Discovery Server 53 | eureka: 54 | server: 55 | enableSelfPreservation: true 56 | instance: 57 | appname: ${spring.application.name} 58 | hostname: ${spring.cloud.client.hostname} 59 | preferIpAddress: true 60 | client: # Standalone mode (not a client, don't register with itself) 61 | registerWithEureka: false 62 | fetchRegistry: false 63 | serviceUrl: # It must set variable server port when it registers itself 64 | defaultZone: http://127.0.0.1:2221/eureka/ 65 | healthcheck: 66 | enabled: true 67 | 68 | 69 | server: 70 | port: ${PORT:2221} # HTTP (Tomcat) port 71 | -------------------------------------------------------------------------------- /PortalGateway.yml: -------------------------------------------------------------------------------- 1 | # Spring properties 2 | spring: 3 | application: # Identify this application 4 | name: PortalGateWay 5 | server-uuid: ${random.uuid} 6 | http: # spring boot 1.x 7 | multipart: 8 | enabled: true 9 | max-file-size: 1024MB 10 | max-request-size: 1024MB 11 | location: ${java.io.tmpdir} 12 | servlet: # spring boot 2.x 13 | multipart: 14 | enabled: true 15 | max-file-size: 1024MB 16 | max-request-size: 1024MB 17 | location: ${java.io.tmpdir} 18 | boot: 19 | #Spring boot admin settings 20 | admin: 21 | routes: 22 | endpoints: env,metrics,trace,info,trace,heapdump,hystrix.stream,docs 23 | #Timeintervalin ms to update the status of App 24 | monitor: 25 | perio: 10000 26 | #LifeTime of App status in ms. 27 | status-lifetime: 10000 28 | #Connection Timeout in ms when App's status and info 29 | connect-timeout: 2000 30 | #Read Timeout in ms when App's status and info 31 | read-timeout: 5000 32 | metadata-keys-to-sanitize: .password$,.*secret$,.*key$,.$token$,.credentials.,.*vcap_services$ 33 | 34 | ##INFRA_ADMIN Settings 35 | project: 36 | name: paasta-gate-way 37 | artifactId: paasta-gate-way 38 | description: paasta-gate-way management service 39 | info: 40 | app: 41 | encoding: Encoding - UTF-8 42 | java: 43 | source: Source - java ver 44 | target: Instance1 - Java ver 45 | spring: 46 | profiles: ${spring.profiles.active:default} 47 | build: 48 | name: ${project.name} 49 | artifact: ${project.artifactId} 50 | description: ${project.description} 51 | 52 | server: # Default Gateway server port 53 | port: ${PORT:2225} 54 | 55 | # Zuul route rule : zuul.routes.[spring.application.name]=path 56 | zuul: 57 | ignored-services: '*' 58 | host: 59 | connect-timeout-millis: 5000 60 | socket-timeout-millis: 60000 61 | routes: 62 | PortalApi: 63 | path: /portalapi/** 64 | url: PORTALAPI 65 | sensitiveHeaders: 66 | CommonApi: 67 | path: /commonapi/** 68 | url: PORTALCOMMONAPI 69 | sensitiveHeaders: 70 | StorageApi: 71 | path: /storageapi/** 72 | url: PORTALSTORAGEAPI 73 | sensitiveHeaders: 74 | 75 | eureka: 76 | instance: 77 | preferIpAddress: true 78 | 79 | ribbon: # Do load balancing without discovery service 80 | eureka: 81 | enabled: ${EUREKA_ENABLED:true} 82 | ConnectTimeout: 5000 83 | ReadTimeout: 60000 84 | SocketTimeout: 60000 85 | 86 | hystrix: 87 | command: 88 | default: 89 | execution: 90 | timeout: 91 | enabled: true 92 | isolation: 93 | strategy: THREAD 94 | thread: 95 | timeoutInMilliseconds: 60000 96 | 97 | management: # If you set off security... 98 | security: 99 | enabled: false 100 | 101 | -------------------------------------------------------------------------------- /PortalWebAdmin.yml: -------------------------------------------------------------------------------- 1 | # Spring properties 2 | spring: 3 | application: 4 | name: PortalWebAdmin # Identify this application 5 | boot: 6 | #Spring boot admin settings 7 | admin: 8 | routes: 9 | endpoints: env,metrics,trace,info,trace,heapdump,hystrix.stream,docs 10 | #Timeintervalin ms to update the status of App 11 | monitor: 12 | perio: 10000 13 | #LifeTime of App status in ms. 14 | status-lifetime: 10000 15 | #Connection Timeout in ms when App's status and info 16 | connect-timeout: 2000 17 | #Read Timeout in ms when App's status and info 18 | read-timeout: 5000 19 | metadata-keys-to-sanitize: .password$,.*secret$,.*key$,.$token$,.credentials.,.*vcap_services$ 20 | 21 | thymeleaf: 22 | cache: false # false : 서버 재시작 없이 새로고침. 개발서버 이상부터는 true로 설정. 23 | 24 | check-template: true 25 | check-template-location: true 26 | content-type: text/html 27 | enabled: true 28 | encoding: UTF-8 29 | # excluded-view-names: 30 | mode: XHTML 31 | prefix: /WEB-INF/views/ 32 | suffix: .html 33 | # template-resolver-order: 34 | # view-names: 35 | 36 | http: 37 | multipart: 38 | enabled: true 39 | max-file-size: 1024MB 40 | max-request-size: 1024MB 41 | location: ${java.io.tmpdir} 42 | 43 | servlet: 44 | multipart: 45 | enabled: ${spring.http.multipart.enabled} 46 | max-file-size: ${spring.http.multipart.max-file-size} 47 | max-request-size: ${spring.http.multipart.max-request-size} 48 | location: ${spring.http.multipart.location} 49 | ##INFRA_ADMIN Settings 50 | project: 51 | name: paasta-web-admin 52 | artifactId: paasta-web-admin 53 | description: paasta-web-admin 54 | info: 55 | app: 56 | encoding: Encoding - UTF-8 57 | java: 58 | source: Source - java ver 59 | target: Instance1 - Java ver 60 | spring: 61 | profiles: ${spring.profiles.active:default} 62 | build: 63 | name: ${project.name} 64 | artifact: ${project.artifactId} 65 | description: ${project.description} 66 | 67 | 68 | management: 69 | security: 70 | enabled: false 71 | 72 | # HTTP Server 73 | server: 74 | port: ${PORT:8090} # HTTP (Tomcat) port 75 | session: 76 | timeout: 600 77 | 78 | 79 | monitoringSite: 80 | url: http://115.68.151.183:3000 81 | id: openpaas 82 | password: openpaas 83 | 84 | 85 | --- 86 | spring: 87 | profiles: local 88 | paasta: 89 | portal: 90 | api: 91 | authorization: 92 | base64: Basic YWRtaW46b3BlbnBhYXN0YQ== 93 | zuulUrl: 94 | cfapi: http://localhost:2225/portalapi 95 | commonapi: http://localhost:2225/commonapi 96 | storageapi: http://localhost:2225/storageapi 97 | storageapi: 98 | type: swift 99 | logging: 100 | level: 101 | org.openpaas.paasta.portal.web.admin.exception.GlobalControllerExceptionHandler: DEBUG 102 | 103 | --- 104 | spring: 105 | profiles: dev 106 | paasta: 107 | portal: 108 | api: 109 | authorization: 110 | base64: Basic YWRtaW46b3BlbnBhYXN0YQ== 111 | zuulUrl: 112 | cfapi: http://xxx.xxx.xxx.xxx:2225/portalapi #xxx.xxx.xxx.xxx 는 GateWay서버 주소 - 재설정 113 | commonapi: http://xxx.xxx.xxx.xxx:2225/commonapi #xxx.xxx.xxx.xxx 는 GateWay서버 주소 - 재설정 114 | storageapi: http://xxx.xxx.xxx.xxx:2225/storageapi #xxx.xxx.xxx.xxx 는 GateWay서버 주소 - 재설정 115 | storageapi: 116 | type: swift 117 | logging: 118 | level: 119 | org.openpaas.paasta.portal.web.admin.exception.GlobalControllerExceptionHandler: DEBUG 120 | -------------------------------------------------------------------------------- /PortalWebUser.yml: -------------------------------------------------------------------------------- 1 | # Spring properties 2 | spring: 3 | application: 4 | name: PortalWebUser # Identify this application 5 | boot: 6 | #Spring boot admin settings 7 | admin: 8 | url: http://localhost:2227 9 | routes: 10 | endpoints: env,metrics,trace,dump,jolokia,info,configprops,trace,logfile,refresh,flyway,liquibase,heapdump,loggers,auditevents,hystrix.stream,docs 11 | #Timeintervalin ms to update the status of App 12 | monitor: 13 | perio: 10000 14 | #LifeTime of App status in ms. 15 | status-lifetime: 10000 16 | #Connection Timeout in ms when App's status and info 17 | connect-timeout: 2000 18 | #Read Timeout in ms when App's status and info 19 | read-timeout: 5000 20 | metadata-keys-to-sanitize: .password$,.*secret$,.*key$,.$token$,.credentials.,.*vcap_services$ 21 | ##INFRA_ADMIN Settings 22 | project: 23 | name: paasta-web-admin 24 | artifactId: paasta-web-admin 25 | description: paasta web admin ui service 26 | info: 27 | app: 28 | encoding: Encoding - UTF-8 29 | java: 30 | source: Source - java ver 31 | target: Instance1 - Java ver 32 | spring: 33 | profiles: ${spring.profiles.active:default} 34 | build: 35 | name: ${project.name} 36 | artifact: ${project.artifactId} 37 | description: ${project.description} 38 | 39 | management: # If you set off security... 40 | security: 41 | enabled: false 42 | 43 | multipart: 44 | maxFileSize: 1000Mb 45 | maxRequestSize: 1000Mb 46 | 47 | # HTTP Server 48 | server: 49 | port: ${PORT:8080} # HTTP (Tomcat) port 50 | 51 | eureka: 52 | client: 53 | serviceUrl: 54 | defaultZone: http://${vcap.application.uris[0]:localhost}:2221/eureka/ 55 | 56 | # paasta 57 | paasta: 58 | portal: 59 | api: 60 | authorization: 61 | base64: Basic YWRtaW46b3BlbnBhYXN0YQ== 62 | url: http://PORTALAPI 63 | autoSchedulerUrl: http://PORTAL-AUTO-SCALING 64 | # zuul사용여부에 따른 설정(juul서버를 사용하지 않을때 API호출 URL을 변경하는 flag). 65 | zuulDisabled: false # true: not used zuul(각 profile의 zuulUrl를 참조함). true외: use zuul. (portal.api.url를 사용함). 66 | ribbon: 67 | eureka: 68 | enabled: true 69 | ConnectTimeout: 30000 70 | ReadTimeout: 30000 71 | cf: 72 | uaa: 73 | oauth: 74 | info: 75 | uri: https://uaa.xxx.xxx.xxx.xxx.xip.io/userinfo # xxx.xxx.xxx.xxx 는 CF 서버 주소 - 재설정 76 | token: 77 | check: 78 | uri: https://uaa.xxx.xxx.xxx.xxx.xip.io/check_token # xxx.xxx.xxx.xxx 는 CF 서버 주소 - 재설정 79 | access: 80 | uri: https://uaa.xxx.xxx.xxx.xxx.xip.io/oauth/token # xxx.xxx.xxx.xxx 는 CF 서버 주소 - 재설정 81 | logout: 82 | url: https://uaa.xxx.xxx.xxx.xxx.xip.io/logout 83 | authorization: 84 | uri: https://uaa.xxx.xxx.xxx.xxx.xip.io/oauth/authorize # xxx.xxx.xxx.xxx 는 CF 서버 주소 - 재설정 85 | client: 86 | id: portalclient 87 | secret: clientsecret 88 | 89 | redirect: 90 | parameter: 91 | sendport: false 92 | 93 | 94 | --- 95 | spring: 96 | profiles: local 97 | # paasta zuul url 98 | paasta: 99 | zuulUrl: 100 | api: http://localhost:2225/portalapi 101 | commApi: http://localhost:2223/portalcommonapi 102 | storageApi: http://localhost:2226/portalstorageapi 103 | 104 | --- 105 | spring: 106 | profiles: dev 107 | # paasta zuul url 108 | paasta: 109 | zuulUrl: 110 | api: http://xxx.xxx.xxx.xxx:2225/portalapi #xxx.xxx.xxx.xxx 는 GateWay서버 주소 - 재설정 111 | commApi: http://xxx.xxx.xxx.xxx:2223/portalcommonapi #xxx.xxx.xxx.xxx 는 GateWay서버 주소 - 재설정 112 | storageApi: http://xxx.xxx.xxx.xxx2226/portalstorageapi #xxx.xxx.xxx.xxx 는 GateWay서버 주소 - 재설정 -------------------------------------------------------------------------------- /PortalStorageApi.yml: -------------------------------------------------------------------------------- 1 | # Spring properties 2 | spring: 3 | application: 4 | name: PortalStorageApi # Service registers under this name 5 | security: 6 | username: admin 7 | password: openpaasta 8 | http: # spring boot 1.x 9 | multipart: 10 | enabled: true 11 | max-file-size: 1024MB 12 | max-request-size: 1024MB 13 | location: ${java.io.tmpdir} 14 | servlet: # spring boot 2.x 15 | multipart: 16 | enabled: ${spring.http.multipart.enabled} 17 | max-file-size: ${spring.http.multipart.max-file-size} 18 | max-request-size: ${spring.http.multipart.max-request-size} 19 | location: ${spring.http.multipart.location} 20 | boot: 21 | #Spring boot admin settings 22 | admin: 23 | routes: 24 | endpoints: env,metrics,trace,info,trace,heapdump,hystrix.stream,docs 25 | #Timeintervalin ms to update the status of App 26 | monitor: 27 | perio: 10000 28 | #LifeTime of App status in ms. 29 | status-lifetime: 10000 30 | #Connection Timeout in ms when App's status and info 31 | connect-timeout: 2000 32 | #Read Timeout in ms when App's status and info 33 | read-timeout: 5000 34 | metadata-keys-to-sanitize: .password$,.*secret$,.*key$,.$token$,.credentials.,.*vcap_services$ 35 | 36 | ##INFRA_ADMIN Settings 37 | project: 38 | name: paasta-storage-api 39 | artifactId: paasta-storage-api 40 | description: paasta file management service 41 | info: 42 | app: 43 | encoding: Encoding - UTF-8 44 | java: 45 | source: Source - java ver 46 | target: Instance1 - Java ver 47 | spring: 48 | profiles: ${spring.profiles.active:default} 49 | build: 50 | name: ${project.name} 51 | artifact: ${project.artifactId} 52 | description: ${project.description} 53 | 54 | management: # If you set off security... 55 | security: 56 | enabled: false 57 | 58 | # HTTP Server 59 | server: 60 | port: ${PORT:2226} # HTTP (Tomcat) port 61 | 62 | 63 | 64 | hystrix: 65 | threadpool: 66 | default: 67 | # Maximum number of concurrent requests when using thread pools (Default: 10) 68 | coreSize: 100 69 | # Maximum LinkedBlockingQueue size - -1 for using SynchronousQueue (Default: -1) 70 | maxQueueSize: -1 71 | # Queue size rejection threshold (Default: 5) 72 | queueSizeRejectionThreshold: 5 73 | command: 74 | default: 75 | circuitBreaker: 76 | sleepWindowInMilliseconds: 60000 77 | requestVolumeThreshold: 3 78 | execution: 79 | isolation: 80 | #strategy: SEMAPHORE, no thread pool but timeout handling stops to work 81 | strategy: THREAD 82 | thread: 83 | timeoutInMilliseconds: 60000 84 | 85 | --- 86 | spring: 87 | profiles: local 88 | 89 | objectStorage: 90 | swift: 91 | tenantName: paasta-portal 92 | username: paasta-portal 93 | password: paasta 94 | authUrl: http://XXX.XXX.XXX.XXX:5000/v2.0/tokens # XXX.XXX.XXX.XXX OBJECT_STORAGE 주소 95 | authMethod: keystone 96 | preferredRegion: Public 97 | container: portal-container 98 | 99 | paasta: 100 | portal: 101 | storage: 102 | api: 103 | common: 104 | countoflastestexception: 10 105 | 106 | --- 107 | spring: 108 | profiles: dev 109 | 110 | objectStorage: 111 | swift: 112 | tenantName: paasta-portal 113 | username: paasta-portal 114 | password: paasta 115 | authUrl: http://XXX.XXX.XXX.XXX:5000/v2.0/tokens # XXX.XXX.XXX.XXX OBJECT_STORAGE 주소 116 | authMethod: keystone 117 | preferredRegion: Public 118 | container: portal-container 119 | 120 | paasta: 121 | portal: 122 | storage: 123 | api: 124 | common: 125 | countoflastestexception: 10 126 | -------------------------------------------------------------------------------- /PortalApi.yml: -------------------------------------------------------------------------------- 1 | # Spring properties 2 | spring: 3 | application: 4 | name: PortalApi # Service registers under this name 5 | security: 6 | username: admin 7 | password: openpaasta 8 | boot: 9 | #Spring boot admin settings 10 | admin: 11 | routes: 12 | endpoints: env,metrics,trace,info,trace,heapdump,hystrix.stream,docs,turbine 13 | #Timeintervalin ms to update the status of App 14 | monitor: 15 | perio: 10000 16 | #LifeTime of App status in ms. 17 | status-lifetime: 10000 18 | #Connection Timeout in ms when App's status and info 19 | connect-timeout: 2000 20 | #Read Timeout in ms when App's status and info 21 | read-timeout: 5000 22 | metadata-keys-to-sanitize: .password$,.*secret$,.*key$,.$token$,.credentials.,.*vcap_services$ 23 | 24 | ##INFRA_ADMIN Settings 25 | project: 26 | name: paasta-api 27 | artifactId: paasta-cf-api 28 | description: paasta-cf-api management service 29 | info: 30 | app: 31 | encoding: Encoding - UTF-8 32 | java: 33 | source: Source - java ver 34 | target: Instance1 - Java ver 35 | spring: 36 | profiles: ${spring.profiles.active:default} 37 | build: 38 | name: ${project.name} 39 | artifact: ${project.artifactId} 40 | description: ${project.description} 41 | 42 | # HTTP Server 43 | server: 44 | port: ${PORT:2222} # HTTP (Tomcat) port 45 | 46 | tailsocket: 47 | port: 5555 48 | 49 | management: # If you set off security... 50 | security: 51 | enabled: false 52 | 53 | hystrix: 54 | threadpool: 55 | default: 56 | # Maximum number of concurrent requests when using thread pools (Default: 10) 57 | coreSize: 100 58 | # Maximum LinkedBlockingQueue size - -1 for using SynchronousQueue (Default: -1) 59 | maxQueueSize: -1 60 | # Queue size rejection threshold (Default: 5) 61 | queueSizeRejectionThreshold: 5 62 | command: 63 | default: 64 | circuitBreaker: 65 | sleepWindowInMilliseconds: 60000 66 | requestVolumeThreshold: 3 67 | execution: 68 | isolation: 69 | #strategy: SEMAPHORE, no thread pool but timeout handling stops to work 70 | strategy: THREAD 71 | thread: 72 | timeoutInMilliseconds: 60000 73 | 74 | 75 | # CloudFoundry API Url 76 | cloudfoundry: 77 | cc: 78 | api: 79 | url: https://api.xxx.xxx.xxx.xxx.xip.io 80 | uaaUrl: https://uaa.xxx.xxx.xxx.xxx.xip.io 81 | sslSkipValidation: true 82 | # CloudFoundry Login information 83 | user: 84 | admin: 85 | username: CF_ADMIN_ACCOUNT # 재설정 86 | password: CF_ADMIN_PASSWORD # 재설정 87 | uaaClient: 88 | clientId: login 89 | clientSecret: login-secret # CF 설치 설정에 따라 변경, 기본설정 일 경우 현재 설정값 사용 - 재설정 90 | adminClientId: admin 91 | adminClientSecret: admin-secret # CF 설치 설정에 따라 변경, 기본설정 일 경우 현재 설정값 사용 - 재설정 92 | loginClientId: login 93 | loginClientSecret: login-secret # CF 설치 설정에 따라 변경, 기본설정 일 경우 현재 설정값 사용 - 재설정 94 | skipSSLValidation: true 95 | authorization: cf-Authorization 96 | 97 | 98 | abacus: 99 | url: http://paasta-usage-reporting.115.68.46.187.xip.io/v1 100 | 101 | # 포탈 상세 모니터링 102 | monitoring: 103 | api: 104 | url: http://monitapi.xxx.xxx.xxx.xxx.xip.io #xxx.xxx.xxx.xxx 는 Monitoring 서버 주소 - 재설정 105 | 106 | multipart: 107 | maxFileSize: 1000Mb 108 | maxRequestSize: 1000Mb 109 | 110 | 111 | 112 | --- 113 | spring: 114 | profiles: local 115 | Socket: 'The host information for the socket is set to Localhost' 116 | paasta: 117 | portal: 118 | api: 119 | authorization: 120 | base64: Basic YWRtaW46b3BlbnBhYXN0YQ== 121 | zuulUrl: 122 | cfapi: http://localhost:2225/portalapi 123 | commonapi: http://localhost:2225/commonapi 124 | storageapi: http://localhost:2225/storageapi 125 | storageapi: 126 | type: swift 127 | --- 128 | spring: 129 | profiles: dev 130 | Socket: 'The host information for the socket is set to ServerIP' 131 | paasta: 132 | portal: 133 | api: 134 | authorization: 135 | base64: Basic YWRtaW46b3BlbnBhYXN0YQ== 136 | zuulUrl: 137 | cfapi: http://xxx.xxx.xxx.xxx:2225/portalapi #xxx.xxx.xxx.xxx 는 GateWay 서버 주소 - 재설정 138 | commonapi: http://xxx.xxx.xxx.xxx:2225/commonapi #xxx.xxx.xxx.xxx 는 GateWay 서버 주소 - 재설정 139 | storageapi: http://xxx.xxx.xxx.xxx:2225/storageapi #xxx.xxx.xxx.xxx 는 GateWay 서버 주소 - 재설정 140 | storageapi: 141 | type: swift -------------------------------------------------------------------------------- /PortalCommonApi.yml: -------------------------------------------------------------------------------- 1 | # Spring properties 2 | spring: 3 | application: 4 | name: PortalCommonApi # Service registers under this name 5 | security: 6 | username: admin 7 | password: openpaasta 8 | boot: 9 | #Spring boot admin settings 10 | admin: 11 | routes: 12 | endpoints: env,metrics,trace,info,trace,heapdump,hystrix.stream,docs 13 | #Timeintervalin ms to update the status of App 14 | monitor: 15 | perio: 10000 16 | #LifeTime of App status in ms. 17 | status-lifetime: 10000 18 | #Connection Timeout in ms when App's status and info 19 | connect-timeout: 2000 20 | #Read Timeout in ms when App's status and info 21 | read-timeout: 5000 22 | metadata-keys-to-sanitize: .password$,.*secret$,.*key$,.$token$,.credentials.,.*vcap_services$ 23 | 24 | ##INFRA_ADMIN Settings 25 | project: 26 | name: paasta-common-api 27 | artifactId: paasta-common-service 28 | description: paasta-database management api 29 | info: 30 | app: 31 | encoding: Encoding - UTF-8 32 | java: 33 | source: Source - java ver 34 | target: Instance1 - Java ver 35 | spring: 36 | profiles: ${spring.profiles.active:default} 37 | build: 38 | name: ${project.name} 39 | artifact: ${project.artifactId} 40 | description: ${project.description} 41 | 42 | 43 | # HTTP Server 44 | server: 45 | port: ${PORT:2223} # HTTP (Tomcat) port 46 | 47 | management: 48 | security: 49 | enabled: false 50 | 51 | 52 | --- 53 | spring: 54 | profiles: local 55 | datasource: 56 | cc: 57 | driver-class-name: org.postgresql.Driver 58 | url: jdbc:postgresql://localhost:5524/ccdb 59 | username: ccadmin 60 | password: admin 61 | portal: 62 | driver-class-name: com.mysql.jdbc.Driver 63 | url: jdbc:mysql://localhost:3306/portaldb 64 | username: root 65 | password: '!paas_ta202' 66 | uaa: 67 | driver-class-name: org.postgresql.Driver 68 | url: jdbc:postgresql://localhost:5524/uaadb 69 | username: uaaadmin 70 | password: admin 71 | jpa: 72 | database: postgresql 73 | show-sql: true 74 | hibernate: 75 | ddl-auto: none 76 | naming: 77 | strategy: org.hibernate.dialect.MySQL5Dialect 78 | generate-ddl: false 79 | mail: 80 | smtp: 81 | host: smtp.gmail.com 82 | port: 465 83 | username: PaaS-TA 84 | password: USER_PASSWORD 85 | useremail: USEREMAIL@gmail.com 86 | properties: 87 | auth: true 88 | starttls: 89 | enable: true 90 | required: true 91 | maximumTotalQps: 90 92 | authUrl: http://xxx.xxx.xxx.xxx # WEBUSERPORTL 주소 93 | imgUrl: http://52.201.48.51:8080/v1/KEY_84586dfdc15e4f8b9c2a8e8090ed9810/portal-container/65bdc7f43e11433b8f17683f96c7e626.png 94 | charset: UTF-8 95 | subject: 'PaaS-TA User Potal 인증메일' 96 | createUrl: authcreate # 고정 97 | expiredUrl: authreset # 고정 98 | inviteUrl: inviteorg # 고정 99 | paasta: 100 | portal: 101 | api: 102 | authorization: 103 | base64: Basic YWRtaW46b3BlbnBhYXN0YQ== 104 | zuulUrl: 105 | cfapi: http://localhost:2225/portalapi 106 | commonapi: http://localhost:2225/commonapi 107 | storageapi: http://localhost:2225/storageapi 108 | storageapi: 109 | type: swift 110 | 111 | hystrix: 112 | threadpool: 113 | default: 114 | # Maximum number of concurrent requests when using thread pools (Default: 10) 115 | coreSize: 100 116 | # Maximum LinkedBlockingQueue size - -1 for using SynchronousQueue (Default: -1) 117 | maxQueueSize: -1 118 | # Queue size rejection threshold (Default: 5) 119 | queueSizeRejectionThreshold: 5 120 | command: 121 | default: 122 | circuitBreaker: 123 | sleepWindowInMilliseconds: 60000 124 | requestVolumeThreshold: 3 125 | execution: 126 | isolation: 127 | #strategy: SEMAPHORE, no thread pool but timeout handling stops to work 128 | strategy: THREAD 129 | thread: 130 | timeoutInMilliseconds: 60000 131 | 132 | 133 | 134 | --- 135 | spring: 136 | profiles: dev 137 | 138 | datasource: 139 | cc: 140 | driver-class-name: org.postgresql.Driver 141 | url: jdbc:postgresql://xxx.xxx.xxx.xxx:5524/ccdb 142 | username: ccadmin 143 | password: admin 144 | portal: 145 | driver-class-name: com.mysql.jdbc.Driver 146 | url: jdbc:mysql://xxx.xxx.xxx.xxx:3306/portaldb 147 | username: root 148 | password: '!paas_ta202' 149 | uaa: 150 | driver-class-name: org.postgresql.Driver 151 | url: jdbc:postgresql://xxx.xxx.xxx.xxx:5524/uaadb 152 | username: uaaadmin 153 | password: admin 154 | jpa: 155 | database: postgresql 156 | show-sql: true 157 | hibernate: 158 | ddl-auto: none 159 | naming: 160 | strategy: org.hibernate.dialect.MySQL5Dialect 161 | generate-ddl: false 162 | mail: 163 | smtp: 164 | host: smtp.gmail.com 165 | port: 465 166 | username: PaaS-TA 167 | password: USER_PASSWORD 168 | useremail: USEREMAIL@gmail.com 169 | properties: 170 | auth: true 171 | starttls: 172 | enable: true 173 | required: true 174 | maximumTotalQps: 90 175 | authUrl: http://xxx.xxx.xxx.xxx # WEBUSERPORTAL 주소 176 | imgUrl: http://52.201.48.51:8080/v1/KEY_84586dfdc15e4f8b9c2a8e8090ed9810/portal-container/65bdc7f43e11433b8f17683f96c7e626.png 177 | charset: UTF-8 178 | subject: 'PaaS-TA User Potal 인증메일' 179 | createUrl: authcreate # 고정 180 | expiredUrl: authreset # 고정 181 | inviteUrl: inviteorg # 고정 182 | paasta: 183 | portal: 184 | api: 185 | authorization: 186 | base64: Basic YWRtaW46b3BlbnBhYXN0YQ== 187 | zuulUrl: 188 | cfapi: http://xxx.xxx.xxx.xxx:2225/portalapi #xxx.xxx.xxx.xxx 는 GateWay서버 주소 189 | commonapi: http://xxx.xxx.xxx.xxx:2225/commonapi #xxx.xxx.xxx.xxx 는 GateWay서버 주소 190 | storageapi: http://xxx.xxx.xxx.xxx:2225/storageapi #xxx.xxx.xxx.xxx 는 GateWay서버 주소 191 | storageapi: 192 | type: swift --------------------------------------------------------------------------------