aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src
AgeCommit message (Collapse)AuthorFilesLines
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 Servicevasraz9-836/+569
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6752ebf23920fda1395f4cb7f458ecb29f8ecd51 Issue-ID: SDC-4054
2022-06-22Support TOSCA get_attribute functionandre.schmid3-59/+33
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_Ericsson2-2/+11
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.schmid2-19/+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.schmid3-248/+258
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 valueKrupaNagabhushan4-3/+180
Issue-ID: SDC-4039 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I75c7c8338490df235c2b43db88f708dc649a9667
2022-06-10Fix broken images build due to multipart-post gemvasraz1-1/+2
Maximum supported version of multipart-post, with the current images Ruby & RubyGems is 2.2.0. Forcing the 2.2.0 version. Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ie7a7232be817f005c36f09b023344b479c64457f Issue-ID: SDC-4041
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_Ericsson11-9/+699
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 upgradevasraz3-8/+97
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 upgradevasraz8-2966/+3147
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.schmid4-4/+86
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.schmid5-105/+797
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 handlingMichaelMorris2-8/+19
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4024 Change-Id: I95d0b8274c7461120cc04456b5c93a96e9e86329
2022-05-27Fix error handling valid yaml property valuesMichaelMorris2-0/+19
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 metadatavasraz2-17/+37
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iaa3262d9171cc2a1c6a353191aa4afe5e2124717 Issue-ID: SDC-4011
2022-05-18Onboarded ASD csar included in VF csarKrupaNagabhushan1-0/+11
Issue-ID: SDC-4003 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ia85f36c8efca2c3a10ce92347fea5cc97dbd972b
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 modelMichaelMorris3-6/+6
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
2022-04-28Support deletion of archived VFs in SDC BEfranciscovila8-565/+673
Support deletion of archived VFs in SDC BE Issue-ID: SDC-3973 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I0bb18e627c026b794609c2a57806c7a4f925741b
2022-04-26Replace deprecated GEventEvaluator with JaninoEventEvaluatorvasraz2-12/+8
Change-Id: I21bfd0aaa66a32ecc1755cbe1efd78b0cd4254cf Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3984
2022-04-25Support deletion of archived services in SDC BEJvD_Ericsson7-7/+120
Issue-ID: SDC-3936 Change-Id: I75201007c9cf6b71b035f14864e380d78aace12b Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-04-25Add <= and >= operators to node filterMichaelMorris1-1/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3979 Change-Id: I2814157e8fafd02c094afd8270a20c0e47687b18
2022-04-22Delete VFC - restrict deletion of system deployed VFCsKrupaNagabhushan2-0/+17
Issue-ID: SDC-3981 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ib475bb4abbaabc072180a4f1ae85c7427bbbf771
2022-04-21Fix NPE when adding ASD VF to serviceMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3974 Change-Id: I3f962f7ea46781e26b7267871a61a6f6f434fae2
2022-04-21Enable identification of system deployed VFCsMichaelMorris3-3/+6
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3972 Change-Id: Ia3513020f508275827b34111c6eb2921204d9320
2022-04-14Fix encoding/decoding issuevasraz1-9/+1
Change-Id: If7a770548702cb9e6bb2d9e866c99c0396f74ee4 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3967
2022-04-14Add application metrics in the catalog backendandre.schmid3-0/+121
A new endpoint was introduced sdc2/rest/actuator/prometheus in the catalog backend, that returns application metrics in a format consumable by prometheus, using the micrometer library. Change-Id: I03542e1c1a9b8b12d4e00f86e5b02c597740934b Issue-ID: SDC-3957 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-04-08Add ASD node and data types to SDC AID modelstasys107-2/+452
Issue-ID: SDC-3938 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: Idac990c39f7d782eb029c72e5829b607de72dbb6 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
2022-04-04Implement adding Interface to VFCvasraz3-10/+141
Change-Id: I7cd8b82c306294d897d37d486aa3eeff7ca4206d Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3893 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-04-01Fix NPE in service import logic for service filtersMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3939 Change-Id: I2faedf1654db5073dffd4b711cdf8657a63a74a7
2022-04-01Add ASD artifact type to SDC AID modelstasys101-0/+31
Issue-ID: SDC-3948 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: I927f7d57dad12bfe06aee450675b4363998f58b1
2022-03-31Update Interface definition on VFCvasraz7-41/+163
Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I13678c92ae6088016a78554ffaf0da47b82f7e65 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3893 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-28Fix Service/VF set value to list/map propertiesandre.schmid6-164/+278
In the Service Property Assignment page, setting a value to a property of type list<complex> or map<complex> was having the type replaced by the schema type and the value incorrectly set. Add test cases to cover the problem. Include small refactors. Issue-ID: SDC-3926 Change-Id: I1257dbb02e18b103118672ec52d663707d53229c Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-28Create onboarding validator for ASD VSPsfranciscovila1-0/+1
Create a new validator in SDC onboarding that will be used for ASD VSPs Issue-ID: SDC-3859 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ida192122a95414f7d18855fe2a993b269c55a91d
2022-03-25Create vfModules for ASDKrupaNagabhushan1-5/+70
Issue-ID: SDC-3906 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I37560a6d672d3ec07af23b3405bbcb7ab195c9dc
2022-03-22Fix assigning substitution filter property to service propertyJvD_Ericsson1-4/+2
Issue-ID: SDC-3916 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I313c3ca7ef2492ee686bd7351d9477631665c722
2022-03-21Fix default value for interface operation inputandre.schmid4-34/+197
Fixes default value in interface operation input definitions. The value is now correctly JSON stringfied. Fixes required value that was always being set to false. Fixes UI reporting that false values are empty. Change-Id: I6ce8eba03d659a091e49180f1d2cc057f4a805f2 Issue-ID: SDC-3920 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-14Fix cannot set node filter cap using get_propertyMichaelMorris4-48/+82
Change-Id: I92fd4016b19e03e22622cf6e476f17b49e3d6a47 Issue-ID: SDC-3904 Signed-off-by: MichaelMorris <michael.morris@est.tech>