summaryrefslogtreecommitdiffstats
path: root/catalog-be/src
AgeCommit message (Collapse)AuthorFilesLines
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>
2022-03-14Support instance count on node templateJvD_Ericsson3-3/+42
Issue-ID: SDC-3887 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I45593ee2e0e3eea358ae9344d7432e37e1467915
2022-03-11Support complex types in artifact propertiesandre.schmid4-39/+170
Adds support to complex types in artifact properties of an interface operation implementation. Change-Id: I7a82a3652541b35230fe4ce87bf703a1dbe72d50 Issue-ID: SDC-3899 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-11Support complex types in interface operation inputsandre.schmid5-54/+50
Issue-ID: SDC-3897 Change-Id: Ieac2d74ad340de1d9f6e4cd3ac830e2ec8c35d5b Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: vasraz <vasyl.razinkov@est.tech> Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-03-10Support occurrences on node templatesJvD_Ericsson3-1/+16
Issue-ID: SDC-3711 Change-Id: I9f25454faa8be6987f336b7efd3821cfa09585a1 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-03-09Fix node filter capability issueMichaelMorris1-3/+7
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3901 Change-Id: I877fcf99d154939eafe765073ecddf38bc7d9ba7
2022-03-08Rename ControlLoop to AutomationCompositionSirisha_Manchikanti15-147/+208
This commit is to keep ControlLoop nomenclature in SDC aligned to changes in https://jira.onap.org/browse/POLICY-3938 where "Control Loop" is renamed as "Automation Composition" Issue-ID: SDC-3891 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I8be013e564b780e9196c116d31b5c4c4d4b72662
2022-03-07Update esapi dependency for sec vulnerabilityMichaelMorris1-1/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3895 Change-Id: I457f6865f081faf9474e2f63006b339b7c1512ea
2022-03-03Update vulnerable dependenciesvasraz1-1/+1
Change-Id: Id1098d2e0aceb3fb507e32994925d36f23ad8517 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3895
2022-02-28Fix error when no derived_from typeMichaelMorris1-5/+8
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3889 Change-Id: I1f272a658137a79a545ec90e9256267e8ef7325e
2022-02-26Implement improved MinIo clientvasraz1-0/+1
Change-Id: Ic9abd6b0bdaa17e9deff2279a64416d81f7ad606 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3886
2022-02-02Improve service import supportMichaelMorris1-0/+3
Add support for category specific metadata and substitution mapping in service import Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3867 Change-Id: Ib71404942a4a8f174025ccb1b8343164216d8f58
2022-01-31Add controlloop components to SDC designSirisha_Manchikanti10-0/+1605
This commit will add controlloop components like Participant, ControlLoopElement and ControlLoop to SDC. Addition of these components in SDC will enable to build a CSAR with controloop components and establish a controlloop by distributing the CSAR to policy-distribution and thereby to CLAMP. Issue-ID: SDC-3842 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I6f417f7a635f6f0dec3ce6163c5b41ada374567a