aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java/org/openecomp
AgeCommit message (Collapse)AuthorFilesLines
2022-08-15Service Import - Node Template Interface Definitionsfranciscovila4-33/+382
Add Node Template Interface Definitions when importing a service Issue-ID: SDC-4113 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I28bcb120ebd25b0baa4e62404d3fe38ce3a3706f
2022-08-15Fix new data types not found in UIMichaelMorris2-2/+5
Also, fixed issue with data type sorting when there are mutliple layers in dependency hierarchy Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4129 Change-Id: I4d535420953237efd610a3fb1dd6b9d40883e514
2022-08-12Service import - Import unknown node typesJvD_Ericsson4-26/+245
Issue-ID: SDC-4118 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Id620eef55ffb6849006e8a7bc063709150628e76
2022-08-11Empty node filter is removed when no filter is addedimamSidero2-2/+11
Null and empty check is added before adding a node filter object Signed-off-by: Imam hussain <imam.hussain@est.tech> Issue-ID: SDC-4124 Change-Id: I1e1e992881cd51dff209bac0111a472793dd41d1
2022-08-11Error Importing node filter with multiple capability propertiesfranciscovila1-4/+6
Fix importing NF with multiple Capability properties Issue-ID: SDC-4117 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I84fc245ddb40440d4909f5ae896b57ddf8b3740a
2022-08-11Support unknown data types in service importMichaelMorris7-162/+477
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4119 Change-Id: I426ebb96e7b354dfd5dfb06a10845c3162055968
2022-08-10get_input property value deprecated formatMichaelMorris2-2/+53
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4123 Change-Id: Ief79a25bbe41d67b378db6c4ad19b0d29c1830b2
2022-08-06Support for TOSCA functions for Service Importandre.schmid4-156/+510
Reads, interprets and persists property values that uses TOSCA functions during a Service import. Change-Id: I6943c447cc743213cb9807d6433cb25fa5effbc3 Issue-ID: SDC-4120 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-08-05Fix set property policy tosca function issueMichaelMorris1-0/+1
When setting a policy property using TOSCA function get_property for a SELF property - an error is thrown stating no such property exists Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4125 Change-Id: Ie08f15567cbb00d243f53c31120d8218519a856f
2022-08-04Fix error adding capability to VFCMichaelMorris1-2/+2
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4098 Change-Id: Id3c71787b9c11bbf4316a9a23f01199a009f2b49
2022-08-02Service Import - Node Template Relationship TemplateKrupaNagabhushan2-10/+140
Issue-ID: SDC-4083 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: Ia0f3635df969c44de5aba2d672fad34f0855e4e2
2022-07-29Centralize TOSCA function validationandre.schmid7-69/+282
The validation happening in the component instance properties, should also be applied for the Group instance properties and Policy instance properties. Fixes some other problems related to the TOSCA function. Change-Id: I4b69da57a8444b78c72561f49146d32c6911482e Issue-ID: SDC-4114 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-07-29Support a custom yaml value in tosca functionandre.schmid1-0/+4
Allows to add a custom YAML value to properties in the TOSCA function feature. Change-Id: I15e65088a18537d9832428717be826ac0ef6049a Issue-ID: SDC-4099 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-07-21Maintain VFC instance directives and node filtersfranciscovila1-0/+17
Maintain VFC directives and node filters on instance version change Issue-ID: SDC-4062 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I90e8d4e5f8262879fb533389a93e2fdfa052caad
2022-07-21Fix changed instance attribute value not visible in generated toscaJvD_Ericsson5-6/+70
also fixes attributes not being exported/imported with a schema Issue-ID: SDC-4093 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I693ae5c4c7717764445b20279bf61a7d3b47b434
2022-07-18Support for concat TOSCA functionandre.schmid5-17/+63
Adds support for the concat TOSCA function in an instance property. Refactors the TOSCA function structure so it can be more generic to support other functions in the future. Change-Id: I338e4138d26afe21779da57c4eeb3f2d486c20a9 Issue-ID: SDC-4095 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-07-15Support Outputs during Import Servicevasraz9-109/+216
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4d58576b70ef738d6fa7545cd268ec030b43f95c Issue-ID: SDC-4051
2022-07-14Fix error in upgrading instance versionMichaelMorris1-2/+9
Exception thrown when upgrading the version of a component instance in a component composition Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4096 Change-Id: Ice98ab72f9bb69d3fa088a94e4c7c3f903de1f99
2022-07-14Support Policies during Import Servicevasraz11-460/+451
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3ea14869853733a8a2069ae0568cfbb053849a79 Issue-ID: SDC-4060
2022-07-13Service Import - Input appearing as a propertyvasraz2-39/+38
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I33fa543e3a1c40b7590334a6396634abbd5b536f Issue-ID: SDC-4079
2022-07-11Support tosca functions for group instances in composition viewJvD_Ericsson1-1/+9
Issue-ID: SDC-4078 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Id65ae1c0cac8cb61cece69e2c88a588027c675fd
2022-07-11Fix 'Fail to declare Input for duplicated name of property'vasraz3-9/+8
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib9ef09944b0ae31b1cfd0dc42d9e7026b5a6ba8f Issue-ID: SDC-4081
2022-06-24Service Import - Read metadata from csarJvD_Ericsson3-4/+10
Also exports metadata to the tosca template and fixes service metadata not being set when the create button is clicked Issue-ID: SDC-4044 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I6f8428d9ed385335c05e7b994e622229ea00342b
2022-06-24Support Groups during Import Servicevasraz6-271/+73
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6752ebf23920fda1395f4cb7f458ecb29f8ecd51 Issue-ID: SDC-4054
2022-06-22Support TOSCA get_attribute functionandre.schmid1-8/+22
Adds support to TOSCA get_attribute function in the Property Assignment TOSCA Function modal. Change-Id: I73dda215a7c9d7fecf0803cc259634279c3bdfb6 Issue-ID: SDC-4053 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-22Block interface operation edit in checkedin VFCandre.schmid2-3/+9
VFC interface operation could be edited even when checked in, due to an incorrect viewOnly input passed to the modal component. Blocks edition also in the backend, by verifying if the component can be edited. Change-Id: I816e28897273aaa677237ca55794bb3dc8460975 Issue-ID: SDC-4058 Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-06-20Service Import - Node Template Node FilterJvD_Ericsson1-2/+9
Issue-ID: SDC-4049 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: If0de045f88db44d14936e6fcc55ad623fb235174
2022-06-20Support metadata in Inputs during Service Importvasraz1-0/+9
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ie010076082af7c8ed5fd5fcda874ade2a7e37389 Issue-ID: SDC-4052
2022-06-20Fix VFC map or list property updateandre.schmid1-15/+29
Fixes two problems in the update of VFC map or list properties. One was related to a schema validation in the backend. The other is related to setting the property value when the default value was being edited. Change-Id: Icd85346144c8763ced1b8fbcd750c9baf783f6a6 Issue-ID: SDC-4050 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-20Allow to delete an interface operation from VFCandre.schmid2-43/+47
Issue-ID: SDC-4055 Change-Id: I43e79315dce12e2060f8b1dbdfcae29da46fc02e Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-15Fix getToscaFunction validation for property valueKrupaNagabhushan2-1/+59
Issue-ID: SDC-4039 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I75c7c8338490df235c2b43db88f708dc649a9667
2022-06-09Retry fetch assettoscatemplate in csar generationMichaelMorris1-4/+5
Change-Id: I328e174d34b1c8fb688510b498d50130827b9608 Issue-ID: SDC-4032 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-06-07Support get functions in composition property modalandre.schmid1-13/+8
Allow to assign get functions values to properties in the composition properties modal. Change-Id: I470be63e2980994f43be255d8056af7392baab75 Issue-ID: SDC-4031 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-03Maintain VFC instance attribute outputs on instance version changeJvD_Ericsson8-9/+466
Issue-ID: SDC-4025 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia44a6ac73d9a52042caaacf0c5f790e1e2fc73f1
2022-06-03Maintain VFC UI added interface operations after an upgradevasraz2-6/+19
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I908a4480a8929f9aeeabf4f5c14049cade6ae22b Issue-ID: SDC-4018
2022-06-02Maintain VFC UI added properties after an upgradevasraz4-525/+587
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3d4c06f3f27057a08a47683d289e87bc6cb90bfa Issue-ID: SDC-4012
2022-06-02Maintain VFC external capabilities and requirementsKrupaNagabhushan1-0/+37
When a VFC is added to a component and capabilities or requirement are set as external on that VFC instance those values should be maintained if the VFC instance version is changed Issue-ID: SDC-4016 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Idc86a6b5cae0cf75d8f4c37fafb01f1572908be7
2022-06-02Fix Blocker Vulnerabilityvasraz1-3/+10
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4286eafb4d2a7f20d39fc77182e2dc23e9446aab Issue-ID: SDC-4029
2022-06-02Support of get_property for instance propertiesandre.schmid2-3/+23
Support of get_property for INSTANCE properties, as currently only SELF properties can be selected. Change-Id: I80611002964a6ebb515134155c321f2d7f87811c Issue-ID: SDC-4026 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-01Maintain VFC instance interface operation details on instance version changeJvD_Ericsson1-26/+53
Issue-ID: SDC-4009 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I8032f461b2e33c588d38933cfc19de6d7f2595f8
2022-05-30Support of get_property in property assignmentandre.schmid2-58/+228
Refactors the current way store a get_input function allowing to support different get functions (get_property in this case). The information stored allows recreating and correctly validating the get function. Fix get function schema validation, the schema was being ignored. Improve validation error status and messages. Improve tosca get function dialog. Change-Id: I5de5f96dfba3c7a0fbb458885af5528bea7835aa Issue-ID: SDC-4014 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-05-27Fix operation definition extended format handlingMichaelMorris1-7/+12
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4024 Change-Id: I95d0b8274c7461120cc04456b5c93a96e9e86329
2022-05-27Fix error handling valid yaml property valuesMichaelMorris1-0/+6
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4022 Change-Id: Ic30f29e350d47d29c00744271e1e81b08db3edb9
2022-05-25Maintain VFC instance occurrences valuesKrupaNagabhushan1-0/+3
When a VFC is added to a component and occurrences value is set on that VFC instance, those values should be maintained if the VFC instance version is changed Issue-ID: SDC-4015 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I2a6e19db3737670182c07df4113e09fec4f10a3a
2022-05-23Fix Node Filter string property value displayed as objectJvD_Ericsson3-3/+34
Issue-ID: SDC-3987 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I4575e8b52e1279339abf557baece60eee960227c
2022-05-23Include ETSI metadata 'entry_definition_type' in VSP package metadatavasraz1-14/+32
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iaa3262d9171cc2a1c6a353191aa4afe5e2124717 Issue-ID: SDC-4011
2022-05-17Fix interface panel is blank when switched to a different version of a VFCJvD_Ericsson2-7/+28
Issue-ID: SDC-3997 Change-Id: Ibedd863fee39766cdf42edd32bdad7a67f9331cb Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-05-13Import VFC with i/f op impl extended notataionMichaelMorris1-5/+57
Support import of VFC with interface operation implementation extended notataion Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3999 Change-Id: Ie2affc2b11d4b65fe87565768406dc6a02f8c74a
2022-05-09Fix property validation for data type in modelMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3990 Change-Id: I702960519cd9ef6ff7a905d837de7ca5b8f29599
2022-04-28Fix check to restrict deletion for system deployed VFCsKrupaNagabhushan1-4/+4
Issue-ID: SDC-3986 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I4d0f91640f6603c5029a88cb902c959bc8522455