-
Story
-
Resolution: Done
-
Medium
-
None
As a user, I want that properties declared in the generic node type that represents a Service, continue to be properties in the created service. Also, it may not be wanted to expose all of the properties of a node as inputs.
During the a service component creation, SDC uses a provided generic type to generate the service, configured as "org.openecomp.resource.abstract.nodes.service" (catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb) and defined in "catalog-be/src/main/resources/import/tosca/heat-types/Generic_Service/Generic_Service.yml".
#BE-configuration.yaml.erb snippet 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
#Generic_Service.yml tosca_definitions_version: tosca_simple_yaml_1_0_0 node_types: org.openecomp.resource.abstract.nodes.service: derived_from: tosca.nodes.Root properties: cds_model_name: type: string cds_model_version: type: string skip_post_instantiation_configuration: type: boolean default: true constraints: - valid_values: [true,false] controller_actor: type: string default: SO-REF-DATA constraints: - valid_values: - SO-REF-DATA - CDS - SDNC - APPC
The properties declared in the org.openecomp.resource.abstract.nodes.service node type are converted to inputs in the created Service, instead of be parsed as properties.
This story aims to parse the properties as properties, instead of inputs.