diff options
Diffstat (limited to 'templates')
11 files changed, 358 insertions, 0 deletions
diff --git a/templates/default/mso-api-handler-infra-config/mso.apihandler-infra.properties b/templates/default/mso-api-handler-infra-config/mso.apihandler-infra.properties new file mode 100644 index 0000000..1ee4206 --- /dev/null +++ b/templates/default/mso-api-handler-infra-config/mso.apihandler-infra.properties @@ -0,0 +1,16 @@ +# This is a chef generated properties file! Manual updates will be overridden next chef-client run, ensure desired changes are in mso-config chef cookbook or chef env file. +bpelURL=<%= @var["bpelURL"] %> +bpelAuth=<%= @var["bpelAuth"] %> +camundaURL=<%= @var["camundaURL"] %> +camundaAuth=<%= @var["camundaAuth"] %> + +# controls what actions the infra API (APIH) allows sent in on REST request +vnf.v1.ApiAllowableActions=<%= @var["vnf.v1.ApiAllowableActions"] %> +vnf.v2.ApiAllowableActions=<%= @var["vnf.v2.ApiAllowableActions"] %> +vnf.v3.ApiAllowableActions=<%= @var["vnf.v3.ApiAllowableActions"] %> +network.v1.ApiAllowableActions=<%= @var["network.v1.ApiAllowableActions"] %> +network.v2.ApiAllowableActions=<%= @var["network.v2.ApiAllowableActions"] %> +network.v3.ApiAllowableActions=<%= @var["network.v3.ApiAllowableActions"] %> +volume.v1.ApiAllowableActions=<%= @var["volume.v1.ApiAllowableActions"] %> +volume.v2.ApiAllowableActions=<%= @var["volume.v2.ApiAllowableActions"] %> +volume.v3.ApiAllowableActions=<%= @var["volume.v3.ApiAllowableActions"] %> diff --git a/templates/default/mso-appc-adapter-config/mso.appc-adapter.properties b/templates/default/mso-appc-adapter-config/mso.appc-adapter.properties new file mode 100644 index 0000000..12233fe --- /dev/null +++ b/templates/default/mso-appc-adapter-config/mso.appc-adapter.properties @@ -0,0 +1,21 @@ +# AppC base configuration
+appCURL=<%= @appc_vars["appc_url"] %>
+appCStub=<%= @appc_vars["appc_stub"] %>
+appCAuth=<%= @appc_vars["appc_auth"] %>
+appCTimeout=<%= @appc_vars["appc_timeout"] %>
+
+# UEB configuration
+UEBClusterAddress=<%= @appc_vars["ueb_cluster_address"] %>
+UEBConsumerGroup=<%= @appc_vars["ueb_consumer_group"] %>
+UEBConsumerId=<%= @appc_vars["ueb_consumer_id"] %>
+UEBTopic=<%= @appc_vars["ueb_topic"] %>
+UEBPollingInterval=<%= @appc_vars["ueb_polling_interval"] %>
+UEBPollingTimeout=<%= @appc_vars["ueb_polling_interval"] %>
+UEBUser=<%= @appc_vars["ueb_user"] %>
+UEBPassword=<%= @appc_vars["ueb_password"] %>
+
+# BPEL configuration
+bpelURL=<%= @appc_vars["bpel_url"] %>
+bpelStub=<%= @appc_vars["bpel_stub"] %>
+bpelAuth=<%= @appc_vars["bpel_auth"] %>
+bpelTimeout=<%= @appc_vars["bpel_timeout"] %>
\ No newline at end of file diff --git a/templates/default/mso-asdc-controller-config/mso.asdc.json b/templates/default/mso-asdc-controller-config/mso.asdc.json new file mode 100644 index 0000000..e46de8b --- /dev/null +++ b/templates/default/mso-asdc-controller-config/mso.asdc.json @@ -0,0 +1,5 @@ +<% require 'json' %> +<% asdc_connections={"asdc-connections" => @allAsdcConnections, "mso.properties.reload.time.minutes" => 2} %> + +<%= JSON.pretty_generate(asdc_connections) %> + diff --git a/templates/default/mso-bpmn-config/mso.bpmn.properties b/templates/default/mso-bpmn-config/mso.bpmn.properties new file mode 100644 index 0000000..7de2c64 --- /dev/null +++ b/templates/default/mso-bpmn-config/mso.bpmn.properties @@ -0,0 +1 @@ +URNMapping.FileSystemLoading.Enabled=<%= @urnFileSystemLoadingEnabled %>
\ No newline at end of file diff --git a/templates/default/mso-bpmn-config/mso.bpmn.urn.properties b/templates/default/mso-bpmn-config/mso.bpmn.urn.properties new file mode 100644 index 0000000..7f8e823 --- /dev/null +++ b/templates/default/mso-bpmn-config/mso.bpmn.urn.properties @@ -0,0 +1,110 @@ +log.debug.asyncQueryAAICustomer=<%= @var["logDebugAsyncQueryAAICustomer"] %> +log.debug.ChangeFeatureActivateV1=<%= @var["logDebugChangeFeatureActivateV1"] %> +log.debug.ChangeLayer3ServiceActivateV1=<%= @var["logDebugChangeLayer3ServiceActivateV1"] %> +log.debug.CompleteMsoProcess=<%= @var["logDebugCompleteMsoProcess"] %> +log.debug.commonCompletion=<%= @var["logDebugCommonCompletion"] %> +log.debug.CreateCustomerV1=<%= @var["logDebugCreateCustomerV1"] %> +log.debug.CreateTenantV1=<%= @var["logDebugCreateTenantV1"] %> +log.debug.DeleteTenantV1=<%= @var["logDebugDeleteTenantV1"] %> +log.debug.deleteVCEV1=<%= @var["logDebugDeleteVCEV1"] %> +log.debug.getLayer3ServiceDetailsV1=<%= @var["logDebugGetLayer3ServiceDetailsV1"] %> +log.debug.l3ToHigherLayerAddBonding=<%= @var["logDebugL3ToHigherLayerAddBonding"] %> +log.debug.l3ToHigherLayerDeleteBonding=<%= @var["logDebugL3ToHigherLayerDeleteBonding"] %> +log.debug.Layer3ServiceActivateV1=<%= @var["logDebugLayer3ServiceActivateV1"] %> +log.debug.QueryAAICustomer=<%= @var["logDebugQueryAAICustomer"] %> +log.debug.QueryTenantInfo=<%= @var["logDebugQueryTenantInfo"] %> +log.debug.sdncAdapter=<%= @var["logDebugSdncAdapter"] %> +log.debug.sendAOTSTicket=<%= @var["logDebugSendAOTSTicket"] %> +log.debug.vnfAdapterCreateV1=<%= @var["logDebugVnfAdapterCreateV1"] %> +log.debug.vnfAdapterDeleteV1=<%= @var["logDebugVnfAdapterDeleteV1"] %> +log.debug.RemoveLayer3Service=<%= @var["logDebugRemoveLayer3Service"] %> +log.debug.Layer3TestAndTurnUpV1=<%= @var["logDebugLayer3TestAndTurnUpV1"] %> +log.debug.vnfAdapterRollbackV1=<%= @var["logDebugVnfAdapterRollbackV1"] %> +log.debug.vnfAdapterQueryV1=<%= @var["logDebugVnfAdapterQueryV1"] %> +log.debug.CreateVfModuleVolume=<%= @var["logDebugCreateVfModuleVolume"] %> +log.debug.DeleteVfModuleVolume=<%= @var["logDebugDeleteVfModuleVolume"] %> +log.debug.UpdateVfModuleVolume=<%= @var["logDebugUpdateVfModuleVolume"] %> +log.debug.createCinderVolumeV1=<%= @var["logDebugCreateCinderVolumeV1"] %> +log.debug.deleteCinderVolumeV1=<%= @var["logDebugDeleteCinderVolumeV1"] %> +log.debug.updateCinderVolumeV1=<%= @var["logDebugUpdateCinderVolumeV1"] %> +log.debug.CreateNetworkV2=<%= @var["logDebugCreateNetworkV2"] %> +log.debug.DeleteNetworkV2=<%= @var["logDebugDeleteNetworkV2"] %> +log.debug.UpdateNetworkV2=<%= @var["logDebugUpdateNetworkV2"] %> +log.debug.deleteGenericVNFV1=<%= @var["logDebugDeleteGenericVNFV1"] %> +log.debug.DisconnectLayer3Service=<%= @var["logDebugDisconnectLayer3Service"] %> +log.debug.CreateVfModuleVolumeInfraV1=<%= @var["logDebugCreateVfModuleVolumeInfraV1"] %> +log.debug.DeleteVfModuleVolumeInfraV1=<%= @var["logDebugDeleteVfModuleVolumeInfraV1"] %> +log.debug.UpdateVfModuleVolumeInfraV1=<%= @var["logDebugUpdateVfModuleVolumeInfraV1"] %> +log.debug.CreateServiceInstanceInfra=<%= @var["logDebugCreateServiceInstanceInfra"] %> +log.debug.DeleteServiceInstanceInfra=<%= @var["logDebugDeleteServiceInstanceInfra"] %> +log.debug.CreateNetworkInstanceInfra=<%= @var["logDebugCreateNetworkInstanceInfra"] %> +log.debug.DeleteNetworkInstanceInfra=<%= @var["logDebugDeleteNetworkInstanceInfra"] %> +log.debug.UpdateNetworkInstanceInfra=<%= @var["logDebugUpdateNetworkInstanceInfra"] %> +aai.endpoint=<%= @var["aaiEndpoint"] %> +mso.adapters.completemsoprocess.endpoint=<%= @var["adaptersCompletemsoprocessEndpoint"] %> +mso.adapters.db.endpoint=<%= @var["adaptersDbEndpoint"] %> +mso.adapters.sdnc.endpoint=<%= @var["adaptersSdncEndpoint"] %> +mso.adapters.tenant.endpoint=<%= @var["adaptersTenantEndpoint"] %> +mso.workflow.sdncadapter.callback=<%= @var["workflowSdncadapterCallback"] %> +mso.msoKey=<%= @var["msoKey"] %> +mso.adapters.po.auth=<%= @var["adaptersPoAuth"] %> +mso.sdnc.timeout=<%= @var["sdncTimeout"] %> +mso.rollback=<%= @var["rollback"] %> +mso.adapters.network.endpoint=<%= @var["adaptersNetworkEndpoint"] %> +mso.adapters.network.rest.endpoint=<%= @var["adaptersNetworkRestEndpoint"] %> +mso.adapters.vnf-async.endpoint=<%= @var["adaptersVnfAsyncEndpoint"] %> +mso.workflow.vnfadapter.delete.callback=<%= @var["workflowVnfAdapterDeleteCallback"] %> +mso.workflow.vnfadapter.create.callback=<%= @var["workflowVnfAdapterCreateCallback"] %> +mso.adapters.vnf.rest.endpoint=<%= @var["adaptersVnfRestEndpoint"] %> +mso.workflow.vnfadapter.rest.callback=<%= @var["workflowVnfAdapterRestCallback"] %> +mso.po.timeout=<%= @var["poTimeout"] %> +mso.sdnc.firewall.yang.model=<%= @var["sdncFirewallYangModel"] %> +mso.sdnc.firewall.yang.model.version=<%= @var["sdncFirewallYangModelVersion"] %> +mso.sdnc.timeout.firewall.minutes=<%= @var["sdncTimeoutFirewall"] %> +mso.callbackRetryAttempts=<%= @var["callbackRetryAttempts"] %> +mso.callbackRetrySleepTime=<%= @var["callbackRetrySleepTime"] %> +mso.use.qualified.host=<%= @var["useQualifiedHost"] %> +mso.workflow.l3ToHigherLayerAddBonding.model.name=<%= @var["workflowL3ToHigherLayerAddBondingModelName"] %> +mso.workflow.l3ToHigherLayerAddBonding.model.version=<%= @var["workflowL3ToHigherLayerAddBondingModelVersion"] %> +mso.sitename=<%= @envname %> +mso.workflow.default.aai.network.generic-vnf.uri=<%= @var["workflowDefaultAAINetworkGenericVnfUri"] %> +mso.workflow.deleteGenericVNFV1.aai.network.generic-vnf.uri=<%= @var["workflowDeleteGenericVNFV1AAINetworkGenericVnfUri"] %> +mso.workflow.DoCreateVfModuleVolumeV1.aai.network.generic-vnf.uri=<%= @var["workflowDoCreateVfModuleVolumeV1AAINetworkGenericVnfUri"] %> +mso.workflow.default.aai.network.vpn-binding.uri=<%= @var["workflowDefaultAAINetworkVpnBindingUri"] %> +mso.workflow.CreateNetworkV2.aai.network.vpn-binding.uri=<%= @var["workflowCreateNetworkV2AAINetworkVpnBindingUri"] %> +mso.workflow.CreateNetworkInstanceInfra.aai.network.vpn-binding.uri=<%= @var["workflowCreateNetworkInstanceInfraAAINetworkVpnBindingUri"] %> +mso.workflow.default.aai.network.policy.uri=<%= @var["workflowDefaultAAINetworkPolicyUri"] %> +mso.workflow.CreateNetworkV2.aai.network.policy.uri=<%= @var["workflowCreateNetworkV2AAINetworkPolicyUri"] %> +mso.workflow.createNetworkV1.aai.network.generic-vnf.uri=<%= @var["workflowCreateNetworkV1AAINetworkVpnBindingUri"] %> +mso.workflow.default.aai.network.vce.uri=<%= @var["workflowDefaultAAINetworkVceUri"] %> +mso.workflow.deleteVCEV1.aai.network.vce.uri=<%= @var["workflowDeleteVCEV1AAINetworkVceUri"] %> +mso.workflow.default.aai.network.l3-network.uri=<%= @var["workflowDefaultAAINetworkL3NetworkUri"] %> +mso.workflow.createNetworkV1.aai.network.l3-network.uri=<%= @var["workflowCreateNetworkV1AAINetworkL3NetworkUri"] %> +mso.workflow.deleteNetworkV1.aai.network.l3-network.uri=<%= @var["workflowDeleteNetworkV1AAINetworkL3NetworkUri"] %> +mso.workflow.CreateNetworkV2.aai.network.l3-network.uri=<%= @var["workflowCreateNetworkV2AAINetworkL3NetworkUri"] %> +mso.workflow.DeleteNetworkV2.aai.network.l3-network.uri=<%= @var["workflowDeleteNetworkV2AAINetworkL3NetworkUri"] %> +mso.workflow.UpdateNetworkV2.aai.network.l3-network.uri=<%= @var["workflowUpdateNetworkV2AAINetworkL3NetworkUri"] %> +mso.workflow.CreateNetworkInstanceInfra.aai.network.l3-network.uri=<%= @var["workflowCreateNetworkInstanceInfraAAINetworkL3NetworkUri"] %> +mso.workflow.DeleteNetworkInstanceInfra.aai.network.l3-network.uri=<%= @var["workflowDeleteNetworkInstanceInfraAAINetworkL3NetworkUri"] %> +mso.workflow.default.aai.business.customer.uri=<%= @var["workflowDefaultAAIBusinessCustomerUri"] %> +mso.workflow.CreateServiceInstanceInfra.aai.business.customer.uri=<%= @var["workflowCreateServiceInstanceInfraAAIBusinessCustomerUri"] %> +mso.workflow.default.aai.cloud-infrastructure.volume-group.uri=<%= @var["workflowDefaultAAICloudInfrastructureVolumeGroupUri"] %> +mso.workflow.default.aai.cloud-infrastructure.tenant.uri=<%= @var["workflowDefaultAAICloudInfrastructureTenantUri"] %> +mso.workflow.default.aai.search.generic-query.uri=<%= @var["workflowDefaultAAISearchGenericQueryUri"] %> +mso.workflow.CreateServiceInstanceInfra.aai.search.generic-query.uri=<%= @var["workflowCreateServiceInstanceInfraAAISearchGenericQueryUri"] %> +mso.workflow.default.aai.search.nodes-query.uri=<%= @var["workflowDefaultAAISearchNodesQueryUri"] %> +mso.workflow.ucpeRemoveLayer3Service.aai.search.generic-query.uri=<%= @var["workflowUCPERemoveLayer3ServiceAAISearchGenericQueryUri"] %> +mso.workflow.CreateAAIVfModule.aai.network.generic-vnf.uri=<%= @var["workflowCreateAAIVfModuleAAINetworkGenericVnfUri"] %> +mso.workflow.DeleteAAIVfModule.aai.network.generic-vnf.uri=<%= @var["workflowDeleteAAIVfModuleAAINetworkGenericVnfUri"] %> +mso.workflow.DoCreateVfModule.aai.network.generic-vnf.uri=<%= @var["workflowDoCreateVfModuleAAINetworkGenericVnfUri"] %> +mso.workflow.PrepareUpdateAAIVfModule.aai.network.generic-vnf.uri=<%= @var["workflowPrepareUpdateAAIVfModuleAAINetworkGenericVnfUri"] %> +mso.workflow.UpdateAAIVfModule.aai.network.generic-vnf.uri=<%= @var["workflowUpdateAAIVfModuleAAINetworkGenericVnfUri"] %> +mso.workflow.default.aai.cloud-infrastructure.cloud-region.uri=<%= @var["workflowDefaultAAICloudInfrastructureCloudRegionUri"] %> +mso.workflow.CreateNetworkInstanceInfra.aai.cloud-infrastructure.cloud-region.uri=<%= @var["workflowCreateNetworkInstanceInfraAAICloudInfrastructureCloudRegionUri"] %> +mso.workflow.DoCreateVfModuleVolumeV1.aai.cloud-infrastructure.cloud-region.uri=<%= @var["workflowDoCreateVfModuleVolumeV1AAICloudInfrastructureCloudRegionUri"] %> +mso.workflow.DeleteVfModuleVolumeInfraV1.aai.cloud-infrastructure.cloud-region.uri=<%= @var["workflowDeleteVfModuleVolumeInfraV1AAICloudInfrastructureCloudRegionUri"] %> +mso.workflow.CreateAAIVfModuleVolumeGroup.aai.network.generic-vnf.uri=<%= @var["workflowCreateAAIVfModuleVolumeGroupAaiNetworkGenericVnfUri"] %> +<% if @var.has_key?('aaiAuth') %> +aai.auth=<%= @var["aaiAuth"] %> +<% end %> + diff --git a/templates/default/mso-po-adapter-config/cloud_config.json b/templates/default/mso-po-adapter-config/cloud_config.json new file mode 100644 index 0000000..41586c1 --- /dev/null +++ b/templates/default/mso-po-adapter-config/cloud_config.json @@ -0,0 +1,34 @@ +{ + "cloud_config": + { + "identity_services": + { + <% @var["identity_services"].each_with_index do |item,count| %> + "<%= item[:dcp_clli] %>": + { + "identity_url": "<%= item[:identity_url] %>", + "mso_id": "<%= item[:mso_id] %>", + "mso_pass": "<%= item[:mso_pass] %>", + "admin_tenant": "<%= item[:admin_tenant] %>", + "member_role": "<%= item[:member_role] %>", + "tenant_metadata": <%= item[:tenant_metadata] %>, + "identity_server_type": "<%= item[:identity_server_type] %>", + "identity_authentication_type": "<%= item[:identity_authentication_type] %>" + }<%= ',' if count < (@var["identity_services"].size - 1) %> + <% end %> + }, + "cloud_sites": + { + <% @var["cloud_sites"].each_with_index do |item,count| %> + "<%= item[:id] %>": + { + "region_id": "<%= item[:region_id] %>", + "clli": "<%= item[:lcp_clli] %>", + "aic_version": "<%= item[:aic_version] %>", + "identity_service_id": "<%= item[:identity_service_id] %>" + }<%= ',' if count < (@var["cloud_sites"].size - 1) %> + <% end %> + } + } +} + diff --git a/templates/default/mso-po-adapter-config/mso.network.properties b/templates/default/mso-po-adapter-config/mso.network.properties new file mode 100644 index 0000000..cab41f0 --- /dev/null +++ b/templates/default/mso-po-adapter-config/mso.network.properties @@ -0,0 +1,39 @@ +# MSO Properties go here +org.openecomp.mso.adapters.network.bpelauth=<%= @var["network"]["nwbpelauth"] %> + +# Socket timeout for BPEL client (in seconds) +org.openecomp.mso.adapters.network.sockettimeout=<%= @var["network"]["sockettimeout"] %> + +# Connect timeout for BPEL client (in seconds) +org.openecomp.mso.adapters.network.connecttimeout=<%= @var["network"]["connecttimeout"] %> + +# Max number of times to retry for BPEL client +org.openecomp.mso.adapters.network.retrycount=<%= @var["network"]["retrycount"] %> + +# Default interval to wait between retries (in seconds), negative means use backoff algorithm +org.openecomp.mso.adapters.network.retryinterval=<%= @var["network"]["retryinterval"] %> + +# Default list of response codes to trigger a retry (900 is "connection failed") +org.openecomp.mso.adapters.network.retrylist=<%= @var["network"]["retrylist"] %> + +########### +#po +### +ecomp.mso.adapters.po.retryCodes=<%= @var["network"]["po.retryCodes"] %> +ecomp.mso.adapters.po.retryDelay=<%= @var["network"]["po.retryDelay"] %> +ecomp.mso.adapters.po.retryCount=<%= @var["network"]["po.retryCount"] %> + +########### +#heat +### +ecomp.mso.adapters.heat.create.pollInterval=<%= @var["network"]["heat.create.pollInterval"] %> +ecomp.mso.adapters.heat.delete.pollTimeout=<%= @var["network"]["heat.delete.pollTimeout"] %> +ecomp.mso.adapters.heat.delete.pollInterval=<%= @var["network"]["heat.delete.pollInterval"] %> + +########### +#needed in network file also for keystoneEP/ORM +########### +org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string=<%= @var["network"]["org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string"] %> +org.openecomp.mso.adapters.default_keystone_url_version=<%= @var["network"]["org.openecomp.mso.adapters.default_keystone_url_version"] %> +org.openecomp.mso.adapters.default_keystone_reg_ex=<%= @var["network"]["org.openecomp.mso.adapters.default_keystone_reg_ex"] %> + diff --git a/templates/default/mso-po-adapter-config/mso.tenant.properties b/templates/default/mso-po-adapter-config/mso.tenant.properties new file mode 100644 index 0000000..52910b0 --- /dev/null +++ b/templates/default/mso-po-adapter-config/mso.tenant.properties @@ -0,0 +1,13 @@ +org.openecomp.mso.adapters.tenant.default_tenant_description=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_tenant_description"] %>
+org.openecomp.mso.adapters.tenant.default_region_type=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_region_type"] %>
+org.openecomp.mso.adapters.tenant.default_user_role=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_user_role"] %>
+org.openecomp.mso.adapters.tenant.default_success_status_string=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_success_status_string"] %>
+org.openecomp.mso.adapters.tenant.default_no_regions_status_string=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_no_regions_status_string"] %>
+org.openecomp.mso.adapters.tenant.default_orm_request_path=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_orm_request_path"] %>
+org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string"] %>
+org.openecomp.mso.adapters.default_keystone_url_version=<%= @var["tenant"]["org.openecomp.mso.adapters.default_keystone_url_version"] %>
+org.openecomp.mso.adapters.default_keystone_reg_ex=<%= @var["tenant"]["org.openecomp.mso.adapters.default_keystone_reg_ex"] %>
+org.openecomp.mso.adapters.tenant.default_orm_url_replace_this=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_orm_url_replace_this"] %>
+org.openecomp.mso.adapters.tenant.default_orm_url_replace_with_this=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_orm_url_replace_with_this"] %>
+org.openecomp.mso.adapters.tenant.default_quota_value=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.default_quota_value"] %>
+org.openecomp.mso.adapters.tenant.set_default_quota=<%= @var["tenant"]["org.openecomp.mso.adapters.tenant.set_default_quota"] %>
diff --git a/templates/default/mso-po-adapter-config/mso.vnf.properties b/templates/default/mso-po-adapter-config/mso.vnf.properties new file mode 100644 index 0000000..1711a31 --- /dev/null +++ b/templates/default/mso-po-adapter-config/mso.vnf.properties @@ -0,0 +1,38 @@ +########### +#vnf +### +org.openecomp.mso.adapters.vnf.bpelauth=<%= @var["vnf"]["vnfbpelauth"] %> +org.openecomp.mso.adapters.vnf.checkRequiredParameters=<%= @var["vnf"]["checkrequiredparameters"] %> +org.openecomp.mso.adapters.vnf.addGetFilesOnVolumeReq=<%= @var["vnf"]["addgetfilesonvolumereq"] %> +# Socket timeout for BPEL client (in seconds) +org.openecomp.mso.adapters.vnf.sockettimeout=<%= @var["vnf"]["sockettimeout"] %> +# Connect timeout for BPEL client (in seconds) +org.openecomp.mso.adapters.vnf.connecttimeout=<%= @var["vnf"]["connecttimeout"] %> +# Max number of times to retry for BPEL client +org.openecomp.mso.adapters.vnf.retrycount=<%= @var["vnf"]["retrycount"] %> +# Default interval to wait between retries (in seconds), negative means use backoff algorithm +org.openecomp.mso.adapters.vnf.retryinterval=<%= @var["vnf"]["retryinterval"] %> +# Default list of response codes to trigger a retry (900 is "connection failed") +org.openecomp.mso.adapters.vnf.retrylist=<%= @var["vnf"]["retrylist"] %> + +########### +#po +### +ecomp.mso.adapters.po.retryCodes=<%= @var["vnf"]["po.retryCodes"] %> +ecomp.mso.adapters.po.retryDelay=<%= @var["vnf"]["po.retryDelay"] %> +ecomp.mso.adapters.po.retryCount=<%= @var["vnf"]["po.retryCount"] %> + +########### +#heat +### +ecomp.mso.adapters.heat.create.pollInterval=<%= @var["vnf"]["heat.create.pollInterval"] %> +ecomp.mso.adapters.heat.delete.pollTimeout=<%= @var["vnf"]["heat.delete.pollTimeout"] %> +ecomp.mso.adapters.heat.delete.pollInterval=<%= @var["vnf"]["heat.delete.pollInterval"] %> + +########### +#needed in vnf file also for keystoneEP/ORM +########### +org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string=<%= @var["vnf"]["org.openecomp.mso.adapters.tenant.default_x_aic_orm_client_string"] %> +org.openecomp.mso.adapters.default_keystone_url_version=<%= @var["vnf"]["org.openecomp.mso.adapters.default_keystone_url_version"] %> +org.openecomp.mso.adapters.default_keystone_reg_ex=<%= @var["vnf"]["org.openecomp.mso.adapters.default_keystone_reg_ex"] %> + diff --git a/templates/default/mso-sdnc-adapter-config/mso.sdnc.properties b/templates/default/mso-sdnc-adapter-config/mso.sdnc.properties new file mode 100644 index 0000000..339783f --- /dev/null +++ b/templates/default/mso-sdnc-adapter-config/mso.sdnc.properties @@ -0,0 +1,64 @@ +#MSO SDNCA Properties go here +#DA Prod Dallas +#EE End2End +#ST SystemTest +#IT Integration Test +#DV Development +#MY My Laptop +### +### UNIQUE SDNCURLs for Requests supported by SDNCA. URLS have unique tags eg a format like sdncurlX (X is a unique eg a digit) +### +<% @var["sdncurls"].each_with_index do |url, index| %> +<% indexplusone = index + 1 %> +<%= "org.openecomp.mso.adapters.sdnc.sdncurl#{indexplusone}=#{url}" %> +<% end %> +### BPEL ASYNC CALLLBACK/NOTIFICATION URL +### +org.openecomp.mso.adapters.sdnc.bpelurl=<%= @var["bpelurl"] %> +### +### SDNC ASYNC NOTIFICATION/RESPONSE URL +### +org.openecomp.mso.adapters.sdnc.myurl=<%= @var["myurl"] %> +### Production value diff from other servers +org.openecomp.mso.adapters.sdnc.sdncauth=<%= @var["sdncauth"] %> +org.openecomp.mso.adapters.sdnc.bpelauth=<%= @var["bpelauth"] %> +org.openecomp.mso.adapters.sdnc.sdncconnecttime=<%= @var["sdncconnecttime"] %> +### +### Distinct Requests Supported by SDNCA. sdncurls added on top of file. fields may be null eg msoaction,operation resulting in .. construct +### +###org.openecomp.mso.adapters.sdnc.MSOACTION.OPERATION.ACTION=METHOD|TIMEOUT|URL|HEADERNAME|NAMESPACE +### + +org.openecomp.mso.adapters.sdnc.mobility..query=GET|60000|sdncurl4| +org.openecomp.mso.adapters.sdnc...query=GET|60000|sdncurl2| +org.openecomp.mso.adapters.sdnc...put=PUT|60000|sdncurl4| +org.openecomp.mso.adapters.sdnc...restdelete=DELETE|60000|sdncurl4| +org.openecomp.mso.adapters.sdnc.gammainternet.svc-topology-operation.assign=POST|60000|sdncurl1|sdnc-request-header|com:att:sdnctl:l3api +org.openecomp.mso.adapters.sdnc.gammainternet.svc-topology-operation.delete=POST|250000|sdncurl1|sdnc-request-header|com:att:sdnctl:l3api +org.openecomp.mso.adapters.sdnc.gammainternet.service-configuration-operation.reserve=POST|60000|sdncurl1|sdnc-request-header|com:att:sdnctl:l3api +org.openecomp.mso.adapters.sdnc.gammainternet.service-configuration-operation.activate=POST|60000|sdncurl1|sdnc-request-header|com:att:sdnctl:l3api +org.openecomp.mso.adapters.sdnc.gammainternet.service-configuration-operation.delete=POST|250000|sdncurl1|sdnc-request-header|com:att:sdnctl:l3api +org.openecomp.mso.adapters.sdnc.gammainternet.service-configuration-operation.turnup=POST|60000|sdncurl1|sdnc-request-header|com:att:sdnctl:l3api +org.openecomp.mso.adapters.sdnc.gammainternet.service-configuration-operation.changereserve=POST|60000|sdncurl1|sdnc-request-header|com:att:sdnctl:l3api +org.openecomp.mso.adapters.sdnc.gammainternet.service-configuration-operation.changedelete=POST|250000|sdncurl1|sdnc-request-header|com:att:sdnctl:l3api +org.openecomp.mso.adapters.sdnc.gammainternet.service-configuration-operation.changeactivate=POST|60000|sdncurl1|sdnc-request-header|com:att:sdnctl:l3api +org.openecomp.mso.adapters.sdnc..feature-configuration-operation.activate=POST|60000|sdncurl3|sdnc-feature-request-header|com:att:sdnctl:firewallapi +org.openecomp.mso.adapters.sdnc..feature-configuration-operation.changeactivate=POST|60000|sdncurl3|sdnc-feature-request-header|com:att:sdnctl:firewallapi +org.openecomp.mso.adapters.sdnc..feature-configuration-operation.delete=POST|60000|sdncurl3|sdnc-feature-request-header|com:att:sdnctl:firewallapi +org.openecomp.mso.adapters.sdnc..vnf-topology-operation.assign=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..vnf-topology-operation.activate=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..vnf-topology-operation.rollback=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..vnf-topology-operation.delete=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..vnf-topology-operation.changeassign=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..vnf-topology-operation.changedelete=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..network-topology-operation.reserve=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..network-topology-operation.assign=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..network-topology-operation.activate=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..network-topology-operation.rollback=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..network-topology-operation.delete=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..network-topology-operation.changeassign=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf +org.openecomp.mso.adapters.sdnc..network-topology-operation.changedelete=POST|270000|sdncurl5|sdnc-request-header|com:att:sdnctl:vnf + +org.openecomp.mso.adapters.sdnc..svc-topology-operation.assign=POST|270000|sdncurl6|sdnc-request-header|com:att:sdnctl:nbncapi +org.openecomp.mso.adapters.sdnc..svc-topology-operation.activate=POST|270000|sdncurl6|sdnc-request-header|com:att:sdnctl:nbncapi +org.openecomp.mso.adapters.sdnc..svc-topology-operation.delete=POST|270000|sdncurl6|sdnc-request-header|com:att:sdnctl:nbncapi diff --git a/templates/default/mso-topology-config/topology.properties b/templates/default/mso-topology-config/topology.properties new file mode 100644 index 0000000..46fbc92 --- /dev/null +++ b/templates/default/mso-topology-config/topology.properties @@ -0,0 +1,17 @@ +# This is the topology used by the global healthcheck
+apih-load-balancer=<%= @var["apih-load-balancer"] %>
+jra-load-balancer=<%= @var["jra-load-balancer"] %>
+camunda-load-balancer=<%= @var["camunda-load-balancer"] %>
+
+# will be used as entry in DB to say SITE OFF/ON for healthcheck
+site-name=<%= @var["site-name"] %>
+
+server-port=<%= @var["server-port"] %>
+ssl-enable=<%= @var["ssl-enable"] %>
+
+apih-healthcheck-urn=<%= @var["apih-healthcheck-urn"] %>
+jra-healthcheck-urn=<%= @var["jra-healthcheck-urn"] %>
+camunda-healthcheck-urn=<%= @var["camunda-healthcheck-urn"] %>
+
+apih-nodehealthcheck-urn=<%= @var["apih-nodehealthcheck-urn"] %>
+jra-nodehealthcheck-urn=<%= @var["jra-nodehealthcheck-urn"] %>
|