diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-08-07 18:39:22 +0300 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-08-12 07:27:23 +0000 |
commit | aff68cfa08f0a0e154b303bf228c929fcf5d9549 (patch) | |
tree | d922405c2f171af9a1c019e8f0cca412143ec45f /epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties | |
parent | b3272c142193cd37f5dae7807e713819885d102d (diff) |
Change out-of-the-box config to work on dev's environment
1) Fill-up system.properties's missing fields, and same for
system_template.properties.
This modifies some SO endpoints, most significantly --
mso.restapi.vnf.instance is now
/serviceInstantiation/v7/serviceInstances/<service_instance_id>/vnfs
instead of
/serviceInstances/v6/<service_instance_id>/vnfs
2) Configure endpoint's to a local simulator's location:
* ecomp_rest_url in portal.properties
* mso.server.url, aai.server.url in system.properties
* asdc.client.rest.host in asdc.properties
3) Added always-on getSessionSlotCheckInterval in simulator.
Issue-ID: VID-564
Change-Id: Icc7bdc83ed65df3415a4b0f36f98291775909f49
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties')
-rwxr-xr-x | epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties | 83 |
1 files changed, 41 insertions, 42 deletions
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 index 54359c2fb..e3d46aa72 100755 --- 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 @@ -1,21 +1,26 @@ -#DB Info -#db.userName=XXXX -#db.password=XXXX -#db.connectionURL=jdbc:oracle:thin:@XXXX/XX -#db.hib.dialect=org.hibernate.dialect.Oracle10gDialect -#db.driver=oracle.jdbc.driver.OracleDriver -#Hibernate -#hb.dialect=org.hibernate.dialect.Oracle10gDialect -#hb.show_sql=true - -#Postgre -#db.userName=XXXX -#db.password=XXXX -#db.connectionURL=jdbc:postgresql://XXXX/XX -#db.hib.dialect=org.hibernate.dialect.PostgreSQLDialect -#db.driver=org.postgresql.Driver -#hb.dialect=org.hibernate.dialect.PostgreSQLDialect -#hb.show_sql=true +### +# ================================================================================ +# 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 @@ -33,16 +38,6 @@ hb.idle_connection_test_period = 3600 app_display_name = ${VID_APP_DISPLAY_NAME} files_path = /tmp -# menu settings -#menu_query_name = menuData -#menu_properties_file_location = /WEB-INF/fusion/menu/ -#application_menu_set_name = APP -#application_menu_attribute_name = applicationMenuData -#application_menu_properties_name = menu.properties -#business_direct_menu_set_name = BD -#business_direct_menu_properties_name = bd.menu.properties -#business_direct_menu_attribute_name = businessDirectMenuData - application_name = Virtual Infrastructure Deployment application_user_id = 30000 post_default_role_id = 16 @@ -54,7 +49,6 @@ 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 @@ -83,15 +77,16 @@ aai.vnf.provstatus=${AAI_VNF_PROVSTATUS} # ECOMP Portal Shared Context REST API URL ecomp_shared_context_rest_url=${VID_ECOMP_SHARED_CONTEXT_REST_URL} -# Link shown in Help menu -contact_us_link=${VID_CONTACT_US_LINK} -homepage_contact_us_url= mailto:portal@lists.onap.org #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 @@ -101,29 +96,29 @@ instance_uuid=292b461a-2954-4b63-a3f9-f916c7ad3bc0 #MSO related properties -#simulator 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.svc.instance=/serviceInstantiation/v7/serviceInstances mso.restapi.svc.instance.deleteAndUnassign=/serviceInstantiation/v7/serviceInstances -mso.restapi.vnf.instance=/serviceInstances/v6/<service_instance_id>/vnfs -mso.restapi.vnf.changemanagement.instance=/serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/<request_type> -mso.restapi.network.instance=/serviceInstances/v6/<service_instance_id>/networks +mso.restapi.vnf.instance=${mso.restapi.serviceInstantiationApiRoot}/serviceInstances/<service_instance_id>/vnfs +mso.restapi.vnf.changemanagement.instance=/serviceInstances/v7/<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=/serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/vfModules +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=/serviceInstances/v6/<service_instance_id>/vnfs/<vnf_instance_id>/volumeGroups -mso.restapi.instance.group=/serviceInstantiation/v7/instanceGroups -mso.restapi.get.orc.req=/orchestrationRequests/v6 -mso.restapi.get.orc.reqs=/orchestrationRequests/v6? +mso.restapi.volume.group.instance=/serviceInstances/v7/<service_instance_id>/vnfs/<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=/serviceInstances/v6/<service_instance_id>/configurations +mso.restapi.configurations=/serviceInstances/v7/<service_instance_id>/configurations mso.restapi.configuration.instance=${mso.restapi.configurations}/<configuration_id> mso.restapi.changeManagement.workflowSpecifications=/workflowSpecifications/v1/workflows?vnfModelVersionId=<model_version_id> @@ -154,8 +149,12 @@ 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) |