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