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