summaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
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-25Standardize docker tagging1.7.1sebdet1-4/+4
Standardize the docker tagging in all maven modules Issue-ID: SDC-3300 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id43cbd8efea119d4acf7280b75c30a0275ec3242 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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 pluginssebdet48-1265/+4465
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 11sebdet4-26/+80
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>
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 backendaribeiro7-76/+79
Issue-ID: SDC-3277 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I51ece01c0b0deb93cc7ab79ce8dcb9e1c5503074
2020-09-07Make directives options configurablearibeiro4-0/+125
Issue-ID: SDC-3275 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ia91655f02c45d033ebae45bd6d9f252c2f6d6f47
2020-09-07Add and change node_filter unit testesaribeiro2-5/+86
Issue-ID: SDC-3272 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I29ff07fa5e4d4cec1379018d417e35a156e7aa2f
2020-09-07Enable selection of requirementsvasraz5-1/+189
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-07Update version to 1.7.1sebdet1-1/+1
Update the pom to 1.7.1 so that we could deliver when we want Issue-ID: SDC-3274 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I1cea02ebe28cc7cbb03ea5dd3ced98953e32dfc1 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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-07Template design (NSSTs) for slice sub-nets (RAN, Core, Transport).hekeguang1-0/+418
Issue-ID: SDC-3086 Change-Id: Ib70da9e03d6dd152d901344c60f8ba47f38450fe Signed-off-by: hekeguang <hekeguang@chinamobile.com>
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-07Rename ONBOARDED_PACKAGE folder to ETSI_PACKAGEKrupaNagabhushan2-1/+23
Issue-ID: SDC-3259 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I8bcaeb11536aa1c7ad8d15f00bdf5663e6a059b5
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-07Adding ETSI NS typesMichaelMorris7-2/+170
Change-Id: I22f644a6b02f4f05ddc951af899463df9b11b7db Issue-ID: SDC-2618 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2020-09-07Create Service category ETSI Network Serviceandre.schmid2-0/+7
Creates a new Service category ETSI Network Service, having the service base type as ETSI NS type tosca.nodes.nfv.NS. Change-Id: I2615a1e1f88330064b97516ed3865a408e1b51b2 Issue-ID: SDC-3250 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-09-07Update node_filter capabilitiesaribeiro4-15/+58
Issue-ID: SDC-3265 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ib2dbd299ff5fc336258bf29a303210eacfd984cf
2020-09-07Delete node_filter capabilitiesaribeiro4-12/+26
Issue-ID: SDC-3264 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I91bb476819aaf247ec106139a3af1afe327a700c
2020-09-07Add node_filter capabilitiesaribeiro4-50/+214
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 ServicesMichaelMorris7-54/+276
Change-Id: I478cf2e1f9cf96443a3e35bf22ac2c9d72bca8f1 Issue-ID: SDC-3145 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2020-09-04Upgrade Vulnerable Direct Dependencies [jackson]amohamad2-6/+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-02Optimize Buildsebdet1-0/+7
Optimize the time required to compute the tests so that the build can be faster Issue-ID: SDC-3232 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I0ccbc3a0f9d895e75dcf5e4c1ef35ebf3ba06808 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-09-02Support for defining attributes on a node_typevasraz13-558/+631
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.schmid2-47/+140
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-16SDC changes for adding helmSithara Nambiar3-0/+25
Issue-ID: REQ-341 Signed-off-by: Sithara Nambiar <sitharav.aredath@huawei.com> Change-Id: I4721f6e8e2690dc5f7c10bb7b1b2f53ec5f318c7
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 testingvasraz2-92/+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.schmid10-164/+258
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-15Align onap/base_sdc-xyz versionsvasraz1-1/+1
Change-Id: Ic2e53bb76b0b6bc54de3336f5e5916eba189fe18 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3201
2020-07-15Fix missing referenced node_typesKrupaNagabhushan5-0/+46
Issue-ID: SDC-3153 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I0b17ac92a49e1f006f5708b20af82a62ee769a9e
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 substitution_filter endpoints unit testsaribeiro1-0/+440
Issue-ID: SDC-3166 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ie01f7abc5eccc36e8f1159cbece329a7fadeacd5
2020-07-12Add endpoints for supporting substitution_filteraribeiro4-59/+335
Issue-ID: SDC-3160 Change-Id: Ibc722f283451fecde7655e867654880ae50cc645 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2020-07-09Add substitution_filter business logic unit testsaribeiro1-0/+482
Issue-ID: SDC-3165 Change-Id: I91f3075c43d04add450c16614b07f08219ad743d Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2020-07-09Add support for substitution_filter business logicaribeiro14-649/+1092
Tosca simple YAML profile allows for substitution_filter to be specified for a topology template to provide processing instructions to the orchestrator. Issue-ID: SDC-3147 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ia94b8c447d3157e614f9d1524ad4520b3980ba4d
2020-07-05Fix sonar issuessebdet3-105/+95
Fix sonar/checkstyle issues in sdc code Issue-ID: SDC-3158 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I33638b39d39b7e918437cb9f3e0f15d52fa92218
2020-07-05Fix sonar issuessebdet4-45/+58
Fix sonar/checkstyle issues in sdc code Issue-ID: SDC-3158 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I004b0f579ff1f273f39a155217972f5efcdcf5cb
2020-07-05Fix sonar issuessebdet1-44/+40
Fix sonar/checkstyle issues in sdc code Issue-ID: SDC-3158 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I0ae188c5f0e2d96fd94de66fe0dcd0c47bcd9af5
2020-07-05Fix sonar issuessebdet5-150/+110
Fix sonar/checkstyle issues in sdc code Issue-ID: SDC-3116 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic29f9233838e15b195d1a339bfac8e6d56888609
2020-07-05Clean CsarUtils::MainYamlWithDependenciesFrancis Toth8-212/+112
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: I593dd7bb6a20445899a14da793e8c550e1e14e09 Issue-ID: SDC-2812
2020-06-30Fix test coverage drop introduced by #109510vasraz1-6/+0
Change-Id: Ic74f11f60ff7673330a8c3521da49a92f70ae0fb Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3149
2020-06-25Rationalize maven dependenciesJulienBe1-15/+0
Issue-ID: SDC-3149 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: I1ee42494a4cc5b185b6dfcbee44399d2960cf880