Fix bugs in attribute outputs page 99/135999/5
authorJvD_Ericsson <jeff.van.dam@est.tech>
Thu, 21 Sep 2023 10:41:34 +0000 (11:41 +0100)
committerVasyl Razinkov <vasyl.razinkov@est.tech>
Sat, 23 Sep 2023 23:47:49 +0000 (23:47 +0000)
commitda6b4a245482f4eebade8f487fc9d63f456469ab
tree92d21faa7df749812fc9e358a1e087f3e802f6c2
parent84d1ddc355acf519c165551d759bc00af12084c9
Fix bugs in attribute outputs page

  * Attributes being added to the template for each output
    declared if the attribute is a property and has a value
  * Unable to set a default value on a property from Output page
  * Fix issues with the save button
    * infinite save pop up when trying to leave the page with
      changes and clicking save
    * parse error in the console that would make the save button
      remain enabled after save was succesful
  * output values not being removed from attribute after output
    is deleted
  * nested attribute values not being updated

Issue-ID: SDC-4632
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I08abd6cd96963b09be7941c3a91559e241ace24f
catalog-be/src/main/java/org/openecomp/sdc/be/components/attribute/ComponentInstanceAttributeDeclarator.java
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ComponentInstanceBusinessLogic.java
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/OutputsBusinessLogic.java
catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ServiceImportBusinessLogic.java
catalog-be/src/main/java/org/openecomp/sdc/be/tosca/AttributeConverter.java
catalog-ui/src/app/models/attributes.ts
catalog-ui/src/app/ng2/components/logic/attributes-table/attributes-table.component.html
catalog-ui/src/app/ng2/components/logic/attributes-table/dynamic-attribute/dynamic-attribute.component.html
catalog-ui/src/app/ng2/pages/attributes-outputs/attributes-outputs.page.component.ts