summaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
2021-03-05Fix SONAR coverage dropvasraz2-948/+925
Change-Id: I3f0d002fda21000b968d4c226346847a08a28d0d Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3297
2021-03-04Update to 1.8.31.8.3ChrisC1-1/+1
Update Version to prepare for release Issue-ID: SDC-3464 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Ie23d18d3124ec8cf8edb77a468538c8548a11375
2021-03-04Fix issue with invariantUUID in exported toscaMichaelMorris1-1/+9
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3496 Change-Id: If12426466d2e9f8cfd97cef888f8a710e46afb01
2021-03-04Add test code for Test Topology Auto Designsuzhenyu10-2345/+2231
Issue-ID: SDC-3297 Change-Id: I63013b88ceeed52938fa206de25c3ba5e58d7daa Signed-off-by: suzhenyu <zysuh@isoftstone.com>
2021-03-01Improve test coveragevasraz29-731/+20
- remove unused code - use lombok Change-Id: I8c52584249347c7ca2102022457225401f95b9a5 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3490
2021-03-01Increase unit test coveragearibeiro2-36/+556
Increase ComponentInstance unit test coverage Issue-ID: SDC-3493 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ife5a9b9cc41e5210005c37d368a094c86fa26db8
2021-02-26Implement Attributes/Outputs BE (part 3)vasraz11-60/+1077
This commit includes unit test for new/changed code Change-Id: I619039f99c4a09484df098375067bdceee4636b0 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3448
2021-02-26Improve test coveragevasraz2-71/+33
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3490 Change-Id: Idb71d433834a8612a5434c84c7f0fdef5573cea2
2021-02-26set default software version value from propertiestragait1-0/+12
In this commit, default software version value is copied from software versions list[0] property. This input value will being used in pnfcustomization table. Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: SDC-3469 Change-Id: I114b3452e6a2420487029f7e4d04cb72798c61bb
2021-02-25Fix bugs introduced by new codevasraz2-16/+15
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ide809e2e83b3f620dd1f173266edbe94967454f5 Issue-ID: SDC-3475
2021-02-25Increase test coveragearibeiro2-1/+413
Unit tests for CapabilityServlet Issue-ID: SDC-3485 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ib516105b9a160f80aa77f368ab20b3bb6f7c0580
2021-02-25Update version to 1.8.21.8.2ChrisC1-1/+1
Update SDC poms to 1.8.2 to prepare for release Issue-ID: SDC-3464 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I4a82d521dc8ec80b65082a12a1bc43598ae37e25
2021-02-25Fix rollback during resource creationandre.schmid1-11/+7
Change-Id: If4014483da98857895ebd9528c82fd337aa5ddf8 Issue-ID: SDC-3474 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-02-25Fix 'not deleting Outputs'vasraz1-19/+29
Change-Id: I1a5ab1dec4ab7ec381df157e9c12dc8fa00e82c4 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3448
2021-02-25Improve import and export VFC TOSCA attributesandre.schmid18-378/+484
Improve the import and export VFC TOSCA attributes, addressing the following concerns: - brings the import and export logic very close to the properties logic, as they are very similar structures - fix import/export default values for complex types and list of simple or complex types - fix export of unnecessary/empty attribute entries - creation of attributes during the initialization (base types) - inheritance of parent attributes Change-Id: Ic733e3455fc256595b5c2b1f48e19a13be27b5cc Issue-ID: SDC-3466 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-02-24Implement Attributes/Outputs BE (part 2)vasraz33-576/+2213
This commit includes support for: - declare Attribute as Output - undeclare Attribute as Output - export 'Tosca Artifacts' with Attributes/Outputs Change-Id: Iedfbf936e439fd2f7d252b660fe2c42b8d9b9113 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3448
2021-02-23Upgrade Vulnerable Direct Dependencies [snakeyaml]JulienBe1-3/+2
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>
2021-02-22Fix locally failing TCs in catalog-bevasraz33-3749/+4266
Migrate to Junit 5 TCs that extends JerseyTest Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4c81e70836ee5e634291d74cd1773d221dce3702 Issue-ID: SDC-3377 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2021-02-21ETSI NSD SOL001 v3.3.1 typesMichaelMorris24-9/+522
Types in 2.7.1 folder are types valid for v3.3.1 that have not changed from v2.7.1 Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3339 Change-Id: I8961bc9fc22ac53d61c785ef5f6cec0f958e9030
2021-02-21ETSI SOL007 3.3.1 package security option 2andre.schmid1-0/+1
Change-Id: I4e021c517449e6ddf11571c02d0b4bdbc93e7c1e Issue-ID: SDC-2614 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-02-21Update node and data types for SOL001 3.3.1 + CNF enhancementsMichaelMorris36-48/+1104
Types in 2.7.1 folder are types valid for v3.3.1 that have not changed from v2.7.1 Types in 4.1.1 folder are the CNF enhancements which it is assumed will be in v4.1.1 Includes some changes in functionality to support: 1. Deployment of both existing (2.5.1) versions of types and new versions of types through sdc-BE-init 2. Selection of the correct node type definition version at onboarding of an ETSI SOL004 VNF/CNF csar, based on the declared version supported in the csar (i.e. when a 3.3.1 csar is imported, the node type definitions valid for 3.3.1 are used (rather than current logic which always selects the latest version) Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3470 Change-Id: Iff835d230b173b9d44349caa6b0b11d783e8f8d3
2021-02-20Fix BLOCKER BUG reported by Sonarvasraz1-21/+14
added missing fix for DistributionEngineInitTaskTest Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I7196ead27f83578f3664d6b40de6cee3eb0129ae Issue-ID: SDC-3472
2021-02-20Fix BLOCKER BUGs reported by Sonarvasraz3-102/+106
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I00c466ac3fcbe8fab4629aed3a36bb2d8af3a970 Issue-ID: SDC-3472
2021-02-20Fix updating resource version on composition uidavsad1-4/+1
Issue-ID: SDC-3433 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: Ic4334965b0652fba4f55d4f5892d006f8ca469f0
2021-02-20Fix pnf csar package issuexuegao2-29/+80
Generate the dependencies and imports even derivedFrom list is empty. Issue-ID: SDC-3391 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: Ia07d1d6a73a1e08fb8f5ba1678b15e71aecd54b0 Signed-off-by: xuegao <xue.gao@intl.att.com>
2021-02-18Implement Attributes/Outputs BE (part 1)vasraz19-1108/+1661
This commit includes support for: - import VFC with attributes - add VFC to VF/Service - show attributes in VF/Service Change-Id: I2cda966ab878ae7aee4bcfecf266c5c251c91164 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3448 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
2021-02-15Fix buildChrisC24-12/+75
Fix catalog-be tests and Integration docker test this fix is not final as it just avoids concurrency issues on statics Fix Expired certificates on Vendorsoftwareproduct Issue-ID: SDC-3467 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I311470b305a29bebffbd74b6f2ad7b13193132e1
2021-01-30Update project version 1.8.0 -> 1.8.11.8.1Joanna Jeremicz1-1/+1
Version updated due to minor feature, introduced recently: Trim inputs in Property assignment Issue-ID: SDC-3390 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>, ChrisC <christophe.closset@intl.att.com> Change-Id: I35c8d5228278ce29b4134e649aae0eb220fe63ab
2021-01-30Fix onboarding artifact name errordavsad1-1/+1
Allowing for @ in Yang files names e.g. samplefile@2021-01-19.yang Issue-ID: SDC-3414 Change-Id: I20b1f5fceeace24709799b3953d82238bc2b85df Signed-off-by: davsad <david.sadlier@est.tech>
2021-01-29Remove duplicate codeJulienBe1-584/+114
Issue-ID: SDC-3428 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: I3c4f595c1200640fcc11fc1bbace967cd539367b Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
2021-01-29Add support for updating interface operationsaribeiro11-136/+759
Allows to update interface operations on a component instance. Issue-ID: SDC-3446 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: I6a2c44997c04d9d9ea298e3d0bc971da7b137799
2021-01-25Handle ETSI versions in NSD Pluginandre.schmid1-0/+5
The plugin now considers the ETSI version in the component metadata to generate the correct imports of nsd types, i.e., aligned with the provided version. Change-Id: I54aee04722a4434eac59ea8b70c4f30f5c81645e Issue-ID: SDC-3447 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-01-22Fix TOSCA descriptor header version from 1.1 to 1.3KrupaNagabhushan1-1/+1
Issue-ID: SDC-3445 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Idd30ccc09746eb9d33c809acaa4abc3dcdcc432a
2021-01-22Fix updating of category specific metadataMichaelMorris1-0/+1
When updating a previously set value for a category specific metadata entry, the new value was not being persisted Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3441 Change-Id: Id47d53f4fddd3bfbdaf83ed354494602013f58fe
2021-01-22Remove vulnerable log4j dependencyvasraz1-0/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3310 Change-Id: I1c31ab30efa7a3d03a08f512024a3967ce024237
2021-01-20Fix import of services containing artifactsMichaelMorris1-3/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3437 Change-Id: Ib5402c38c1f2bffa906cef3a36bfdaf5b4d9cf8e
2021-01-20Remove dead codeJulienBe24-231/+87
Remove unused variables Remove unnecessary statements Issue-ID: SDC-3428 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: Iddc8ffdc141edd409d50f90c03cb6612f6ebf042 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
2021-01-20Fix Blocker BUGvasraz1-37/+19
Change-Id: I4de4133d9a31de3f17961a38dd087d1f4f80c273 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3439
2021-01-19Add basic auth headerxuegao15-42/+109
Add basic auth header for sdc-backend-init python scripts. Issue-ID: OJSI-273 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: I3559d5792509db0f65b202a731545083c7c91c96 Signed-off-by: xuegao <xue.gao@intl.att.com>
2021-01-19Add basic authxuegao6-21/+63
Adding basic auth for SDC apis. Issue-ID: OJSI-90 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: Ie84e6bab8d8526f7f4d21a36bba52d8fe9abebbb Signed-off-by: xuegao <xue.gao@intl.att.com>
2021-01-15Initial support for relationship_templatesandre.schmid20-616/+1369
Change-Id: Ia246b9f11a77815c0585abfa0b3de5433728001a Issue-ID: SDC-3435 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-01-14Create inputs independent of propertiesKrupaNagabhushan4-5/+240
Issue-ID: SDC-3431 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I4f29d0e490a14292fd1aa9f96ca6621b37f325d8
2021-01-13Enable updating of categoriesMichaelMorris2-23/+37
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3432 Change-Id: Iea0264db40f9d13462182cf0a37ffdd0278f6a1f
2021-01-12Improve test coverageJulien Bertozzi2-170/+196
Issue-ID: SDC-3428 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: I48b6991fbbea31279246d92692760fc6375c7eb5 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
2021-01-12Support for category specific metadataMichaelMorris7-127/+82
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3412 Change-Id: I87392cc21dc25253b558bdc1d453d99659d049fa
2021-01-12Fix Inputs Value field to allow null valueKrupaNagabhushan1-1/+1
Issue-ID: SDC-3430 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I845aeb2bf380b5661b5c88bc3f00f388a075efbf
2021-01-07Update ETSI NFV Network Service categoryandre.schmid2-5/+5
Change-Id: Idbc88a7a047e539d1826997e8d98af23c3ee9bbd Issue-ID: SDC-3416 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-12-17Integration tests for validating PM_Dictionary.Maciej Malewski2-2/+2
Checking compliance content of the PM_Dictionary file against it's schema. Issue-ID: SDC-3390 Change-Id: I8e20f977c7d6838005bc84fc6c7c8ab197152a53 Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com>
2020-12-15Add metadata to topology inputs1.8.0MichaelMorris5-2/+29
Change-Id: If57e16003532d59552fa0b5cacc69a792e5b877a Issue-ID: SDC-3399 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2020-12-15Set directives and node_filters in any node typearibeiro4-25/+24
Allows to set directives and node_filters in any node type. Issue-ID: SDC-3404 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ib75821e27bf949f841c990b1353f156eda2ae8f0