AAF certificate update changes
[dmaap/messagerouter/messageservice.git] / ajsc-shared-config / etc / csm-config-app.properties
1 ###############################################################################
2 #  ============LICENSE_START=======================================================
3 #  org.onap.dmaap
4 #  ================================================================================
5 #  Copyright © 2017 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 #        http://www.apache.org/licenses/LICENSE-2.0
11 #  
12 #  Unless required by applicable law or agreed to in writing, software
13 #  distributed under the License is distributed on an "AS IS" BASIS,
14 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #  See the License for the specific language governing permissions and
16 #  limitations under the License.
17 #  ============LICENSE_END=========================================================
18 #
19 #  ECOMP is a trademark and service mark of AT&T Intellectual Property.
20 #  
21 ###############################################################################
22 Global.ExtendedProperty.AuthoritativeServers=${ChangeMe_csm.acfshost}:${ChangeMe_csm.acfsport}
23
24 #Possible working server for troubleshooting csm related items (used when testing/using invokeService or invokeAdapter components)
25 #Global.ExtendedProperty.AuthoritativeServers=q399csi1a1.vci.att.com:27550
26 #
27 # The settings in this file control the behavior of the CSM Framework. 
28 # The majority of the settings in this file adhere to the following
29 # pattern:
30
31 #  [EntityType].[EntityId].[PropertyName]=[PropertyValue]
32
33 # Where:
34
35 #  [EntityType]    Identifies the type of entity (service or
36 #                  service group) that's being configured.
37 #  [EntityId]      Identifies the individual entity.
38 #  [PropertyName]  Identifies the property that is being set.
39 #  [PropertyValue] Is the actual property value.
40
41 # In the formatting sample above, the EntityType can be setto one of the
42 # following values:
43
44 #  * 'Service' if an individual service is being configured.
45 #  * 'Group 'if a service group is being configured.
46
47 # The reference to 'entity' in the above description is intentionally
48 # generic.  The CSM Framework supports the configuration of individual
49 # services as well as groups of services.  The type of entity that is
50 # actually being configured is determined by the value of the
51 # [EntityType] portion of the property.
52
53 # There are two values for [EntityId] that have a special meaning within
54 # the CSM Framework:
55
56
57 # DefaultService - Identifies the default configuration for any service
58 #     that is not explicitly configured elsewhere in this file.
59
60 # DefaultServiceGroup - This identifies the entity that provides the
61 #     default configuration for any service group that is not explicitly
62 #     configured elsewhere in this file.
63
64 # DO NOT use either of these as the identifier for any of your
65 # application-specific services or service groups.
66
67 # The CSM Framework treats all entity identifiers in a case-insensitive
68 # manner.  The entity ids 'Service1' and 'SERVICE1' are equivalant.  All
69 # properties with the same [EntityId] will be applied to the same
70 # configuration.  The CSM Framework framework also treats property names
71 # in a case-insensitive manner.  'MaxRequestCount' and 'MAXREQUESTCOUNT'
72 # are considered equivalent within the CSM framework.
73
74 # The following properties are supported by the CSM Framework.  Any
75 # properties that are entity-specific will include the '[EntityId].'
76 # prefix.
77
78 # [EntityType].[EntityId].Enabled - Indicates if the entity is enabled
79 #     or disabled by default.  The value of this property must be either
80 #     'true' or 'false'.
81
82 # [EntityType].[EntityId].MaxRequestCount - The maximum number of
83 #     requests that can be running at any point in time.  Once this limit is
84 #     reached, the service is considered  to be 'flooded', and subsequent
85 #     requests are refused until the request count drops to the level
86 #     specified by the RestartThreshold property.  Once the restart
87 #     threshold is reached, the service will be 'restarted' based on the
88 #     values of the 'RestartFrequency' and 'RestartIncrement' properties.
89 #     The value of this property must be a numeric value.
90 #     The default value for this property is 20.
91
92 # [EntityType].[EntityId].MaxStalledRequestCount - the maximum number of
93 #     'stalled' requests that are allowed before subsequent requests are
94 #     refused
95 #     The value of this property must be a numeric value.
96 #     The default value for this property is 10.
97
98 # [EntityType].[EntityId].RestartThreshold - the process count level at
99 #     which requests will be allowed to proceed whenever a service becomes
100 #     'flooded'.  This property is only used if the total process count
101 #     reaches the level set by the 'MaxRequestCount' property.  Once that
102 #     occurs, subsequent requests will be refused until the active request
103 #     count drops to the level specified by this property.  Once the active
104 #     request count drops to the level specified by this property, the
105 #     service will be 'restarted' based on the values of the
106 #     'RestartFrequency' and 'RestartIncrement' properties.  To cause the
107 #     CSM framework to allow subsequent requests to proceed as soon as the
108 #     active request count drops below level level set by the
109 #     'MaxRequestCount' property, just set this property to either -1 or 1
110 #     less than the value of the 'MaxRequestCount' property.
111 #     The value of this property must be a numeric value.
112 #     The default value for this property is -1.
113
114 # [EntityType].[EntityId].RestartIncrement - This property, along with
115 #     the 'RestartFrequency' property helps determine how quickly the active
116 #     request count will rise to the 'maximum request count' whenever a
117 #     service is 'restarted' after becoming 'flooded'. The
118 #     'RestartFrequency' property determines how frequenty the permissable
119 #     number of active requests will be increased.  This property determines
120 #     how much the permissible number of active requests will increase by
121 #     whenever it is raised.  If this property is set to a positive value,
122 #     then the 'RestartFrequency' property must also be set to a positive
123 #     value.  If this property is set to 0, then the 'RestartFrequency'
124 #     property must also be set to 0.  In other words, either both
125 #     properties are 0 or both properties are greater than 0.  When both
126 #     properties are set to 0, then the permissable number of active
127 #     requests immediately rises back up to the maximum request count once
128 #     it has droppedback down to the 'restart threshold'.  When both
129 #     properties are greater than 0, then the permissable number of active
130 #     requests gradually rises to the maximum request count.
131 #     The value of this property must be a numeric value greater than or equal to 0.
132 #     The default value for this property is 0.
133
134 # [EntityType].[EntityId].RestartFrequency - This property, along with
135 #     the 'RestartIncrement' property helps determine how quickly the active
136 #     request count will rise to the 'maximum request count' whenever a
137 #     service is 'restarted' after becoming 'flooded'. The
138 #     'RestartIncrement' property determines how quickly the permissable
139 #     number of active requests will be increased.  This property determines
140 #     how frequently  that increase will occur.  If this property is set to
141 #     a positive value, then the 'RestartIncrement' property must also be
142 #     set to a positive value.  If this property is set to 0, then the
143 #     'RestartIncrement' property must also be set to 0.  In other words,
144 #     either both properties are 0 or both properties are greater than 0. 
145 #     When both properties are set to 0, then the permissable number of
146 #     active requests immediately rises back up to the maximum request count
147 #     once it has droppedback down to the 'restart threshold'.  When both
148 #     properties are greater than 0, then the permissable number of active
149 #     requests gradually rises to the maximum request count.
150 #     The value of this property must be a numeric value greater than or equal to 0.
151 #     The default value for this property is 0.
152
153 # [EntityType].[EntityId].ServiceGroupId - This property is only
154 #     relevant for entities that are configured as services (i.e. the
155 #     [EntityType] portion of the property is set to 'Service').  When the
156 #     'ServiceGroupId' property is set to a non-blank value, the behavior of
157 #     the service is controled by the configuration of the corresponding
158 #     service group.  There is no default value for this property.
159
160 # [EntityType].[EntityId].Timeout - the timeout, in milliseconds, for
161 #     each process that is controlled by this configuration.  Once the
162 #     duration of a process exceeds this value, the process will be
163 #     considered to have entered a 'stalled' state.  The default value for
164 #     this property is 10000.
165
166 # FrameworkEnabled: - This is the one property that is not specific to a
167 #     single entity.  This property determines whether the entire CSM
168 #     Framework is enabled or disabled.  When disabled, the CSM Framework
169 #     does not track any process counts.  All requests to access a service
170 #     are allowed, regardless of the current level of activity.  The value
171 #     of this property must be either 'true' or 'false'.
172
173
174 #
175 # Enables the CSM Framework so that it can manage interactions with external
176 # services and/or resources.  To disable the CSM Framework, simply set
177 # this property to false.
178 #
179 FrameworkEnabled=true
180
181 #
182 # These are the default settings for any service that is no explicitly configured
183 # below.  A few things to note about this configuration:
184 #  1) The "Enabled" property is not explicitly set.  Instead, we are relying
185 #     on the default value of 'true'.
186 #  2) The Timeout and Type properties are also not explicitly set.  Again, we
187 #     are relying on the default values for these properties.
188 #  
189 Service.DefaultService.Enabled=true
190 Service.DefaultService.MaxRequestCount=30
191 Service.DefaultService.MaxStalledRequestCount=20
192 Service.DefaultService.Timeout=30000
193 Service.DefaultService.RestartThreshold=-1
194 Service.DefaultService.AutoPurgeAfter=150000
195
196
197 #
198 # These are the default settings for any service group that is referenced in 
199 # a service configuration but not configured below.
200
201 # Currently CSI does not use any service group configurations!
202 #
203 #Group.DefaultGroup.MaxRequestCount=-1
204 #Group.DefaultGroup.MaxStalledRequestCount=-1
205 #Group.DefaultGroup.RestartThreshold=-1
206 #Group.DefaultGroup.Timeout=-1