summaryrefslogtreecommitdiffstats
path: root/common/onap-tosca-datatype/src
AgeCommit message (Collapse)AuthorFilesLines
2021-02-23Upgrade Vulnerable Direct Dependencies [snakeyaml]JulienBe4-214/+257
Change-Id: I84417ab3d4f18634be519b837a34d1f1e774ceff Signed-off-by: amohamad <a.mohamad@queensu.ca> Issue-ID: SDC-3051 Updated MVN dependencies in the respective pom.xml files Updated the signature of some methods to match new version 1.26 Modified test cases to match the new wording of exceptions Still working on troublshooting other failing test cases Change-Id: Ifc796574e6d8d4e4fc707db04944d83427b5dbe6 Signed-off-by: amohamad <a.mohamad@queensu.ca> Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
2020-11-17Fix import VFC with attributesaribeiro1-21/+35
Fix import VFC with default attribute value Fix Update, create and delete attribute action Make attribute definition tosca compliant Issue-ID: SDC-3381 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ibbd36b105b8c86d1e750f3b6d55752d63fe6530e
2020-11-05Add substitution_mapping attributes mappingvasraz1-33/+0
Add support of mapping the outputs to attributes in substitution_mapping Change-Id: Ifbe95a1fdfd476aa7aca17502ee9b30bea906874 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3320
2020-09-08Upgrade to java 11sebdet2-3/+67
MOve SDC to Java 11, this is one of the PR to move to Jdk 11, jenkins will have to be changed as well Issue-ID: SDC-2725 Change-Id: I85f13f14ba8004f6e9656093a837465a2e4af3e1 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Signed-off-by: xuegao <xg353y@intl.att.com> Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-09-07Template design (NSSTs) for slice sub-nets (RAN, Core, Transport).hekeguang1-0/+418
Issue-ID: SDC-3086 Change-Id: Ib70da9e03d6dd152d901344c60f8ba47f38450fe Signed-off-by: hekeguang <hekeguang@chinamobile.com>
2020-07-09Add support for substitution_filter business logicaribeiro5-192/+15
Tosca simple YAML profile allows for substitution_filter to be specified for a topology template to provide processing instructions to the orchestrator. Issue-ID: SDC-3147 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ia94b8c447d3157e614f9d1524ad4520b3980ba4d
2020-06-19Remove unused methodxuegao2-98/+52
Removing unused method in Constraint and use lombok annotations instead. Issue-ID: SDC-3130 Signed-off-by: xuegao <xg353y@intl.att.com> Change-Id: Ia718d184c55d40503f42830966bb11675b7c3f85 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-06-18create tests for ScalarUnitValidator.javaJulienBe2-2/+64
Issue-ID: SDC-3123 Change-Id: Iaa60ce2df46ee7a4d9138a56cf4d4c115a059240 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
2020-06-18create tests for PropertyTypeExt.java and remove unsused methodJulienBe2-44/+74
Issue-ID: SDC-3124 Change-Id: I5d3baeeff23c0003952eabc39a5f9dd296dd7c39 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
2020-06-17Fix Java Code Conventions non-compliance issuesxuegao1-3/+0
Update locations of the constructor and private variable to comply with the Java Code Conventions. Issue-ID: SDC-3121 Signed-off-by: xuegao <xg353y@intl.att.com> Change-Id: I0114c880e389f0ed167262c9cd513583be35ba56 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-04-20Fix Tosca properties declarationaribeiro1-1/+1
Remove duplicated entries Default value for Boolean type should not be a String According to the description for the keyname 'attachments:' it should be of type List rather than String Issue-ID: SDC-2870 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Iac2b4f89dac16a6aef9dcabea74def5cacff99a6
2019-11-19Fix for scalar-unit type value.aribeiro2-20/+95
Issue-ID: SDC-323 Change-Id: I7f19a7356e1cd34deca0a168b3cb707ef657b9cb Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-10-30Fix zip slip security flawandre.schmid1-2/+2
Apply zip slip checking in zip operations throughout the system. Centralizes most of the zip logic in one class. Create tests to zip functionalities and zip slip problem. Change-Id: I721f3d44b34fe6d242c9537f5a515ce1bb534c9a Issue-ID: SDC-1401 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-10-29Fix for status properties value.aribeiro15-401/+391
These changes were made to align the normative types to the TOSCA property definition requirements. Issue-ID: SDC-322 Change-Id: I32e815dd26990dd6c82c859ad051b271db3c8029 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-09-04common code coverage increasePiotr Darosz45-4/+1651
Add tests for classes in sdc.tosca.datatypes.model package Change-Id: Ifc277512d833b2501f0e594b9062d39c26565055 Issue-ID: SDC-2326 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-09-03Implement PNFD Model driven conversionandre.schmid1-0/+36
Change-Id: I7427e82353cac17817457294d78953f867d2d6e8 Issue-ID: SDC-2509 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-07-17Fix checkstyle violations in sdc-main/commonmichal.banka21-96/+74
Change-Id: I3e132cf4bffd77f9910bf6eff2026c3267873b11 Issue-ID: SDC-2454 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-07-16Add Lombok support to Repositorynoahs1-27/+6
add @Data annotation Change-Id: I0a56a2f1978035a00eb4edafd5ecc7db6a7301a4 Issue-ID: SDC-2401 Signed-off-by: noahs <noah.shogan@amdocs.com>
2019-07-11Added oparent to sdc mainTomasz Golabek20-7/+287
Removed errors regarding to a missing license and others. Started locally and executed basic api tests Change-Id: Iea37613defc97f7b40613d60c10990841cb2a209 Issue-ID: SDC-2419 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-08Move import handling to service templateojasdubey9-3/+304
Moving the handling of all import formats parsing to ServiceTemplate class to make it generic and reusable Change-Id: I80595c3654a625275549a3bb3afe8ba7c9455aff Issue-ID: SDC-2421 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-06-23Add Lombok support to RelationshipTypenoahs1-75/+15
add @Data annotation Change-Id: I185a32166a6efe9d221c260a0f25d958dec2690e Issue-ID: SDC-2380 Signed-off-by: noahs <noah.shogan@amdocs.com>
2019-06-17Add lombok support to simple classesOren Kleks1-39/+4
Change-Id: I98ced4b0f30c3b676e02de08ccab0c06bc7b8965 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-17BeanUtils upgrade to 1.9.xOren Kleks1-0/+10
Transitive dependency to beanutils 1.8.3 removed. Refactor of existing usage of beanutils proposed. Change-Id: Ice5a996dc6f782d787309bd9c604335710627b2c Issue-ID: SDC-2269 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-16BeanUtils upgrade to 1.9.xTomasz Golabek3-6/+96
Transitive dependency to beanutils 1.8.3 removed. Refactor of existing usage of beanutils proposed. Change-Id: I6614a5794979225376338c778b25f71911ae9c50 Issue-ID: SDC-2269 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-06-06Add lombok support to simple classesshrek20001-26/+6
Change-Id: I1d39f6bc0513189ce0f3581ddc51e9f557d2dadc Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-06Add lombok support to simple classesOren Kleks1-56/+4
Change-Id: Ie4c25fd87b3e302f7dd19f4d0156524398e1af55 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-06Add lombok support to simple classesshrek20001-39/+4
Change-Id: I76b00170ba5304bf82df3903cc381d46d7f0f513 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-05Add lombok support to simple classesshrek20001-123/+6
Change-Id: Id4db17168cce9a6a02138c2c6bd74971159994dc Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-05Add lombok support to simple classesshrek20001-38/+2
Change-Id: Ic48b301b2e45815bfb9e71d26626ad89cb61d753 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-05Add lombok support to simple classesshrek20001-31/+5
Change-Id: I7060b515880159261fd228bdcfe5e75f84e2d99b Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-05Add lombok support to simple classesshrek20001-15/+4
Change-Id: Ic3956c9c6f4fddf412a2216de3d79a2cb2d779b0 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-05-30Add Lombok support to RelationshipTemplatenoahs1-72/+2
add @Data annotation Change-Id: I030c5dc506b3fabcb6f447016dc1e74aeb2df30f Issue-ID: SDC-2343 Signed-off-by: noahs <noah.shogan@amdocs.com>
2019-05-28Add Lombok support to PreconditionDefinitionnoahs1-23/+2
add @Data annotation Change-Id: Ia1482cfb0b1775d4d729df7d0bfc182f59dd15b5 Issue-ID: SDC-2331 Signed-off-by: noahs <noah.shogan@amdocs.com>
2019-05-27Add unit tests for DataModelNormalizeUtilm.kowalski31-0/+90
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I31dbd12b2d897da83327c17af2f2d83bd4459f1d
2019-03-17Load TOSCA package into Tosca model objectshiria1-1/+5
Change-Id: I24360bcd988df48359eb6092f6a80e989e35f026 Issue-ID: SDC-2192 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-11-28Add updated normative typesYuli Shlosberg1-1/+22
Change-Id: I89977232727fd5516111279639a9ca19e7ce5018 Issue-ID: SDC-1962 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-10-22Add UT for CapabilityDefinitionSatyaki Mallick1-0/+32
Add UT for CapabilityDefinition. Issue-ID: SDC-1774 Change-Id: I141489dab051eb1e7ae6e33353ca378dfad7325f Signed-off-by: Satyaki Mallick <satyaki.mallick@huawei.com>
2018-10-15Fix Policy type and Policy definitionshiria7-203/+302
Fix policy according to TOSCA spec Change-Id: I4e3da732666dd52895c4458f0cbd16c6ca47c1cd Issue-ID: SDC-1782 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-10-08Add support of interface in TOSCA datatypesshiria36-776/+1963
Move all interface functionality from DataModelUtil class to TOSCA datatype relevant class Change-Id: Ifea22b60e9a71fe024e87f9987a749e9d56aad82 Issue-ID: SDC-1781 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-09-27DM modification to align with R2 DM clean versionliang ding4-78/+94
Change-Id: Ifcb5d3e644f46e4c9a4467e28b0dd7616b485497 Issue-ID: SDC-1415 Signed-off-by: liang ding <liang.ding@intel.com>
2018-09-09Add support for service substitution filtershiria5-72/+226
Change-Id: Id320380b83f072e0b8f5a81831111cbe96957d78 Issue-ID: SDC-1740 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-08-26related-networks property support as inputAssaf, Shay (sa726r)1-1/+1
Change-Id: I2d6fb011f7440127559a8f02b1c8a72095694403 Issue-ID: SDC-1658 Signed-off-by: Assaf, Shay (sa726r) <sa726r@intl.att.com>
2018-08-13Network Cloud onboarding model sync with sdc modelAssaf, Shay (sa726r)2-2/+29
Change-Id: Id3ab68276b25ad06c22b34412cf841e4209a17f6 Issue-ID: SDC-1621 Signed-off-by: Assaf, Shay (sa726r) <sa726r@intl.att.com>
2018-08-07Add FabricConfigurationManzon, Inna (im453s)1-1/+26
Add new Configuration and FabricConfiguration node types Change-Id: I86fd30810008e7e58ac3d978a3df9024afc88cfa Issue-ID: SDC-1593 Signed-off-by: Manzon, Inna (im453s) <im453s@intl.att.com>
2018-08-07Add FabricConfiguration capabilityManzon, Inna (im453s)1-1/+5
Change-Id: Ic1c25a1310f3f285d57c86a1645ab0d5ecd02876 Issue-ID: SDC-1593 Signed-off-by: Manzon, Inna (im453s) <im453s@intl.att.com>
2018-08-05TOSCA - Update Normative Types for Vlan Taggineleonorali2-25/+12
Update Normative Types for Vlan Tagging Change-Id: I1f3a4d5d6f589226b7b683ef08d8687fc6e9a774 Issue-ID: SDC-1578 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-07-29re base codeMichael Lando4-13/+5
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-24Fix sonar violationsWojciech Sliwka2-6/+0
Fix major sonar violations in ConfigurationUtils,ConfigurationImpl, PropertyType Issue-ID: SDC-1353 Change-Id: Ic3959ba174f0a9fcd3976c9d12c6425dc4353e72 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-07-05Fix node filter get methodsshiria1-36/+55
Support normative properties and capabilities as regular get methods Issue-ID: SDC-1455 Change-Id: I1ab709a17a2e03f81a7ae789b8c8fb83a1d03e81 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-07-02Fix getFlat for datatypeshiria5-69/+229
Fix getFlat when we driven from primitive type like string Adding support for service filter as tosca extension Issue-ID: SDC-1455 Change-Id: I57f05af13b394239ca55b71a946d69f56675bf19 Signed-off-by: shiria <shiri.amichai@amdocs.com>