-
Notifications
You must be signed in to change notification settings - Fork 0
/
PortalApi.yml
141 lines (127 loc) · 4.02 KB
/
PortalApi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# Spring properties
spring:
application:
name: PortalApi # Service registers under this name
security:
username: admin
password: openpaasta
boot:
#Spring boot admin settings
admin:
routes:
endpoints: env,metrics,trace,info,trace,heapdump,hystrix.stream,docs,turbine
#Timeintervalin ms to update the status of App
monitor:
perio: 10000
#LifeTime of App status in ms.
status-lifetime: 10000
#Connection Timeout in ms when App's status and info
connect-timeout: 2000
#Read Timeout in ms when App's status and info
read-timeout: 5000
metadata-keys-to-sanitize: .password$,.*secret$,.*key$,.$token$,.credentials.,.*vcap_services$
##INFRA_ADMIN Settings
project:
name: paasta-api
artifactId: paasta-cf-api
description: paasta-cf-api management service
info:
app:
encoding: Encoding - UTF-8
java:
source: Source - java ver
target: Instance1 - Java ver
spring:
profiles: ${spring.profiles.active:default}
build:
name: ${project.name}
artifact: ${project.artifactId}
description: ${project.description}
# HTTP Server
server:
port: ${PORT:2222} # HTTP (Tomcat) port
tailsocket:
port: 5555
management: # If you set off security...
security:
enabled: false
hystrix:
threadpool:
default:
# Maximum number of concurrent requests when using thread pools (Default: 10)
coreSize: 100
# Maximum LinkedBlockingQueue size - -1 for using SynchronousQueue (Default: -1)
maxQueueSize: -1
# Queue size rejection threshold (Default: 5)
queueSizeRejectionThreshold: 5
command:
default:
circuitBreaker:
sleepWindowInMilliseconds: 60000
requestVolumeThreshold: 3
execution:
isolation:
#strategy: SEMAPHORE, no thread pool but timeout handling stops to work
strategy: THREAD
thread:
timeoutInMilliseconds: 60000
# CloudFoundry API Url
cloudfoundry:
cc:
api:
url: https://api.xxx.xxx.xxx.xxx.xip.io
uaaUrl: https://uaa.xxx.xxx.xxx.xxx.xip.io
sslSkipValidation: true
# CloudFoundry Login information
user:
admin:
username: CF_ADMIN_ACCOUNT # 재설정
password: CF_ADMIN_PASSWORD # 재설정
uaaClient:
clientId: login
clientSecret: login-secret # CF 설치 설정에 따라 변경, 기본설정 일 경우 현재 설정값 사용 - 재설정
adminClientId: admin
adminClientSecret: admin-secret # CF 설치 설정에 따라 변경, 기본설정 일 경우 현재 설정값 사용 - 재설정
loginClientId: login
loginClientSecret: login-secret # CF 설치 설정에 따라 변경, 기본설정 일 경우 현재 설정값 사용 - 재설정
skipSSLValidation: true
authorization: cf-Authorization
abacus:
url: http://paasta-usage-reporting.115.68.46.187.xip.io/v1
# 포탈 상세 모니터링
monitoring:
api:
url: http://monitapi.xxx.xxx.xxx.xxx.xip.io #xxx.xxx.xxx.xxx 는 Monitoring 서버 주소 - 재설정
multipart:
maxFileSize: 1000Mb
maxRequestSize: 1000Mb
---
spring:
profiles: local
Socket: 'The host information for the socket is set to Localhost'
paasta:
portal:
api:
authorization:
base64: Basic YWRtaW46b3BlbnBhYXN0YQ==
zuulUrl:
cfapi: http://localhost:2225/portalapi
commonapi: http://localhost:2225/commonapi
storageapi: http://localhost:2225/storageapi
storageapi:
type: swift
---
spring:
profiles: dev
Socket: 'The host information for the socket is set to ServerIP'
paasta:
portal:
api:
authorization:
base64: Basic YWRtaW46b3BlbnBhYXN0YQ==
zuulUrl:
cfapi: http://xxx.xxx.xxx.xxx:2225/portalapi #xxx.xxx.xxx.xxx 는 GateWay 서버 주소 - 재설정
commonapi: http://xxx.xxx.xxx.xxx:2225/commonapi #xxx.xxx.xxx.xxx 는 GateWay 서버 주소 - 재설정
storageapi: http://xxx.xxx.xxx.xxx:2225/storageapi #xxx.xxx.xxx.xxx 는 GateWay 서버 주소 - 재설정
storageapi:
type: swift