eccd1ee5f6d58511685d97c291b25fccbebb308a
[dmaap/messagerouter/messageservice.git] / bundleconfig-local / etc / sysprops / sys-props.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 #This file is used for defining AJSC system properties for different configuration schemes and is necessary for the AJSC to run properly.
23 #The sys-props.properties file is used for running locally. The template.sys-props.properties file will be used when deployed
24 #to a SOA/CSI Cloud node. For more information, 
25
26 #AJSC System Properties. The following properties are required for ALL AJSC services. If you are adding System Properties for your
27 #particular service, please add them AFTER all AJSC related System Properties. 
28
29 #For Cadi Authorization, use value="authentication-scheme-1
30 CadiAuthN=authentication-scheme-1
31
32 #For Basic Authorization, use value="authentication-scheme-1
33 authN=authentication-scheme-2
34
35 #Persistence used for AJSC meta-data storage. For most environments, "file" should be used.
36 ajscPersistence=file
37
38 # If using hawtio for local development, these properties will allow for faster server startup and usage for local development
39 hawtio.authenticationEnabled=false
40 hawtio.config.pullOnStartup=false
41
42 #Removes the extraneous restlet console output
43 org.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade
44
45 #server.host property to be enabled for local DME2 related testing
46 #server.host=<Your network IP address> 
47
48 #Enable/disable SSL (values=true/false). This property also determines which protocol to use (https if true, http otherwise), to register services into GRM through DME2.
49 enableSSL=false
50
51 #Enable/disable csi logging (values=true/false). This can be disabled during local development
52 csiEnable=false
53
54 #Enable/disable CAET This can be disabled during local development
55 isCAETEnable=true
56
57 #Enable/disable EJB Container
58 ENABLE_EJB=false
59
60 #Enable/disable OSGI
61 isOSGIEnable=false
62
63 #Configure JMS Queue (WMQ/TIBCO)
64 JMS_BROKER=WMQ
65
66 #Generate/Skip api docs
67 isApiDoc=false
68
69
70 #WMQ connectivity
71 JMS_WMQ_PROVIDER_URL=aftdsc://AFTUAT/34.07/-84.28
72 JMS_WMQ_CONNECTION_FACTORY_NAME=aftdsc://AFTUAT/?service=CSILOG,version=1.0,bindingType=fusionBus,envContext=Q,Q30A=YES
73 JMS_WMQ_INITIAL_CONNECTION_FACTORY_NAME=com.att.aft.jms.FusionCtxFactory
74 JMS_WMQ_AUDIT_DESTINATION_NAME=queue:///CSILOGQL.M2E.DASHBOARD01.NOT.Q30A
75 JMS_WMQ_PERF_DESTINATION_NAME=queue:///CSILOGQL.M2E.PERFORMANCE01.NOT.Q30A
76
77 #CSI related variables for CSM framework
78 csm.hostname=d1a-m2e-q112m2e1.edc.cingular.net
79
80 #Enable/disable endpoint level logging (values=true/false). This can be disabled during local development
81 endpointLogging=false
82
83 #Enable/disable trail logging and trail logging summary
84 enableTrailLogging=false
85 enableTrailLoggingSummary=false
86
87 #SOA_CLOUD_ENV is used to register your service with dme2 and can be turned off for local development (values=true/false).
88 SOA_CLOUD_ENV=false
89
90 #CONTINUE_ON_LISTENER_EXCEPTION will exit the application if there is a DME2 exception at the time of registration.
91 CONTINUE_ON_LISTENER_EXCEPTION=false
92
93 #Jetty Container ThreadCount Configuration Variables
94 AJSC_JETTY_ThreadCount_MIN=1
95 AJSC_JETTY_ThreadCount_MAX=200
96 AJSC_JETTY_IDLETIME_MAX=3000
97
98 #Camel Context level default threadPool Profile configuration
99 CAMEL_POOL_SIZE=10
100 CAMEL_MAX_POOL_SIZE=20
101 CAMEL_KEEP_ALIVE_TIME=60
102 CAMEL_MAX_QUEUE_SIZE=1000
103
104 #File Monitor configurations
105 ssf_filemonitor_polling_interval=5
106 ssf_filemonitor_threadpool_size=10
107
108 #GRM/DME2 System Properties
109 AFT_DME2_CONN_IDLE_TIMEOUTMS=5000
110 AJSC_ENV=SOACLOUD
111
112 SOACLOUD_NAMESPACE=org.onap.dmaap.dev
113 SOACLOUD_ENV_CONTEXT=TEST
114 SOACLOUD_PROTOCOL=http
115 SOACLOUD_ROUTE_OFFER=DEFAULT
116
117 AFT_LATITUDE=23.4
118 AFT_LONGITUDE=33.6
119 AFT_ENVIRONMENT=AFTUAT
120
121 #Restlet Component Default Properties
122 RESTLET_COMPONENT_CONTROLLER_DAEMON=true
123 RESTLET_COMPONENT_CONTROLLER_SLEEP_TIME_MS=100
124 RESTLET_COMPONENT_INBOUND_BUFFER_SIZE=8192
125 RESTLET_COMPONENT_MIN_THREADS=1
126 RESTLET_COMPONENT_MAX_THREADS=10
127 RESTLET_COMPONENT_LOW_THREADS=8
128 RESTLET_COMPONENT_MAX_QUEUED=0
129 RESTLET_COMPONENT_MAX_CONNECTIONS_PER_HOST=-1
130 RESTLET_COMPONENT_MAX_TOTAL_CONNECTIONS=-1
131 RESTLET_COMPONENT_OUTBOUND_BUFFER_SIZE=8192
132 RESTLET_COMPONENT_PERSISTING_CONNECTIONS=true
133 RESTLET_COMPONENT_PIPELINING_CONNECTIONS=false
134 RESTLET_COMPONENT_THREAD_MAX_IDLE_TIME_MS=60000
135 RESTLET_COMPONENT_USE_FORWARDED_HEADER=false
136 RESTLET_COMPONENT_REUSE_ADDRESS=true
137
138 #Externalized jar and properties file location. In CSI environments, there are a few libs that have been externalized to aid
139 #in CSTEM maintenance of the versions of these libs. The most important to the AJSC is the DME2 lib. Not only is this lib necessary
140 #for proper registration of your AJSC service on a node, but it is also necessary for running locally as well. Another framework
141 #used in CSI envs is the CSM framework. These 2 framework libs are shown as "provided" dependencies within the pom.xml. These
142 #dependencies will be copied into the target/commonLibs folder with the normal "mvn clean package" goal of the AJSC. They will
143 #then be added to the classpath via AJSC_EXTERNAL_LIB_FOLDERS system property. Any files (mainly property files) that need
144 #to be on the classpath should be added to the AJSC_EXTERNAL_PROPERTIES_FOLDERS system property. The default scenario when 
145 #testing your AJSC service locally will utilize the target/commonLibs directory for DME2 and CSM related artifacts and 2 
146 #default csm properties files will be used for local testing with anything CSM knorelated.
147 #NOTE: we are using maven-replacer-plugin to replace "(doubleUnderscore)basedir(doubleUnderscore)" with ${basedir} within the 
148 #target directory for running locally. Multiple folder locations can be separated by the pipe ("|") character.
149 #Please, NOTE: for running locally, we are setting this system property in the antBuild/build.xml "runLocal" target and in the 
150 #"runAjsc" profile within the pom.xml. This is to most effectively use maven variables (${basedir}, most specifically. Therefore,
151 #when running locally, the following 2 properties should be set within the profile(s) themselves. 
152 #Example: target/commonLibs|target/otherLibs
153 #AJSC_EXTERNAL_LIB_FOLDERS=__basedir__/target/commonLibs
154 #AJSC_EXTERNAL_PROPERTIES_FOLDERS=__basedir__/ajsc-shared-config/etc
155 #End of AJSC System Properties
156
157 #Service System Properties. Please, place any Service related System Properties below.
158
159 #msgrtr content length and error message
160 #100mb
161 maxcontentlength=10000
162 msg_size_exceeds=Message size exceeds the default size.
163 forceAAF=false
164 useCustomAcls=false