[2020-07-07T01:16:26+02:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /var/lib/jetty/chef-solo One version per cookbook [2020-07-07T01:16:26+02:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /var/lib/jetty/chef-solo One version per cookbook [2020-07-07T01:16:26+02:00] INFO: Forking chef instance to converge... [2020-07-07T01:16:26+02:00] INFO: Forking chef instance to converge... Starting Chef Client, version 13.8.5 [2020-07-07T01:16:26+02:00] INFO: *** Chef 13.8.5 *** [2020-07-07T01:16:26+02:00] INFO: *** Chef 13.8.5 *** [2020-07-07T01:16:26+02:00] INFO: Platform: x86_64-linux-musl [2020-07-07T01:16:26+02:00] INFO: Platform: x86_64-linux-musl [2020-07-07T01:16:26+02:00] INFO: Chef-client pid: 19 [2020-07-07T01:16:26+02:00] INFO: Chef-client pid: 19 [2020-07-07T01:16:26+02:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping... [2020-07-07T01:16:26+02:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping... [2020-07-07T01:16:32+02:00] INFO: Setting the run_list to ["role[catalog-be]"] from CLI options [2020-07-07T01:16:32+02:00] INFO: Setting the run_list to ["role[catalog-be]"] from CLI options [2020-07-07T01:16:32+02:00] INFO: Run List is [role[catalog-be]] [2020-07-07T01:16:32+02:00] INFO: Run List is [role[catalog-be]] [2020-07-07T01:16:32+02:00] INFO: Run List expands to [sdc-catalog-be::BE_1_cleanup_jettydir, sdc-catalog-be::BE_2_setup_configuration, sdc-catalog-be::BE_3_locate_keystore, sdc-catalog-be::BE_4_jetty_Modules, sdc-catalog-be::BE_6_setup_portal_and_key_properties, sdc-catalog-be::BE_7_logback, sdc-catalog-be::BE_8_errors_config, sdc-catalog-be::BE_9_prepareProbeFile, sdc-catalog-be::BE_10_setup_cadi] [2020-07-07T01:16:32+02:00] INFO: Run List expands to [sdc-catalog-be::BE_1_cleanup_jettydir, sdc-catalog-be::BE_2_setup_configuration, sdc-catalog-be::BE_3_locate_keystore, sdc-catalog-be::BE_4_jetty_Modules, sdc-catalog-be::BE_6_setup_portal_and_key_properties, sdc-catalog-be::BE_7_logback, sdc-catalog-be::BE_8_errors_config, sdc-catalog-be::BE_9_prepareProbeFile, sdc-catalog-be::BE_10_setup_cadi] [2020-07-07T01:16:32+02:00] INFO: Starting Chef Run for onap-sdc-be-79b89fbc5d-2j2gz [2020-07-07T01:16:32+02:00] INFO: Starting Chef Run for onap-sdc-be-79b89fbc5d-2j2gz [2020-07-07T01:16:32+02:00] INFO: Running start handlers [2020-07-07T01:16:32+02:00] INFO: Running start handlers [2020-07-07T01:16:32+02:00] INFO: Start handlers complete. [2020-07-07T01:16:32+02:00] INFO: Start handlers complete. resolving cookbooks for run list: ["sdc-catalog-be::BE_1_cleanup_jettydir", "sdc-catalog-be::BE_2_setup_configuration", "sdc-catalog-be::BE_3_locate_keystore", "sdc-catalog-be::BE_4_jetty_Modules", "sdc-catalog-be::BE_6_setup_portal_and_key_properties", "sdc-catalog-be::BE_7_logback", "sdc-catalog-be::BE_8_errors_config", "sdc-catalog-be::BE_9_prepareProbeFile", "sdc-catalog-be::BE_10_setup_cadi"] [2020-07-07T01:16:33+02:00] INFO: Loading cookbooks [sdc-catalog-be@0.0.0] [2020-07-07T01:16:33+02:00] INFO: Loading cookbooks [sdc-catalog-be@0.0.0] Synchronizing Cookbooks: [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/attributes/default.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/attributes/default.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/Artifact-Generator.properties in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/Artifact-Generator.properties in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/cadi.properties in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/cadi.properties in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/cadi_truststore.jks in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/cadi_truststore.jks in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/error-configuration.yaml in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/error-configuration.yaml in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/keyfile in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/keyfile in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/org.onap.sdc.p12 in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/org.onap.sdc.p12 in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/logback.xml in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/logback.xml in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/ecomp-error-configuration.yaml in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/ecomp-error-configuration.yaml in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/org.onap.sdc.trust.jks in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/files/default/org.onap.sdc.trust.jks in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_10_setup_cadi.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_10_setup_cadi.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_1_cleanup_jettydir.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_5_setup_elasticsearch.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_5_setup_elasticsearch.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_4_jetty_Modules.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_4_jetty_Modules.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_8_errors_config.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_8_errors_config.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-janusgraph.properties.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-janusgraph.properties.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_9_prepareProbeFile.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_9_prepareProbeFile.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_3_locate_keystore.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_3_locate_keystore.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-key.properties.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-key.properties.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-distribution-engine-configuration.yaml.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-distribution-engine-configuration.yaml.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-portal.properties.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-portal.properties.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_6_setup_portal_and_key_properties.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_6_setup_portal_and_key_properties.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_7_logback.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/recipes/BE_7_logback.rb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-onboarding-configuration.yaml.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/BE-onboarding-configuration.yaml.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/https-ini.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/https-ini.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/ready-probe.sh.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/cadi.properties.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/cadi.properties.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/http-ini.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/http-ini.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/ssl-ini.erb in the cache. [2020-07-07T01:16:33+02:00] INFO: Storing updated cookbooks/sdc-catalog-be/templates/default/ssl-ini.erb in the cache. - sdc-catalog-be (0.0.0) Installing Cookbook Gems: Compiling Cookbooks... Converging 23 resources Recipe: sdc-catalog-be::BE_1_cleanup_jettydir * directory[BE_tempdir_creation] action create[2020-07-07T01:16:33+02:00] INFO: directory[BE_tempdir_creation] created directory /var/lib/jetty/temp [2020-07-07T01:16:33+02:00] INFO: directory[BE_tempdir_creation] created directory /var/lib/jetty/temp - create new directory /var/lib/jetty/temp[2020-07-07T01:16:33+02:00] INFO: directory[BE_tempdir_creation] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: directory[BE_tempdir_creation] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: directory[BE_tempdir_creation] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: directory[BE_tempdir_creation] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: directory[BE_tempdir_creation] mode changed to 755 [2020-07-07T01:16:33+02:00] INFO: directory[BE_tempdir_creation] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty'  * directory[BE_create_config_dir] action create[2020-07-07T01:16:33+02:00] INFO: directory[BE_create_config_dir] created directory /var/lib/jetty/config [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_config_dir] created directory /var/lib/jetty/config - create new directory /var/lib/jetty/config[2020-07-07T01:16:33+02:00] INFO: directory[BE_create_config_dir] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_config_dir] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_config_dir] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_config_dir] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_config_dir] mode changed to 755 [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_config_dir] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty'  * directory[BE_create_catalog-be] action create[2020-07-07T01:16:33+02:00] INFO: directory[BE_create_catalog-be] created directory /var/lib/jetty/config/catalog-be [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_catalog-be] created directory /var/lib/jetty/config/catalog-be - create new directory /var/lib/jetty/config/catalog-be[2020-07-07T01:16:33+02:00] INFO: directory[BE_create_catalog-be] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_catalog-be] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_catalog-be] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_catalog-be] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_catalog-be] mode changed to 755 [2020-07-07T01:16:33+02:00] INFO: directory[BE_create_catalog-be] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-be::BE_2_setup_configuration * template[janusgraph.properties] action create[2020-07-07T01:16:33+02:00] INFO: template[janusgraph.properties] created file /var/lib/jetty/config/catalog-be/janusgraph.properties [2020-07-07T01:16:33+02:00] INFO: template[janusgraph.properties] created file /var/lib/jetty/config/catalog-be/janusgraph.properties - create new file /var/lib/jetty/config/catalog-be/janusgraph.properties[2020-07-07T01:16:33+02:00] INFO: template[janusgraph.properties] updated file contents /var/lib/jetty/config/catalog-be/janusgraph.properties [2020-07-07T01:16:33+02:00] INFO: template[janusgraph.properties] updated file contents /var/lib/jetty/config/catalog-be/janusgraph.properties - update content in file /var/lib/jetty/config/catalog-be/janusgraph.properties from none to 18f7e5 --- /var/lib/jetty/config/catalog-be/janusgraph.properties 2020-07-07 01:16:33.159604620 +0200 +++ /var/lib/jetty/config/catalog-be/.chef-janusgraph20200707-19-wuer37.properties 2020-07-07 01:16:33.158604658 +0200 @@ -1 +1,28 @@ +storage.backend=cql +storage.hostname=cassandra.onap +storage.port=9042 +storage.username=asdc_user +storage.password=Aa1234%^! +storage.connection-timeout=10000 +storage.cql.keyspace=sdctitan + +storage.cql.ssl.enabled=false +storage.cql.ssl.truststore.location= +storage.cql.ssl.truststore.password=Aa123456 + +storage.cql.read-consistency-level=LOCAL_QUORUM +storage.cql.write-consistency-level=LOCAL_QUORUM +storage.cql.replication-strategy-class=NetworkTopologyStrategy +storage.cql.replication-strategy-options=Pod,3 +storage.cql.local-datacenter=Pod + + +cache.db-cache = false +cache.db-cache-clean-wait = 20 +cache.db-cache-time = 180000 +cache.db-cache-size = 0.5 + +cache.tx-cache-size = 1000000 + +storage.lock.retries=5[2020-07-07T01:16:33+02:00] INFO: template[janusgraph.properties] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: template[janusgraph.properties] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: template[janusgraph.properties] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: template[janusgraph.properties] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: template[janusgraph.properties] mode changed to 755 [2020-07-07T01:16:33+02:00] INFO: template[janusgraph.properties] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty'  * template[catalog-be-config] action create[2020-07-07T01:16:33+02:00] INFO: template[catalog-be-config] created file /var/lib/jetty/config/catalog-be/configuration.yaml [2020-07-07T01:16:33+02:00] INFO: template[catalog-be-config] created file /var/lib/jetty/config/catalog-be/configuration.yaml - create new file /var/lib/jetty/config/catalog-be/configuration.yaml[2020-07-07T01:16:33+02:00] INFO: template[catalog-be-config] updated file contents /var/lib/jetty/config/catalog-be/configuration.yaml [2020-07-07T01:16:33+02:00] INFO: template[catalog-be-config] updated file contents /var/lib/jetty/config/catalog-be/configuration.yaml - update content in file /var/lib/jetty/config/catalog-be/configuration.yaml from none to 290400 --- /var/lib/jetty/config/catalog-be/configuration.yaml 2020-07-07 01:16:33.174604050 +0200 +++ /var/lib/jetty/config/catalog-be/.chef-configuration20200707-19-deypxj.yaml 2020-07-07 01:16:33.173604088 +0200 @@ -1 +1,937 @@ +identificationHeaderFields: + - HTTP_IV_USER + - HTTP_CSP_FIRSTNAME + - HTTP_CSP_LASTNAME + - HTTP_IV_REMOTE_ADDRESS + - HTTP_CSP_WSTYPE + +# catalog backend hostname +beFqdn: sdc-be.onap + +# catalog backend http port +beHttpPort: 8080 + +# catalog backend http context +beContext: /sdc/rest/config/get + +# catalog backend protocol +beProtocol: https + +# catalog backend ssl port +beSslPort: 8443 +version: 1.1.0 +released: 2012-11-30 +toscaConformanceLevel: 11.0 +minToscaConformanceLevel: 3.0 + +janusGraphCfgFile: /var/lib/jetty/config/catalog-be/janusgraph.properties +janusGraphInMemoryGraph: false +janusGraphLockTimeout: 1800 +# The interval to try and reconnect to JanusGraph DB when it is down during ASDC startup: +janusGraphReconnectIntervalInSeconds: 3 + +# The read timeout towards JanusGraph DB when health check is invoked: +janusGraphHealthCheckReadTimeout: 1 + +# The interval to try and reconnect to Elasticsearch when it is down during ASDC startup: + +uebHealthCheckReconnectIntervalInSeconds: 15 +uebHealthCheckReadTimeout: 4 + +# Protocols +protocols: + - http + - https + +# Default imports +defaultImports: + - nodes: + file: nodes.yml + - datatypes: + file: data.yml + - capabilities: + file: capabilities.yml + - relationships: + file: relationships.yml + - groups: + file: groups.yml + - policies: + file: policies.yml + - annotations: + file: annotations.yml + +# Users +users: + tom: passwd + bob: passwd + +# access restriction +authCookie: + securityKey: "sdcaccessrestrictionsecureykey" + maxSessionTimeOut: 86400000 + sessionIdleTimeOut: 3600000 + cookieName: "AuthenticationCookie" + path: / + domain: "" + isHttpOnly: true + # redirect variable name from portal.properties file + redirectURL: "" + excludedUrls: ['/.*'] + onboardingExcludedUrls: ['/.*'] + + + +cassandraConfig: + cassandraHosts: [cassandra.onap] + cassandraPort: 9042 + localDataCenter: Pod + reconnectTimeout : 30000 + socketReadTimeout: 20000 + socketConnectTimeout: 20000 + authenticate: true + username: asdc_user + password: Aa1234%^! + ssl: false + truststorePath : /var/lib/jetty/etc/truststore + truststorePassword : Aa123456 + keySpaces: + - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['Pod','3']} + - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['Pod','3']} + - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['Pod','3']} + - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['Pod','3']} + - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['Pod','3']} + + +artifactTypes: + - CHEF + - PUPPET + - SHELL + - YANG + - YANG_XML + - HEAT + - BPEL + - DG_XML + - MURANO_PKG + - WORKFLOW + - NETWORK_CALL_FLOW + - TOSCA_TEMPLATE + - TOSCA_CSAR + - AAI_SERVICE_MODEL + - AAI_VF_MODEL + - AAI_VF_MODULE_MODEL + - AAI_VF_INSTANCE_MODEL + - OTHER + - SNMP_POLL + - SNMP_TRAP + - GUIDE + - PLAN + - CONTROLLER_BLUEPRINT_ARCHIVE + - PNF_SW_INFORMATION + +licenseTypes: + - User + - Installation + - CPU + +#Deployment artifacts placeHolder +resourceTypes: &allResourceTypes + - VFC + - CP + - VL + - VF + - CR + - VFCMT + - Abstract + - CVFC + + +deploymentResourceArtifacts: + +deploymentResourceInstanceArtifacts: + heatEnv: + displayName: "HEAT ENV" + type: HEAT_ENV + description: "Auto-generated HEAT Environment deployment artifact" + fileExtension: "env" + VfHeatEnv: + displayName: "VF HEAT ENV" + type: HEAT_ENV + description: "VF Auto-generated HEAT Environment deployment artifact" + fileExtension: "env" + +#tosca artifacts placeholders +toscaArtifacts: + assetToscaTemplate: + artifactName: -template.yml + displayName: Tosca Template + type: TOSCA_TEMPLATE + description: TOSCA representation of the asset + assetToscaCsar: + artifactName: -csar.csar + displayName: Tosca Model + type: TOSCA_CSAR + description: TOSCA definition package of the asset + +#Informational artifacts placeHolder +excludeResourceCategory: + - Generic +excludeResourceType: + - PNF + - CR +informationalResourceArtifacts: + features: + displayName: Features + type: OTHER + capacity: + displayName: Capacity + type: OTHER + vendorTestResult: + displayName: Vendor Test Result + type: OTHER + testScripts: + displayName: Test Scripts + type: OTHER + CloudQuestionnaire: + displayName: Cloud Questionnaire (completed) + type: OTHER + HEATTemplateFromVendor: + displayName: HEAT Template from Vendor + type: HEAT + resourceSecurityTemplate: + displayName: Resource Security Template + type: OTHER + +excludeServiceCategory: + +informationalServiceArtifacts: + serviceArtifactPlan: + displayName: Service Artifact Plan + type: OTHER + summaryOfImpactsToECOMPElements: + displayName: Summary of impacts to ECOMP elements,OSSs, BSSs + type: OTHER + controlLoopFunctions: + displayName: Control Loop Functions + type: OTHER + dimensioningInfo: + displayName: Dimensioning Info + type: OTHER + affinityRules: + displayName: Affinity Rules + type: OTHER + operationalPolicies: + displayName: Operational Policies + type: OTHER + serviceSpecificPolicies: + displayName: Service-specific Policies + type: OTHER + engineeringRules: + displayName: Engineering Rules (ERD) + type: OTHER + distributionInstructions: + displayName: Distribution Instructions + type: OTHER + certificationTestResults: + displayName: TD Certification Test Results + type: OTHER + deploymentVotingRecord: + displayName: Deployment Voting Record + type: OTHER + serviceQuestionnaire: + displayName: Service Questionnaire + type: OTHER + serviceSecurityTemplate: + displayName: Service Security Template + type: OTHER + +serviceApiArtifacts: + configuration: + displayName: Configuration + type: OTHER + instantiation: + displayName: Instantiation + type: OTHER + monitoring: + displayName: Monitoring + type: OTHER + reporting: + displayName: Reporting + type: OTHER + logging: + displayName: Logging + type: OTHER + testing: + displayName: Testing + type: OTHER + + +additionalInformationMaxNumberOfKeys: 50 + +systemMonitoring: + enabled: false + isProxy: false + probeIntervalInSeconds: 15 +heatArtifactDeploymentTimeout: + defaultMinutes: 30 + minMinutes: 1 + maxMinutes: 120 + +serviceDeploymentArtifacts: + CONTROLLER_BLUEPRINT_ARCHIVE: + acceptedTypes: + - zip + YANG_XML: + acceptedTypes: + - xml + VNF_CATALOG: + acceptedTypes: + - xml + MODEL_INVENTORY_PROFILE: + acceptedTypes: + - xml + MODEL_QUERY_SPEC: + acceptedTypes: + - xml + UCPE_LAYER_2_CONFIGURATION: + acceptedTypes: + - xml + +#AAI Artifacts + AAI_SERVICE_MODEL: + acceptedTypes: + - xml + AAI_VF_MODULE_MODEL: + acceptedTypes: + - xml + AAI_VF_INSTANCE_MODEL: + acceptedTypes: + - xml + UCPE_LAYER_2_CONFIGURATION: + acceptedTypes: + - xml + OTHER: + acceptedTypes: + +#PLAN + PLAN: + acceptedTypes: + - xml + WORKFLOW: + acceptedTypes: + + +resourceDeploymentArtifacts: + HEAT: + acceptedTypes: + - yaml + - yml + validForResourceTypes: *allResourceTypes + HEAT_VOL: + acceptedTypes: + - yaml + - yml + validForResourceTypes: *allResourceTypes + HEAT_NET: + acceptedTypes: + - yaml + - yml + validForResourceTypes: *allResourceTypes + HEAT_NESTED: + acceptedTypes: + - yaml + - yml + validForResourceTypes: *allResourceTypes + HEAT_ARTIFACT: + acceptedTypes: + validForResourceTypes: *allResourceTypes + CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT: + acceptedTypes: + - zip + - tgz + - csar + validForResourceTypes: *allResourceTypes + YANG_XML: + acceptedTypes: + - xml + validForResourceTypes: *allResourceTypes + VNF_CATALOG: + acceptedTypes: + - xml + validForResourceTypes: *allResourceTypes + VF_LICENSE: + acceptedTypes: + - xml + validForResourceTypes: *allResourceTypes + VENDOR_LICENSE: + acceptedTypes: + - xml + validForResourceTypes: *allResourceTypes + MODEL_INVENTORY_PROFILE: + acceptedTypes: + - xml + validForResourceTypes: *allResourceTypes + MODEL_QUERY_SPEC: + acceptedTypes: + - xml + validForResourceTypes: *allResourceTypes + LIFECYCLE_OPERATIONS: + acceptedTypes: + - yaml + - yml + validForResourceTypes: + - VF + - VFC + VES_EVENTS: + acceptedTypes: + - yaml + - yml + validForResourceTypes: + - VFC + - CP + - VL + - VF + - CR + - VFCMT + - Abstract + - CVFC + - PNF + PERFORMANCE_COUNTER: + acceptedTypes: + - csv + validForResourceTypes: *allResourceTypes + APPC_CONFIG: + acceptedTypes: + validForResourceTypes: + - VF + DCAE_TOSCA: + acceptedTypes: + - yml + - yaml + validForResourceTypes: + - VF + - VFCMT + DCAE_JSON: + acceptedTypes: + - json + validForResourceTypes: + - VF + - VFCMT + DCAE_POLICY: + acceptedTypes: + - emf + validForResourceTypes: + - VF + - VFCMT + DCAE_DOC: + acceptedTypes: + validForResourceTypes: + - VF + - VFCMT + DCAE_EVENT: + acceptedTypes: + validForResourceTypes: + - VF + - VFCMT + AAI_VF_MODEL: + acceptedTypes: + - xml + validForResourceTypes: + - VF + AAI_VF_MODULE_MODEL: + acceptedTypes: + - xml + validForResourceTypes: + - VF + OTHER: + acceptedTypes: + validForResourceTypes: + - VFC + - CVFC + - CP + - VL + - VF + - VFCMT + - Abstract + - PNF + SNMP_POLL: + acceptedTypes: + validForResourceTypes: *allResourceTypes + SNMP_TRAP: + acceptedTypes: + validForResourceTypes: *allResourceTypes + PM_DICTIONARY: + acceptedTypes: + - yaml + - yml + validForResourceTypes: + - VF + - PNF + YANG_MODULE: + acceptedTypes: + - yang + validForResourceTypes: + - VF + - PNF + ANSIBLE_PLAYBOOK: + acceptedTypes: + - yaml + - yml + validForResourceTypes: + - VF + - PNF + ONBOARDED_PACKAGE: + acceptedTypes: + - csar + - zip + validForResourceTypes: + - VF + - PNF + CONTROLLER_BLUEPRINT_ARCHIVE: + acceptedTypes: + - zip + validForResourceTypes: + - VF + - PNF + +#PLAN + PLAN: + acceptedTypes: + - xml + validForResourceTypes: + - VF + - VFC + WORKFLOW: + acceptedTypes: + validForResourceTypes: + - VFC + - CP + - VL + - VF + - CR + - VFCMT + - Abstract + - CVFC + - PNF + +resourceInstanceDeploymentArtifacts: + HEAT_ENV: + acceptedTypes: + - env + VF_MODULES_METADATA: + acceptedTypes: + - json + VES_EVENTS: + acceptedTypes: + - yaml + - yml + PERFORMANCE_COUNTER: + acceptedTypes: + - csv + DCAE_INVENTORY_TOSCA: + acceptedTypes: + - yml + - yaml + DCAE_INVENTORY_JSON: + acceptedTypes: + - json + DCAE_INVENTORY_POLICY: + acceptedTypes: + - emf + DCAE_INVENTORY_DOC: + acceptedTypes: + DCAE_INVENTORY_BLUEPRINT: + acceptedTypes: + DCAE_INVENTORY_EVENT: + acceptedTypes: + SNMP_POLL: + acceptedTypes: + validForResourceTypes: *allResourceTypes + SNMP_TRAP: + acceptedTypes: + validForResourceTypes: *allResourceTypes + +#PLAN + PLAN: + acceptedTypes: + - xml + +resourceInformationalArtifacts: + CHEF: + acceptedTypes: + validForResourceTypes: *allResourceTypes + PUPPET: + acceptedTypes: + validForResourceTypes: *allResourceTypes + SHELL: + acceptedTypes: + validForResourceTypes: *allResourceTypes + YANG: + acceptedTypes: + validForResourceTypes: *allResourceTypes + YANG_XML: + acceptedTypes: + validForResourceTypes: *allResourceTypes + HEAT: + acceptedTypes: + validForResourceTypes: *allResourceTypes + BPEL: + acceptedTypes: + validForResourceTypes: *allResourceTypes + DG_XML: + acceptedTypes: + validForResourceTypes: *allResourceTypes + MURANO_PKG: + acceptedTypes: + validForResourceTypes: *allResourceTypes + OTHER: + acceptedTypes: + validForResourceTypes: + - VFC + - CVFC + - CP + - VL + - VF + - CR + - VFCMT + - Abstract + - PNF + PNF_SW_INFORMATION: + acceptedTypes: + - yaml + - yml + validForResourceTypes: + - PNF + SNMP_POLL: + acceptedTypes: + validForResourceTypes: *allResourceTypes + SNMP_TRAP: + acceptedTypes: + validForResourceTypes: *allResourceTypes + GUIDE: + acceptedTypes: + validForResourceTypes: + - VF + - VFC + - CVFC + - PNF + +unLoggedUrls: + - /sdc2/rest/monitoring + - /sdc2/rest/healthCheck + +cleanComponentsConfiguration: + cleanIntervalInMinutes: 1440 + componentsToClean: + - Resource + - Service + +artifactsIndex: resources + +heatEnvArtifactHeader: "" +heatEnvArtifactFooter: "" + +onboarding: + host: sdc-onboarding-be.onap + protocol: https + port: 8445 + downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages" + healthCheckUri: "/onboarding-api/v1.0/healthcheck" + +dcae: + host: sdc-dcae-be.onap + protocol: https + port: 8444 + healthCheckUri: "/dcae/healthCheck" + +# #GSS IDNS +switchoverDetector: + gBeFqdn: + gFeFqdn: + beVip: 1.2.3.4 + feVip: 1.2.3.4 + beResolveAttempts: 3 + feResolveAttempts: 3 + enabled: false + interval: 60 + changePriorityUser: ecompasdc + changePriorityPassword: ecompasdc123 + publishNetworkUrl: + publishNetworkBody: '{"note":"comment"}' + groups: + beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'} + feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'} + +applicationL1Cache: + datatypes: + enabled: true + firstRunDelay: 10 + pollIntervalInSec: 60 + +applicationL2Cache: + enabled: false + catalogL1Cache: + enabled: false + resourcesSizeInCache: 300 + servicesSizeInCache: 200 + productsSizeInCache: 100 + queue: + syncIntervalInSecondes: 43200 + waitOnShutDownInMinutes: 10 + numberOfCacheWorkers: 4 + +toscaValidators: + stringMaxLength: 2500 + +disableAudit: false + +consumerBusinessLogic: true + +vfModuleProperties: + min_vf_module_instances: + forBaseModule: 1 + forNonBaseModule: 0 + max_vf_module_instances: + forBaseModule: 1 + forNonBaseModule: + initial_count: + forBaseModule: 1 + forNonBaseModule: 0 + vf_module_type: + forBaseModule: Base + forNonBaseModule: Expansion + +genericAssetNodeTypes: + VFC: org.openecomp.resource.abstract.nodes.VFC + CVFC: org.openecomp.resource.abstract.nodes.VFC + VF : org.openecomp.resource.abstract.nodes.VF + CR : org.openecomp.resource.abstract.nodes.CR + PNF: org.openecomp.resource.abstract.nodes.PNF + Service: org.openecomp.resource.abstract.nodes.service + +workloadContext: Production + +environmentContext: + defaultValue: General_Revenue-Bearing + validValues: + - Critical_Revenue-Bearing + - Vital_Revenue-Bearing + - Essential_Revenue-Bearing + - Important_Revenue-Bearing + - Needed_Revenue-Bearing + - Useful_Revenue-Bearing + - General_Revenue-Bearing + - Critical_Non-Revenue + - Vital_Non-Revenue + - Essential_Non-Revenue + - Important_Non-Revenue + - Needed_Non-Revenue + - Useful_Non-Revenue + - General_Non-Revenue + +gabConfig: + - artifactType: 'VES_EVENTS' + pathsAndNamesDefinitions: + - + friendlyName: "Action" + path: "event.action[2]" + searchable: true + - + friendlyName: "Comment" + path: "event.comment" + searchable: true + - + friendlyName: "Alarm Additional Information" + path: "event.structure.faultFields.structure.alarmAdditionalInformation.comment" + searchable: true + - artifactType: 'PM_DICTIONARY' + pathsAndNamesDefinitions: + - + friendlyName: "measType" + path: "pmMetaData.pmFields.measType" + searchable: true + - + friendlyName: "measDescription" + path: "pmMetaData.pmFields.measDescription" + searchable: true + - + friendlyName: "measCondition" + path: "pmMetaData.pmFields.measCondition" + searchable: false + - + friendlyName: "measResultUnits" + path: "pmMetaData.pmFields.measResultUnits" + searchable: false + - + friendlyName: "measResultRange" + path: "pmMetaData.pmFields.measResultRange" + searchable: false + - + friendlyName: "measObjClass" + path: "pmMetaData.pmFields.measObjClass" + searchable: true + - + friendlyName: "measCollectionMethod" + path: "pmMetaData.pmFields.measCollectionMethod" + searchable: false + - + friendlyName: "measInfoId" + path: "pmMetaData.pmFields.measInfoId" + searchable: true + - + friendlyName: "iMeasInfoId" + path: "pmMetaData.pmFields.iMeasInfoId" + searchable: false + +dmaapConsumerConfiguration: + active: false + hosts: localhost:3905 + consumerGroup: sdc + consumerId: mama + timeoutMs: 15000 + limit: 1 + pollingInterval: 2 + topic: topic + latitude: 32.109333 + longitude: 34.855499 + version: 1.0 + serviceName: localhost/events + environment: TEST + partner: BOT_R + routeOffer: MR1 + protocol: https + contenttype: application/json + dme2TraceOn: true + aftEnvironment: AFTUAT + aftDme2ConnectionTimeoutMs: 15000 + aftDme2RoundtripTimeoutMs: 240000 + aftDme2ReadTimeoutMs: 50000 + dme2preferredRouterFilePath: DME2preferredRouter.txt + timeLimitForNotificationHandleMs: 120000 + credential: + username: user + password: + aftDme2SslEnable: true + aftDme2ClientKeystore: /var/lib/jetty/etc/truststore + aftDme2ClientKeystorePassword: "" + aftDme2ClientSslCertAlias: certman + +dmaapProducerConfiguration: + active: true + hosts: olsd004.com:3905 + consumerGroup: sdc-AUTO-1594077393 + consumerId: sdc-AUTO1-1594077393 + timeoutMs: 15000 + limit: 1 + pollingInterval: 2 + topic: SDC-FACADE-NOTIF-v1  + latitude: 32.109333 + longitude: 34.855499 + version: 1.0 + serviceName: dmaap.com:3905/events + environment: TEST + partner: BOT_R + routeOffer: MR1 + protocol:  + contenttype: application/json + dme2TraceOn: true + aftEnvironment:  + aftDme2ConnectionTimeoutMs: 15000 + aftDme2RoundtripTimeoutMs: 240000 + aftDme2ReadTimeoutMs: 50000 + dme2preferredRouterFilePath:  + timeLimitForNotificationHandleMs: 120000 + credential: + username: user1@sdc.com + password: password== + aftDme2SslEnable: true + aftDme2ClientKeystore: /var/lib/jetty/etc/truststore + aftDme2ClientKeystorePassword: dmaap_truststore_pwd + aftDme2ClientSslCertAlias: certman + + +# ToDo: AF - had to remove due to configuration laod class failure +#dmeConfiguration: +# lookupUriFormat: "http://DME2RESOLVE/service=%s/version=1.0.0/envContext=%s/routeOffer=DEFAULT" +# dme2Search: DME2SEARCH +# dme2Resolve: DME2RESOLVE + +excludedPolicyTypesMapping: + # VF: + # - a.b.c + # - c.d.e + #CR: + # - x.y.z + +excludedGroupTypesMapping: + CR: + - org.openecomp.groups.VfModule + - org.openecomp.groups.heat.HeatStack + - org.openecomp.groups.Group + - tosca.groups.Root + PNF: + - org.openecomp.groups.VfModule + - org.openecomp.groups.heat.HeatStack + - org.openecomp.groups.Group + - tosca.groups.Root + VF: + - org.openecomp.groups.VfModule + - org.openecomp.groups.heat.HeatStack + - org.openecomp.groups.Group + - tosca.groups.Root + Service: + - org.openecomp.groups.VfModule + - org.openecomp.groups.heat.HeatStack + - org.openecomp.groups.Group + - tosca.groups.Root + +healthStatusExclude: + - DE + - DMAAP + - DMAAP_PRODUCER + - ON_BOARDING + - DCAE + - PORTAL + - External API + +#Auto Healing +enableAutoHealing: false +appVersion:  + +artifactGeneratorConfig: Artifact-Generator.properties +resourcesForUpgrade: + 8.0: + - org.openecomp.resource.cp.extCP + - tosca.nodes.network.Network + - tosca.nodes.network.Port + - org.openecomp.resource.cp.nodes.network.SubInterface +skipUpgradeFailedVfs: true +skipUpgradeVSPs: true +autoHealingOwner: jh0003 +supportAllottedResourcesAndProxy: true +deleteLockTimeoutInSeconds: 60 +maxDeleteComponents: 10 + +# Cadi filter (access restriction) Parameters +aafNamespace: com.onap.sdc +aafAuthNeeded: false + +cadiFilterParams: + AFT_LATITUDE: "32.780140" + AFT_LONGITUDE: "-96.800451" + hostname: sdc-be.onap + aaf_id: user + aaf_env: TEST + aaf_url:  + csp_domain: PROD + cadi_keyfile: /var/lib/jetty/etc/org.onap.sdc.p12 + aaf_password: enc:AafEncriptedPassword + cadi_loglevel: DEBUG + AFT_ENVIRONMENT: AFTUAT + cadiX509Issuers: CN=intermediateCA_1, OU=OSAAF, O=ONAP, C=US + cadi_truststore: /var/lib/jetty/etc/org.onap.sdc.trust.jks + cadi_truststore_password: changeit + +# This configuration entry lists all node type names prefix that shall be allowed on SDC. +definedResourceNamespace: + - org.openecomp.resource.[2020-07-07T01:16:33+02:00] INFO: template[catalog-be-config] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: template[catalog-be-config] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: template[catalog-be-config] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: template[catalog-be-config] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: template[catalog-be-config] mode changed to 755 [2020-07-07T01:16:33+02:00] INFO: template[catalog-be-config] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty'  * template[distribution-engine-configuration] action create[2020-07-07T01:16:33+02:00] INFO: template[distribution-engine-configuration] created file /var/lib/jetty/config/catalog-be/distribution-engine-configuration.yaml [2020-07-07T01:16:33+02:00] INFO: template[distribution-engine-configuration] created file /var/lib/jetty/config/catalog-be/distribution-engine-configuration.yaml - create new file /var/lib/jetty/config/catalog-be/distribution-engine-configuration.yaml[2020-07-07T01:16:33+02:00] INFO: template[distribution-engine-configuration] updated file contents /var/lib/jetty/config/catalog-be/distribution-engine-configuration.yaml [2020-07-07T01:16:33+02:00] INFO: template[distribution-engine-configuration] updated file contents /var/lib/jetty/config/catalog-be/distribution-engine-configuration.yaml - update content in file /var/lib/jetty/config/catalog-be/distribution-engine-configuration.yaml from none to 44c609 --- /var/lib/jetty/config/catalog-be/distribution-engine-configuration.yaml 2020-07-07 01:16:33.216602454 +0200 +++ /var/lib/jetty/config/catalog-be/.chef-distribution-engine-configuration20200707-19-b3dpoq.yaml 2020-07-07 01:16:33.216602454 +0200 @@ -1 +1,82 @@ +uebServers: + - message-router.onap + - message-router.onap + +uebPublicKey: iPIxkpAMI8qTcQj8 +uebSecretKey: Ehq3WyT4bkif4zwgEbvshGal + +distributionNotifTopicName: SDC-DISTR-NOTIF-TOPIC +distributionStatusTopicName: SDC-DISTR-STATUS-TOPIC + +initRetryIntervalSec: 5 +initMaxIntervalSec: 60 + +distribNotifServiceArtifactTypes: + info: + - MURANO-PKG + +distribNotifResourceArtifactTypes: + lifecycle: + - HEAT + - DG-XML + +environments: + - AUTO + +distributionStatusTopic: + pollingIntervalSec: 60 + fetchTimeSec: 15 + consumerGroup: sdc-AUTO + consumerId: sdc-AUTO1 + + +distributionNotificationTopic: + minThreadPoolSize: 0 + maxThreadPoolSize: 10 + maxWaitingAfterSendingSeconds: 5 + +createTopic: + partitionCount: 1 + replicationCount: 1 + +startDistributionEngine: true + +#This is false by default, since ONAP Dmaap currently doesn't support https +useHttpsWithDmaap: false +opEnvRecoveryIntervalSec: 180 +allowedTimeBeforeStaleSec: 300 + +aaiConfig: + httpRequestConfig: + serverRootUrl: https://localhost:8443 + resourceNamespaces: + operationalEnvironments: /aai/v12/cloud-infrastructure/operational-environments + + httpClientConfig: + timeouts: + readTimeoutMs: 5000 + connectTimeoutMs: 1000 + clientCertificate: + keyStore: /var/lib/jetty/base/be/etc/non-prod.jks + keyStorePassword: hmXYcznAljMSisdy8zgcag== + headers: + X-FromAppId: asdc + numOfRetries: 3 + +msoConfig: + httpRequestConfig: + serverRootUrl: http://127.0.0.1:8080/onap/mso/infra/modelDistributions/v1 + resourceNamespaces: + distributions: /distributions + + httpClientConfig: + timeouts: + readTimeoutMs: 2000 + connectTimeoutMs: 500 + basicAuthorization: + userName: asdc + password: OTLEp5lfVhYdyw5EAtTUBQ== + numOfRetries: 3 +  +currentArtifactInstallationTimeout: 120[2020-07-07T01:16:33+02:00] INFO: template[distribution-engine-configuration] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: template[distribution-engine-configuration] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: template[distribution-engine-configuration] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: template[distribution-engine-configuration] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: template[distribution-engine-configuration] mode changed to 755 [2020-07-07T01:16:33+02:00] INFO: template[distribution-engine-configuration] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-be::BE_3_locate_keystore * directory[Jetty_etcdir_creation] action create[2020-07-07T01:16:33+02:00] INFO: directory[Jetty_etcdir_creation] created directory /var/lib/jetty/etc [2020-07-07T01:16:33+02:00] INFO: directory[Jetty_etcdir_creation] created directory /var/lib/jetty/etc - create new directory /var/lib/jetty/etc[2020-07-07T01:16:33+02:00] INFO: directory[Jetty_etcdir_creation] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: directory[Jetty_etcdir_creation] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: directory[Jetty_etcdir_creation] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: directory[Jetty_etcdir_creation] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: directory[Jetty_etcdir_creation] mode changed to 755 [2020-07-07T01:16:33+02:00] INFO: directory[Jetty_etcdir_creation] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty'  * cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] action create[2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] created file /var/lib/jetty/etc/org.onap.sdc.p12 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] created file /var/lib/jetty/etc/org.onap.sdc.p12 - create new file /var/lib/jetty/etc/org.onap.sdc.p12[2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] updated file contents /var/lib/jetty/etc/org.onap.sdc.p12 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] updated file contents /var/lib/jetty/etc/org.onap.sdc.p12 - update content in file /var/lib/jetty/etc/org.onap.sdc.p12 from none to 20eb30 (new content is binary, diff output suppressed)[2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] mode changed to 755 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.p12] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty'  * cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] action create[2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] created file /var/lib/jetty/etc/org.onap.sdc.trust.jks [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] created file /var/lib/jetty/etc/org.onap.sdc.trust.jks - create new file /var/lib/jetty/etc/org.onap.sdc.trust.jks[2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] updated file contents /var/lib/jetty/etc/org.onap.sdc.trust.jks [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] updated file contents /var/lib/jetty/etc/org.onap.sdc.trust.jks - update content in file /var/lib/jetty/etc/org.onap.sdc.trust.jks from none to 728925 (new content is binary, diff output suppressed)[2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] owner changed to 352070 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] group changed to 35953 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] mode changed to 755 [2020-07-07T01:16:33+02:00] INFO: cookbook_file[/var/lib/jetty/etc/org.onap.sdc.trust.jks] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-be::BE_4_jetty_Modules * bash[create-jetty-modules] action run [execute] INFO : deploy already enabled by [${jetty.base}/start.d/deploy.ini] INFO : Base directory was not modified INFO : http already enabled by [${jetty.base}/start.d/http.ini] INFO : console-capture initialized in ${jetty.base}/start.d/console-capture.ini INFO : https initialized in ${jetty.base}/start.d/https.ini INFO : ssl transitively enabled, ini template available with --add-to-start=ssl INFO : setuid initialized in ${jetty.base}/start.d/setuid.ini MKDIR : ${jetty.base}/logs COPY : ${jetty.home}/modules/ssl/keystore to ${jetty.base}/etc/keystore INFO : Base directory was modified [2020-07-07T01:16:34+02:00] INFO: bash[create-jetty-modules] ran successfully [2020-07-07T01:16:34+02:00] INFO: bash[create-jetty-modules] ran successfully - execute "bash" "/tmp/chef-script20200707-19-hjwwyv"  * template[http-ini] action create[2020-07-07T01:16:34+02:00] INFO: template[http-ini] backed up to /var/lib/jetty/chef-solo/backup/var/lib/jetty/start.d/http.ini.chef-20200707011634.198166 [2020-07-07T01:16:34+02:00] INFO: template[http-ini] backed up to /var/lib/jetty/chef-solo/backup/var/lib/jetty/start.d/http.ini.chef-20200707011634.198166 [2020-07-07T01:16:34+02:00] INFO: template[http-ini] updated file contents /var/lib/jetty/start.d/http.ini [2020-07-07T01:16:34+02:00] INFO: template[http-ini] updated file contents /var/lib/jetty/start.d/http.ini - update content in file /var/lib/jetty/start.d/http.ini from 9157dc to 600ef1 --- /var/lib/jetty/start.d/http.ini 2019-05-11 06:11:25.000000000 +0200 +++ /var/lib/jetty/start.d/.chef-http20200707-19-19qdvpa.ini 2020-07-07 01:16:34.195565251 +0200 @@ -1,10 +1,6 @@ -# ---------------------------------------  +# ---------------------------------------  # Module: http -# Enables a HTTP connector on the server. -# By default HTTP/1 is support, but HTTP2C can -# be added to the connector with the http2c module. -# ---------------------------------------  ---module=http +#--module=http    ### HTTP Connector Configuration   @@ -12,11 +8,14 @@  # jetty.http.host=0.0.0.0    ## Connector port to listen on -# jetty.http.port=8080 +jetty.http.port=8080    ## Connector idle timeout in milliseconds -# jetty.http.idleTimeout=30000 +jetty.http.idleTimeout=30000   +## Connector socket linger time in seconds (-1 to disable) +# jetty.http.soLingerTime=-1 +  ## Number of acceptors (-1 picks default based on number of cores)  # jetty.http.acceptors=-1   @@ -28,11 +27,4 @@    ## Thread priority delta to give to acceptor threads  # jetty.http.acceptorPriorityDelta=0 - -## Connect Timeout in milliseconds -# jetty.http.connectTimeout=15000 - -## HTTP Compliance: RFC7230, RFC7230_LEGACY, RFC2616, RFC2616_LEGACY, LEGACY or CUSTOMn -# jetty.http.compliance=RFC7230_LEGACY -[2020-07-07T01:16:34+02:00] INFO: template[http-ini] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: template[http-ini] mode changed to 755 - change mode from '0644' to '0755'  * template[https-ini] action create[2020-07-07T01:16:34+02:00] INFO: template[https-ini] backed up to /var/lib/jetty/chef-solo/backup/var/lib/jetty/start.d/https.ini.chef-20200707011634.207783 [2020-07-07T01:16:34+02:00] INFO: template[https-ini] backed up to /var/lib/jetty/chef-solo/backup/var/lib/jetty/start.d/https.ini.chef-20200707011634.207783 [2020-07-07T01:16:34+02:00] INFO: template[https-ini] updated file contents /var/lib/jetty/start.d/https.ini [2020-07-07T01:16:34+02:00] INFO: template[https-ini] updated file contents /var/lib/jetty/start.d/https.ini - update content in file /var/lib/jetty/start.d/https.ini from 1167e5 to e03583 --- /var/lib/jetty/start.d/https.ini 2020-07-07 01:16:34.159566619 +0200 +++ /var/lib/jetty/start.d/.chef-https20200707-19-1i8v3ud.ini 2020-07-07 01:16:34.206564833 +0200 @@ -1,8 +1,30 @@ -# ---------------------------------------  +# ---------------------------------------  # Module: https -# Adds HTTPS protocol support to the TLS(SSL) Connector -# ---------------------------------------   --module=https   +### HTTPS Connector Configuration   +## Connector host/address to bind to +# jetty.https.host=0.0.0.0 + +## Connector port to listen on +jetty.https.port=8443 + +## Connector idle timeout in milliseconds +jetty.https.idleTimeout=30000 + +## Connector socket linger time in seconds (-1 to disable) +# jetty.https.soLingerTime=-1 + +## Number of acceptors (-1 picks default based on number of cores) +# jetty.https.acceptors=-1 + +## Number of selectors (-1 picks default based on number of cores) +# jetty.https.selectors=-1 + +## ServerSocketChannel backlog (0 picks platform default) +# jetty.https.acceptorQueueSize=0 + +## Thread priority delta to give to acceptor threads +# jetty.https.acceptorPriorityDelta=0[2020-07-07T01:16:34+02:00] INFO: template[https-ini] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: template[https-ini] mode changed to 755 - change mode from '0644' to '0755'  * template[ssl-ini] action create[2020-07-07T01:16:34+02:00] INFO: template[ssl-ini] created file /var/lib/jetty/start.d/ssl.ini [2020-07-07T01:16:34+02:00] INFO: template[ssl-ini] created file /var/lib/jetty/start.d/ssl.ini - create new file /var/lib/jetty/start.d/ssl.ini[2020-07-07T01:16:34+02:00] INFO: template[ssl-ini] updated file contents /var/lib/jetty/start.d/ssl.ini [2020-07-07T01:16:34+02:00] INFO: template[ssl-ini] updated file contents /var/lib/jetty/start.d/ssl.ini - update content in file /var/lib/jetty/start.d/ssl.ini from none to f3d0da --- /var/lib/jetty/start.d/ssl.ini 2020-07-07 01:16:34.214564529 +0200 +++ /var/lib/jetty/start.d/.chef-ssl20200707-19-ki5qu1.ini 2020-07-07 01:16:34.213564567 +0200 @@ -1 +1,91 @@ +# --------------------------------------- +# Module: ssl +--module=ssl + +### TLS(SSL) Connector Configuration + +## Connector host/address to bind to +# jetty.ssl.host=0.0.0.0 + +## Connector port to listen on +jetty.ssl.port=8443 + +## Connector idle timeout in milliseconds +# jetty.ssl.idleTimeout=30000 + +## Connector socket linger time in seconds (-1 to disable) +# jetty.ssl.soLingerTime=-1 + +## Number of acceptors (-1 picks default based on number of cores) +# jetty.ssl.acceptors=-1 + +## Number of selectors (-1 picks default based on number of cores) +# jetty.ssl.selectors=-1 + +## ServerSocketChannel backlog (0 picks platform default) +# jetty.ssl.acceptorQueueSize=0 + +## Thread priority delta to give to acceptor threads +# jetty.ssl.acceptorPriorityDelta=0 + +## Whether request host names are checked to match any SNI names +# jetty.ssl.sniHostCheck=true + +## max age in seconds for a Strict-Transport-Security response header (default -1) +# jetty.ssl.stsMaxAgeSeconds=31536000 + +## include subdomain property in any Strict-Transport-Security header (default false) +# jetty.ssl.stsIncludeSubdomains=true + +### SslContextFactory Configuration +## Note that OBF passwords are not secure, just protected from casual observation +## See http://www.eclipse.org/jetty/documentation/current/configuring-security-secure-passwords.html + +## Keystore file path (relative to $jetty.base) +jetty.sslContext.keyStorePath=etc/org.onap.sdc.p12 + +## Truststore file path (relative to $jetty.base) +jetty.sslContext.trustStorePath=etc/org.onap.sdc.trust.jks + +## Keystore password +# jetty.sslContext.keyStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 +jetty.sslContext.keyStorePassword=?(kP!Yur![*!Y5!E^f(ZKc31 + +## Keystore type and provider +# jetty.sslContext.keyStoreType=JKS +# jetty.sslContext.keyStoreProvider= + +## KeyManager password +# jetty.sslContext.keyManagerPassword=OBF:1u2u1wml1z7s1z7a1wnl1u2g +jetty.sslContext.keyManagerPassword=?(kP!Yur![*!Y5!E^f(ZKc31 + +## Truststore password +# jetty.sslContext.trustStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 +jetty.sslContext.trustStorePassword=z+KEj;t+,KN^iimSiS89e#p0 + +## Truststore type and provider +# jetty.sslContext.trustStoreType=JKS +# jetty.sslContext.trustStoreProvider= + +## whether client certificate authentication is required +# jetty.sslContext.needClientAuth=false + +## Whether client certificate authentication is desired +# jetty.sslContext.wantClientAuth=false + +## Whether cipher order is significant (since java 8 only) +# jetty.sslContext.useCipherSuitesOrder=true + +## To configure Includes / Excludes for Cipher Suites or Protocols see tweak-ssl.xml example at +## https://www.eclipse.org/jetty/documentation/current/configuring-ssl.html#configuring-sslcontextfactory-cipherSuites + +## Set the size of the SslSession cache +# jetty.sslContext.sslSessionCacheSize=-1 + +## Set the timeout (in seconds) of the SslSession cache timeout +# jetty.sslContext.sslSessionTimeout=-1 + +## Allow SSL renegotiation +# jetty.sslContext.renegotiationAllowed=true +# jetty.sslContext.renegotiationLimit=5[2020-07-07T01:16:34+02:00] INFO: template[ssl-ini] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: template[ssl-ini] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: template[ssl-ini] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: template[ssl-ini] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: template[ssl-ini] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: template[ssl-ini] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-be::BE_6_setup_portal_and_key_properties * template[template portal.properties] action create[2020-07-07T01:16:34+02:00] INFO: template[template portal.properties] created file /var/lib/jetty/resources/portal.properties [2020-07-07T01:16:34+02:00] INFO: template[template portal.properties] created file /var/lib/jetty/resources/portal.properties - create new file /var/lib/jetty/resources/portal.properties[2020-07-07T01:16:34+02:00] INFO: template[template portal.properties] updated file contents /var/lib/jetty/resources/portal.properties [2020-07-07T01:16:34+02:00] INFO: template[template portal.properties] updated file contents /var/lib/jetty/resources/portal.properties - update content in file /var/lib/jetty/resources/portal.properties from none to 528341 --- /var/lib/jetty/resources/portal.properties 2020-07-07 01:16:34.223564187 +0200 +++ /var/lib/jetty/resources/.chef-portal20200707-19-35hgbk.properties 2020-07-07 01:16:34.222564225 +0200 @@ -1 +1,90 @@ +### +# ============LICENSE_START========================================== +# ONAP Portal SDK +# =================================================================== +# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# =================================================================== +# +# Unless otherwise specified, all software contained herein is licensed +# under the Apache License, Version 2.0 (the “License”); +# you may not use this software 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. +# +# Unless otherwise specified, all documentation contained herein is licensed +# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# you may not use this documentation except in compliance with the License. +# You may obtain a copy of the License at +# +# https://creativecommons.org/licenses/by/4.0/ +# +# Unless required by applicable law or agreed to in writing, documentation +# 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. +# +# ============LICENSE_END============================================ +# +# +### +# Properties read by ECOMP Framework library, ecompFW.jar + +########################################################################## +# The following properties should NOT be changed by partner applications. +########################################################################## + +portal.api.prefix = /api +max.idle.time = 5 +user.attribute.name = user_attribute + +#Use REST API instead of UEB to fetch the functional menu data +use_rest_for_functional_menu=true + + +########################################################################## +# The following properties MUST be changed by partner applications. +########################################################################## + +# Name of java class that implements the OnBoardingApiService interface. +portal.api.impl.class = org.openecomp.sdc.be.ecomp.PortalRestAPICentralServiceImpl +role_access_centralized = remote + +# Cookie set by CSP-SSO +#csp_cookie_name = onapCsp + +# CSP setting, most use PROD; DEV also recognized +csp_gate_keeper_prod_key = PROD + +# URL of the Portal where this app is onboarded +ecomp_redirect_url = https://portal-app.onap:30225/ONAPPORTAL/login.htm + +# URL of the ECOMP Portal REST API +ecomp_rest_url = https://portal-app.onap:8443/ONAPPORTAL/auxapi + +# Connection and Read timeout values +ext_req_connection_timeout = 15000 +ext_req_read_timeout = 20000 + +# Name of java class that implements the OnBoardingApiService interface. +portal.api.impl.class = org.openecomp.sdc.be.ecomp.PortalRestAPICentralServiceImpl + +#Portal user & key +portal_app_name = Ipwxi2oLvDxctMA1royaRw1W0jhucLx+grHzci3ePIA= +portal_pass = j85yNhyIs7zKYbR1VlwEfNhS6b7Om4l0Gx5O8931sCI= +portal_user = Ipwxi2oLvDxctMA1royaRw1W0jhucLx+grHzci3ePIA= + + +# UEB key generated while on-boarding +ueb_app_key = "" + +# Applications do not need to run a UEB listener after 1607. +ueb_listeners_enable = false[2020-07-07T01:16:34+02:00] INFO: template[template portal.properties] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: template[template portal.properties] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: template[template portal.properties] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: template[template portal.properties] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: template[template portal.properties] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: template[template portal.properties] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty'  * template[template key.properties] action create[2020-07-07T01:16:34+02:00] INFO: template[template key.properties] created file /var/lib/jetty/resources/key.properties [2020-07-07T01:16:34+02:00] INFO: template[template key.properties] created file /var/lib/jetty/resources/key.properties - create new file /var/lib/jetty/resources/key.properties[2020-07-07T01:16:34+02:00] INFO: template[template key.properties] updated file contents /var/lib/jetty/resources/key.properties [2020-07-07T01:16:34+02:00] INFO: template[template key.properties] updated file contents /var/lib/jetty/resources/key.properties - update content in file /var/lib/jetty/resources/key.properties from none to f2c564 --- /var/lib/jetty/resources/key.properties 2020-07-07 01:16:34.232563845 +0200 +++ /var/lib/jetty/resources/.chef-key20200707-19-18ftxba.properties 2020-07-07 01:16:34.232563845 +0200 @@ -1 +1,42 @@ +### +# ============LICENSE_START========================================== +# ONAP Portal SDK +# =================================================================== +# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# =================================================================== +# +# Unless otherwise specified, all software contained herein is licensed +# under the Apache License, Version 2.0 (the “License”); +# you may not use this software 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. +# +# Unless otherwise specified, all documentation contained herein is licensed +# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# you may not use this documentation except in compliance with the License. +# You may obtain a copy of the License at +# +# https://creativecommons.org/licenses/by/4.0/ +# +# Unless required by applicable law or agreed to in writing, documentation +# 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. +# +# ============LICENSE_END============================================ +# +#  +### + +# Properties read by the ECOMP Framework library (epsdk-fw) + +cipher.enc.key = AGLDdG4D04BKm2IxIWEr8o==[2020-07-07T01:16:34+02:00] INFO: template[template key.properties] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: template[template key.properties] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: template[template key.properties] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: template[template key.properties] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: template[template key.properties] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: template[template key.properties] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-be::BE_7_logback * cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] action create[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] created file /var/lib/jetty/config/catalog-be/logback.xml [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] created file /var/lib/jetty/config/catalog-be/logback.xml - create new file /var/lib/jetty/config/catalog-be/logback.xml[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] updated file contents /var/lib/jetty/config/catalog-be/logback.xml [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] updated file contents /var/lib/jetty/config/catalog-be/logback.xml - update content in file /var/lib/jetty/config/catalog-be/logback.xml from none to 03b6e7 --- /var/lib/jetty/config/catalog-be/logback.xml 2020-07-07 01:16:34.242563465 +0200 +++ /var/lib/jetty/config/catalog-be/.chef-logback20200707-19-gowty1.xml 2020-07-07 01:16:34.241563503 +0200 @@ -1 +1,254 @@ + + + +  +  +  +  +  +  +  + +  + +  + +  + +  + +  + +  + + +  +  +  +  + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/all.log + +  + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/all.log.%i +  + 1 + 10 +  + +  + 20MB +  + +  + ${all-log-pattern} +  +  +  +  + + +  +  + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/debug.log + +  +  +  + ENTRY + EXIT + INVOKE + INVOKE-RETURN + INVOKE-SYNCHRONOUS +  + NEUTRAL + DENY +  + +  +  +  +  + e.level.toInt() <= INFO.toInt() +  +  + DENY + ACCEPT +  + +  + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/debug.log.%i +  + 1 + 10 +  + +  + 20MB +  + +  + ${debug-log-pattern} +  +  + + +  +  + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/error.log + +  +  + WARN +  + +  + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/error.log.%i +  + 1 + 10 +  + +  + 20MB +  + +  + ${error-log-pattern} +  +  + + +  +  + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/audit.log + +  +  +  + ENTRY + EXIT +  + DENY + ACCEPT +  + +  + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/audit.log.%i +  + 1 + 10 +  + +  + 20MB +  + +  + ${audit-log-pattern} +  +  + + +  +  + + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/metrics.log +  + +  +  +  + INVOKE + INVOKE-RETURN + INVOKE-SYNCHRONOUS +  + DENY + ACCEPT +  + +  + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/metrics.log.%i +  + 1 + 10 +  + +  + 20MB +  + +  + ${metric-log-pattern} +  +  + + +  +  + + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/supportability.log + +  +  +  + SUPPORTABILITY_MARKER +  + DENY + ACCEPT +  + +  + ${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/supportability.log.%i +  + 1 + 10 +  + +  + 20MB +  + +  + ${supportability-log-pattern} +  +  + + +  +  +  +  + +  +  +  + +  +  +  + + +  +  +  +  +  +  +  +  +  +  +  +  + +  +[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/logback.xml] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-be::BE_8_errors_config * cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] action create[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] created file /var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] created file /var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml - create new file /var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] updated file contents /var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] updated file contents /var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml - update content in file /var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml from none to fc2c33 --- /var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml 2020-07-07 01:16:34.256562933 +0200 +++ /var/lib/jetty/config/catalog-be/.chef-ecomp-error-configuration20200707-19-1mgbv18.yaml 2020-07-07 01:16:34.256562933 +0200 @@ -1 +1,384 @@ +########################################### +# Note the conventions of the field values: +# type can be one of: CONFIG_ERROR, SYSTEM_ERROR, DATA_ERROR, CONNECTION_PROBLEM, AUTHENTICATION_PROBLEM +# severity can be one of: WARN, ERROR, FATAL +# alarmSeverity can be one of: CRITICAL,MAJOR,MINOR,INFORMATIONAL,NONE +# code is a unique integer in range of 3003-9999 (3000-3002 are occupied for internal usage) +# The above enumeration values are out-of-the-box and can be changed in code.  +# In case of config and code mismatch, the appropriate error will be printed to log +# +## Range of BE codes - 3010-7999 + +errors: + + BeRestApiGeneralError: { + type: SYSTEM_ERROR, + code: ASDC_4000, + severity: ERROR, + description: "Unexpected error during BE REST API execution", + alarmSeverity: CRITICAL + } + + BeHealthCheckError: { + type: SYSTEM_ERROR, + code: ASDC_3010, + severity: ERROR, + description: "Error during BE Health Check", + alarmSeverity: CRITICAL + } +  + BeInitializationError: { + type: SYSTEM_ERROR, + code: ASDC_4019, + severity: ERROR, + description: "Catalog-BE was not initialized properly", + alarmSeverity: CRITICAL + } + + BeResourceMissingError: { + type: SYSTEM_ERROR, + code: ASDC_3011, + severity: ERROR, + description: "Mandatory resource %s cannot be found in repository", + alarmSeverity: MAJOR + } +  + BeServiceMissingError: { + type: SYSTEM_ERROR, + code: ASDC_3012, + severity: ERROR, + description: "Mandatory service %s cannot be found in repository", + alarmSeverity: MAJOR + } +  + BeFailedAddingResourceInstanceError: { + type: SYSTEM_ERROR, + code: ASDC_3013, + severity: ERROR, + description: "Failed to add resource instance of resource %s to service %s", + alarmSeverity: MAJOR + } +  + BeIncorrectServiceError: { + type: SYSTEM_ERROR, + code: ASDC_3014, + severity: ERROR, + description: "Service %s is not valid", + alarmSeverity: MAJOR + } +  + BeRepositoryDeleteError: { + type: SYSTEM_ERROR, + code: ASDC_3015, + severity: ERROR, + description: "Failed to delete object %s from repository", + alarmSeverity: CRITICAL + } +  + BeRepositoryQueryError: { + type: SYSTEM_ERROR, + code: ASDC_3016, + severity: ERROR, + description: "Failed to fetch from repository %s", + alarmSeverity: MAJOR + } +  + BeInvalidConfigurationError: { + type: CONFIG_ERROR, + code: ASDC_3017, + severity: FATAL, + description: "Configuration parameter %s is invalid. Value configured is %s", + alarmSeverity: MAJOR + } +  + BeUebConnectionError: { + type: CONNECTION_PROBLEM, + code: ASDC_4001, + severity: ERROR, + description: "Connection problem towards U-EB server. Reason: %s", + alarmSeverity: MAJOR + } +  + BeUebSystemError: { + type: SYSTEM_ERROR, + code: ASDC_3019, + severity: ERROR, + description: "Error occured during access to U-EB Server. Operation: %s", + alarmSeverity: MAJOR + } +  + BeUebObjectNotFoundError: { + type: DATA_ERROR, + code: ASDC_4005, + severity: ERROR, + description: "Error occured during access to U-EB Server. Data not found: %s", + alarmSeverity: MAJOR + } + + BeDistributionEngineSystemError: { + type: SYSTEM_ERROR, + code: ASDC_3021, + severity: ERROR, + description: "Error occured in Distribution Engine. Failed operation: %s", + alarmSeverity: MAJOR + } +  + BeUebAuthenticationError: { + type: AUTHENTICATION_PROBLEM, + code: ASDC_4003, + severity: ERROR, + description: "Authentication problem towards U-EB server. Reason: %s", + alarmSeverity: MAJOR + } +  + BeUebUnkownHostError: { + type: CONNECTION_PROBLEM, + code: ASDC_4002, + severity: ERROR, + description: "Connection problem towards U-EB server. Cannot reach host %s", + alarmSeverity: MAJOR + } +  + BeDistributionEngineInvalidArtifactType: { + type: DATA_ERROR, + code: ASDC_4006, + severity: WARN, + description: "The artifact type %s does not appear in the list of valid artifacts %s", + alarmSeverity: MAJOR + } + BeInvalidTypeError: { + type: DATA_ERROR, + code: ASDC_4008, + severity: WARN, + description: "The type %s of %s is invalid", + alarmSeverity: MAJOR + } + BeInvalidValueError: { + type: DATA_ERROR, + code: ASDC_3028, + severity: WARN, + description: "The value %s of %s from type %s is invalid", + alarmSeverity: MAJOR + }  +  + BeFailedDeletingResourceInstanceError: { + type: SYSTEM_ERROR, + code: ASDC_3029, + severity: ERROR, + description: "Failed to delete resource instance %s from service %s", + alarmSeverity: MAJOR + } +  + BeMissingConfigurationError: { + type: CONFIG_ERROR, + code: ASDC_3030, + severity: FATAL, + description: "Configuration parameter %s is missing", + alarmSeverity: MAJOR + } +  + BeConfigurationInvalidListSizeError: { + type: CONFIG_ERROR, + code: ASDC_3031, + severity: FATAL, + description: "Configuration parameter %s is invalid. At least %s values shall be configured", + alarmSeverity: MAJOR + } +  + ErrorConfigFileFormat: { + type: CONFIG_ERROR, + code: ASDC_3032, + severity: ERROR, + description: "Error element not found in YAML name: %s", + alarmSeverity: MAJOR + } +  + BeMissingArtifactInformationError: { + type: DATA_ERROR, + code: ASDC_4010, + severity: ERROR, + description: "Artifact uploaded has missing information. Missing %s", + alarmSeverity: MAJOR + } +  + BeArtifactMissingError: { + type: DATA_ERROR, + code: ASDC_4011, + severity: ERROR, + description: "Artifact %s requested is not found", + alarmSeverity: MAJOR + } +  + BeArtifactPayloadInvalid: { + type: DATA_ERROR, + code: ASDC_4012, + severity: ERROR, + description: "Payload of artifact uploaded is invalid (invalid MD5 or encryption)", + alarmSeverity: MAJOR + } +  + BeUserMissingError: { + type: DATA_ERROR, + code: ASDC_4009, + severity: ERROR, + description: "User %s requested is not found", + alarmSeverity: MAJOR + } +  + BeArtifactInformationInvalidError: { + type: DATA_ERROR, + code: ASDC_4013, + severity: ERROR, + description: "Input for artifact metadata is invalid", + alarmSeverity: MAJOR + } + BeFailedAddingCapabilityTypeError: { + type: DATA_ERROR, + code: ASDC_4015, + severity: ERROR, + description: "Failed adding capability type", + alarmSeverity: CRITICAL + } +  + BeCapabilityTypeMissingError: { + type: DATA_ERROR, + code: ASDC_4016, + severity: ERROR, + description: "Capability Type %s not found", + alarmSeverity: CRITICAL + } +  + BeInterfaceMissingError: { + type: DATA_ERROR, + code: ASDC_4020, + severity: ERROR, + description: "Interface %s required is missing", + alarmSeverity: MAJOR + } +  + BeDaoSystemError: { + type: SYSTEM_ERROR, + code: ASDC_4014, + severity: ERROR, + description: "Operation towards database failed", + alarmSeverity: CRITICAL + } +  + BeSystemError: { + type: SYSTEM_ERROR, + code: ASDC_4017, + severity: ERROR, + description: "Unexpected error during operation", + alarmSeverity: CRITICAL + } +  + BeFailedLockObjectError: { + type: SYSTEM_ERROR, + code: ASDC_4007, + severity: WARN, + description: "Failed to lock object for update", + alarmSeverity: CRITICAL + } +  + BeInvalidJsonInput: { + type: SYSTEM_ERROR, + code: ASDC_4018, + severity: ERROR, + description: "Failed to convert json input to object", + alarmSeverity: MAJOR + } +  + BeDistributionMissingError: { + type: DATA_ERROR, + code: ASDC_4021, + severity: ERROR, + description: "Distribution %s required is missing", + alarmSeverity: MAJOR + } +  + BeHealthCheckRecovery: { + type: RECOVERY, + code: ASDC_4022, + severity: INFO, + description: "BE Health Check Recovery", + alarmSeverity: INFORMATIONAL + } + BeFailedCreateNodeError: { + type: DATA_ERROR, + code: ASDC_6000, + severity: ERROR, + description: "Failed to create node %s on graph. status is %s", + alarmSeverity: MAJOR + } + BeFailedUpdateNodeError: { + type: DATA_ERROR, + code: ASDC_6001, + severity: ERROR, + description: "Failed to update node %s on graph. Status is %s", + alarmSeverity: MAJOR + } +  + BeFailedDeleteNodeError: { + type: DATA_ERROR, + code: ASDC_6002, + severity: ERROR, + description: "Failed to delete node %s on graph. Status is %s", + alarmSeverity: MAJOR + } +  + BeFailedRetrieveNodeError: { + type: DATA_ERROR, + code: ASDC_6003, + severity: ERROR, + description: "Failed to retrieve node %s from graph. Status is %s", + alarmSeverity: MAJOR + } +  + BeExecuteRollbackError: { + type: DATA_ERROR, + code: ASDC_6004, + severity: ERROR, + description: "Going to execute rollback on graph.", + alarmSeverity: MAJOR + } +  + BeFailedFindParentError: { + type: DATA_ERROR, + code: ASDC_6005, + severity: ERROR, + description: "Failed to find parent node %s on graph. Status is %s", + alarmSeverity: MAJOR + } +  + BeFailedFindAllNodesError: { + type: DATA_ERROR, + code: ASDC_6006, + severity: ERROR, + description: "Failed to fetch all nodes with type %s of parent node %s . Status is %s", + alarmSeverity: MAJOR + } +  + BeFailedFindAssociationError: { + type: DATA_ERROR, + code: ASDC_6007, + severity: ERROR, + description: "Cannot find node with type %s associated with node %s . Status is %s", + alarmSeverity: MAJOR + } +  + BeFailedFindAssociationError: { + type: DATA_ERROR, + code: ASDC_6008, + severity: ERROR, + description: "Cannot find node with type %s associated with node %s . Status is %s", + alarmSeverity: MAJOR + } + BeComponentCleanerSystemError: { + type: SYSTEM_ERROR, + code: ASDC_6009, + severity: ERROR, + description: "Error occured in Component Cleaner Task. Failed operation: %s", + alarmSeverity: MAJOR + } + [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/ecomp-error-configuration.yaml] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty'  * cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] action create[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] created file /var/lib/jetty/config/catalog-be/error-configuration.yaml [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] created file /var/lib/jetty/config/catalog-be/error-configuration.yaml - create new file /var/lib/jetty/config/catalog-be/error-configuration.yaml[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] updated file contents /var/lib/jetty/config/catalog-be/error-configuration.yaml [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] updated file contents /var/lib/jetty/config/catalog-be/error-configuration.yaml - update content in file /var/lib/jetty/config/catalog-be/error-configuration.yaml from none to 977f4a --- /var/lib/jetty/config/catalog-be/error-configuration.yaml 2020-07-07 01:16:34.273562287 +0200 +++ /var/lib/jetty/config/catalog-be/.chef-error-configuration20200707-19-115v21u.yaml 2020-07-07 01:16:34.273562287 +0200 @@ -1 +1,2401 @@ +# Errors +errors: + OK: { + code: 200, + message: "OK" + } + CREATED: { + code: 201, + message: "OK" + } + ACCEPTED: { + code: 202, + message: "Accepted" + } + NO_CONTENT: { + code: 204, + message: "No Content" + } + #--------POL4050----------------------------- + NOT_ALLOWED: { + code: 405, + message: "Error: Method not allowed.", + messageId: "POL4050" + } + #--------POL5000----------------------------- + GENERAL_ERROR: { + code: 500, + message: "Error: Internal Server Error. Please try again later.", + messageId: "POL5000" + } + #---------POL5001------------------------------ + MISSING_X_ECOMP_INSTANCE_ID: { + code: 400 , + message: "Error: Missing 'X-ECOMP-InstanceID' HTTP header.", + messageId: "POL5001" + } + #---------POL5002------------------------------ + AUTH_REQUIRED: { + code: 401 , + message: "Error: Authentication is required to use the API.", + messageId: "POL5002" + } + #---------POL5003------------------------------ + AUTH_FAILED: { + code: 403 , + message: "Error: Not authorized to use the API.", + messageId: "POL5003" + } + #---------POL5004------------------------------ + MISSING_USER_ID: { + code: 400 , + message: "Error: Missing 'USER_ID' HTTP header.", + messageId: "POL5004" + } + #---------POL5005------------------------------ + SESSION_EXPIRED: { + code: 403 , + message: "Your session has expired. Please close the SDC tab and re-enter the SDC application.", + messageId: "POL5005" + } + #---------SVC4000----------------------------- + INVALID_CONTENT: { + code: 400, + message: "Error: Invalid content.", + messageId: "SVC4000" + } + #---------SVC4002----------------------------- + MISSING_INFORMATION: { + code: 403, + message: "Error: Missing information.", + messageId: "SVC4002" + } + #---------SVC4003------------------------------ + # %1 - Users's ID + USER_NOT_FOUND: { + code: 404, + message: "Error: User '%1' was not found.", + messageId: "SVC4003" + } + #---------SVC4004----------------------------- + # %1 - Users's email address + INVALID_EMAIL_ADDRESS: { + code: 400, + message: "Error: Invalid email address '%1'.", + messageId: "SVC4004" + } + #---------SVC4005------------------------------ + # %1 - role + INVALID_ROLE: { + code: 400, + message: "Error: Invalid role '%1'.", + messageId: "SVC4005" + } + #---------SVC4006------------------------------ + # %1 - Users's USER_ID + USER_ALREADY_EXIST: { + code: 409, + message: "Error: User with '%1' ID already exists.", + messageId: "SVC4006" + } + #---------SVC4007------------------------------ + DELETE_USER_ADMIN_CONFLICT: { + code: 409, + message: "Error: An administrator can only be deleted by another administrator.", + messageId: "SVC4007" + } + #---------SVC4008----------------------------- + # %1 - Users's userId + INVALID_USER_ID: { + code: 400, + message: "Error: Invalid userId '%1'.", + messageId: "SVC4008" + } +#---------SVC4009----------------------------- + USER_DEFINED: { + code: 400, + message: "Error: User Defined '%1'.", + messageId: "SVC4009" + } + #---------SVC4049------------------------------ + # %1 - service/resource + COMPONENT_MISSING_CONTACT: { + code: 400, + message: "Error: Invalid Content. Missing %1 contact.", + messageId: "SVC4049" + } + #---------SVC4050----------------------------- + # %1 - Service/Resource/Additional parameter + # %2 - service/resource/label name + COMPONENT_NAME_ALREADY_EXIST: { + code: 409, + message: "Error: %1 with name '%2' already exists.", + messageId: "SVC4050" + } + #---------SVC4051------------------------------ + # %1 - resource/service + COMPONENT_MISSING_CATEGORY: { + code: 400, + message: "Error: Invalid Content. Missing %1 category.", + messageId: "SVC4051" + } + + #---------SVC4052------------------------------ + COMPONENT_MISSING_TAGS: { + code: 400, + message: "Error: Invalid Content. At least one tag has to be specified.", + messageId: "SVC4052" + } + + #---------SVC4053------------------------------ + # %1 - service/resource + COMPONENT_MISSING_DESCRIPTION: { + code: 400, + message: "Error: Invalid Content. Missing %1 description.", + messageId: "SVC4053" + } + #---------SVC4054------------------------------ + # %1 - resource/service + COMPONENT_INVALID_CATEGORY: { + code: 400, + message: "Error: Invalid Content. Value %1 for the field Category is invalid.", + messageId: "SVC4054" + } + #---------SVC4055------------------------------ + MISSING_VENDOR_NAME: { + code: 400, + message: "Error: Invalid Content. Missing vendor name.", + messageId: "SVC4055" + } + #---------SVC4056------------------------------ + MISSING_VENDOR_RELEASE: { + code: 400, + message: "Error: Invalid Content. Missing vendor release.", + messageId: "SVC4056" + } + + #---------SVC4057------------------------------ + MISSING_DERIVED_FROM_TEMPLATE: { + code: 400, + message: "Error: Invalid Content. Missing derived from template specification.", + messageId: "SVC4057" + } + + #---------SVC4058------------------------------ + # %1 - service/resource + COMPONENT_MISSING_ICON: { + code: 400, + message: "Error: Invalid Content. Missing %1 icon.", + messageId: "SVC4058" + } + #---------SVC4059------------------------------ + # %1 - service/resource + COMPONENT_INVALID_ICON: { + code: 400, + message: "Error: Invalid Content. Invalid %1 icon.", + messageId: "SVC4059" + } + #---------SVC4060------------------------------ + PARENT_RESOURCE_NOT_FOUND: { + code: 400, + message: "Error: Invalid Content. Derived from resource template was not found.", + messageId: "SVC4060" + } + #---------SVC4061------------------------------ + MULTIPLE_PARENT_RESOURCE_FOUND: { + code: 400, + message: "Error: Invalid Content. Multiple derived from resource template is not allowed.", + messageId: "SVC4061" + } + + #---------SVC4062------------------------------ + # %1 - service/resource + MISSING_COMPONENT_NAME: { + code: 400, + message: "Error: Invalid Content. Missing %1 name.", + messageId: "SVC4062" + } + #---------SVC4063------------------------------ + #%1  -  resource/service name + RESOURCE_NOT_FOUND: { + code: 404, + message: "Error: Requested '%1' resource was not found.", + messageId: "SVC4063" + } + + #---------SVC4064------------------------------ + # %1 - Service/Resource/Property + COMPONENT_INVALID_DESCRIPTION: { + code: 400, + message: "Error: Invalid Content. %1 description contains non-english characters.", + messageId: "SVC4064" + } + #---------SVC4065------------------------------ + # %1 - Service/Resource/Property + # %2 - max resource/service name length + COMPONENT_DESCRIPTION_EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. %1 description exceeds limit of %2 characters.", + messageId: "SVC4065" + } + #---------SVC4066------------------------------ + # %1 - max length + COMPONENT_TAGS_EXCEED_LIMIT: { + code: 400, + message: "Error: Invalid Content. Tags overall length exceeds limit of %1 characters.", + messageId: "SVC4066" + } + #---------SVC4067------------------------------ + # %1 - max length + VENDOR_NAME_EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. Vendor name exceeds limit of %1 characters.", + messageId: "SVC4067" + } + #---------SVC4068------------------------------ + # %1 - max length + VENDOR_RELEASE_EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. Vendor release exceeds limit of %1 characters.", + messageId: "SVC4068" + } + + #---------SVC4069------------------------------ + # %1 - Service/Resource/Product + COMPONENT_INVALID_CONTACT: { + code: 400, + message: "Error: Invalid Content. %1 Contact Id should be in format 'mnnnnnn' or 'aannna' or 'aannnn', where m=m ,a=a-zA-Z and n=0-9. Max length: 50", + messageId: "SVC4069" + } + #---------SVC4070------------------------------ + # %1 - Service/Resource + INVALID_COMPONENT_NAME: { + code: 400, + message: 'Error: Invalid Content. Value %1 for Component name is invalid. Only alphanumeric characters and regular spaces are allowed.', + messageId: "SVC4070" + } + + #---------SVC4071------------------------------ + INVALID_VENDOR_NAME: { + code: 400, + message: 'Error: Invalid Content. Value %1 for the field Vendor name is invalid. Only alphanumeric characters and regular spaces are allowed.', + messageId: "SVC4071" + } + #---------SVC4072------------------------------ + INVALID_VENDOR_RELEASE: { + code: 400, + message: 'Error: Invalid Content. Value %1 for the field Vendor release is invalid. Only alphanumeric characters and regular spaces are allowed.', + messageId: "SVC4072" + } + #---------SVC4073------------------------------ + # %1 - Service/Resource + # %2 - max resource/service name + COMPONENT_NAME_EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. %1 name exceeds limit of %2 characters.", + messageId: "SVC4073" + } + #---------SVC4080------------------------------ + # %1 - resource/service name + # %2 - resource/service + # %3 - First name of last modifier + # %4 - Last name of last modifier + # %5 - USER_ID of last modifier + COMPONENT_IN_CHECKOUT_STATE: { + code: 403, + message: "Error: Requested '%1' %2 is locked for modification by %3 %4(%5).", + messageId: "SVC4080" + } + #---------SVC4081----------------------------- + # %1 - resource/service name + # %2 - resource/service + # %3 - First name of last modifier + # %4 - Last name of last modifier + # %5 - USER_ID of last modifier + COMPONENT_IN_CERT_IN_PROGRESS_STATE: { + code: 403, + message: "Error: Requested '%1' %2 is locked for certification by %3 %4(%5).", + messageId: "SVC4081" + } + + #-----------SVC4082--------------------------- + # %1 - resource/service name + # %2 - resource/service + # %3 - First name of last modifier + # %4 - Last name of last modifier + # %5 - USER_ID of last modifier + COMPONENT_SENT_FOR_CERTIFICATION: { + code: 403, + message: "Error: Requested '%1' %2 is sent for certification by %3 %4(%5).", + messageId: "SVC4082" + } + #-----------SVC4083--------------------------- + COMPONENT_VERSION_ALREADY_EXIST: { + code: 409, + message: "Error: Version of this %1 was already promoted.", + messageId: "SVC4083" + } + #-----------SVC4084--------------------------- + # %1 - resource/service/product name + # %2 - resource/service/product + # %3 - First name of last modifier + # %4 - Last name of last modifier + # %5 - USER_ID of last modifier + COMPONENT_ALREADY_CHECKED_IN: { + code: 409, + message: "Error: The current version of '%1' %2 was already checked-in by %3 %4(%5).", + messageId: "SVC4084" + } + #-----------SVC4085--------------------------- + # %1 - resource/service/product name + # %2 - resource/service/product + # %3 - First name of last modifier + # %4 - Last name of last modifier + # %5 - USER_ID of last modifier + COMPONENT_CHECKOUT_BY_ANOTHER_USER: { + code: 403, + message: "Error: %1 %2 has already been checked out by %3 %4(%5).", + messageId: "SVC4085" + } + #-----------SVC4086--------------------------- + # %1  - resource/service name + # %2  - resource/service + COMPONENT_IN_USE: { + code: 403, + message: "Error: '%1' %2 is still held by previous action. Please try again later.", + messageId: "SVC4086" + } + #-----------SVC4087--------------------------- + # %1 - component name + # %2 - resource/service/product + COMPONENT_HAS_NEWER_VERSION: { + code: 409, + message: "Error: Checking out of the requested version of the '%1' %2 is not allowed as a newer version exists.", + messageId: "SVC4087" + } + #-----------SVC4088--------------------------- + # %1 - resource/service name + # %2 - resource/service + # %3 - First name of last modifier + # %4 - Last name of last modifier + # %5 - USER_ID of last modifier + COMPONENT_ALREADY_CERTIFIED: { + code: 403, + message: "Error: Requested %1 %2 has already been certified by %3 %4(%5).", + messageId: "SVC4088" + } + #-----------SVC4089--------------------------- + # %1 - resource/service name + # %2 - resource/service + COMPONENT_NOT_READY_FOR_CERTIFICATION: { + code: 403, + message: "Error: Requested '%1' %2 is not ready for certification.", + messageId: "SVC4089" + } + #-----------SVC4100--------------------------- + #%1 - property name + PROPERTY_NOT_FOUND: { + code: 404, + message: "Error: Requested '%1' property was not found.", + messageId: "SVC4100" + } + #-----------SVC4101--------------------------- + #%1 - property name + PROPERTY_ALREADY_EXIST: { + code: 409, + message: "Error: Property with '%1' name already exists.", + messageId: "SVC4101" + } + + #-----------SVC4102--------------------------- + # %1 - capability type name + CAPABILITY_TYPE_ALREADY_EXIST: { + code: 409, + message: "Error: Capability Type with name '%1' already exists.", + messageId: "SVC4102" + } + #-----------SVC4114--------------------------- + AUTH_FAILED_INVALIDE_HEADER: { + code: 400, + message: "Error: Invalid Authorization header.", + messageId: "SVC4114" + } + #-----------SVC4115--------------------------- + # %1 - capability type name + MISSING_CAPABILITY_TYPE: { + code: 400, + message: "Error: Invalid Content. Missing Capability Type '%1'.", + messageId: "SVC4115" + } + RESOURCE_INSTANCE_BAD_REQUEST: { + code: 400, + message: "Error: Invalid Content.", + messageId: "SVC4116" + } + #-----------SVC4117--------------------------- + # %1 - resource instance name + # %2 - resource instance name + # %3 - requirement name + RESOURCE_INSTANCE_MATCH_NOT_FOUND: { + code: 404, + message: "Error: Match not found between resource instance '%1' and resource instance '%2' for requirement '%3'.", + messageId: "SVC4117" + } + #-----------SVC4118--------------------------- + # %1 - resource instance name + # %2 - resource instance name + # %3 - requirement name + RESOURCE_INSTANCE_ALREADY_EXIST: { + code: 409, + message: "Error: Resource instances '%1' and '%2' are already associated with requirement '%3'.", + messageId: "SVC4118" + } + #-----------SVC4119--------------------------- + # %1 - resource instance name + # %2 - resource instance name + # %3 - requirement name + RESOURCE_INSTANCE_RELATION_NOT_FOUND: { + code: 404, + message: "Error: No relation found between resource instances '%1' and '%2' for requirement '%3'.", + messageId: "SVC4119" + } + #-----------SVC4120--------------------------- + # %1 - User's USER_ID + USER_INACTIVE: { + code: 404, + message: "Error: User %1 inactive.", + messageId: "SVC4120" + } + #-----------SVC4121--------------------------- + # %1 - User's USER_ID + USER_HAS_ACTIVE_ELEMENTS: { + code: 403, + message: "Error: User with %1 ID can not be deleted since it has active elements(resources/services/artifacts).", + messageId: "SVC4121" + } + #-----------SVC4122--------------------------- + # %1 - artifact type + ARTIFACT_TYPE_NOT_SUPPORTED: { + code: 400, + message: "Error: Invalid artifact type '%1'.", + messageId: "SVC4122" + } + #-----------SVC4123--------------------------- + ARTIFACT_LOGICAL_NAME_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: Artifact logical name cannot be changed.", + messageId: "SVC4123" + } + #-----------SVC4124--------------------------- + MISSING_ARTIFACT_TYPE: { + code: 400, + message: "Error: Missing artifact type.", + messageId: "SVC4124" + } + #-----------SVC4125--------------------------- + # %1-artifact name + ARTIFACT_EXIST: { + code: 400, + message: "Error: Artifact '%1' already exists.", + messageId: "SVC4125" + } + #---------SVC4126------------------------------ + # %1 - resource/service/product/... + # %2 - field (tag, vendor name...) + INVALID_FIELD_FORMAT: { + code: 400, + message: "Error: Invalid %1 %2 format.", + messageId: "SVC4126" + } + #-----------SVC4127--------------------------- + ARTIFACT_INVALID_MD5: { + code: 400, + message: "Error: Invalid artifact checksum.", + messageId: "SVC4127" + } + #-----------SVC4128--------------------------- + MISSING_ARTIFACT_NAME: { + code: 400, + message: "Error: Invalid content. Missing artifact name.", + messageId: "SVC4128" + } + #-----------SVC4129--------------------------- + MISSING_PROJECT_CODE: { + code: 400, + message: "Error: Invalid Content. Missing PROJECT_CODE number.", + messageId: "SVC4129" + } + #-----------SVC4130--------------------------- + INVALID_PROJECT_CODE: { + code: 400, + message: "Error: Invalid Content. PROJECT_CODE must be from 5 up to 50 characters.", + messageId: "SVC4130" + } + #-----------SVC4131--------------------------- + # %1-resource/service + # %2-srtifact/artifacts + # %3-semicolomn separated list of artifact + COMPONENT_MISSING_MANDATORY_ARTIFACTS: { + code: 403, + message: "Error: Missing mandatory informational %1 %2: [%3].", + messageId: "SVC4131" + } + #-----------SVC4132--------------------------- + # %1 - lifecycle type name + LIFECYCLE_TYPE_ALREADY_EXIST: { + code: 409, + message: "Error: Lifecycle Type with name '%1' already exists.", + messageId: "SVC4132" + } + #-----------SVC4133--------------------------- + # %1 - service version + # %2 - service name + SERVICE_NOT_AVAILABLE_FOR_DISTRIBUTION: { + code: 403, + message: "Error: Version %1 of '%2' service is not available for distribution.", + messageId: "SVC4133" + } + #-----------SVC4134--------------------------- + MISSING_LIFECYCLE_TYPE: { + code: 400, + message: "Error: Invalid Content. Missing interface life-cycle type.", + messageId: "SVC4134" + } + #---------SVC4135------------------------------ + SERVICE_CATEGORY_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: Service category cannot be changed once the service is certified.", + messageId: "SVC4135" + } + #---------SVC4136------------------------------ + # %1 - distribution environment name + DISTRIBUTION_ENVIRONMENT_NOT_AVAILABLE: { + code: 500, + message: "Error: Requested distribution environment '%1' is not available.", + messageId: "SVC4136" + } + #---------SVC4137------------------------------ + # %1 - distribution environment name + DISTRIBUTION_ENVIRONMENT_NOT_FOUND: { + code: 400, + message: "Error: Requested distribution environment '%1' was not found.", + messageId: "SVC4137" + } + #---------SVC4138------------------------------ + DISTRIBUTION_ENVIRONMENT_INVALID: { + code: 400, + message: "Error: Invalid distribution environment.", + messageId: "SVC4138" + } + #---------SVC4200------------------------------ + # %1 - Service/Resource + # %2 - max icon name length + COMPONENT_ICON_EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. %1 icon name exceeds limit of %2 characters.", + messageId: "SVC4200" + } + #---------SVC4300------------------------------ + RESTRICTED_ACCESS: { + code: 403, + message: "Error: Restricted access.", + messageId: "SVC4300" + } + #---------SVC4301------------------------------ + RESTRICTED_OPERATION: { + code: 403, + message: "Error: Restricted operation.", + messageId: "SVC4301" + } + #---------SVC4500------------------------------ + MISSING_BODY: { + code: 400 , + message: "Error: Missing request body.", + messageId: "SVC4500" + } + #---------SVC4501------------------------------ + MISSING_PUBLIC_KEY: { + code: 400 , + message: "Error: Invalid Content. Missing mandatory parameter 'apiPublicKey'." , + messageId: "SVC4501" + } + #---------SVC4502------------------------------ + DISTRIBUTION_ENV_DOES_NOT_EXIST: { + code: 400 , + message: "Error: Invalid Body : Missing mandatory parameter 'distrEnvName'." , + messageId: "SVC4502" + } + #-----------SVC4503--------------------------- + # %1 - service name + SERVICE_NOT_FOUND: { + code: 404, + message: "Error: Requested '%1' service was not found.", + messageId: "SVC4503" + } + + #---------SVC4504------------------------------ + # %1 - Service/Resource + # %2 - service/resource version + COMPONENT_VERSION_NOT_FOUND: { + code: 404, + message: "Error: %1 version %2 was not found.", + messageId: "SVC4504" + } + #-----------SVC4505--------------------------- + #%1-artifact name + + ARTIFACT_NOT_FOUND: { + code: 404, + message: "Error: Artifact '%1' was not found.", + messageId: "SVC4505" + } + #---------SVC4506------------------------------ + MISSING_ENV_NAME: { + code: 400 , + message: "Error: Invalid Content. Missing mandatory parameter 'distrEnvName'.", + messageId: "SVC4506" + } + #---------SVC4507------------------------------ + COMPONENT_INVALID_TAGS_NO_COMP_NAME: { + code: 400, + message: "Error: Invalid Content. One of the tags should be the component name.", + messageId: "SVC4507" + } + + #---------SVC4508------------------------------ + SERVICE_NAME_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: Service name cannot be changed once the service is certified.", + messageId: "SVC4508" + } + + #---------SVC4509------------------------------ + SERVICE_ICON_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: Icon cannot be changed once the service is certified.", + messageId: "SVC4509" + } + #---------SVC4510------------------------------ + # %1 - icon name max length + SERVICE_ICON_EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. Icon name exceeds limit of %1 characters.", + messageId: "SVC4510" + } + #---------SVC4511------------------------------ + DISTRIBUTION_REQUESTED_NOT_FOUND: { + code: 404, + message: "Error: Requested distribution was not found.", + messageId: "SVC4511" + } + #---------SVC4512------------------------------ + # %1 - Distribution ID + DISTRIBUTION_REQUESTED_FAILED: { + code: 403, + message: "Error: Requested distribution '%1' failed.", + messageId: "SVC4512" + } + #---------SVC4513------------------------------ + RESOURCE_CATEGORY_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: Resource category cannot be changed once the resource is certified.", + messageId: "SVC4513" + } + #---------SVC4514------------------------------ + RESOURCE_NAME_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: Resource name cannot be changed once the resource is certified.", + messageId: "SVC4514" + } + #---------SVC4515------------------------------ + RESOURCE_ICON_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: Icon cannot be changed once the resource is certified.", + messageId: "SVC4515" + } + #---------SVC4516------------------------------ + RESOURCE_VENDOR_NAME_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: Vendor name cannot be changed once the resource is certified.", + messageId: "SVC4516" + } + #---------SVC4517------------------------------ + RESOURCE_DERIVED_FROM_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: Derived from resource template cannot be changed once the resource is certified.", + messageId: "SVC4517" + } + #---------SVC4518------------------------------ + # %1 - max length + COMPONENT_SINGLE_TAG_EXCEED_LIMIT: { + code: 400, + message: "Error: Invalid Content. Single tag exceeds limit of %1 characters.", + messageId: "SVC4518" + } + #---------SVC4519------------------------------ + INVALID_DEFAULT_VALUE: { + code: 400, + message: "Error: mismatch in data-type occurred for property %1. data type is %2 and default value found is %3.", + messageId: "SVC4519" + } + #---------SVC4520------------------------------ + # %1 - service or resource + ADDITIONAL_INFORMATION_MAX_NUMBER_REACHED: { + code: 409, + message: "Error: Maximal number of additional %1 parameters was reached.", + messageId: "SVC4520" + } + #---------SVC4521------------------------------ + ADDITIONAL_INFORMATION_EMPTY_STRING_NOT_ALLOWED: { + code: 400, + message: "Error: Invalid Content. The Additional information label and value cannot be empty.", + messageId: "SVC4521" + } + #---------SVC4522------------------------------ + # %1 - label/value + # %2 - Maximal length of %1 + ADDITIONAL_INFORMATION_EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. Additional information %1 exceeds limit of %2 characters.", + messageId: "SVC4522" + } + #---------SVC4523------------------------------ + ADDITIONAL_INFORMATION_KEY_NOT_ALLOWED_CHARACTERS: { + code: 400, + message: 'Error: Invalid Content. Additional information label is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.', + messageId: "SVC4523" + } + #---------SVC4524------------------------------ + ADDITIONAL_INFORMATION_NOT_FOUND: { + code: 409, + message: "Error: Requested additional information was not found.", + messageId: "SVC4524" + } + #---------SVC4525------------------------------ + ADDITIONAL_INFORMATION_VALUE_NOT_ALLOWED_CHARACTERS: { + code: 400, + message: 'Error: Invalid Content. Additional information contains non-english characters.', + messageId: "SVC4525" + } + #---------SVC4526------------------------------ + RESOURCE_INSTANCE_NOT_FOUND: { + code: 404, + message: "Error: Requested '%1' resource instance was not found.", + messageId: "SVC4526" + } + #---------SVC4527------------------------------ + ASDC_VERSION_NOT_FOUND: { + code: 500, + message: 'Error: ASDC version cannot be displayed.', + messageId: "SVC4527" + } + #---------SVC4528------------------------------ + # %1-artifact url/artifact label/artifact description/VNF Service Indicator + MISSING_DATA: { + code: 400, + message: "Error: Invalid content. Missing %1.", + messageId: "SVC4528" + } + #---------SVC4529------------------------------ + # %1-artifact url/artifact label/artifact description/artifact name + # %2 - Maximal length of %1 + EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. %1 exceeds limit of %2 characters.", + messageId: "SVC4529" + } + #---------SVC4530------------------------------ + ARTIFACT_INVALID_TIMEOUT: { + code: 400, + message: "Error: Invalid Content. Artifact Timeout should be set to valid positive non-zero number of minutes.", + messageId: "SVC4530" + } + #---------SVC4531------------------------------ + SERVICE_IS_VNF_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: VNF Indicator cannot be updated for certified service.", + messageId: "SVC4531" + } + #---------SVC4532------------------------------ + RESOURCE_INSTANCE_NOT_FOUND_ON_SERVICE: { + code: 404, + message: "Error: Requested '%1' resource instance was not found on the service '%2.", + messageId: "SVC4532" + } + #---------SVC4533------------------------------ + # %1 - "HEAT"/"HEAT_ENV"/"MURANO_PKG"/"YANG_XML" + WRONG_ARTIFACT_FILE_EXTENSION: { + code: 400, + message: "Error: Invalid file extension for %1 artifact type.", + messageId: "SVC4533" + } + + #---------SVC4534------------------------------ + # %1 - "HEAT"/"HEAT_ENV" + INVALID_YAML: { + code: 400, + message: "Error: Uploaded YAML file for %1 artifact is invalid.", + messageId: "SVC4534" + } + + #---------SVC4535------------------------------ + # %1 - "HEAT" + INVALID_DEPLOYMENT_ARTIFACT_HEAT: { + code: 400, + message: "Error: Invalid %1 artifact.", + messageId: "SVC4535" + } + #---------SVC4536------------------------------ + # %1 - "Resource"/"Service" + # %2 - resource/service name + # %3 - "HEAT"/"HEAT_ENV"/"MURANO_PKG" + # %4 - "HEAT"/"HEAT_ENV"/"MURANO_PKG + DEPLOYMENT_ARTIFACT_OF_TYPE_ALREADY_EXISTS: { + code: 400, + message: "Error: %1 '%2' already has a deployment artifact of %3 type .Please delete or update an existing %4 artifact.", + messageId: "SVC4536" + } + + #---------SVC4537------------------------------ + MISSING_HEAT: { + code: 400, + message: "Error: Missing HEAT artifact. HEAT_ENV artifact cannot be uploaded without corresponding HEAT template.", + messageId: "SVC4537" + } + #---------SVC4538------------------------------ + MISMATCH_HEAT_VS_HEAT_ENV: { + code: 400, + message: "Error: Invalid artifact content. Parameter's set in HEAT_ENV '%1' artifact doesn't match the parameters in HEAT '%2' artifact.", + messageId: "SVC4538" + } + #---------SVC4539------------------------------ + INVALID_RESOURCE_PAYLOAD: { + code: 400, + message: "Error: Invalid resource payload.", + messageId: "SVC4539" + } + #---------SVC4540------------------------------ + INVALID_TOSCA_FILE_EXTENSION: { + code: 400, + message: "Error: Invalid file extension for TOSCA template.", + messageId: "SVC4540" + } + #---------SVC4541------------------------------ + INVALID_YAML_FILE: { + code: 400, + message: "Error: Invalid YAML file.", + messageId: "SVC4541" + } + #---------SVC4542------------------------------ + INVALID_TOSCA_TEMPLATE: { + code: 400, + message: "Error: Invalid TOSCA template.", + messageId: "SVC4542" + } + #---------SVC4543------------------------------ + NOT_RESOURCE_TOSCA_TEMPLATE: { + code: 400, + message: "Error: Imported Service TOSCA template.", + messageId: "SVC4543" + } + #---------SVC4544------------------------------ + NOT_SINGLE_RESOURCE: { + code: 400, + message: "Error: Imported TOSCA template should contain one resource definition.", + messageId: "SVC4544" + } + #---------SVC4545------------------------------ + INVALID_RESOURCE_NAMESPACE: { + code: 400, + message: "Error: Invalid resource namespace.", + messageId: "SVC4545" + } + #---------SVC4546------------------------------ + RESOURCE_ALREADY_EXISTS: { + code: 400, + message: "Error: Imported resource already exists in ASDC Catalog.", + messageId: "SVC4546" + } + #---------SVC4549------------------------------ + INVALID_RESOURCE_CHECKSUM: { + code: 400, + message: "Error: Invalid resource checksum.", + messageId: "SVC4549" + } + #---------SVC4551------------------------------ + # %1  -  ECOMP User name + ECOMP_USER_NOT_FOUND: { + code: 404, + message: "Error: ECOMP User '%1' was not found.", + messageId: "SVC4551" + } + #---------SVC4554------------------------------ + # %1 - Artifact Id + # %2 - "Resource"/"Service" + COMPONENT_ARTIFACT_NOT_FOUND: { + code: 404, + message: "Error: Requested artifact %1 doesn't belong to specified %2.", + messageId: "SVC4554" + } + #---------SVC4554------------------------------ + # %1 - "Service name" + SERVICE_DEPLOYMENT_ARTIFACT_NOT_FOUND: { + code: 403, + message: "Error: Requested '%1' service is not ready for certification. Service has to have at least one deployment artifact.", + messageId: "SVC4554" + } + #---------SVC4555------------------------------ + # %1 - "Resource"/"Service"/"Product" + # %2 - "category" + COMPONENT_ELEMENT_INVALID_NAME_LENGTH: { + code: 400, + message: "Error: Invalid %1 %2 name length.", + messageId: "SVC4555" + } + #---------SVC4556------------------------------ + # %1 - "Resource"/"Service"/"Product" + # %2 - "category" + COMPONENT_ELEMENT_INVALID_NAME_FORMAT: { + code: 400, + message: "Error: Invalid %1 %2 name format.", + messageId: "SVC4556" + } + #---------SVC4557------------------------------ + # %1 - "Resource"/"Service"/"Product" + # %2 - "category name" + COMPONENT_CATEGORY_ALREADY_EXISTS: { + code: 409, + message: "Error: %1 category name '%2' already exists.", + messageId: "SVC4557" + } + #---------SVC4558------------------------------ + # %1 - "service"/"VF" + # %2 - "Resource name" + VALIDATED_RESOURCE_NOT_FOUND: { + code: 403, + message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource.", + messageId: "SVC4558" + } + #---------SVC4559------------------------------ + # %1 - "service"/"VF" + # %2 - "Resource name" + FOUND_ALREADY_VALIDATED_RESOURCE: { + code: 403, + message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource. Please use already available validated resource version.", + messageId: "SVC4559" + } + #---------SVC4560------------------------------ + # %1 - "service"/"VF" + # %2 - "Resource name" + FOUND_LIST_VALIDATED_RESOURCES: { + code: 403, + message: "Error: Submit for Testing is not permitted as your '%1' includes non-validated '%2' resource. Please use one of available validated resource versions.", + messageId: "SVC4560" + } + #---------SVC4561------------------------------ + # %1 - "resource"/"product" + # %2 - "category" + # %3 - "category name" + COMPONENT_CATEGORY_NOT_FOUND: { + code: 404, + message: "Error: Requested %1 %2 '%3' was not found.", + messageId: "SVC4561" + } + #---------SVC4562------------------------------ + # %1 - "Resource"/"Product" + # %2 - "sub-category name" + # %3 - "category name" + COMPONENT_SUB_CATEGORY_EXISTS_FOR_CATEGORY: { + code: 409, + message: "Error: %1 sub-category '%2' already exists under '%3' category.", + messageId: "SVC4562" + } + #---------SVC4563------------------------------ + # %1 - "Product" + # %2 - "grouping name" + # %3 - "sub-category name" + COMPONENT_GROUPING_EXISTS_FOR_SUB_CATEGORY: { + code: 409, + message: "Error: %1 grouping '%2' already exists under '%3' sub-category.", + messageId: "SVC4563" + } + #---------SVC4564------------------------------ + # %1 - product name + PRODUCT_NOT_FOUND: { + code: 404, + message: "Error: Requested '%1' product was not found.", + messageId: "SVC4564" + } + #---------SVC4565------------------------------ + # %1 - "HEAT" + # %2 - parameter type ("string" , "boolean" , "number") + # %3 - parameter name + INVALID_HEAT_PARAMETER_VALUE: { + code: 400, + message: "Error: Invalid %1 artifact. Invalid %2 value set for '%3' parameter.", + messageId: "SVC4565" + } + #---------SVC4566------------------------------ + # %1 - "HEAT" + # %2 - parameter type ("string" , "boolean" , "number") + INVALID_HEAT_PARAMETER_TYPE: { + code: 400, + message: "Error: Invalid %1 artifact. Unsupported '%2' parameter type.", + messageId: "SVC4566" + } + #---------SVC4567------------------------------ + # %1 - "YANG_XML" + INVALID_XML: { + code: 400, + message: "Error: Uploaded XML file for %1 artifact is invalid.", + messageId: "SVC4567" + } + #---------SVC4569------------------------------ + # %1 - "User Name and UserId" + # %2 -"component names ot IDs" + CANNOT_DELETE_USER_WITH_ACTIVE_ELEMENTS: { + code: 412, + message: "Error: User cannot be deleted. User '%1' has projects that cannot be committed: %2.", + messageId: "SVC4569" + } + #---------SVC4568------------------------------ + # %1 - "User Name and UserId" + # %2 -"checked-out"/"in-certification" + CANNOT_UPDATE_USER_WITH_ACTIVE_ELEMENTS: { + code: 409, + message: "Error: Role cannot be changed. User '%1' has %2 projects.", + messageId: "SVC4568" + } + #---------SVC4570------------------------------ + UPDATE_USER_ADMIN_CONFLICT: { + code: 409, + message: "Error: An administrator is not allowed to change his/her role.", + messageId: "SVC4570" + } + #---------SVC4571------------------------------ + SERVICE_CANNOT_CONTAIN_SUBCATEGORY: { + code: 400, + message: "Error: Sub category cannot be defined for service", + messageId: "SVC4571" + } + #---------SVC4572------------------------------ + # %1 - "Resource"/"Service" + COMPONENT_TOO_MUCH_CATEGORIES: { + code: 400, + message: "Error: %1 must have only 1 category", + messageId: "SVC4572" + } + #---------SVC4574------------------------------ + RESOURCE_TOO_MUCH_SUBCATEGORIES: { + code: 400, + message: "Error: Resource must have only 1 sub category", + messageId: "SVC4574" + } + #---------SVC4575------------------------------ + COMPONENT_MISSING_SUBCATEGORY: { + code: 400, + message: "Error: Missing sub category", + messageId: "SVC4575" + } + #---------SVC4576------------------------------ + # %1 - "component type" + UNSUPPORTED_ERROR: { + code: 400, + message: "Error : Requested component type %1 is unsupported.", + messageId: "SVC4576" + } + #---------SVC4577------------------------------ + # %1 - "resource type" + RESOURCE_CANNOT_CONTAIN_RESOURCE_INSTANCES: { + code: 409, + message: "Error : Resource of type %1 cannot contain resource instances.", + messageId: "SVC4577" + } + #---------SVC4578------------------------------ + # %1 - "Resource"/"Service" + # %2 - resource/service name + # %3 - "artifact name" + DEPLOYMENT_ARTIFACT_NAME_ALREADY_EXISTS: { + code: 400, + message: "Error: %1 '%2' already has a deployment artifact named '%3'.", + messageId: "SVC4578" + } + #---------SVC4579------------------------------ + # %1 - "Category"/"Sub-Category"/"Group" + # %2 - category/sub-category/grouping name. + INVALID_GROUP_ASSOCIATION: { + code: 400, + message: "Error: Invalid group association. %1 '%2' was not found.", + messageId: "SVC4579" + } + #---------SVC4580------------------------------ + EMPTY_PRODUCT_CONTACTS_LIST: { + code: 400, + message: "Error: Invalid content. At least one Product Contact has to be specified.", + messageId: "SVC4580" + } + #---------SVC4581------------------------------ + # %1 - UserId + INVALID_PRODUCT_CONTACT: { + code: 400, + message: "Error: Invalid content. User '%1' cannot be set as Product Contact.", + messageId: "SVC4581" + } + #---------SVC4582------------------------------ + # %1 - Product + # %2 - "abbreviated"/"full" + MISSING_ONE_OF_COMPONENT_NAMES: { + code: 400, + message: "Error: Invalid content. Missing %1 %2 name.", + messageId: "SVC4582" + } + #---------SVC4583------------------------------ + # %1 - "Icon" + # %2 - "resource"/"service"/"product" + COMPONENT_PARAMETER_CANNOT_BE_CHANGED: { + code: 400, + message: "Error: %1 cannot be changed once the %2 is certified.", + messageId: "SVC4583" + } + #---------SVC4584------------------------------ + # %1 - service/VF name + # %2 - "service" /"VF" + # %3 - resource instance origin type + # %4 - resource instance name + # %5 - requirement/capability + # %6 - requirement/capability name + # %7 - "fulfilled" (for req)/"consumed (for cap)" + REQ_CAP_NOT_SATISFIED_BEFORE_CERTIFICATION: { + code: 403, + message: "Error: Requested '%1' %2 is not ready for certification. %3 '%4' has to have %5 '%6' %7.", + messageId: "SVC4584" + } + #---------SVC4585------------------------------ + INVALID_OCCURRENCES: { + code: 400, + message: "Error: Invalid occurrences format.", + messageId: "SVC4585" + } + #---------SVC4586------------------------------ + #---------SVC4586------------------------------ + INVALID_SERVICE_API_URL: { + code: 400, + message: 'Error: Invalid Service API URL. Please check whether your URL has a valid domain extension and does not contain the following characters - #?&@%+;,=$<>~^`\[]{}|"*!', + messageId: "SVC4586" + } + #---------SVC4587------------------------------ + # %1 - Data type name + DATA_TYPE_ALREADY_EXIST: { + code: 409, + message: 'Error: Data type %1 already exists.', + messageId: "SVC4587" + } + #---------SVC4588------------------------------ + # %1 - Data type name + DATA_TYPE_NOR_PROPERTIES_NEITHER_DERIVED_FROM: { + code: 400, + message: 'Error: Invalid Data type %1. Data type must have either a valid derived from declaration or at least one valid property', + messageId: "SVC4588" + } + #---------SVC4589------------------------------ + # %1 - Data type name + DATA_TYPE_PROPERTIES_CANNOT_BE_EMPTY: { + code: 400, + message: "Error: Invalid Data type %1. 'properties' parameter cannot be empty if provided.", + messageId: "SVC4589" + } + #---------SVC4590------------------------------ + # %1 - Property type name + # %2 - Property name + INVALID_PROPERTY_TYPE: { + code: 400, + message: "Error: Invalid Property type %1 in property %2.", + messageId: "SVC4590" + } + #---------SVC4591------------------------------ + # %1 - Property inner type + # %2 - Property name + INVALID_PROPERTY_INNER_TYPE: { + code: 400, + message: "Error: Invalid property inner type %1, in property %2", + messageId: "SVC4591" + } + #---------SVC4592------------------------------ + # %1 - component instance name + # %2 - "resource instance"/"service instance" + COMPONENT_INSTANCE_NOT_FOUND: { + code: 404, + message: "Error: Requested '%1' %2 was not found.", + messageId: "SVC4592" + } + #---------SVC4593------------------------------ + # %1 - component instance name + # %2 - "resource instance"/"service instance" + # %3 - "resource/"service"/"product" + # %4 - container name + COMPONENT_INSTANCE_NOT_FOUND_ON_CONTAINER: { + code: 404, + message: "Error: Requested '%1' %2 was not found on the %3 '%4'.", + messageId: "SVC4593" + } + #---------SVC4594------------------------------ + #%1 - requirement / capability + #%2 - requirement name + IMPORT_DUPLICATE_REQ_CAP_NAME: { + code: 400, + message: "Error: Imported TOSCA template contains more than one %1 named '%2'.", + messageId: "SVC4594" + } + #---------SVC4595------------------------------ + #%1 - requirement / capability + #%2 - requirement name + #%3 - parent containing the requirement + IMPORT_REQ_CAP_NAME_EXISTS_IN_DERIVED: { + code: 400, + message: "Error: Imported TOSCA template contains %1 '%2' that is already defined by derived template %3.", + messageId: "SVC4595" + } + #---------SVC4596------------------------------ + # %1 - Data type name + DATA_TYPE_DERIVED_IS_MISSING: { + code: 400, + message: "Error: Invalid Content. The ancestor data type %1 cannot be found in the system.", + messageId: "SVC4596" + } + #---------SVC4597------------------------------ + # %1 - Data type name + # %2 - Property names + DATA_TYPE_PROPERTY_ALREADY_DEFINED_IN_ANCESTOR: { + code: 400, + message: "Error: Invalid Content. The data type %1 contains properties named %2 which are already defined in one of its ancestors.", + messageId: "SVC4597" + } + #---------SVC4598------------------------------ + # %1 - Data type name + DATA_TYPE_DUPLICATE_PROPERTY: { + code: 400, + message: "Error: Invalid Content. The data type %1 contains duplicate property.", + messageId: "SVC4598" + } + #---------SVC4599------------------------------ + # %1 - Data type name + # %2 - Property names + DATA_TYPE_PROEPRTY_CANNOT_HAVE_SAME_TYPE_OF_DATA_TYPE: { + code: 400, + message: "Error: Invalid Content. The data type %1 contains properties %2 which their type is this data type.", + messageId: "SVC4599" + } + #---------SVC4600------------------------------ + # %1 - Data type name + DATA_TYPE_CANNOT_HAVE_PROPERTIES: { + code: 400, + message: "Error: Invalid Content. The data type %1 cannot have properties since it is of type scalar", + messageId: "SVC4600" + } + #---------SVC4601------------------------------ + NOT_TOPOLOGY_TOSCA_TEMPLATE: { + code: 400, + message: "Error: TOSCA yaml file %1 cannot be modeled to VF as it does not contain 'topology_template.", + messageId: "SVC4601" + } + #---------SVC4602-------------------------------- + # %1 - yaml file name + # %2 - node_template label + # %3 - node_template type + INVALID_NODE_TEMPLATE: { + code: 400, + message: "Error: TOSCA yaml file '%1' contains node_template '%2' of type '%3' that does not represent existing VFC/CP/VL", + messageId: "SVC4602" + } + #---------SVC4603------------------------------ + # %1 - component type + # %2 - component name + # %3 - state + ILLEGAL_COMPONENT_STATE: { + code: 403, + message: "Error: Action is not allowed on %1 '%2' because it is in an illegal state %3.", + messageId: "SVC4603" + } + #---------SVC4604------------------------------ + # %1 - csar file name + CSAR_INVALID: { + code: 400, + message: "Error: TOSCA CSAR '%1' is invalid. 'TOSCA-Metadata/Tosca.meta' file must be provided.", + messageId: "SVC4604" + } + #---------SVC4605------------------------------ + # %1 - csar file name + CSAR_INVALID_FORMAT: { + code: 400, + message: "Error: TOSCA CSAR '%1' is invalid. Invalid 'TOSCA-Metadata/Tosca.meta' file format.", + messageId: "SVC4605" + } + #---------SVC4606------------------------------ + # %1 - property name + # %2 - property type + # %3 - property innerType + # %4 - default value is + INVALID_COMPLEX_DEFAULT_VALUE: { + code: 400, + message: "Error: Invalid default value of property %1. Data type is %2 with inner type %3 and default value found is %4.", + messageId: "SVC4606" + } + #---------SVC4607------------------------------ + # %1 - csar file name + CSAR_NOT_FOUND: { + code: 400, + message: "Error: TOSCA CSAR '%1' is not found.", + messageId: "SVC4607" + } + #---------SVC4608------------------------------ + # %1 - artifact name + # %2 - component type + # %3 - actual component type + MISMATCH_BETWEEN_ARTIFACT_TYPE_AND_COMPONENT_TYPE: { + code: 400, + message: "Error: Artifact %1 is only compatible with component of type %2, but component type is %3.", + messageId: "SVC4608" + } + + #---------SVC4609------------------------------ + # %1 - "INVALID_JSON" + INVALID_JSON: { + code: 400, + message: "Error: Uploaded JSON file for %1 artifact is invalid.", + messageId: "SVC4609" + } + #---------SVC4610------------------------------ + # %1 - csar file name + # %2 - missing file name + YAML_NOT_FOUND_IN_CSAR: { + code: 400, + message: "Error - TOSCA CSAR %1 is invalid. TOSCA-Metadata/Tosca.meta refers to file %2 that is not provided.", + messageId: "SVC4610" + } + #---------SVC4611------------------------------ + # %1 - group name + GROUP_MEMBER_EMPTY: { + code: 400, + message: "Error: Invalid Content. Group %1 member list was provided but does not have values", + messageId: "SVC4611" + } + #---------SVC4612------------------------------ + # %1 - group name + GROUP_TYPE_ALREADY_EXIST: { + code: 409, + message: 'Error: Group type %1 already exists.', + messageId: "SVC4612" + } + #---------SVC4613------------------------------ + # %1 - group name + # %2 - VF name(component name) + # %3 - actual component type [VF] + GROUP_ALREADY_EXIST: { + code: 409, + message: "Error: Group with name '%1' already exists in %2 %3.", + messageId: "SVC4613" + } + #---------SVC4614------------------------------ + # %1 - group type + GROUP_TYPE_IS_INVALID: { + code: 400, + message: "Error: Invalid content. Group type %1 does not exist", + messageId: "SVC4614" + } + #---------SVC4615------------------------------ + # %1 - group name + GROUP_MISSING_GROUP_TYPE: { + code: 400, + message: "Error: Invalid Content. Missing Group Type for group '%1'", + messageId: "SVC4615" + } + #---------SVC4616------------------------------ + # %1 - member name + # %2 - group name + # %3 - VF name + # %4 - component type [VF ] + GROUP_INVALID_COMPONENT_INSTANCE: { + code: 400, + message: "Error: Member '%1' listed in group '%2' is not part of '%3' %4.", + messageId: "SVC4616" + } + #---------SVC4617------------------------------ + # %1 - member name + # %2 - group name + # %3 - group type + GROUP_INVALID_TOSCA_NAME_OF_COMPONENT_INSTANCE: { + code: 400, + message: "Error: member %1 listed in group %2 is not part of allowed members of group type %3.", + messageId: "SVC4617" + } + #---------SVC4618------------------------------ + # %1 - missing file name + # %2 - csar file name + ARTIFACT_NOT_FOUND_IN_CSAR: { + code: 400, + message: "Error: artifact %1 is defined in CSAR %2 manifest but is not provided", + messageId: "SVC4618" + } +#---------SVC4619------------------------------ +# %1 - artifact name +# %2 - artifact type +# %3 - existing artifact type + ARTIFACT_ALREADY_EXIST_IN_DIFFERENT_TYPE_IN_CSAR: { + code: 400, + message: "Error: artifact %1 in type %2 already exists in type %3.", + messageId: "SVC4619" + } + #---------SVC4620------------------------------ + FAILED_RETRIVE_ARTIFACTS_TYPES: { + code: 400, + message: "Error: Failed to retrieve list of suported artifact types.", + messageId: "SVC4620" + } + #---------SVC4621------------------------------ + # %1 - artifact name + # %2 - master + ARTIFACT_ALRADY_EXIST_IN_MASTER_IN_CSAR: { + code: 400, + message: "Error: artifact %1 already exists in master %2 .", + messageId: "SVC4621" + } + #---------SVC4622------------------------------ + # %1 - artifact name + # %2 - artifact type + # %3 - master name + # %4 - master type + ARTIFACT_NOT_VALID_IN_MASTER: { + code: 400, + message: "Error: artifact %1 in type %2 can not be exists under master %3 in type %4.", + messageId: "SVC4622" + } + #---------SVC4623------------------------------ + # %1 - artifact name + # %2 - artifact type + # %3 - env name + # %4 - existing env + ARTIFACT_NOT_VALID_ENV: { + code: 400, + message: "Error: Artifact %1 in type %2 with env %3 already exists with another env %4", + messageId: "SVC4623" + } + #---------SVC4624------------------------------ + # %1 - groups names + # %2 - VF name + # %3 - component type [VF ] + GROUP_IS_MISSING: { + code: 400, + message: "Error: Invalid Content. The groups '%1' cannot be found under %2 %3.", + messageId: "SVC4624" + } + #---------SVC4625------------------------------ + # %1 - groups name + GROUP_ARTIFACT_ALREADY_ASSOCIATED: { + code: 400, + message: "Error: Invalid Content. Artifact already associated to group '%1'.", + messageId: "SVC4625" + } + #---------SVC4626------------------------------ + # %1 - groups name + GROUP_ARTIFACT_ALREADY_DISSOCIATED: { + code: 400, + message: "Error: Invalid Content. Artifact already dissociated from group '%1'.", + messageId: "SVC4626" + } + #---------SVC4627------------------------------ + # %1 - property name + # %2 - group name + # %3 - group type name + GROUP_PROPERTY_NOT_FOUND: { + code: 400, + message: "Error: property %1 listed in group %2 is not exist in group type %3.", + messageId: "SVC4627" + } + #---------SVC4628------------------------------ + # %1 - csarUUID + # %2 - VF name + VSP_ALREADY_EXISTS: { + code: 400, + message: "Error: The VSP with UUID %1 was already imported for VF %2. Please select another or update the existing VF.", + messageId: "SVC4628" + } + #---------SVC4629------------------------------ + # %1 - VF name + MISSING_CSAR_UUID: { + code: 400, + message: "Error: The Csar UUID or payload name is missing for VF %1.", + messageId: "SVC4629" + } + #---------SVC4630------------------------------ + # %1 - VF name + # %2 - new csarUUID + # %3 - old csarUUID + RESOURCE_LINKED_TO_DIFFERENT_VSP: { + code: 400, + message: "Error: Resource %1 cannot be updated using CsarUUID %2 since the resource is linked to a different VSP with csarUUID %3.", + messageId: "SVC4630" + } + #---------SVC4631------------------------------ + # %1 - policy name + POLICY_TYPE_ALREADY_EXIST: { + code: 409, + message: "Error: Policy type %1 already exists.", + messageId: "SVC4631" + } + #---------SVC4632------------------------------ + # %1 - target name + # %2 - policy type name + TARGETS_NON_VALID: { + code: 400, + message: "Error: target %1 listed in policy type %2 is not a group or resource.", + messageId: "SVC4632" + } + #---------SVC4633------------------------------ + # %1 - policy name + TARGETS_EMPTY: { + code: 400, + message: "Error: Invalid Content. Policy %1 target list was provided but does not have values", + messageId: "SVC4633" + } + #---------SVC4634------------------------------ + DATA_TYPE_CANNOT_BE_EMPTY: { + code: 500, + message: "Error: Data types are empty. Please import the data types.", + messageId: "SVC4634" + } + #---------SVC4635------------------------------ + # %1 - csar uuid + RESOURCE_FROM_CSAR_NOT_FOUND: { + code: 400, + message: "Error: resource from csar uuid %1 not found", + messageId: "SVC4635" + } + #---------SVC4636------------------------------ + # %1 - Data type name + DATA_TYPE_CANNOT_BE_UPDATED_BAD_REQUEST: { + code: 400, + message: 'Error: Data type %1 cannot be upgraded. The new data type does not contain old properties or the type of one of the properties has been changed.', + messageId: "SVC4636" + } + #-----------SVC4637--------------------------- + #%1 - attribute name + ATTRIBUTE_NOT_FOUND: { + code: 404, + message: "Error: Requested '%1' attribute was not found.", + messageId: "SVC4637" + } + #-----------SVC4638--------------------------- + #%1 - attribute name + ATTRIBUTE_ALREADY_EXIST: { + code: 409, + message: "Error: Attribute with '%1' name already exists.", + messageId: "SVC4638" + } + #-----------SVC4639--------------------------- + #%1 - property name + PROPERTY_NAME_ALREADY_EXISTS: { + code: 409, + message: "Error: Property with '%1' name and different type already exists.", + messageId: "SVC4639" + } + #-----------SVC4640--------------------------- + #%1 - property name + INVALID_PROPERTY: { + code: 409, + message: "Error: Invalid property received.", + messageId: "SVC4640" + } + #---------SVC4641----------------------------- + #%1 - invalid filter + #%2 - valid filters + INVALID_FILTER_KEY: { + code: 400, + message: "Error: The filter %1 is not applicable. Please use one of the following filters: %2", + messageId: "SVC4641" + } + #---------SVC4642----------------------------- + #%1 - asset type + #%2 - filter + NO_ASSETS_FOUND: { + code: 404, + message: "No %1 were found to match criteria %2", + messageId: "SVC4642" + } + #---------SVC4643------------------------------ + # %1 - "Resource"/"Product" + # %2 - "sub-category name" + # %3 - "category name" + COMPONENT_SUB_CATEGORY_NOT_FOUND_FOR_CATEGORY: { + code: 404, + message: "Error: %1 sub-category '%2' not found under category '%3'.", + messageId: "SVC4643" + } + #---------SVC4644------------------------------ + # %1 - Format + CORRUPTED_FORMAT: { + code: 400, + message: "Error: %1 format is corrupted.", + messageId: "SVC4644" + } + #---------SVC4645------------------------------ + # %1 - "groupType" + INVALID_VF_MODULE_TYPE: { + code: 400, + message: "Error: Invalid group type '%1' (should be VfModule).", + messageId: "SVC4645" + } + #---------SVC4646------------------------------ + # %1 - "groupName" + INVALID_VF_MODULE_NAME: { + code: 400, + message: "Error: Invalid Content. Group name '%1' contains invalid characters", + messageId: "SVC4646" + } + + #---------SVC4647------------------------------ + # %1 - "modifiedName" + INVALID_VF_MODULE_NAME_MODIFICATION: { + code: 400, + message: "Error: Invalid VF Module name modification, can not modify '%1'", + messageId: "SVC4647" + } + #---------SVC4648------------------------------ + # %1 - "inputId" + # %2 - "componentId" + INPUT_IS_NOT_CHILD_OF_COMPONENT: { + code: 400, + message: "Error: Input id: '%1' is not child of component id: '%2'", + messageId: "SVC4648" + } + #---------SVC4649------------------------------ + # %1 - "groupName" + GROUP_HAS_CYCLIC_DEPENDENCY: { + code: 400, + message: "Error: The group '%1' has cyclic dependency", + messageId: "SVC4649" + } + #---------SVC4650------------------------------ + # %1 - "Component Type" + # %2 -  + # %3 - error description + AAI_ARTIFACT_GENERATION_FAILED: { + code: 500, + message: "Error: %1 %2 automatic generation of artifacts failed. Description: %3", + messageId: "SVC4650" + } + #---------SVC4651------------------------------ + PARENT_RESOURCE_DOES_NOT_EXTEND: { + code: 400, + message: "Error: Once resource is certified, derived_from can be changed only to a sibling", + messageId: "SVC4651" + } + #---------SVC4652------------------------------ + # %1 - resource/service + COMPONENT_INVALID_SUBCATEGORY: { + code: 400, + message: "Error: Invalid Content. Invalid %1 sub category.", + messageId: "SVC4652" + } + #---------SVC4653------------------------------ + # %1 - group instance uniqueId + # %2 - service uniqueId + GROUP_INSTANCE_NOT_FOUND_ON_COMPONENT_INSTANCE: { + code: 404, + message: "Error: Requested group instance %1 was not found on component %2.", + messageId: "SVC4653" + } + #---------SVC4654------------------------------ + # %1 - group property name + # %2 - valid min limit value + # %3 - valid max limit value + INVALID_GROUP_MIN_MAX_INSTANCES_PROPERTY_VALUE: { + code: 400, + message: "Error: Value of %1 must be not higher than %2, and not lower than %3.", + messageId: "SVC4654" + } + #---------SVC4655------------------------------ + # %1 - group property name + # %2 - valid min limit value + # %3 - valid max limit value + INVALID_GROUP_INITIAL_COUNT_PROPERTY_VALUE: { + code: 400, + message: "Error: Value of %1 must be between %2 and %3.", + messageId: "SVC4655" + } + #---------SVC4656------------------------------ + # %1 - group property name + # %2 - lower/higher + # %3 - valid max/min value + INVALID_GROUP_PROPERTY_VALUE_LOWER_HIGHER: { + code: 400, + message: "Error: Value of %1 must be %2 or equals to %3.", + messageId: "SVC4656" + } + #---------SVC4657------------------------------ + # %1 - certificationRequest / startTesting + RESOURCE_VFCMT_LIFECYCLE_STATE_NOT_VALID: { + code: 400, + message: "Error - Lifecycle state %1 is not valid for resource of type VFCMT", + messageId: "SVC4657" + } + #---------SVC4658------------------------------ + # %1 – asset type [service / resource ] + # %2 – main asset uuid + # %3 – not found asset type [service / resource] + # %4 – not found asset name + ASSET_NOT_FOUND_DURING_CSAR_CREATION: { + code: 400, + message: "Error: CSAR packaging failed for %1 %2. %3 %4 was not found", + messageId: "SVC4658" + } + #---------SVC4659------------------------------ + # %1 – asset type [service / resource ] + # %2 – main asset uuid + # %3 – Artifact name + # %4 – Artifact uuid + ARTIFACT_PAYLOAD_NOT_FOUND_DURING_CSAR_CREATION: { + code: 400, + message: "Error: CSAR packaging failed for %1 %2. Artifact %3 [%4] was not found", + messageId: "SVC4659" + } + #---------SVC4660------------------------------ + # %1 - assetType + # %2 - matching generic node type name + GENERIC_TYPE_NOT_FOUND: { + code: 404, + message: "Creation of %1 failed. Generic type %2 was not found", + messageId: "SVC4660" + } + #---------SVC4661------------------------------ + # %1 - assetType + # %2 - matching generic node type name + TOSCA_SCHEMA_FILES_NOT_FOUND: { + code: 400, + message: "Error: CSAR packaging failed. TOSCA schema files for SDC-Version: %1 and Conformance-Level %2 were not found", + messageId: "SVC4661" + } + #---------SVC4662------------------------------ + # %1 - file name + # %2 - parser error + TOSCA_PARSE_ERROR: { + code: 400, + message: "Error: Invalid TOSCA template in file %1. %2", + messageId: "SVC4662" + } + #---------SVC4663------------------------------ + # %1 - max length + RESOURCE_VENDOR_MODEL_NUMBER_EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. Resource vendor model number exceeds limit of %1 characters.", + messageId: "SVC4663" + } + #---------SVC4664------------------------------ + INVALID_RESOURCE_VENDOR_MODEL_NUMBER: { + code: 400, + message: 'Error: Invalid Content. Resource vendor model number is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.', + messageId: "SVC4664" + } + + #---------SVC4669----------------------------- + INVALID_RESOURCE_TYPE: { + code: 400, + message: "Error: Invalid resource type.", + messageId: "SVC4669" + } + #---------SVC4670------------------------------ + ARTIFACT_NAME_INVALID: { + code: 400, + message: "Error: Artifact name is invalid.", + messageId: "SVC4670" + } + #---------SVC4671------------------------------ + # %1 - VSP name + # %2 - VFC name + CFVC_LOOP_DETECTED: { + code: 400, + message: 'Error: VSP %1 cannot be imported. The VSP contains internal loop in VFC %2', + messageId: "SVC4671" + } + #---------SVC4672------------------------------ + # %1 - capability uniqueId + # %2 - instance uniqueId + # %3 - container uniqueId + CAPABILITY_OF_INSTANCE_NOT_FOUND_ON_CONTAINER: { + code: 404, + message: "Error: Requested capability %1 of instance %2 was not found on the container %3.", + messageId: "SVC4672" + } + #---------SVC4673------------------------------ + # %1 - requirement uniqueId + # %2 - instance uniqueId + # %3 - container uniqueId + REQUIREMENT_OF_INSTANCE_NOT_FOUND_ON_CONTAINER: { + code: 404, + message: "Error: Requested requirement %1 of instance %2 was not found on the container %3.", + messageId: "SVC4673" + } + #---------SVC4674----------------------------- + # %1 - relation Id + # %2 - container uniqueId + RELATION_NOT_FOUND: { + code: 404, + message: "Error: Requested relation %1 was not found on the container %2.", + messageId: "SVC4674" + } + + + #---------SVC4675------------------------------ + INVALID_SERVICE_STATE: { + code: 409, + message: "Service state is invalid for this action", + messageId: "SVC4675" + } + + #---------SVC4676------------------------------ + INVALID_RESPONSE_FROM_PROXY: { + code: 502, + message: "Error: The server was acting as a gateway or proxy and received an invalid response from the upstream server", + messageId: "SVC4676" + } + + #---------SVC4677------------------------------ + API_RESOURCE_NOT_FOUND: { + code: 404, + message: "Error: Requested '%1' was not found.", + messageId: "SVC4677" + } + + #---------SVC4678------------------------------ + BAD_REQUEST_MISSING_RESOURCE: { + code: 400, + message: "Error: The required resource name/id is missing in the request", + messageId: "SVC4678" + } + #---------SVC4679------------------------------ + # %1 forwarding path name maximum length + FORWARDING_PATH_NAME_MAXIMUM_LENGTH: { + code: 400, + message: "Forwarding path name too long, , maximum allowed 200 characters : '%1'.", + messageId: "SVC4679" + } + #---------SVC4680------------------------------ + # %1 Forwarding path name already in use + FORWARDING_PATH_NAME_ALREADY_IN_USE: { + code: 400, + message: "Forwarding path name already in use : '%1'.", + messageId: "SVC4680" + } + #---------SVC4681------------------------------ + # %1 Forwarding path name empty + FORWARDING_PATH_NAME_EMPTY: { + code: 400, + message: "Forwarding Path Name can't be empty .", + messageId: "SVC4681" + } + #---------SVC4682------------------------------ + # %1 - resource uniqueId + # %2 - resource component type + RESOURCE_CANNOT_CONTAIN_POLICIES: { + code: 400, + message: "Error: The resource %1 type of %2 cannot contain policies.", + messageId: "SVC4682" + } + #---------SVC4683------------------------------ + # %1 - policy uniqueId + # %2 - component uniqueId + POLICY_NOT_FOUND_ON_CONTAINER: { + code: 404, + message: "Error: Requested policy %1 was not found on the container %2.", + messageId: "SVC4683" + } + #---------SVC4684------------------------------ + # %1 - policy name + INVALID_POLICY_NAME: { + code: 400, + message: "Error: Invalid policy name %1 received.", + messageId: "SVC4684" + } + #---------SVC4801------------------------------ + # %1 - policy type + POLICY_TYPE_IS_INVALID: { + code: 400, + message: "Error: Invalid content. Policy type %1 does not exist", + messageId: "SVC4801" + } + + #---------SVC4802------------------------------ + # %1 - policy name + POLICY_MISSING_POLICY_TYPE: { + code: 400, + message: "Error: Invalid content. Type name is not defined for policy %1", + messageId: "SVC4802" + } + + #---------SVC4685------------------------------ + # %1 - policy name + POLICY_NAME_ALREADY_EXIST: { + code: 409, + message: "Error: The policy with the name %1 already exists.", + messageId: "SVC4685" + } + #---------SVC4686------------------------------ + # %1 - policy name + POLICY_TARGET_DOES_NOT_EXIST: { + code: 400, + message: "Error: The targets %1 are not valid, all targets have to be on the topologyTemplate.", + messageId: "SVC4686" + } + #---------SVC4687------------------------------ + # %1 - policy type + # %2 - component type + EXCLUDED_POLICY_TYPE: { + code: 400, + message: "Error: The policy of the type %1 excluded to add to a component of the type %2.", + messageId: "SVC4687" + } + #---------SVC4688------------------------------ + # %1 - group type + # %2 - component type + GROUP_TYPE_ILLEGAL_PER_COMPONENT: { + code: 400, + message: "Error: group type %1 not permitted in component of type %2", + messageId: "SVC4688" + } + #---------SVC4689------------------------------ + # %1 - group type + # %2 - component type + POLICY_TARGET_TYPE_DOES_NOT_EXIST: { + code: 400, + message: "Error: The target types %1 are not valid.", + messageId: "SVC4689" + } + + #---------SVC4690------------------------------ + # %1 forwarding path protocol maximum length + FORWARDING_PATH_PROTOCOL_MAXIMUM_LENGTH: { + code: 400, + message: "Forwarding path protocol too long, , maximum allowed 200 characters : '%1'.", + messageId: "SVC4690" + } + + #---------SVC4691------------------------------ + # %1 forwarding path destination port maximum length + FORWARDING_PATH_DESTINATION_PORT_MAXIMUM_LENGTH: { + code: 400, + message: "Forwarding path destination port too long, , maximum allowed 200 characters : '%1'.", + messageId: "SVC4691" + } + + #---------POL4692------------------------------ + MISSING_OLD_COMPONENT_INSTANCE: { + code: 400 , + message: "Error: Missing 'componentInstanceId' HTTP param.", + messageId: "POL4692" + } + + #---------POL4693------------------------------ + MISSING_NEW_COMPONENT_INSTANCE: { + code: 400 , + message: "Error: Missing 'newComponentInstanceId' HTTP param.", + messageId: "POL4693" + } + + #---------SVC4694------------------------------ + # %1 External Reference Value + EXT_REF_NOT_FOUND: { + code: 404, + message: "Error: External Reference '%1' was not found.", + messageId: "SVC4694" + } + #---------SVC4695----------------------------- + # %1 - Interface Operation Name + INTERFACE_OPERATION_NAME_ALREADY_IN_USE: { + code: 409, + message: "Error: Interface Operation name '%1' already in use, Your current changes will not be saved.", + messageId: "SVC4695" + } + #---------SVC4696----------------------------- + # %1 - Interface Operation Name + INTERFACE_OPERATION_NAME_INVALID: { + code: 400, + message: "Error: Interface Operation name '%1' is Invalid, Operation name should not contain special character, space and should not be greater than 200 characters.", + messageId: "SVC4696" + } + #---------SVC4697----------------------------- + INTERFACE_OPERATION_NAME_MANDATORY: { + code: 400, + message: "Error: Interface Operation name is mandatory, Operation name can't be empty.", + messageId: "SVC4697" + } +#---------SVC4698----------------------------- +# %1 - Interface type + INTERFACE_OPERATION_INVALID_FOR_LOCAL_TYPE: { + code: 400, + message: "Error: Invalid input, only one operation is allowed in local interface type '%1'.", + messageId: "SVC4698" + } + #---------SVC4699----------------------------- + # %1 - Interface Operation input parameter name + INTERFACE_OPERATION_INPUT_NAME_ALREADY_IN_USE: { + code: 400, + message: "Error: Interface Operation input parameter name '%1' already in use, Your current changes will not be saved.", + messageId: "SVC4699" + } + #---------SVC4700----------------------------- + INTERFACE_OPERATION_INPUT_NAME_MANDATORY: { + code: 400, + message: "Error: Interface operation input parameter name should not be empty.", + messageId: "SVC4700" + } +#---------SVC4701----------------------------- +# %1 - component Id + INTERFACE_OPERATION_NOT_FOUND: { + code: 404, + message: "Error: Interface operation not found in the component '%1'.", + messageId: "SVC4701" + } + #---------SVC4702----------------------------- + INTERFACE_OPERATION_NOT_DELETED: { + code: 400, + message: "Error: Failed to delete interface operation.", + messageId: "SVC4702" + } + #-----------SVC4692--------------------------- + RESOURCE_LIFECYCLE_STATE_NOT_VALID: { + code: 400, + message: "Error: Lifecycle state %1 is not valid for resource", + messageId: "SVC4692" + } + #-----------SVC4693--------------------------- + #%1 - component name + COMPONENT_IS_ARCHIVED: { + code: 400, + message: "Error: Component %1 is archived", + messageId: "SVC4693" + } + #-----------SVC4703--------------------------- + #%1 - component name + COMPONENT_IS_NOT_HIHGEST_CERTIFIED: { + code: 400, + message: "Error: Component %1 is not highest certified", + messageId: "SVC4703" + } + #---------SVC4704------------------------------ + # %1 - "service"/"VF" + # %2 - "Resource name" + ARCHIVED_ORIGINS_FOUND: { + code: 403, + message: "Error: Action is not permitted as your '%1' '%2' includes archived resources", + messageId: "SVC4704" + } + #---------SVC4705------------------------------ + # %1-artifact name + ARTIFACT_PAYLOAD_EMPTY: { + code: 400, + message: "Error: Invalid content. Uploaded file %1 is empty. Please retry with the correct file.", + messageId: "SVC4705" + } + #---------SVC4800------------------------------ + # %1 - "component id" + UPDATE_CATALOG_FAILED: { + code: 403, + message: "Error: update catalog for component '%1' failed.", + messageId: "SVC4800" + } + #---------SVC4706------------------------------ + # %1-input(s) name(s) string + INPUTS_NOT_FOUND: { + code: 400, + message: "Error: missing input value(s) %1.", + messageId: "SVC4706" + } + #---------SVC4707----------------------------- + # %1 – asset type [service / resource ] + # %2 – main asset uuid + ERROR_DURING_CSAR_CREATION: { + code: 404, + message: "Error: CSAR packaging failed for %1 %2.", + messageId: "SVC4706" + } +#---------SVC4708----------------------------- +# %1 - Interface Operation input property name, component type + INTERFACE_OPERATION_INPUT_PROPERTY_NOT_FOUND_IN_COMPONENT: { + code: 404, + message: "Error: Interface operation input parameter property '%1' not found in '%2' input properties, capability properties or outputs of other operations.", + messageId: "SVC4708" + } +#---------SVC4709----------------------------- +# %1 - Interface Operation output parameter name + INTERFACE_OPERATION_OUTPUT_NAME_ALREADY_IN_USE: { + code: 400, + message: "Error: Interface Operation output parameter name '%1' already in use, Your current changes will not be saved.", + messageId: "SVC4708" + } +#---------SVC4710----------------------------- + INTERFACE_OPERATION_OUTPUT_NAME_MANDATORY: { + code: 400, + message: "Error: Interface operation output parameter name should not be empty.", + messageId: "SVC4710" + } +#---------SVC4711----------------------------- +# %1 - interface Id + INTERFACE_NOT_FOUND_IN_COMPONENT: { + code: 404, + message: "Error: Interface not found in the component '%1'.", + messageId: "SVC4711" + } + #---------SVC4709----------------------------- + INVALID_PROPERTY_CONSTRAINTS: { + # %1 – property constraints type + # %2 – received property constraints value + # %3 – property type + code: 400, + message: "Error: Invalid %1 %2 for the type %3 have been received.", + messageId: "SVC4709" + } + #---------SVC4710----------------------------- + INVALID_PROPERTY_CONSTRAINTS_FORMAT: { + # %1 – received property constraints json section + code: 400, + message: "Error: Invalid format of the received property constraints section: %1. The property constraints section should be a list.", + messageId: "SVC4710" + } + #---------SVC4711----------------------------- + CANNOT_DELETE_VALID_VALUES: { + # %1 – property constraints type + # %2 – missing valid values + code: 400, + message: "Error: Deletion of existing %1 is not permitted on an update. Missing values: %2", + messageId: "SVC4711" + } + #---------SVC4712------------------------------ + MISSING_PROPERTY_NAME: { + code: 400 , + message: "Error: Invalid Content. Missing mandatory parameter 'name'." , + messageId: "SVC4712" + } + #---------SVC4713------------------------------ + MISSING_PROPERTY_VALUE: { + code: 400 , + message: "Error: Invalid Content. Missing mandatory parameter 'value'." , + messageId: "SVC4713" + } + + #---------SVC4712--------------------------- + INVALID_INSTANTIATION_TYPE: { + code: 400, + message: "Invalid instantiationType: %1", + messageId: "SVC4712" + } + + #----------SVC4713--------------------------- + MISSING_ECOMP_GENERATED_NAMING: { + code: 400, + message: "Missing ecompGeneratedNaming property", + messageId: "SVC4713" + } + + #-----------SVC4714-------------------------- + NAMING_POLICY_EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. Naming policy exceeds limit of %1 characters.", + messageId: "SVC4714" + } + + #---------SVC4715------------------------------ + INVALID_NAMING_POLICY: { + code: 400, + message: 'Error: Invalid Content. Naming policy is not allowed to contain characters like <>:"\/|?* and space characters other than regular space.', + messageId: "SVC4715" + } + + #---------SVC4716------------------------------ + INVALID_ENVIRONMENT_CONTEXT: { + code: 400, + message: 'Error: Invalid Environment context: %1', + messageId: "SVC4716" + } + + #---------SVC4717------------------------------ + UNSUPPORTED_DISTRIBUTION_STATUS: { + code: 400, + message: 'Error: Unsupported distribution action: %1', + messageId: "SVC4717" + } + #---------SVC4718------------------------------ + CONTAINER_CANNOT_CONTAIN_INSTANCE: { + # %1 - "container type" + # %2- “component type” + code: 400 , + message: "Error : %1 can’t contain component instance %2" , + messageId: "SVC4718" + } + #---------SVC4719------------------------------ + CONTAINER_CANNOT_CONTAIN_COMPONENT_IN_STATE: { + # %1 - "container type" + # %2- "lifecycle state" + code: 400 , + message: "Error: Container %1 can’t contain component in state %2" , + messageId: "SVC4719" + } + + #---------SVC4720------------------------------ + MISSING_MANDATORY_PROPERTY: { + # %1 - "property name" + code: 400 , + message: "Error: Missing mandatory %1 property" , + messageId: "SVC4720" + } + + #---------SVC4721------------------------------ + MANDATORY_PROPERTY_MISSING_VALUE: { + # %1 - "property name" + code: 400 , + message: "Error: Missing value for the mandatory %1 property" , + messageId: "SVC4721" + } +#---------SVC4712----------------------------- + INTERFACE_LIFECYCLE_TYPES_NOT_FOUND: { + code: 404, + message: "Error: Interface Lifecycle types not found.", + messageId: "SVC4712" + } +#---------SVC4713----------------------------- +# %1 - Interface Operation Name + INTERFACE_OPERATION_INVALID_FOR_GLOBAL_TYPE: { + code: 400, + message: "Error: Invalid input, only pre-defined operation names are allowed in global interface type '%1'", + messageId: "SVC4713" + } + + #---------SVC4714----------------------------- + NODE_FILTER_NOT_FOUND: { + code: 400, + message: "Error: Node Filter was not found", + messageId: "SVC4714" + } + #---------SVC4715---------------------------- + UNSUPPORTED_VALUE_PROVIDED: { + code: 400, + message: "Error: Supported value type is %1 for %2 property. Provided Value: %3", + messageId: "SVC4715" + } + #---------SVC4716---------------------------- + # %1 - Property Name + SELECTED_PROPERTY_NOT_PRESENT: { + code: 400, + message: "Error: %1 property does not exists in Service anymore.", + messageId: "SVC4716" + } + + #---------SVC4717---------------------------- + # %1 - Property Name + MAPPED_PROPERTY_NOT_FOUND: { + code: 400, + message: "Error: %1 property does not exist.", + messageId: "SVC4717" + } + + #---------SVC4718---------------------------- + # %1 - Property Name + # %2 - Operator Name + UNSUPPORTED_OPERATOR_PROVIDED: { + code: 400, + message: "Error: %1 property does not support %2 operator.", + messageId: "SVC4718" + } + + #---------SVC4719---------------------------- + CONSTRAINT_FORMAT_INCORRECT: { + code: 400, + message: "Error: Constraint provided does not contains expected values.", + messageId: "SVC4719" + } + + #---------SVC4720---------------------------- + # %1 - Property Name + # %2 - Operator Type + SOURCE_TARGET_PROPERTY_TYPE_MISMATCH: { + code: 400, + message: "Error: %1 property and %2 property type is not same.", + messageId: "SVC4720" + } + + #---------SVC4721---------------------------- + # %1 - Property Type + # %2 - Operator Type + UNSUPPORTED_PROPERTY_TYPE: { + code: 400, + message: "Error: Property type %1 provided against %2 is not supported for static value.", + messageId: "SVC4721" + } + + #---------SVC4722------------------------------ + # %1 Directive value set + DIRECTIVES_INVALID_VALUE: { + code: 404, + message: "Error: Invalid directive value : '%1' .", + messageId: "SVC4722" + } +#---------SVC4723----------------------------- +# %1 - Interface Operation output name + INTERFACE_OPERATION_MAPPED_OUTPUT_MODIFIED: { + code: 400, + message: "Error: Cannot update or delete interface operation output(s) '%1' mapped to an operation input", + messageId: "SVC4723" + } +#---------SVC4724----------------------------- +# %1 - Interface Operation output name + INTERFACE_OPERATION_DELETE_WITH_MAPPED_OUTPUT: { + code: 400, + message: "Error: Cannot delete interface operation with output(s) '%1' mapped to another operation input", + messageId: "SVC4724" + } +#---------SVC4725----------------------------- + INVALID_CONSUMPTION_TYPE: { + code: 400, + message: "Error: Given value is different than input type. Needs to be %1", + messageId: "SVC4725" + } +#---------SVC4726----------------------------- + INVALID_PROPERTY_VALUES: { + code: 400, + message: "Error: Invalid property values provided:\n %1", + messageId: "SVC4726" + } +#---------SVC4727------------------------------ + INVALID_PROPERTY_NAME: { + code: 400, + message: "Error: Property name contains invalid characters. It should have only letters, numbers and underscores.", + messageId: "SVC4727" + } + +#---------SVC4728------------------------------ + FAILED_TO_CREATE_OR_UPDATE_CAPABILITY_PROPERTIES: { + code: 500, + message: "Error: Failed to create or update capabilities properties", + messageId: "SVC4728" + } + +#---------SVC4729------------------------------ + # %1 - resource Id + CAPABILITY_PROPERTIES_NOT_FOUND: { + code: 400, + message: "Error: Capability properties not found in the resource '%1'.", + messageId: "SVC4729" + } +#---------SVC4730------------------------------ + # %1 - property name + PROPERTY_EXCEEDS_LIMIT: { + code: 400, + message: "Error: Invalid Content. %1 exceeds limit.", + messageId: "SVC4722" + } +#---------SVC4731------------------------------ + INVALID_PROPERY: { + # %1 - property name + code: 400, + message: 'Error: Invalid Content. %1 has invalid format.', + messageId: "SVC4723" + }[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-be/error-configuration.yaml] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-be::BE_9_prepareProbeFile * template[/var/lib/jetty/ready-probe.sh] action create[2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/ready-probe.sh] created file /var/lib/jetty/ready-probe.sh [2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/ready-probe.sh] created file /var/lib/jetty/ready-probe.sh - create new file /var/lib/jetty/ready-probe.sh[2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/ready-probe.sh] updated file contents /var/lib/jetty/ready-probe.sh [2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/ready-probe.sh] updated file contents /var/lib/jetty/ready-probe.sh - update content in file /var/lib/jetty/ready-probe.sh from none to 8f3c8b - suppressed sensitive resource[2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/ready-probe.sh] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/ready-probe.sh] mode changed to 755 - change mode from '' to '0755' Recipe: sdc-catalog-be::BE_10_setup_cadi * directory[Jetty_etc_dir_creation] action create (skipped due to not_if) * cookbook_file[/var/lib/jetty/etc/keyfile] action create[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/keyfile] created file /var/lib/jetty/etc/keyfile [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/keyfile] created file /var/lib/jetty/etc/keyfile - create new file /var/lib/jetty/etc/keyfile[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/keyfile] updated file contents /var/lib/jetty/etc/keyfile [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/keyfile] updated file contents /var/lib/jetty/etc/keyfile - update content in file /var/lib/jetty/etc/keyfile from none to 699bb0 --- /var/lib/jetty/etc/keyfile 2020-07-07 01:16:34.367558714 +0200 +++ /var/lib/jetty/etc/.chef-keyfile20200707-19-1b75vml 2020-07-07 01:16:34.366558752 +0200 @@ -1 +1,5 @@ +############################################################# +# This file should be replaced with jetty keyfile: # +# /var/lib/jetty/base/be/etc/keyfile # +#############################################################[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/keyfile] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/keyfile] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/keyfile] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/keyfile] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/keyfile] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/keyfile] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty'  * cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] action create[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] created file /var/lib/jetty/etc/cadi_truststore.jks [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] created file /var/lib/jetty/etc/cadi_truststore.jks - create new file /var/lib/jetty/etc/cadi_truststore.jks[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] updated file contents /var/lib/jetty/etc/cadi_truststore.jks [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] updated file contents /var/lib/jetty/etc/cadi_truststore.jks - update content in file /var/lib/jetty/etc/cadi_truststore.jks from none to 9eae24 --- /var/lib/jetty/etc/cadi_truststore.jks 2020-07-07 01:16:34.371558562 +0200 +++ /var/lib/jetty/etc/.chef-cadi_truststore20200707-19-1a7awon.jks 2020-07-07 01:16:34.371558562 +0200 @@ -1 +1,5 @@ +################################################################## +## This file should be replaced with jetty cadi_truststore.jks: # +## /var/lib/jetty/base/be/etc/cadi_truststore.jks # +##################################################################[2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: cookbook_file[/var/lib/jetty/etc/cadi_truststore.jks] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty'  * template[/var/lib/jetty/etc/cadi.properties] action create[2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/etc/cadi.properties] created file /var/lib/jetty/etc/cadi.properties [2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/etc/cadi.properties] created file /var/lib/jetty/etc/cadi.properties - create new file /var/lib/jetty/etc/cadi.properties[2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/etc/cadi.properties] updated file contents /var/lib/jetty/etc/cadi.properties [2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/etc/cadi.properties] updated file contents /var/lib/jetty/etc/cadi.properties - update content in file /var/lib/jetty/etc/cadi.properties from none to ac5e7b --- /var/lib/jetty/etc/cadi.properties 2020-07-07 01:16:34.377558334 +0200 +++ /var/lib/jetty/etc/.chef-cadi20200707-19-mg7ljo.properties 2020-07-07 01:16:34.377558334 +0200 @@ -1 +1,55 @@ +# Configure AAF +aaf_locate_url= + +aaf_url= + +#if you are running aaf service from a docker image you have to use aaf service IP and port number +aaf_id=user +#Encrypt the password using AAF Jar +aaf_password=enc:AafEncriptedPassword +# Sample CADI Properties, from CADI 1.4.2 +hostname=sdc-be.onap +csp_domain=PROD + +# Add Absolute path to Keyfile +cadi_keyfile=/var/lib/jetty/etc/org.onap.sdc.p12 + + +# This is required to accept Certificate Authentication from Certman certificates. +# can be TEST, IST or PROD +aaf_env=TEST + +# DEBUG prints off all the properties. Use to get started. +cadi_loglevel=DEBUG + + +# Become CSO Poodle Compliant by only allowing sanctioned TLS versions +# The following is the default +# cadi_protocols=TLSv1.1,TLSv1.2 + +# Default TrustStore - REQUIRED for changing PROTOCOL Defaults for DME2 +# Read https://wiki.web.att.com/pages/viewpage.action?pageId=574623569#URGENT:SolvingSSL2-3/TLSv1removalissues-Up-to-dateTruststore +# Add Absolute path to truststore2020.jks +cadi_truststore=/var/lib/jetty/etc/org.onap.sdc.trust.jks +# Note: This is the ONLY password that doesn't have to be encrypted. All Java's TrustStores are this passcode by default, because they are public certs +cadi_truststore_password=changeit + +# how to turn on SSL Logging +#javax.net.debug=ssl + +## +# Hint +# Use "maps.bing.com" to get Lat and Long for an Address +AFT_LATITUDE=32.780140 +AFT_LONGITUDE=-96.800451 +AFT_ENVIRONMENT=AFTUAT +AFT_DME2_CLIENT_IGNORE_SSL_CONFIG=true +DME2.DEBUG=true +AFT_DME2_HTTP_EXCHANGE_TRACE_ON=true + +cadi_latitude=32.780140 +cadi_longitude=-96.800451 + +aaf_root_ns=com.onap.sdc +aaf_api_version=2.0[2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/etc/cadi.properties] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/etc/cadi.properties] owner changed to 352070 [2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/etc/cadi.properties] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/etc/cadi.properties] group changed to 35953 [2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/etc/cadi.properties] mode changed to 755 [2020-07-07T01:16:34+02:00] INFO: template[/var/lib/jetty/etc/cadi.properties] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' [2020-07-07T01:16:34+02:00] INFO: Chef Run complete in 1.526039451 seconds [2020-07-07T01:16:34+02:00] INFO: Chef Run complete in 1.526039451 seconds  Running handlers: [2020-07-07T01:16:34+02:00] INFO: Running report handlers [2020-07-07T01:16:34+02:00] INFO: Running report handlers Running handlers complete [2020-07-07T01:16:34+02:00] INFO: Report handlers complete [2020-07-07T01:16:34+02:00] INFO: Report handlers complete Chef Client finished, 22/23 resources updated in 07 seconds [2020-07-07T01:16:34+02:00] WARN: ***************************************** [2020-07-07T01:16:34+02:00] WARN: ***************************************** [2020-07-07T01:16:34+02:00] WARN: Did not find config file: /solo.rb, using command line options. [2020-07-07T01:16:34+02:00] WARN: Did not find config file: /solo.rb, using command line options. [2020-07-07T01:16:34+02:00] WARN: ***************************************** [2020-07-07T01:16:34+02:00] WARN: ***************************************** 2020-07-06 23:16:35.186:INFO::main: Logging initialized @203ms to org.eclipse.jetty.util.log.StdErrLog 2020-07-06 23:16:35.428:INFO::main: Console stderr/stdout captured to /var/lib/jetty/logs/2020_07_06.jetty.log