summaryrefslogtreecommitdiffstats
path: root/catalog-model
AgeCommit message (Collapse)AuthorFilesLines
2022-12-20Add support comparable type constraints for scalar valuesvasraz6-215/+526
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I57234399f23721506d308dfb8351067845ebe892 Issue-ID: SDC-4305
2022-12-14Fix bug 'Pattern constraint validation failure'vasraz5-9/+25
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: If7c59aa37db974c57195775f963c8400cf474a51 Issue-ID: SDC-4294
2022-12-12Add support for comparable type constraints for stringsvasraz2-11/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3b52c720968ab8333fa2ec81b13c3d0e7b2f4316 Issue-ID: SDC-4299
2022-12-12Fix bug 'Import VFC with constraint PATTERN ignores constraint'vasraz1-116/+119
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I9e390a7978fd6e0d60b55c2b4ebc7fb3ea99a562 Issue-ID: SDC-4291
2022-12-09Fix NPE when checking out serviceMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4303 Change-Id: I512f3502ff2451749c2fbc590d08c3a10b3bef79
2022-12-07Fix in_range constraint validation gives unhelpful error messageJvD_Ericsson1-1/+1
Issue-ID: SDC-4293 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: If31fb515987c2e6c040e4fbf1d00ca4f669ed525
2022-12-02Fix numeric constraint values generated as stringsJvD_Ericsson20-277/+1062
When importing a vfc the property constraints are now checked to see if they are the same type as the property If not it will attempt to convert to that type Issue-ID: SDC-4274 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I32c1d930166d10142ad9ca6914550c7946e9128c
2022-12-01Support addition of pattern constraintJvD_Ericsson2-0/+20
Issue-ID: SDC-4260 Change-Id: I2eccf88472c144d8f595a9d8ec028705e924fd67 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-11-30Support addition of scalar type constraintsJvD_Ericsson2-4/+10
this also supports the addition of the in_range and the valid_values constraints, and supports delete and editing of current and added constraints Issue-ID: SDC-4223 Change-Id: I5ffb4d17d9f8c2730f650153fb4ff89eccfdd474 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-11-25Fix issues while importing a Servicevasraz2-2/+2
The import service was ignoring the selected model for imported nodes. It was also trying to set a different icon for resources that already exist in the database, creating a validation error. There was also a nullpointer in relation to not found capability. Change-Id: Ifa9320c5554bbf5e8fed0cc2e2dea6b05503d213 Issue-ID: SDC-4266 Signed-off-by: André Schmid <andre.schmid@est.tech> Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2022-11-25Implement create data type propertyandre.schmid7-49/+168
Allows to add a new data type property and visualize the properties details. Change-Id: Ib7bcd4b0bd8213dbe8ee8a3762a0636e22dc67eb Issue-ID: SDC-4258 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-11-23Fix property constraints validationfranciscovila1-1/+1
Fix property constraints validation behaviour when a property is not required shouldnt be validated vs constraints if no value is provided. Also add constraints validation for length measures in list, map and string types. Issue-ID: SDC-4222 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I48ebb46b3de9ddac3d9dd91400ea0fad983aa94d
2022-11-17Fix wrong Model during import VSPvasraz1-1/+0
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I0cea47f26f5fe3e38b54c94e05dec8649ad58159 Issue-ID: SDC-4268
2022-11-08Interface is formatted using extended notation when no implementation added ↵vasraz3-99/+0
at VFC level Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4e6e6d61b851fe2efaa47c9f8fad0cb546f2fcb7 Issue-ID: SDC-4255
2022-11-03Fix for boolean default value exported as StringimamSidero1-1/+1
Exporting all primitive type as expected types for complex type default values in tosca export Issue-ID: SDC-4237 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I0dc7009922dc0ada5b946e2fcd0b96b495fa9b62
2022-10-29Step version to 1.12.1MichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4238 Change-Id: I3797ce38210c4c2ecd00e4a6ab3d7fd846f97aa0
2022-10-27Fix potential NPE in importing property constraintsvasraz1-76/+81
Fix potential NPE introduced by https://gerrit.onap.org/r/c/sdc/+/131472 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I10a6f40e5a36c7a1eb33ed6a24ad3a2356672a64 Issue-ID: SDC-4231
2022-10-26Fix import policy issuesMichaelMorris1-3/+7
The following issues are addressed: When a service is imported containing polices, a new name for the policy is generated instead of using the name from the imported service When a service is imported containing policies with a string value set for a property of a policy, then the value is created in the new service surrounded with quotes NPE when service imported with no instances NPE when service imported with instances with no requirements Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4224 Change-Id: I8403c0564796a045816ae28e52961688ca7804db
2022-10-25Add default baseType to the substitution typeimamSidero2-0/+14
Enabling default baseType in substitution type to be selected Issue-ID: SDC-4229 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I869ede4c4e030adc3c4418c28ed787b4c10248dd
2022-10-24Support import of VFCs with property constraintsMichaelMorris11-28/+217
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4216 Change-Id: I19dce9f929535aa22cad6a1d95a213f42dd6e99c
2022-10-18Fix security risk 'Improper Input Validation'vasraz2-363/+239
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6a52148aec3b567db43ec57109214e52d106f73c Issue-ID: SDC-4189
2022-10-17Fix serialization issue with constraintsMichaelMorris2-0/+4
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4217 Change-Id: If5068ca891df934f600a7c37dc3cffa2aa372a3c
2022-10-17Add data type properties workspaceandre.schmid7-8/+269
Implements the properties workspace for a data type, with the list and filter feature. Change-Id: I2ec337a0481bddd5fe32e45644abdc88e197fa49 Issue-ID: SDC-4214 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-10-14Align 'org.eclipse.jetty'-version (9.4.49.v20220914)vasraz1-0/+24
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: If56735406d86bd42b57c2ccb1f23699c1685069b Issue-ID: SDC-4189
2022-10-05Implement API for fetching single data typevasraz3-25/+72
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icebf660d67d503250e4f6d4d7fd5a2e169cdc951 Issue-ID: SDC-4184
2022-10-04Fix for VFC version update on composition windowimamSidero1-3/+1
On add service - composition window VFC version update/change is fixed by mapping appropriate requirements and capabilities Issue-ID: SDC-4185 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I0de616510ca27c511179f1f34cf7290cd584c7c5
2022-09-29Stepping version to 1.12.0 for start of LondonMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4155 Change-Id: Ide5c76cbb332dbd03344fdb462e7feef91c9256e
2022-09-28Step version to 1.11.9-SNAPSHOTMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4172 Change-Id: If2746847292bd769ef47c4628b5bafa7af2d69b9
2022-09-19Import unknown group types during Service importvasraz15-308/+477
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic435ee0c440dd8ed64339bab08e921687d23b9c0 Issue-ID: SDC-4176
2022-09-19Support TOSCA functions in Node Capability Filtersandre.schmid2-19/+93
Adds support to use TOSCA functions as value in the node capability filters. Removes the current capability filter component to reuse, with a few changes, the node property filters component. Fixes problems with the edition and deletion of node capability filters. Change-Id: Ic91242d6cbc24e2ce0f60b84c63e104575bef8a9 Issue-ID: SDC-4173 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-09-16Import unknown artifact types on Service ImportimamSidero1-1/+1
creating non existing artifact types added in the import files on service import Issue-ID: SDC-4153 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I477cbc76dece828bc9eee96e66cd24a71fc8c2bb
2022-09-09Fix node filter API payload retro-compatibility1.11.8andre.schmid4-2/+88
The create/edit API was not converting properly a legacy payload and the request was failing. Also, the create/edit response was not being handled as previously when the legacy payload was given. Change-Id: Ic0832cd31ca450806a053ae96889538bf7e8daca Issue-ID: SDC-4174 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-09-09Import services with sub prop tosca functionsMichaelMorris1-0/+3
Includes fix for setting sub properties to yaml values other than maps Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4168 Change-Id: I15e3c450c10d4603f882c20f2da80cb7b5d80bb6
2022-09-08Support TOSCA functions in Node Filtersandre.schmid29-158/+572
Adds support to use tosca functions as value in the node property filters and substitution filters Change-Id: Id242691cc9ddd233245b58f052b9f0e2c7bbd66b Issue-ID: SDC-4128 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-09-06Support import of updated node typesJvD_Ericsson4-0/+108
Support addition of new properties Issue-ID: SDC-4131 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I9f12d0f4f9727c33f8444980b780758533e714cf
2022-09-02Support updated data types in service importMichaelMorris10-42/+138
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4140 Change-Id: Ib66d47a0f566b648722ce86cfc4e208880551a29
2022-08-26Remove vulnerable dependencyvasraz1-1/+5
Remove/update org.apache.tinkerpop:gremlin-core Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Id41e2d0d089e5071c9923297c55bf31d9a57189f Issue-ID: SDC-4017
2022-08-19Fix wrongly generated tosca implementationKrupaNagabhushan2-5/+4
Issue-ID: SDC-4130 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I23ea03fded3d82006b98b0d42be928ac38513276
2022-08-19Support Inputs during Import Servicevasraz1-8/+8
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ifc761d607a5d3c11187486fec3133be44c2d38b0 Issue-ID: SDC-4082
2022-08-19Remove vulnerable dependencyvasraz1-0/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6aada4ea46fc62ea9d3d5387d39113b1942808d4 Issue-ID: SDC-4017
2022-08-17Update SDC version to 1.11.8-SNAPSHOTMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4111 Change-Id: I39b23ed9e56a889f1f4a9fa7029a4758c4c9ba47
2022-08-15Step version to 1.11.7-SNAPSHOT1.11.7MichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4111 Change-Id: I42a9a518dc05a4fd42619fbd471955ddacd62dc3
2022-08-15Service Import - Node Template Interface Definitionsfranciscovila4-26/+159
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 UIMichaelMorris1-7/+11
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_Ericsson1-0/+14
Issue-ID: SDC-4118 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Id620eef55ffb6849006e8a7bc063709150628e76
2022-08-11Error Importing node filter with multiple capability propertiesfranciscovila1-1/+13
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-06Support for TOSCA functions for Service Importandre.schmid2-161/+6
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-04Fix error adding capability to VFCMichaelMorris3-11/+45
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4098 Change-Id: Id3c71787b9c11bbf4316a9a23f01199a009f2b49
2022-08-02Service Import - Node Template Relationship TemplateKrupaNagabhushan6-49/+105
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-08-02Enabled configuration of instance nameimamSidero2-4/+8
The given name for the instance dragged and dropped is changed to <type name>_<instance count> Signed-off-by: Imam hussain <imam.hussain@est.tech> Issue-ID: SDC-4109 Change-Id: Ibce6f911480841df496f0e7bb17a6d7cd533e803