summaryrefslogtreecommitdiffstats
path: root/catalog-model
AgeCommit message (Collapse)AuthorFilesLines
2020-04-22Handle null condition in TopologyTemplateOperationRodrigo Lima1-0/+1
- check if instanceId null in method isNotEmptyMapOfProperties Issue-ID: SDC-2920 Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com> Change-Id: I70667142ed51834de638903ccae4ffcb896cccab
2020-04-22Add null test in ArtifactsOperationsChris André1-15/+23
- Added if statement in `updateArtifactOnGraph` to account for the case where variable `artifactInst` has not been properly initialized Issue-ID: SDC-2919 Signed-off-by: Chris Andre <chris.andre@yoppworks.com> Change-Id: I73fe3b3bcef59e5797a0f7cfe7b6894816d0d3fb
2020-04-19Configure a new Artifact Typeandre.schmid8-663/+72
Centralizes artifact configuration in one yaml entry. Allow the configuration of a new artifact type without the need of code changes. The configuration file now is used as a source of artifacts types instead the artifact type enum. The enum will be used as a source of base artifact types and also in hard coded business rules. Change-Id: Id0383d9fca9bce0519a4d52a4ecb3a68c8713f0f Issue-ID: SDC-2754 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-04-19Fix non appearance VFCs on the Home tabvasraz2-3/+2
Change-Id: I1543da25b76adbe426726444bd855393267fabe5 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2868
2020-04-16Upgrade Junit to version 5.6Baumel, Dvir (db384r)1-0/+14
Issue-ID: SDC-2844 Change-Id: I4716bf7920f9bb79c450ebfd48e9d4fba54fdfdd Signed-off-by: Baumel, Dvir (db384r) <dvir.baumel@intl.att.com>
2020-04-01Increase test coveragevasraz3-27/+86
Change-Id: I7b1d4b783d2d8e41a8ff92db15d77270ba4eef80 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2833
2020-03-30Increase test coveragevasraz20-2037/+239
Change-Id: Ibc6134e5954537258541ff018dc9794191d4e907 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2833
2020-03-30Increase test coveragevasraz8-145/+102
Change-Id: If9b371042a42213f38828f9628714d076261f25c Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2833
2020-03-26Increase test coveragevasraz3-76/+15
Change-Id: Ie28e36012be1313efa0082b34c0b36c325dc1b76 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2833
2020-03-26Increase test coveragevasraz5-685/+365
Change-Id: I90606d768c55ad13aa9df62bc4d3f533206db1bc Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2833
2020-03-24Increase test coveragevasraz4-33/+110
Change-Id: I08577d28ced96f945d5ecfc3a19fb4f46d44ec02 Issue-ID: SDC-2833 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2020-03-22Add support for simple yaml profile 1.2vasraz5-582/+381
Change-Id: I735d25c6b6c3344c4b742f09b3aeaf4d03c2d17c Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2738
2020-03-22Include derived_from types in generated csararibeiro5-201/+147
Issue-ID: SDC-2775 Change-Id: I7b90ff78c389e5680cacafda2065669f6baf1735 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2020-03-19Increase test coveragevasraz2-30/+18
Change-Id: I5b666658061bf8838e1af952f3b808da6e113c7a Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2833
2020-03-19Increase test coveragevasraz2-25/+58
Change-Id: I8d9495d49aa867aee203e4af1fdcc843099f1b07 Issue-ID: SDC-2833 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2020-03-19Increase test coveragevasraz2-70/+59
catalog-model/src/main/java/org/openecomp/sdc/be/model/CatalogUpdateTimestamp.java Change-Id: I7c4218d09472196c0ddd7590dc6e5a4ba71f842a Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2833
2020-03-19Increase test coveragevasraz2-149/+78
Change-Id: Icb947bec2b36d6706dc2e214320c6018cabbca15 Issue-ID: SDC-2833 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2020-03-19Increase test coveragevasraz2-3/+44
Change-Id: I433f8d0cd27532b099ba902a83a4b067fd61e467 Issue-ID: SDC-2833 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2020-03-12Disable SecurityFilterOfir Sonsino1-1/+1
Bumping version to 1.7.0 Change-Id: I041bb5ce967b687e10be97dbbaa3ba1d119d13ff Issue-ID: SDC-2825 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-03-05Fix policy property type issueDmitry Puzikov1-15/+14
When VF is exported as csar, policy properties are typed regardless types in the related shemas. This patch fixes this issue. Change-Id: Ib34f329888d454283c89a8a1aec6349069ea7234 Issue-ID: SDC-2773 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
2020-02-25Policies import when import VSPDmitry Puzikov3-32/+38
Polices import implemented. Error type added for invalid policies. Import tests added. Fix test failures. Got rid of Either in the new code. Change-Id: I3e91cc6d24433c2b3862f407348e71e1e67c3b4e Issue-ID: SDC-2728 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
2020-02-24Fix Null Pointer Exception when loading resources from home page.aribeiro1-5/+7
Issue-ID: SDC-2777 Change-Id: Ia25f34736a8926b6ebe622114b0beb1f806f4791 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2020-02-18Configuration file runtime reloadandre.schmid2-6/+1
Reloads the backend configuration file when the file listener catches a change. Forces validations errors when the configuration file could not be parsed. Remove not used configurations. Change-Id: Ic6fcb2b557d52ec53074c38ab8e0fcfa96e9be67 Issue-ID: SDC-2758 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-02-02Move to version 1.6.1shrek20001-1/+1
Move SDC to version 1.6.1 Issue-ID: SDC-2755 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: If5c55fdebb5bc2591190ee4389487f6dbb0e1831 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-01-26Increase junit TCsvasraz2-57/+70
1. Re-enable disabled TCs (enable = true) 2. Enable @Ignored TCs 3. Add some Assert when missing 4. Remove old unused TCs (covered in UI) Change-Id: I900e52f4860b1fdc5bd1e529a1fe7f5c3491465b Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2672
2020-01-22Catalog alignmentys9693108-2026/+2423
Issue-ID: SDC-2724 Signed-off-by: ys9693 <ys9693@att.com> Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
2019-12-05Fix impossible to drag and drop same service twice into the compositionSatoshi Fujii2-1/+51
When a service proxy instance including underscore in its name is added into the composition, instance ID suffix is not properly calculated and that results in duplicate key error due to ID conflict. This change normalizes the name to find existing proxy instances to get suffix number calculated properly. Change-Id: I6f2ceb4b9cf020e1523264a99e1347b6caa98965 Issue-ID: SDC-2043 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
2019-11-25Fix Sonar issuevasraz2-2/+2
Major SmellCode: Replace StringBuffer with StringBuilder Change-Id: I0283e5160e5c1f23423c66110015f18c8163411e Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2670
2019-11-20Onboard PNF software versionandre.schmid2-34/+65
Change-Id: Id9e32e01f6c2f4c39c8ff10816d982cbb3063bf7 Issue-ID: SDC-2589 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-11-19Fix for scalar-unit type value.aribeiro3-43/+40
Issue-ID: SDC-323 Change-Id: I7f19a7356e1cd34deca0a168b3cb707ef657b9cb Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-11-03Create new non-mano Artifact Type entry for pnf software informationaribeiro2-0/+14
Issue-ID: SDC-2615 Change-Id: I4dd879d50b1dec58aceeaf0c265901c62d038071 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-10-30Fix zip slip security flawandre.schmid2-64/+6
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-30add artifacts support in TOSCA exported yml fileLiang Ding3-73/+45
Change-Id: I56f8a6a1ce758876e83a7ee8318b79644ae7d5cb Issue-ID: SDC-1952 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-10-29Bump SDC version 1.6.0Ofir Sonsino1-1/+1
Change-Id: Ibacb46d19d49023a62caa8f5217086cea6c91ac4 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-10-04Revert "Sonar fix NullPointerException"Ofir Sonsino1-1/+1
This reverts commit b0f96a46e2720c75eb035bbe94015e5a1c6b0b32. Issue-ID: SDC-2542 Change-Id: I63b5349670c8e5fa814d686cfa93173d0ea6297e Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-10-03Sonar fix NullPointerExceptionArindam Mondal1-1/+1
Issue-ID: SDC-2542 Change-Id: I08a93932d2776c40a982bb802aeac994c1f35841 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-09-10Bump SDC version 1.5.2Ofir Sonsino1-1/+1
Change-Id: Ib672dc8d60a0b6f4b37fd94afe84bc27dfba4c44 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-09-06fix a nested node type issueLiang Ding1-0/+7
the newly added node type is considered as nested when substitution_mapping is enabled in TOSCA yaml file Change-Id: Ibdee29d7a553c7b1ce085cbe971ceace6c4488f5 Issue-ID: SDC-2282 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-09-04unit tests - catalog-modelTomasz Golabek3-0/+246
Coverage increasing Change-Id: Idb7902578aca65eaee1a63871e9b84e3c4767233 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-09-03unit tests - catalog-modelTomasz Golabek4-117/+182
Additional junit tests for be-model Change-Id: I7364cd33411d7f6eb69f9a02b2aea889c594ea7b Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-09-02unit tests - catalog-modelTomasz Golabek1-15/+154
Additional junit tests for ToscaListValueConverter Change-Id: I41e8b501129ceb0640e54e4173b3cdf13983ccd8 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-26unit tests - catalog-modelTomasz Golabek5-0/+221
Additional junit tests Change-Id: I82f88ec4cc1fb18314cfb33dd9aafa58688318e0 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-22unit tests - catalog-modelTomasz Golabek15-151/+400
Additional junit tests Change-Id: I9952933895ba22114fb0bf19a51e54f1a232c8f3 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-08-06Added unit tests for AbstractPropertyConstraintPiotr Borelowski2-1/+114
Improved the unit test coverage in the package org.openecomp.sdc.be.model.tosca.constraints Issue-ID: SDC-2327 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I094ab463cc010ecd48e062a1a806b3b907223228
2019-07-28Update SDC version 1.5.1Ofir Sonsino1-1/+1
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d Issue-ID: SDC-2478 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-25fixing warnings from checkstyle in common-beBartosz Gardziejewski2-3/+3
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1ee7d055f865eef209e621ec45eba33eef69736f
2019-07-24Autowired annotation for catalog-beTomasz Golabek4-2/+5
Injection of the properties moved to the constructors/setters replacing field annotations. Change-Id: I766ff67e466bec5a91db1035f29e7f919d32e0ea Issue-ID: SDC-2400 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-21Added unit tests for AbstractStringPropertyConstraintPiotr Borelowski1-0/+85
Improved the unit test coverage in the package org.openecomp.sdc.be.model.tosca.constraints Issue-ID: SDC-2327 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: I79c3ecaa6aae9b9c3011d332444b072d7c1dc460
2019-07-14ComponentCache & ComponentCassandraDao removalTomasz Golabek15-2814/+0
Also removed all classes uses these two. Change-Id: I6793c3c935ae61c5c65f70d3541c542edf188ab4 Issue-ID: SDC-2389 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-11Added oparent to sdc mainTomasz Golabek161-111/+3279
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>