aboutsummaryrefslogtreecommitdiffstats
path: root/bundleconfig-local/etc/sysprops/sys-props.properties
blob: a55e6eabfc67d15cb774550e3a16075878bbc098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
#This file is used for defining AJSC system properties for different configuration schemes and is necessary for the AJSC to run properly.
#The sys-props.properties file is used for running locally. The template.sys-props.properties file will be used when deployed
#to a SOA/CSI Cloud node. 

#AJSC System Properties. The following properties are required for ALL AJSC services. If you are adding System Properties for your
#particular service, please add them AFTER all AJSC related System Properties. 

#For Cadi Authorization, use value="authentication-scheme-1
CadiAuthN=authentication-scheme-1

#For Basic Authorization, use value="authentication-scheme-1
authN=authentication-scheme-2

#Persistence used for AJSC meta-data storage. For most environments, "file" should be used.
ajscPersistence=file

#For Direct Invocation to be enabled (values=true/false)
directInvocationEnable=false

# If using hawtio for local development, these properties will allow for faster server startup and usage for local development

hawtio.authenticationEnabled=false
hawtio.config.pullOnStartup=false

#Removes the extraneous restlet console output
org.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade

#server.host property to be enabled for local DME2 related testing
#server.host=<Your network IP address> 

#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.
enableSSL=false


#Enable/disable EJB Container
ENABLE_EJB=false

#Enable/disable OSGI
isOSGIEnable=false

#Generate/Skip api docs
isApiDoc=false

#CSI related variables for CSM framework
csm.hostname=servername


#SOA_CLOUD_ENV is used to register your service with dme2 and can be turned off for local development (values=true/false).
SOA_CLOUD_ENV=false

#CONTINUE_ON_LISTENER_EXCEPTION will exit the application if there is a DME2 exception at the time of registration.
CONTINUE_ON_LISTENER_EXCEPTION=false

#Jetty Container ThreadCount Configuration Variables
AJSC_JETTY_ThreadCount_MIN=1
AJSC_JETTY_ThreadCount_MAX=200
AJSC_JETTY_IDLETIME_MAX=3000

#Camel Context level default threadPool Profile configuration
CAMEL_POOL_SIZE=10
CAMEL_MAX_POOL_SIZE=20
CAMEL_KEEP_ALIVE_TIME=60
CAMEL_MAX_QUEUE_SIZE=1000

#GRM/DME2 System Properties
AFT_DME2_CONN_IDLE_TIMEOUTMS=5000
AJSC_ENV=SOACLOUD

SOACLOUD_NAMESPACE=com.att.ajsc
SOACLOUD_ENV_CONTEXT=DEV
SOACLOUD_PROTOCOL=http
SOACLOUD_ROUTE_OFFER=DEFAULT

AFT_LATITUDE=23.4
AFT_LONGITUDE=33.6
AFT_ENVIRONMENT=AFTUAT

#Restlet Component Default Properties
RESTLET_COMPONENT_CONTROLLER_DAEMON=true
RESTLET_COMPONENT_CONTROLLER_SLEEP_TIME_MS=100
RESTLET_COMPONENT_INBOUND_BUFFER_SIZE=8192
RESTLET_COMPONENT_MIN_THREADS=1
RESTLET_COMPONENT_MAX_THREADS=10
RESTLET_COMPONENT_LOW_THREADS=8
RESTLET_COMPONENT_MAX_QUEUED=0
RESTLET_COMPONENT_MAX_CONNECTIONS_PER_HOST=-1
RESTLET_COMPONENT_MAX_TOTAL_CONNECTIONS=-1
RESTLET_COMPONENT_OUTBOUND_BUFFER_SIZE=8192
RESTLET_COMPONENT_PERSISTING_CONNECTIONS=true
RESTLET_COMPONENT_PIPELINING_CONNECTIONS=false
RESTLET_COMPONENT_THREAD_MAX_IDLE_TIME_MS=60000
RESTLET_COMPONENT_USE_FORWARDED_HEADER=false
RESTLET_COMPONENT_REUSE_ADDRESS=true

#Externalized jar and properties file location. In CSI environments, there are a few libs that have been externalized to aid
#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
#for proper registration of your AJSC service on a node, but it is also necessary for running locally as well. Another framework
#used in CSI envs is the CSM framework. These 2 framework libs are shown as "provided" dependencies within the pom.xml. These
#dependencies will be copied into the target/commonLibs folder with the normal "mvn clean package" goal of the AJSC. They will
#then be added to the classpath via AJSC_EXTERNAL_LIB_FOLDERS system property. Any files (mainly property files) that need
#to be on the classpath should be added to the AJSC_EXTERNAL_PROPERTIES_FOLDERS system property. The default scenario when 
#testing your AJSC service locally will utilize the target/commonLibs directory for DME2 and CSM related artifacts and 2 
#default csm properties files will be used for local testing with anything CSM knorelated.
#NOTE: we are using maven-replacer-plugin to replace "(doubleUnderscore)basedir(doubleUnderscore)" with ${basedir} within the 
#target directory for running locally. Multiple folder locations can be separated by the pipe ("|") character.
#Please, NOTE: for running locally, we are setting this system property in the antBuild/build.xml "runLocal" target and in the 
#"runAjsc" profile within the pom.xml. This is to most effectively use maven variables (${basedir}, most specifically. Therefore,
#when running locally, the following 2 properties should be set within the profile(s) themselves. 
#Example: target/commonLibs|target/otherLibs
#AJSC_EXTERNAL_LIB_FOLDERS=__basedir__/target/commonLibs
#AJSC_EXTERNAL_PROPERTIES_FOLDERS=__basedir__/ajsc-shared-config/etc
#End of AJSC System Properties

#Service System Properties. Please, place any Service related System Properties below.