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