aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
2021-03-24Enable selection of base type of servicevasraz11-18/+168
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3506 Change-Id: Iaba39955fac9056cb0d0f1eccd223c05dfb9c5b4 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2021-03-22Update Master to IstambulChrisC1-1/+1
Set version 1.9.0 to ensure no clash of dockers when H branch stage jobs are going to produce stage dockers Issue-ID: SDC-3527 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I008a90101d89bbd50fae98cc7ce5caae1958059b
2021-03-19Publish swagger files for SDC APIsMichaelMorris57-52/+225
I have created a swagger file for each of the APIs as they are currently listed on the architecture page. Some of the files can be easily be combined if some of the APIs are combined. I have created a single file for SDCE-2 and SDCE-5 as it is not possible to seperate as they are both paritially implemented in the same class with overlapping paths I have copied the generated swagger files to the docs directory as I suspect they need to be under source control for the generation of the readthedocs page Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3525 Change-Id: Id42412704311a573e3ebf911ad34d909c1c3f1b2
2021-03-19Reformat catalog-bevasraz552-35340/+25333
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3449 Change-Id: I45ae9fef826bcd5e3aa65c81d232d349faf02f91
2021-03-18Improve test coveragevasraz1-2/+1
Use Lombok annotations to improve test coverage Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iaaed0023960cfe0a31e1b50fb868196ab488cb4c Issue-ID: SDC-3428
2021-03-17Fix Substitution Mapping for inputs created independentlyKrupaNagabhushan2-1/+2
Issue-ID: SDC-3515 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I90e489ac7f7a244d1338d0d6f6c3c2413a131fcc
2021-03-17Update SDC versionChrisC1-1/+1
Prepare for RC1 build for H release Issue-ID: SDC-3479 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I91ce37170a98d17b71cd30ff9a43ec5fe63b8cad
2021-03-17Support default value for category specific metadatadavsad1-0/+1
Issue-ID: SDC-3513 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I4697b66c6d59c1464cf81f9c68fe76b6ca24472c
2021-03-16Remove unused dcae-be healthcheckChrisC6-63/+2
Remove DCAE-DS backend Healthchecks that are noisy in the logs DCAE-DS was sunset in G release Issue-ID: SDC-3514 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Iad9d6738ec813be9b87766ed189deda34e711ab1
2021-03-16Adding ETSI SOL001 v4.4.1 vduCpMichaelMorris3-0/+66
Previous version does not have 'container_binding' needed for CNF onboarding Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3509 Change-Id: I0894b3ec818f1448997a99c2754153998bf77151
2021-03-16Fix Security Vulnerabilitiesaribeiro2-41/+40
Issue-ID: SDC-3500 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I3fa2ed2bc3a170d8256fbc91c98bbfbaf5c0a403
2021-03-11Adding unit testsxuegao1-32/+2
Adding unit tests to improve test coverage. Issue-ID: SDC-3428 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: Icea75db44575c2ea9e6b51a34730e83b0d35f03f
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