-
Notifications
You must be signed in to change notification settings - Fork 69
/
template.yaml
114 lines (107 loc) · 4.88 KB
/
template.yaml
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
alias: sag-optimize-analysis
description: The minimal required template can be used to install single instance of Optimize Analytic Engine
environments:
default:
# optimize analysis engine
optimize.fixes: ALL
optimize.jms.protocol: nsp
optimize.jms.host: localhost
optimize.jms.port: 9000
optimize.config.agent.protocol: http
optimize.config.agent.port: 15000
optimize.mws.protocol: http
optimize.mws.host: localhost
optimize.mws.port: 8585
optimize.config.agent.host: ${optimize.mws.host}
optimize.wsdc.protocol: http
optimize.wsdc.port: 12503
optimize.jdbc.pool.alias: optimize
# Database connection
db.TYPE: ${} # REQUIRED: Database type: ORACLE,SQLSERVER,DB2
db.url: ${} # REQUIRED: JDBC URL
db.username: ${} # REQUIRED: Database username
db.password: ${} # REQUIRED: Database password
layers:
runtime:
productRepo: ${repo.product} # install products from
fixRepo: ${repo.fix} # install fixes from
templates: [optimize]
templates:
optimize:
fixes: ${optimize.fixes}
products:
optimizeAnalysis:
default:
configuration:
optimizeAnalysis-analysis:
COMMON-COMPONENT-ENDPOINTS:
COMMON-COMPONENT-ENDPOINTS-JMS-Provider:
"@alias": JMS-Provider
Transport:
Protocol: ${optimize.jms.protocol}
Host: ${optimize.jms.host}
Port: ${optimize.jms.port}
COMMON-COMPONENT-ENDPOINTS-Configuration-Agent:
"@alias": Configuration-Agent
Transport:
Protocol: ${optimize.config.agent.protocol}
Host: ${optimize.config.agent.host}
Port: ${optimize.config.agent.port}
COMMON-COMPONENT-ENDPOINTS-MWS:
"@alias": MWS
Transport:
Protocol: ${optimize.mws.protocol}
Host: ${optimize.mws.host}
Port: ${optimize.mws.port}
COMMON-COMPONENT-ENDPOINTS-WS-Registry:
"@alias": WS-Registry
Transport:
Protocol: ${optimize.wsdc.protocol}
Host: ${node.host}
Port: ${optimize.wsdc.port}
COMMON-JDBC:
COMMON-JDBC-${optimize.jdbc.pool.alias}:
Pool:
"@alias": ${optimize.jdbc.pool.alias}
Name: ${optimize.jdbc.pool.alias}
MinSize: 8
MaxSize: 36
MaxIdleTime: 20
RampUpDelay: 500
Retries: 8
RetriesBackoff: 500
MaxStatementsInCache: 0
DatabaseServer:
"@type" : ${db.TYPE}
URL: "${db.url}"
User: ${db.username}
Password: ${db.password}
COMMON-DBFUNCTION:
COMMON-DBFUNCTION-AnalysisEngine:
Function:
"@alias": analysis.engine
Description: 'Map to Analysis database pool'
PoolAlias: ${optimize.jdbc.pool.alias}
COMMON-DBFUNCTION-CommonDirectory:
Function:
"@alias": common.directory
Description: 'Map to MWS database pool'
PoolAlias: ${optimize.jdbc.pool.alias}
COMMON-DBFUNCTION-ProcessHistory:
Function:
"@alias": process.history
Description: 'Map to Process Tracker database pool'
PoolAlias: ${optimize.jdbc.pool.alias}
COMMON-DBFUNCTION-ProcessModel:
Function:
"@alias": process.model
Description: 'Map to Process Audit database pool'
PoolAlias: ${optimize.jdbc.pool.alias}
COMMON-DBFUNCTION-ProcessWork:
Function:
"@alias": process.work
Description: 'Map to Process Tracker database pool'
PoolAlias: ${optimize.jdbc.pool.alias}
provision:
default:
runtime: ${nodes}