Upgrade SDC from Titan to Janus Graph
[sdc.git] / catalog-dao / src / test / resources / config / catalog-dao / configuration.yaml
1 identificationHeaderFields:
2    - HTTP_IV_USER
3    - HTTP_CSP_FIRSTNAME
4    - HTTP_CSP_LASTNAME
5    - HTTP_IV_REMOTE_ADDRESS
6    - HTTP_CSP_WSTYPE
7
8
9 # catalog backend hostname
10 beFqdn: 0.0.0.0
11 # sdccatalog.att.com
12
13 # catalog backend http port
14 beHttpPort: 8080
15
16 # catalog backend http context
17 beContext: /sdc/rest/config/get
18
19 # catalog backend protocol
20 beProtocol: http
21
22 # catalog backend ssl port
23 beSslPort: 8443
24
25 version: 1.0
26 released: 2012-11-30
27
28 janusGraphCfgFile: src/main/resources/config/janusgraph.properties
29 janusGraphInMemoryGraph: true
30 janusGraphLockTimeout: 30
31
32 # Protocols
33 protocols:
34    - http
35    - https
36
37 # Users
38 users:
39     tom: passwd
40     bob: passwd
41 #Neoj4
42 neo4j:
43     host: neo4jhost
44     port: 7474
45     user: neo4j
46     password: "12345"
47     maxHttpConnection: 100
48     maxHttpPerRoute: 20
49
50 cassandraConfig:
51     cassandraHosts: ['000000000']
52     localDataCenter:
53     reconnectTimeout : 30000
54     authenticate: false
55     username: koko
56     password: bobo
57     ssl: false
58     truststorePath : /path/path
59     truststorePassword : 123123
60     keySpaces:
61         - { name: sdcaudit, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
62         - { name: sdcartifact, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
63
64 #Application-specific settings of ES
65 elasticSearch:
66     # Mapping of index prefix to time-based frame. For example, if below is configured:
67     #
68     # - indexPrefix: auditingevents
69     #    creationPeriod: minute
70     #
71     # then ES object of type which is mapped to "auditingevents-*" template, and created on 2015-12-23 13:24:54, will enter "auditingevents-2015-12-23-13-24" index.
72     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
73     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
74     #
75     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
76     #
77     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
78  
79     indicesTimeFrequency:
80       - indexPrefix: auditingevents
81         creationPeriod: month
82
83 switchoverDetector:
84     gBeFqdn: AIO-BE.ecomp.idns
85     gFeFqdn: AIO-FE.ecomp.idns
86     beVip: 0.0.0.0
87     feVip: 0.0.0.0
88     beResolveAttempts: 3
89     feResolveAttempts: 3
90     enabled: false
91     interval: 60
92     changePriorityUser: ecompasdc
93     changePriorityPassword: ecompasdc123
94     publishNetworkUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
95     publishNetworkBody: '{"note":"publish network"}'
96     groups:
97       beSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
98                changePriorityBody: '{"name":"AIO-BE.ecomp.idns.com","uri":"/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com","no_ad_redirection":false,"v4groups":{"failover_groups":["/crt/CipDomain.ECOMP-ASDC-DEVST/config/groups/group_mg_be","/crt/CipDomain.ECOMP-ASDC-DEVST/config/groups/group_bs_be"],"failover_policy":["FAILALL"]},"comment":"AIO BE G-fqdn","intended_app_proto":"DNS"}'}
99       feSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com?user=root",
100                changePriorityBody: '{"comment":"AIO G-fqdn","name":"AIO-FE.ecomp.idns.com","v4groups":{"failover_groups":["/crt/CipDomain.ECOMP-ASDC-DEVST/config/groups/group_mg_fe","/crt/CipDomain.ECOMP-ASDC-DEVST/config/groups/group_bs_fe"],"failover_policy":["FAILALL"]},"no_ad_redirection":false,"intended_app_proto":"DNS","uri":"/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com"}'}
101
102 applicationL1Cache:
103     datatypes:
104         enabled: true
105         firstRunDelay: 10
106         pollIntervalInSec: 60
107
108 applicationL2Cache:
109     enabled: true
110     catalogL1Cache:
111         enabled: true
112         resourcesSizeInCache: 300
113         servicesSizeInCache: 200
114         productsSizeInCache: 100
115     queue:
116         syncIntervalInSecondes: 60
117         waitOnShutDownInMinutes: 30
118         numberOfCacheWorkers: 4
119 toscaValidators:
120     stringMaxLength: 1024