summaryrefslogtreecommitdiffstats
path: root/catalog-be/src
AgeCommit message (Collapse)AuthorFilesLines
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 buildChrisC20-8/+70
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-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-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 headerxuegao11-37/+62
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
2020-12-14Remove tosca.entity.Root from interface definitionMichaelMorris1-1/+0
No definition of type tosca.entity.Root is present meaning the derived from reference in tosca.interfaces.Root to tosca.entity.Root cannot be resolved. I cannot find any definition of tosca.entity.Root in the tosca spec so I am proposing to remove the "derived from" from this interface definition. This is consistent with tosca.nodes.root which does not contain the derived from even though in the tosca spec it is derived from tosca.entity.Root Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3398 Change-Id: Ie97d2f8da6793db9a7f510e4aee856837967e963
2020-12-07Allow substitution_filter for a VFKrupaNagabhushan4-30/+68
Issue-ID: SDC-3365 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I5894bffbc8e605de26832d03c6f988f17413393b
2020-12-07Fixing issue with nested servicesKrupaNagabhushan1-1/+1
Issue-ID: SDC-3376 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ibd234cc1e4459c0b8eb62ed6601a1dc9be3f1853
2020-12-07Support interface input during import VFCandre.schmid15-419/+836
Change-Id: I097ce258a7dadbedf1aff6ce53dd1286da074552 Issue-ID: SDC-3372 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-12-03[SDC] Validate PMDictionary content in Deployment artifacts tabAdam Wudzinski6-3/+194
Validate PMDictionary file content when adding or updating PMDictionary in Deployment artifacts tab. Fix dependencies conflict. Issue-ID: SDC-3390 Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com> Change-Id: I6f6bb196ef061419a309a8ded5fdbe116982a037
2020-11-17Fix import VFC with attributesaribeiro12-384/+305
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-16Fix node filter capability filtersaribeiro10-320/+400
Issue-ID: SDC-3335 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I6ffc1e0fb079ac0e33262f16a62deefda97f7616 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2020-11-16Fix deployment artifact not shownsebdet1-1/+1
Fix deployment artifact not shown when clicking on the composed resource defined in a service. Issue-ID: SDC-3301 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I65c5a61d27fad6126a933bf735abb0c99b1896a9
2020-11-05Modify the get service Abstract status interface and add the tonode judgmentsebdet1-4/+3
Fix code Issue-ID: SDC-3346 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I5e8fb25e2c855639f3389dc3b54b9dc8ceea3037
2020-11-05Add substitution_mapping attributes mappingvasraz3-99/+20
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-11-05Modify the get service Abstract status interface and add the tonode judgmentzhaoxiangjun6661-21/+21
Issue-ID: SDC-3346 Change-Id: Ib61d54394d6c4f0d20c39824e9265fc4bff995c1 Signed-off-by: zhaoxiangjun666 <xjzhaop@isoftstone.com>
2020-10-30Remove the Log4j 1.2.15sebdet1-1/+1
Remove the log4j 1.2.15 brought by Sigar library + update ESAPI to support slf4J instead of log4j Issue-ID: SDC-3310 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I63cee67d113f51dbe82a64c69629c62b47918103 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-10-26software version fixtragait2-0/+4
Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I468e1f5fc301e6b2966a514d12f04f769e1ab4b1 Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: SDC-3228
2020-10-26To solve the problem that the CSAR file cannot be imported when it is ↵zhaoxiangjun6663-9/+21
imported on the page, a 500 error is reported Issue-ID: SDC-3332 Change-Id: Ic62a7a3d5681c1a7d18feddd9be8f216a32cd31f Signed-off-by: zhaoxiangjun666 <xjzhaop@isoftstone.com>
2020-10-26Fix workflow issuexuegao1-4/+0
Fix the workflow issue where workflow is not packed into csar, if added after a checkout. Issue-ID: SDC-3311 Signed-off-by: xuegao <xg353y@intl.att.com> Change-Id: I673a8127087fb31eddd8badae8f3bd400ef8cb3e
2020-10-23Fix substitution_mapping property mappingandre.schmid2-11/+17
Currently the properties in substitution_mapping are being generated as property definition, copying the inputs. They should be property mappings referring inputs. Change-Id: I0b3b056adeab79915db1b42218364c22f07a079f Issue-ID: SDC-3307 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-10-23Fix for substitution filter propertiesKrupaNagabhushan8-467/+391
Issue-ID: SDC-3325 Change-Id: If26bf895a0a2f914fb9c2b36e53466df9b7999fe Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
2020-10-12Add test code for Test Topology Auto Design- Service Importzhaoxiangjun6665-281/+1163
Issue-ID: SDC-3297 Change-Id: Ia8e1f53b96a559d606356cd3072e1dac98c694e0 Signed-off-by: zhaoxiangjun666 <xjzhaop@isoftstone.com>
2020-10-03sdc changes for identifying helm package as a vfmSithara Nambiar2-1/+5
Issue-ID: REQ-341 Signed-off-by: Sithara Nambiar <sitharav.aredath@huawei.com> Change-Id: Ide4736655c01dd25dae5afe1207a292a6bcd6951
2020-09-29Allow hot reloading of specific config propertiesaribeiro2-17/+19
getGlobalCsarImports and getDefaultImports entries are now not static which will allow to get new values if the config file change during runtime. Issue-ID: SDC-3303 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I870c13aec5d386aa3c87d6a335b5fb5948073954
2020-09-23Remove legacy Policy Types no longer usedPamela Dragosh3-486/+0
These were loaded in Dublin as a stop gap solution as we built up the self-serve control loop infrastructure over the last 3 releases. CLAMP does not use these anymore, so cleaning them out of the repo. Issue-ID: SDC-3229 Change-Id: I39e3a8b8146629f4b9dbb02abe7a0acf9166e716 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-09-21Support for Test Topology Auto Design- Service Importzhaoxiangjun66645-109/+14222
Add some test code and use lombok in catalog-model Test Topology Auto Design (NFV Testing Automatic Platform) Delete useless test code and add test code for new function Issue-ID: SDC-3179 Issue-ID: SDC-3085 Signed-off-by: zhaoxiangjun666 <xjzhaop@isoftstone.com> Change-Id: I7f555633a00848c273014caa18ea0e30d0b22113
2020-09-18Introduce a new docker for be pluginssebdet45-0/+6016
Introduce a new docker image containing the etsi plugin and potentially others + simplify the process to build backend image + cleaning of unused files Issue-ID: SDC-3289 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I82c770b391d169bef3bcc5f5af66e2a24dffb1b4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-09-08Upgrade to java 11sebdet1-12/+14
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>