summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2021-01-15Initial support for relationship_templatesandre.schmid13-225/+682
Change-Id: Ia246b9f11a77815c0585abfa0b3de5433728001a Issue-ID: SDC-3435 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-01-14Create inputs independent of propertiesKrupaNagabhushan3-3/+225
Issue-ID: SDC-3431 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I4f29d0e490a14292fd1aa9f96ca6621b37f325d8
2021-01-13Enable updating of categoriesMichaelMorris1-23/+13
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3432 Change-Id: Iea0264db40f9d13462182cf0a37ffdd0278f6a1f
2021-01-12Support for category specific metadataMichaelMorris4-120/+77
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
2020-12-17Integration tests for validating PM_Dictionary.Maciej Malewski1-1/+1
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.0MichaelMorris3-0/+7
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 typearibeiro3-10/+12
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-07Allow substitution_filter for a VFKrupaNagabhushan2-1/+12
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.schmid5-243/+369
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 Wudzinski3-3/+93
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 attributesaribeiro10-188/+213
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 filtersaribeiro6-213/+253
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 mappingvasraz2-0/+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-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 propertiesKrupaNagabhushan6-210/+285
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 Importzhaoxiangjun6662-42/+50
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-21Support for Test Topology Auto Design- Service Importzhaoxiangjun66631-106/+8205
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-07Fix Vulnerabilities reported by SONARvasraz3-11/+10
Change-Id: I8f4e173a4ea5111db55eebaf15be86f1583082ad Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3248
2020-09-07Make directives options configurable backendaribeiro3-54/+50
Issue-ID: SDC-3277 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I51ece01c0b0deb93cc7ab79ce8dcb9e1c5503074
2020-09-07Make directives options configurablearibeiro1-0/+104
Issue-ID: SDC-3275 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ia91655f02c45d033ebae45bd6d9f252c2f6d6f47
2020-09-07Enable selection of requirementsvasraz3-1/+124
Instead of all requirements of the component instances in a component being exposed outside the component, this change will enable the component designer to specifiy which should be exposed outside the component and which are to be internal to the component Change-Id: Ib063f7b8b0aca94896e78a46f069725bae3d494d Issue-ID: SDC-2771 Signed-off-by: MichaelMorris <michael.morris@est.tech> Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2020-09-07Use meaningful workflow namexuegao1-4/+5
When generate csar, use meaningful workflow name instead of null. Issue-ID: SDC-3230 Signed-off-by: xuegao <xg353y@intl.att.com> Change-Id: I250e2f928aa33b2da86a7c458c098713c43a5074
2020-09-07Replace artifact folder ONBOARDED_PACKAGE in CSARvasraz1-0/+4
Replace artifact folder ONBOARDED_PACKAGE for ETSI_PACKAGE in TOSCA CSAR. Also included VF artifacts will also have the same folder replaced. Change-Id: If03f13a80894e98a0abe1b849322f86a27dfd3f1 Issue-ID: SDC-3261 Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2020-09-07Add 'data_types' during import VFCsvasraz3-101/+225
Change-Id: Ib9974bbc1eb88633e7e6834cc7ef8ae95deda539 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3191
2020-09-07Retrieve node_filter capabilitiesaribeiro1-10/+27
Issue-ID: SDC-3270 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ieb1b3c4d31a50e73112fc34cdd8d5fd9ba9e6a30
2020-09-07Add support for TOSCA 1.3vasraz1-1/+2
Change-Id: I57da82df0f035803f4921db5b3ec9ede3ff7a952 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3273
2020-09-07Map topology inputs to properties in substitution mappingaribeiro2-1/+14
Allows to map properties of the node_type to inputs of the topology template for a service Issue-ID: SDC-3254 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Iee49fe0ac29a39b98d8dc8185401f4d1c4aeffbb
2020-09-07Update node_filter capabilitiesaribeiro2-9/+49
Issue-ID: SDC-3265 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ib2dbd299ff5fc336258bf29a303210eacfd984cf
2020-09-07Delete node_filter capabilitiesaribeiro2-4/+13
Issue-ID: SDC-3264 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I91bb476819aaf247ec106139a3af1afe327a700c
2020-09-07Add node_filter capabilitiesaribeiro2-14/+59
Issue-ID: SDC-3263 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I2965c8b0b9331b035ba5f9cc7f58d9ea3af26402
2020-09-07Adjusting check condition for ZipOutputStreamKrupaNagabhushan1-2/+4
Issue-ID: SDC-3226 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I49e8916e23a7883832a02e6f294fd3f2a537f3a2
2020-09-04Support for Nested/Hierarchical ServicesMichaelMorris3-51/+141
Change-Id: I478cf2e1f9cf96443a3e35bf22ac2c9d72bca8f1 Issue-ID: SDC-3145 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2020-09-04Upgrade Vulnerable Direct Dependencies [jackson]amohamad1-1/+1
Issue-ID: SDC-3051 Upgrade from jackson-databind 1.9 and 2.10 to 2.11 upgrade the respective pom.xml files Upgrade the 1.9 imports and required code changes Upgrade the beans-services.xml files Change-Id: I56b59e08d65a0a1888c8caeb5470bc0c6a028ddd Signed-off-by: amohamad <a.mohamad@queensu.ca>
2020-09-02Support for defining attributes on a node_typevasraz10-450/+522
This commit aims to add support of attributes on node_type. It is first of several commits to cover all support. It includes: - new classes: AttributeDefinition ComponentInstanceAttribute IAttributeInputCommon IAttributeInputCommon AttributeDataDefinition MapAttributesDataDefinition - support of 'Import of VFC with attributes' - TCs fix for changed code Next commit(s) will cover: - support of "Onboarding packages with attributes" - support of "Download TOSCA Artifacts - Tosca Model" - support of "Import onboarded VSP" Change-Id: I0167abc58e8aeef3d631833cc323e466f8e71492 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3200
2020-08-24Expose generic Service properties as propertiesandre.schmid1-12/+33
During the Service creation, the properties declared in the Generic Service Type are being parsed to inputs, but not to properties. The change parses the properties also to properties, keeping the previous input logic. Change-Id: I3ceba3adeaab56cd49fc8fbd657b02aa7c93e79b Issue-ID: SDC-3061 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-08-11Fix workflow designer issuexuegao1-0/+1
Fix the issue so that the workflow bpmn will be packed into csar again. Issue-ID: SDC-3181 Signed-off-by: xuegao <xg353y@intl.att.com> Change-Id: I5f8ca112fe1bd2a7abf1529f491400237d88ce56
2020-08-10Revert "Refactor CsarUtils::addInnerComponentsToCSAR"Sébastien Determe3-260/+161
This reverts commit f4165e2af8ae596d574aecae2fcf174420396b2e. Reason for revert: This PR has broken the API tests and the csar generation (csar.meta) is not present anymore. Therefore some components may not be able to open the CSAR with the sdc-tosca libraries We must rollback for now, until a fix is provided Change-Id: I3af8b9f08dd28b6abdb4df9acdcf9ab2623d10e5 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Issue-ID: SDC-3225
2020-08-06Remove needless Getter/Setter testingvasraz1-27/+10
Change-Id: I4802e15a57b01d520e875db295df2eb826b6b5c0 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2708
2020-07-29Config. allowed instances in component compositionandre.schmid3-127/+68
During the creation of Resource and Services components, the allowed types to add in its composition are hard-coded. This change allows those types to be configurable using the configuration.yaml backend file. Change-Id: If48849b57fe5124468db3d55f2f06391348935fb Issue-ID: SDC-3177 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-07-12Refactor CsarUtils::addInnerComponentsToCSARFrancis Toth3-161/+260
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: I4f9a52950d4d6ffadf9a5cb170c99d229ac83a35 Issue-ID: SDC-2812
2020-07-12Add endpoints for supporting substitution_filteraribeiro3-48/+328
Issue-ID: SDC-3160 Change-Id: Ibc722f283451fecde7655e867654880ae50cc645 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>