36e9ff3118a14c2a2f2769da060f2e993903a39f
[aai/babel.git] / bundleconfig-local / etc / sysprops / sys-props.properties
1 # ============LICENSE_START=======================================================
2 # org.onap.aai
3 # ================================================================================
4 # Copyright © 2016-2018 AT&T Intellectual Property. All rights reserved.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
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 #This file is used for defining AJSC system properties for different configuration schemes and is necessary for the AJSC to run properly.
20 #The sys-props.properties file is used for running locally. The template.sys-props.properties file will be used when deployed
21 #to a SOA/CSI Cloud node. 
22
23 #AJSC System Properties. The following properties are required for ALL AJSC services. If you are adding System Properties for your
24 #particular service, please add them AFTER all AJSC related System Properties. 
25
26 #For Cadi Authorization, use value="authentication-scheme-1
27 CadiAuthN=authentication-scheme-1
28
29 #For Basic Authorization, use value="authentication-scheme-1
30 authN=authentication-scheme-2
31
32 #Persistence used for AJSC meta-data storage. For most environments, "file" should be used.
33 ajscPersistence=file
34
35 #For Direct Invocation to be enabled (values=true/false)
36 directInvocationEnable=false
37
38 # If using hawtio for local development, these properties will allow for faster server startup and usage for local development
39
40 hawtio.authenticationEnabled=false
41 hawtio.config.pullOnStartup=false
42
43 #Removes the extraneous restlet console output
44 org.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade
45
46 #server.host property to be enabled for local DME2 related testing
47 #server.host=<Your network IP address> 
48
49 #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.
50 enableSSL=true
51
52
53 #Enable/disable EJB Container
54 ENABLE_EJB=false
55
56 #Enable/disable OSGI
57 isOSGIEnable=false
58
59 #Generate/Skip api docs
60 isApiDoc=false
61
62 #CSI related variables for CSM framework
63 csm.hostname=servername
64
65
66 #SOA_CLOUD_ENV is used to register your service with dme2 and can be turned off for local development (values=true/false).
67 SOA_CLOUD_ENV=false
68
69 #CONTINUE_ON_LISTENER_EXCEPTION will exit the application if there is a DME2 exception at the time of registration.
70 CONTINUE_ON_LISTENER_EXCEPTION=false
71
72 #Jetty Container ThreadCount Configuration Variables
73 AJSC_JETTY_ThreadCount_MIN=1
74 AJSC_JETTY_ThreadCount_MAX=200
75 AJSC_JETTY_IDLETIME_MAX=3000
76
77 #Camel Context level default threadPool Profile configuration
78 CAMEL_POOL_SIZE=10
79 CAMEL_MAX_POOL_SIZE=20
80 CAMEL_KEEP_ALIVE_TIME=60
81 CAMEL_MAX_QUEUE_SIZE=1000
82
83 #GRM/DME2 System Properties
84 AFT_DME2_CONN_IDLE_TIMEOUTMS=5000
85 AJSC_ENV=SOACLOUD
86
87 SOACLOUD_NAMESPACE=com.att.ajsc
88 SOACLOUD_ENV_CONTEXT=DEV
89 SOACLOUD_PROTOCOL=http
90 SOACLOUD_ROUTE_OFFER=DEFAULT
91
92 AFT_LATITUDE=23.4
93 AFT_LONGITUDE=33.6
94 AFT_ENVIRONMENT=AFTUAT
95
96 #Restlet Component Default Properties
97 RESTLET_COMPONENT_CONTROLLER_DAEMON=true
98 RESTLET_COMPONENT_CONTROLLER_SLEEP_TIME_MS=100
99 RESTLET_COMPONENT_INBOUND_BUFFER_SIZE=8192
100 RESTLET_COMPONENT_MIN_THREADS=1
101 RESTLET_COMPONENT_MAX_THREADS=10
102 RESTLET_COMPONENT_LOW_THREADS=8
103 RESTLET_COMPONENT_MAX_QUEUED=0
104 RESTLET_COMPONENT_MAX_CONNECTIONS_PER_HOST=-1
105 RESTLET_COMPONENT_MAX_TOTAL_CONNECTIONS=-1
106 RESTLET_COMPONENT_OUTBOUND_BUFFER_SIZE=8192
107 RESTLET_COMPONENT_PERSISTING_CONNECTIONS=true
108 RESTLET_COMPONENT_PIPELINING_CONNECTIONS=false
109 RESTLET_COMPONENT_THREAD_MAX_IDLE_TIME_MS=60000
110 RESTLET_COMPONENT_USE_FORWARDED_HEADER=false
111 RESTLET_COMPONENT_REUSE_ADDRESS=true
112
113 #Externalized jar and properties file location. In CSI environments, there are a few libs that have been externalized to aid
114 #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
115 #for proper registration of your AJSC service on a node, but it is also necessary for running locally as well. Another framework
116 #used in CSI envs is the CSM framework. These 2 framework libs are shown as "provided" dependencies within the pom.xml. These
117 #dependencies will be copied into the target/commonLibs folder with the normal "mvn clean package" goal of the AJSC. They will
118 #then be added to the classpath via AJSC_EXTERNAL_LIB_FOLDERS system property. Any files (mainly property files) that need
119 #to be on the classpath should be added to the AJSC_EXTERNAL_PROPERTIES_FOLDERS system property. The default scenario when 
120 #testing your AJSC service locally will utilize the target/commonLibs directory for DME2 and CSM related artifacts and 2 
121 #default csm properties files will be used for local testing with anything CSM knorelated.
122 #NOTE: we are using maven-replacer-plugin to replace "(doubleUnderscore)basedir(doubleUnderscore)" with ${basedir} within the 
123 #target directory for running locally. Multiple folder locations can be separated by the pipe ("|") character.
124 #Please, NOTE: for running locally, we are setting this system property in the antBuild/build.xml "runLocal" target and in the 
125 #"runAjsc" profile within the pom.xml. This is to most effectively use maven variables (${basedir}, most specifically. Therefore,
126 #when running locally, the following 2 properties should be set within the profile(s) themselves. 
127 #Example: target/commonLibs|target/otherLibs
128 #AJSC_EXTERNAL_LIB_FOLDERS=__basedir__/target/commonLibs
129 #AJSC_EXTERNAL_PROPERTIES_FOLDERS=__basedir__/ajsc-shared-config/etc
130 #End of AJSC System Properties
131
132 #Service System Properties. Please, place any Service related System Properties below.