diff options
Diffstat (limited to 'epsdk-app-onap/src/main/webapp')
3 files changed, 200 insertions, 0 deletions
diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/conf/asdc_template.properties b/epsdk-app-onap/src/main/webapp/WEB-INF/conf/asdc_template.properties new file mode 100755 index 000000000..4015da4e6 --- /dev/null +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/conf/asdc_template.properties @@ -0,0 +1,6 @@ +asdc.client.type=${ASDC_CLIENT_TYPE}
+
+asdc.client.rest.protocol=${ASDC_CLIENT_REST_PROTOCOL}
+asdc.client.rest.host=${ASDC_CLIENT_REST_HOST}
+asdc.client.rest.port=${ASDC_CLIENT_REST_PORT}
+asdc.client.rest.auth=${ASDC_CLIENT_REST_AUTH}
diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/conf/quartz_template.properties b/epsdk-app-onap/src/main/webapp/WEB-INF/conf/quartz_template.properties new file mode 100755 index 000000000..0332a1c5a --- /dev/null +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/conf/quartz_template.properties @@ -0,0 +1,36 @@ +#################################################################################
+# Quartz configurations for Quantum Work Flow #
+#################################################################################
+
+org.quartz.scheduler.instanceId = AUTO
+
+#################################################################################
+# Main configurations
+org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
+org.quartz.threadPool.threadCount = 30
+
+============================================================================
+# Configure JobStore
+#============================================================================
+
+org.quartz.jobStore.misfireThreshold = 60000
+
+org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX
+org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
+org.quartz.jobStore.useProperties = false
+#org.quartz.jobStore.dataSource = myDS
+org.quartz.jobStore.tablePrefix = FN_QZ_
+
+org.quartz.jobStore.isClustered = true
+org.quartz.jobStore.clusterCheckinInterval = 20000
+
+#============================================================================
+# Configure Datasources
+#============================================================================
+
+org.quartz.dataSource.myDS.driver = org.mariadb.jdbc.Driver
+org.quartz.dataSource.myDS.URL = jdbc:mariadb://${VID_MYSQL_HOST}:${VID_MYSQL_PORT}/${VID_MYSQL_DBNAME}
+org.quartz.dataSource.myDS.user = ${VID_MYSQL_USER}
+org.quartz.dataSource.myDS.password = ${VID_MYSQL_PASS}
+org.quartz.dataSource.myDS.maxConnections = ${VID_MYSQL_MAXCONNECTIONS}
+org.quartz.dataSource.myDS.validationQuery=select 0 from dual
diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties b/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties new file mode 100755 index 000000000..8ca30a339 --- /dev/null +++ b/epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties @@ -0,0 +1,158 @@ +### +# ================================================================================ +# eCOMP Portal SDK +# ================================================================================ +# Copyright (C) 2017 AT&T Intellectual Property +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ================================================================================ +### + +########################################################################## +# The following properties MAY require changes by partner applications. +########################################################################## + +cookie_domain = onap.org +#mysql +db.driver = org.mariadb.jdbc.Driver +db.connectionURL = jdbc:mariadb://${VID_MYSQL_HOST}:${VID_MYSQL_PORT}/${VID_MYSQL_DBNAME} +db.userName = ${VID_MYSQL_USER} +db.password = ${VID_MYSQL_PASS} +db.hib.dialect = org.hibernate.dialect.MySQLDialect +db.min_pool_size = 5 +db.max_pool_size = 10 +hb.dialect = org.hibernate.dialect.MySQLDialect + +hb.show_sql = false # this property is set in logger configuration to keep console output clean +hb.idle_connection_test_period = 3600 +app_display_name = ${VID_APP_DISPLAY_NAME} +files_path = /tmp + +application_name = Virtual Infrastructure Deployment +application_user_id = 30000 +post_default_role_id = 16 +clustered = true + +#Enable Fusion Mobile capabilities for the application +mobile_enable = false + +# Cache config file is needed on the classpath +cache_config_file_path = /WEB-INF/classes/cache.ccf +cache_switch = 199 +cache_load_on_startup = false + +user_name = fullName + +decryption_key = ${VID_DECRYPTION_KEY} + +#element map files +element_map_file_path = /tmp +element_map_icon_path = app/vid/icons/ + +role_management_activated = false + +#aai related properties +aai.server.url.base=${VID_AAI_URL}/aai/ +aai.server.url=${VID_AAI_URL}/aai/v19/ +aai.truststore.filename=${AAI_TRUSTSTORE_FILENAME} +aai.truststore.passwd.x=${AAI_TRUSTSTORE_PASSWD_X} +aai.keystore.filename=${AAI_KEYSTORE_FILENAME} +aai.keystore.passwd.x=${AAI_KEYSTORE_PASSWD_X} +aai.vid.username=${AAI_VID_UID} +aai.vid.passwd.x=${AAI_VID_PASSWD_X} +aai.use.client.cert=${AAI_USE_CLIENT_CERT} +aai.vnf.provstatus=${AAI_VNF_PROVSTATUS} + +# ECOMP Portal Shared Context REST API URL +ecomp_shared_context_rest_url=${VID_ECOMP_SHARED_CONTEXT_REST_URL} +#Cron Schedules +log_cron = 0 0/1 * * * ?; +mylogins_feed_cron = 0 0/60 * * * ?; +#sessiontimeout_feed_cron = 0 * * * * ? * +my_login_feed_output_dir = ${VID_MYLOGIN_FEED_DIRECTORY} + +# Link shown in Help menu +contact_us_link=${VID_CONTACT_US_LINK} +homepage_contact_us_url= mailto:portal@lists.onap.org + +# An Unique 128-bit value defined to identify a specific version +# of an application deployed on a specific virtual machine. +# This value must be generated and updated by the application +# which is using the ECOMP SDK at the time of its deployment. +# Online Unique UUID generator - https://www.uuidgenerator.net/ +instance_uuid=292b461a-2954-4b63-a3f9-f916c7ad3bc0 + + +#MSO related properties +mso.server.url=${VID_MSO_SERVER_URL} +mso.polling.interval.msecs=${MSO_POLLING_INTERVAL_MSECS} +mso.max.polls=10 +mso.user.name=${VID_MSO_USER} +mso.password.x=${VID_MSO_PASS} + +#E2E is v3 +mso.restapi.svc.e2einstance=/e2eServiceInstances/v3 +mso.restapi.service.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances +mso.restapi.vnf.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/<service_instance_id>/vnfs +mso.restapi.vnf.changemanagement.instance=${mso.restapi.service.instance}/<service_instance_id>/vnfs/<vnf_instance_id>/<request_type> +mso.restapi.network.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/<service_instance_id>/networks +mso.restapi.vf.module.scaleout=/serviceInstantiation/v7/serviceInstances/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules/scaleOut +mso.restapi.vf.module.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules +mso.restapi.workflow.invoke=/instanceManagement/v1/serviceInstances/<service_instance_id>/vnfs/<vnf_instance_id>/workflows/<workflow_UUID> +mso.restapi.volume.group.instance=${mso.restapi.vnf.instance}/<vnf_instance_id>/volumeGroups +mso.restapi.instance.group=${mso.restapi.serviceInstantiationApiRoot}/instanceGroups +mso.restapi.get.orc.req=/orchestrationRequests/v7 +mso.restapi.get.orc.reqs=/orchestrationRequests/v7? +mso.restapi.resume.orc.req=/orchestrationRequests/v7/<request_id>/resume +mso.restapi.get.man.tasks=/tasks/v1 +mso.restapi.configurations=${mso.restapi.service.instance}/<service_instance_id>/configurations +mso.restapi.configuration.instance=${mso.restapi.configurations}/<configuration_id> +mso.restapi.changeManagement.workflowSpecifications=/workflowSpecifications/v1/workflows?vnfModelVersionId=<model_version_id> + +mso.restapi.serviceInstantiationApiRoot=/serviceInstantiation/v7 +mso.restapi.serviceInstanceAssign=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/assign + +mso.restapi.cloudResourcesApiRoot=/cloudResources/v1 +mso.restapi.operationalEnvironment=${mso.restapi.cloudResourcesApiRoot}/operationalEnvironments/<operational_environment_id> + +mso.restapi.operationalEnvironment.activate=${mso.restapi.operationalEnvironment}/activate +mso.restapi.operationalEnvironment.deactivate=${mso.restapi.operationalEnvironment}/deactivate +mso.restapi.operationalEnvironment.create=${mso.restapi.cloudResourcesApiRoot}/operationalEnvironments + +mso.restapi.cloudResourcesRequestsApiRoot=/cloudResourcesRequests/v1 +mso.restapi.operationalEnvironment.cloudResourcesRequests.status=${mso.restapi.cloudResourcesRequestsApiRoot}?requestId=<request_id> + +mso.displayTestAPIOnScreen=true +mso.defaultTestAPI=GR_API +mso.maxOpenedInstantiationRequests=200 +mso.asyncPollingIntervalSeconds=1 +refreshTimeInstantiationDashboard=10 + +vid.truststore.filename=${VID_TRUSTSTORE_FILE} +vid.truststore.passwd.x=${VID_TRUSTSTORE_PASS} +mso.dme2.client.timeout=${MSO_DME2_CLIENT_TIMEOUT} +mso.dme2.client.read.timeout=${MSO_DME2_CLIENT_READ_TIMEOUT} +mso.dme2.server.url=${MSO_DME2_SERVER_URL} +mso.dme2.enabled=${MSO_DME2_ENABLED} + +asdc.model.namespace=org.openecomp. +sdc.svc.api.path=sdc/v1/catalog/services + +features.set.filename=onap.features.properties + +vid.asyncJob.maxHoursInProgress=24 +vid.asyncJob.howLongToKeepOldJobsInDays=7 + +# thread definition - count and timeout (in seconds) +vid.thread.count=50 +vid.thread.timeout=30 |