Fix tracing
[aai/resources.git] / aai-resources / src / main / resources / etc / appprops / aaiconfig.properties
1 #
2 # ============LICENSE_START=======================================================
3 # org.onap.aai
4 # ================================================================================
5 # Copyright © 2017-18 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #    http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19
20 ####################################################################
21 #  REMEMBER TO THINK ABOUT ENVIRONMENTAL DIFFERENCES AND CHANGE THE
22 #  TEMPLATE AND *ALL* DATAFILES
23 ####################################################################
24
25 aai.config.checktime=1000
26
27 # this could come from siteconfig.pl?
28 aai.config.nodename=AutomaticallyOverwritten
29
30 aai.logging.hbase.interceptor=true
31 aai.logging.hbase.enabled=true
32 aai.logging.hbase.logrequest=true
33 aai.logging.hbase.logresponse=true
34
35 aai.logging.trace.enabled=true
36 aai.logging.trace.logrequest=false
37 aai.logging.trace.logresponse=false
38
39 aai.transaction.logging=true
40 aai.transaction.logging.get=false
41 aai.transaction.logging.post=true
42
43 aai.tools.enableBasicAuth=true
44 aai.tools.username=AAI
45 aai.tools.password=AAI
46
47 aai.server.url.base=https://localhost:8443/aai/
48 aai.server.url=https://localhost:8443/aai/v20/
49 aai.global.callback.url=https://localhost:8443/aai/
50
51 aai.notification.current.version=v20
52 aai.notificationEvent.default.status=UNPROCESSED
53 aai.notificationEvent.default.eventType=AAI-EVENT
54 aai.notificationEvent.default.domain=devINT1
55 aai.notificationEvent.default.sourceName=aai
56 aai.notificationEvent.default.sequenceNumber=0
57 aai.notificationEvent.default.severity=NORMAL
58 aai.notificationEvent.default.version=v20
59 # This one lets us enable/disable resource-version checking on updates/deletes
60 aai.resourceversion.enableflag=true
61 aai.logging.maxStackTraceEntries=10
62 aai.default.api.version=v20
63
64 # Used by Model-processing code
65 aai.model.delete.sleep.per.vtx.msec=500
66 aai.model.query.resultset.maxcount=50
67 aai.model.query.timeout.sec=90
68
69 # Used by Data Grooming
70 aai.grooming.default.max.fix=150
71 aai.grooming.default.sleep.minutes=7
72
73 # Used by DupeTool
74 aai.dupeTool.default.max.fix=25
75 aai.dupeTool.default.sleep.minutes=7
76
77 aai.model.proc.max.levels=50
78 aai.edgeTag.proc.max.levels=50
79
80 # Used by the ForceDelete tool
81 aai.forceDel.protected.nt.list=cloud-region
82 aai.forceDel.protected.edge.count=10
83 aai.forceDel.protected.descendant.count=10
84
85 # dmaap is deprecated now kafka is used
86 # aai.dmaap.workload.enableEventProcessing=true
87
88 aai.realtime.clients=RO,SDNC,MSO,SO
89
90 #timeout for crud enabled flag
91 aai.crud.timeoutenabled=true
92
93 #timeout app specific -1 to bypass for that app id, a whole number to override the timeout with that value (in ms)
94 aai.crud.timeout.appspecific=JUNITTESTAPP1,1|JUNITTESTAPP2,-1|DCAE-CCS,-1|DCAES,-1|AAIRctFeed,-1|NewvceCreator,-1|IANewvceCreator,-1|AAI-CSIOVALS,-1|AAI-SAREA,-1
95
96 #default timeout limit added for crud if not overridden (in ms)
97 aai.crud.timeoutlimit=100000
98
99 #limit set for bulk consumer APIS
100 aai.bulkconsumer.payloadlimit=30
101
102 #uncomment and use header X-OverrideLimit with the value to override the bulk api limit
103 #aai.bulkconsumer.payloadoverride=E6F04B93462CB5B0EDF41C05A9DDF5C3FE59748F
104 aai.bulkconsumer.payloadoverride=false
105
106 aai.rest.getall.depthparam=5807c3c3-92cd-44d7-a508-8539cd36ecda
107 #data import task
108 aai.dataimport.enable=true
109 aai.dataimport.input.location=/etc/scriptdata/addmanualdata/tenant_isolation
110 aai.resourceversion.disabled.uuid=38cf3090-6a0c-4e9d-8142-4332a7352846
111
112 aai.use.realtime=true
113
114 # Threshold for margin of error (in ms) for resources_with_sot format to derive the most recent http method performed
115 aai.resource.formatter.threshold=10
116
117 # Indicating whether or not to log the implicit delete objects
118 # Set this property to true if you want to log implicit delete objects
119 aai.implied.delete.log.enabled=false
120 # Specifies how much upper bound the deletable objects should you log
121 # If this property is not specified it will log everything
122 # Uncomment it and specify an upper limit if you only want to log up to a certain deletes
123 #aai.implied.delete.log.limit=10000
124
125 #################################################################################
126 #
127 # aai.implied.delete.whitelist.< X-FromAppId HTTP Header in lowercase >=<List of objects comma seperated in single quotes>
128 #
129 # Examples:
130 #
131 # aai.implied.delete.whitelist.so='vserver'
132 #
133 # Above example, if an HTTP Header X-FromAppId with value SO or So or sO or so
134 # made a PUT request with vserver and set the children as empty in payload
135 # Then they would be allowed to do so
136 # For any other objects SO would not be able to delete children
137 # it would fail with an error
138 #
139 #################################################################################
140 # aai.implied.delete.whitelist.sdc=*
141 #
142 # Above example, if an HTTP header X-FromAppId with value sdc, case insensitive,
143 # they are able to implicitly delete any children object on PUT
144 #
145 #################################################################################
146 # aai.implied.delete.whitelist.idf='vserver','vce'
147 #
148 # Above example, if an HTTP header X-FromAppId with value idf, case insensitive,
149 # they are able to implicitly delete on children of vce and vserver on PUT
150 #
151 #################################################################################
152 aai.implied.delete.whitelist.sdnc='vce'
153 aai.implied.delete.whitelist.ro='vserver'
154
155 property.null.validation.enabled=true
156
157 #
158 # AAI Graph DB checker task
159 #
160
161 # Indicator to enable or disable scheduled task (true/false)
162 aai.graph.checker.task.enabled=false
163
164 # Delay, in seconds, before the scheduled task is started, if enabled
165 aai.graph.checker.task.delay=5
166
167 # Period, in seconds, between two consecutive executions of the scheduled task, if enabled
168 aai.graph.checker.task.period=10