DMAAP-MR - Sonar bug fixes
[dmaap/messagerouter/messageservice.git] / bundleconfig-csi / 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, please goto wiki link:
25
26 #AJSC System Properties. The following properties are required for ALL AJSC services.
27
28 #For Cadi Authorization, use value="authentication-scheme-1
29 CadiAuthN=authentication-scheme-1
30
31 #For Basic Authorization, use value="authentication-scheme-1
32 authN=authentication-scheme-2
33
34 #Persistence used for AJSC meta-data storage. For most environments, "file" should be used.
35 ajscPersistence=file
36
37 # If using hawtio for local development, these properties will allow for faster server startup and usage for local development
38 hawtio.authenticationEnabled=false
39 hawtio.config.pullOnStartup=false
40
41 #Removes the extraneous restlet console output
42 org.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade
43
44 #server.host property to be enabled for local DME2 related testing
45 #server.host=<Your network IP address> 
46
47 #Enable/disable SSL (values=true/false).
48 enableSSL=true
49
50 #Enable/disable OSGI
51 isOSGIEnable=false
52
53 #Generate/Skip api docs
54 isApiDoc=false 
55
56 #Jetty Container ThreadCount Configuration Variables
57 AJSC_JETTY_ThreadCount_MIN=${ChangeMe_AJSC_JETTY_ThreadCount_MIN}
58 AJSC_JETTY_ThreadCount_MAX=${ChangeMe_AJSC_JETTY_ThreadCount_MAX}
59 AJSC_JETTY_IDLETIME_MAX=${ChangeMe_AJSC_JETTY_IDLETIME_MAX}
60
61 #Camel Context level default threadPool Profile configuration
62 CAMEL_POOL_SIZE=${ChangeMe_CAMEL_POOL_SIZE}
63 CAMEL_MAX_POOL_SIZE=${ChangeMe_CAMEL_MAX_POOL_SIZE}
64 CAMEL_KEEP_ALIVE_TIME=${ChangeMe_CAMEL_KEEP_ALIVE_TIME}
65 CAMEL_MAX_QUEUE_SIZE=${ChangeMe_CAMEL_MAX_QUEUE_SIZE}
66
67 #Restlet Component Default Properties
68 RESTLET_COMPONENT_CONTROLLER_DAEMON=true
69 RESTLET_COMPONENT_CONTROLLER_SLEEP_TIME_MS=${ChangeMe_RESTLET_COMPONENT_CONTROLLER_SLEEP_TIME_MS}
70 RESTLET_COMPONENT_MIN_THREADS=${ChangeMe_RESTLET_COMPONENT_MIN_THREADS}
71 RESTLET_COMPONENT_MAX_THREADS=${ChangeMe_RESTLET_COMPONENT_MAX_THREADS}
72 RESTLET_COMPONENT_LOW_THREADS=${ChangeMe_RESTLET_COMPONENT_LOW_THREADS}
73 RESTLET_COMPONENT_MAX_QUEUED=${ChangeMe_RESTLET_COMPONENT_MAX_QUEUED}
74 RESTLET_COMPONENT_MAX_CONNECTIONS_PER_HOST=${ChangeMe_RESTLET_COMPONENT_MAX_CONNECTIONS_PER_HOST}
75 RESTLET_COMPONENT_MAX_TOTAL_CONNECTIONS=${ChangeMe_RESTLET_COMPONENT_MAX_TOTAL_CONNECTIONS}
76 RESTLET_COMPONENT_INBOUND_BUFFER_SIZE=${ChangeMe_RESTLET_COMPONENT_INBOUND_BUFFER_SIZE}
77 RESTLET_COMPONENT_OUTBOUND_BUFFER_SIZE=${ChangeMe_RESTLET_COMPONENT_OUTBOUND_BUFFER_SIZE}
78 RESTLET_COMPONENT_PERSISTING_CONNECTIONS=true
79 RESTLET_COMPONENT_PIPELINING_CONNECTIONS=false
80 RESTLET_COMPONENT_THREAD_MAX_IDLE_TIME_MS=${ChangeMe_RESTLET_COMPONENT_THREAD_MAX_IDLE_TIME_MS}
81 RESTLET_COMPONENT_USE_FORWARDED_HEADER=false
82 RESTLET_COMPONENT_REUSE_ADDRESS=true
83
84 #File Monitor configurations
85 ssf_filemonitor_polling_interval=5
86 ssf_filemonitor_threadpool_size=10
87
88 #SOA_CLOUD_ENV is used to register your service with dme2 and can be turned off for local development (values=true/false).
89 SOA_CLOUD_ENV=true
90
91 #CONTINUE_ON_LISTENER_EXCEPTION will exit the application if there is a DME2 exception at the time of registration.
92 CONTINUE_ON_LISTENER_EXCEPTION=false
93
94 #GRM/DME2 System Properties
95 AFT_DME2_CONN_IDLE_TIMEOUTMS=5000
96 AJSC_ENV=SOACLOUD
97 AJSC_SERVICE_NAMESPACE=__module_ajsc_namespace_name__
98 AJSC_SERVICE_VERSION=__module_ajsc_namespace_version__
99
100 SOACLOUD_NAMESPACE=org.onap.dmaap.mr
101 SOACLOUD_ENV_CONTEXT=${ChangeMe_SOACLOUD_ENV_CONTEXT}
102 SOACLOUD_PROTOCOL=https
103 SOACLOUD_ROUTE_OFFER=${ChangeMe_SOACLOUD_ROUTE_OFFER}
104
105 AFT_LATITUDE=${ChangeMe_AFT_LATITUDE}
106 AFT_LONGITUDE=${ChangeMe_AFT_LONGITUDE}
107 AFT_ENVIRONMENT=${ChangeMe_AFT_ENVIRONMENT}
108
109 #Enable/disable csi logging (values=true/false). This can be disabled during local development
110 csiEnable=true
111
112 #Enable/disable CAET This can be disabled during local development
113 isCAETEnable=true
114
115 #Enable/disable endpoint level logging (values=true/false). This can be disabled during local development
116 endpointLogging=false
117
118 #Enable/disable trail logging and trail logging summary
119 enableTrailLogging=false
120 enableTrailLoggingSummary=false
121
122 #Configure JMS Queue (WMQ/TIBCO)
123 JMS_BROKER=WMQ
124
125 #JMS properties needed for CSI Logging (TIBCO)
126 JMS_TIBCO_PROVIDER_URL=${ChangeMe_JMS_TIBCO_PROVIDER_URL}
127 JMS_LOGGER_USER_NAME=${ChangeMe_JMS_LOGGER_USER_NAME}
128 JMS_LOGGER_PASSWORD=${ChangeMe_JMS_LOGGER_PASSWORD}
129 JMS_LOGGER_AUDIT_QUEUE_BINDING=${ChangeMe_JMS_LOGGER_AUDIT_QUEUE_BINDING}
130 JMS_LOGGER_PERF_QUEUE_BINDING=${ChangeMe_JMS_LOGGER_PERF_QUEUE_BINDING}
131
132 #WMQ connectivity
133
134 logback.configurationFile=${ChangeMe_localBundlePath}/shared/etc/logback.xml
135
136 #CSI related variables for CSM framework
137 csm.hostname=${ChangeMe_VTIER_FQDN}
138
139 #Externalized jar and properties file location. In CSI environments, there are a few libs that have been externalized to aid
140 #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
141 #for proper registration of your AJSC service on a node, but it is also necessary for running locally as well. Another framework
142 #used in CSI envs is the CSM framework. These 2 framework libs are shown as "provided" dependencies within the pom.xml. These
143 #dependencies will be copied into the target/commonLibs folder with the normal "mvn clean package" goal of the AJSC. They will
144 #then be added to the classpath via AJSC_EXTERNAL_LIB_FOLDERS system property. Any files (mainly property files) that need
145 #to be on the classpath should be added to the AJSC_EXTERNAL_PROPERTIES_FOLDERS system property. The default scenario when 
146 #testing your AJSC service locally will utilize the target/commonLibs directory for DME2 and CSM related artifacts and 2 
147 #default csm properties files will be used for local testing with anything CSM related.
148 #NOTE: we are using maven-replacer-plugin to replace "(doubleUnderscore)basedir(doubleUnderscore)" with ${basedir} within the 
149 #target directory for running locally. Multiple folder locations can be separated by the pipe ("|") character.
150 #Example: target/commonLibs|target/otherLibs
151 AJSC_EXTERNAL_LIB_FOLDERS=${ChangeMe_localBundlePath}/symlinks/link_csi-csm/lib|${ChangeMe_localBundlePath}/symlinks/link_csi-dme/lib
152 AJSC_EXTERNAL_PROPERTIES_FOLDERS=${ChangeMe_localBundlePath}/shared/etc
153 #End of AJSC System Properties
154
155 #Service System Properties. Please, place any Service related System Properties below.