sdc.git
3 years agoMake directives options configurable backend 32/112232/2
aribeiro [Fri, 4 Sep 2020 12:31:21 +0000 (13:31 +0100)]
Make directives options configurable backend

Issue-ID: SDC-3277
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I51ece01c0b0deb93cc7ab79ce8dcb9e1c5503074

3 years agoFix Sonar coverage 10/112210/4
sebdet [Mon, 7 Sep 2020 07:33:26 +0000 (09:33 +0200)]
Fix Sonar coverage

Fix the coverage sonar issue due to changes in CI

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I559ffdf9c2c9863c9a2bb8cdc1d6780a86d9e916

3 years agoMake directives options configurable 31/112231/2
aribeiro [Fri, 4 Sep 2020 09:29:18 +0000 (10:29 +0100)]
Make directives options configurable

Issue-ID: SDC-3275
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Ia91655f02c45d033ebae45bd6d9f252c2f6d6f47

3 years agoAdd and change node_filter unit testes 16/112216/3
aribeiro [Tue, 1 Sep 2020 12:29:56 +0000 (13:29 +0100)]
Add and change node_filter unit testes

Issue-ID: SDC-3272
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I29ff07fa5e4d4cec1379018d417e35a156e7aa2f

3 years agoEnable selection of requirements 25/110825/6
vasraz [Fri, 4 Sep 2020 14:27:00 +0000 (15:27 +0100)]
Enable selection of requirements

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>
3 years agoUse meaningful workflow name 75/112175/3
xuegao [Fri, 4 Sep 2020 13:29:15 +0000 (15:29 +0200)]
Use meaningful workflow name

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

3 years agoUpgrade Vulnerable Direct Dependencies [many] 71/111071/9
amohamad [Mon, 10 Aug 2020 00:27:40 +0000 (20:27 -0400)]
Upgrade Vulnerable Direct Dependencies [many]

Issue-ID: SDC-3051

Upgrade ONLY Maven Dependencies in pom.xml (sdc-main)

Upgrade Netty-all 4.1.36.final to 4.1.48.final

Upgrade  togglz-console 2.4.1.final to 2.6.1.final

Upgrade  commons-beanutils 1.9.3 to 1.9.4

Upgrade testng 6.x  to 7.2.0

Change-Id: Ieffbeba96c0bc5dfba1f3f5371339286d94a3a3b
Signed-off-by: amohamad <a.mohamad@queensu.ca>
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
3 years agoUpdate version to 1.7.1 03/112103/4
sebdet [Thu, 3 Sep 2020 13:09:21 +0000 (15:09 +0200)]
Update version to 1.7.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>
3 years agoOptimize Build 05/112105/4
JulienBe [Thu, 3 Sep 2020 15:09:46 +0000 (17:09 +0200)]
Optimize Build

Optimize the log output

Issue-ID: SDC-3232
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: I50cfb7119b1e9087d3e2db56a81fe47df4ad6254

3 years agoReplace artifact folder ONBOARDED_PACKAGE in CSAR 49/111849/6
vasraz [Mon, 7 Sep 2020 10:36:26 +0000 (11:36 +0100)]
Replace artifact folder ONBOARDED_PACKAGE in CSAR

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>
3 years agoEnhancement debian package manager apt-get tweaks 09/111609/4
Pratik Raj [Sun, 23 Aug 2020 18:22:52 +0000 (23:52 +0530)]
Enhancement debian package manager apt-get tweaks

By default, Ubuntu or Debian based "apt" or "apt-get"
system installs recommended but not suggested packages .

By passing "--no-install-recommends" option, the user lets apt-get know
not to consider recommended packages as a dependency to install.

This results in smaller downloads and installation of packages
which result in faster download and setup

Refer to blog at
[Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends)

Issue-ID: SDC-3256

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
Change-Id: Ie9ebfa8e49fa6d562683fa147685c92d1180f467

3 years agoChange to public npm repo 47/112147/5
sebdet [Fri, 4 Sep 2020 07:53:41 +0000 (09:53 +0200)]
Change to public npm repo

Change to public npm repo to avoid issues with the build in npm for catalog-Ui

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I86fd58471bd89b539ab3068a6ca92277dccdfa23

3 years agoAdd 'data_types' during import VFCs 65/109965/15
vasraz [Thu, 30 Jul 2020 12:06:42 +0000 (13:06 +0100)]
Add 'data_types' during import VFCs

Change-Id: Ib9974bbc1eb88633e7e6834cc7ef8ae95deda539
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3191

3 years agoRetrieve node_filter capabilities 12/112212/2
aribeiro [Fri, 28 Aug 2020 18:11:59 +0000 (19:11 +0100)]
Retrieve node_filter capabilities

Issue-ID: SDC-3270
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Ieb1b3c4d31a50e73112fc34cdd8d5fd9ba9e6a30

3 years agoTemplate design (NSSTs) for slice sub-nets (RAN, Core, Transport). 17/112217/2
hekeguang [Mon, 7 Sep 2020 08:51:51 +0000 (16:51 +0800)]
Template design (NSSTs) for slice sub-nets (RAN, Core, Transport).

Issue-ID: SDC-3086
Change-Id: Ib70da9e03d6dd152d901344c60f8ba47f38450fe
Signed-off-by: hekeguang <hekeguang@chinamobile.com>
3 years agoAdd support for TOSCA 1.3 96/112096/7
vasraz [Tue, 1 Sep 2020 14:46:09 +0000 (15:46 +0100)]
Add support for TOSCA 1.3

Change-Id: I57da82df0f035803f4921db5b3ec9ede3ff7a952
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3273

3 years agoRename ONBOARDED_PACKAGE folder to ETSI_PACKAGE 48/111848/3
KrupaNagabhushan [Fri, 28 Aug 2020 11:09:06 +0000 (12:09 +0100)]
Rename ONBOARDED_PACKAGE folder to ETSI_PACKAGE

Issue-ID: SDC-3259
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I8bcaeb11536aa1c7ad8d15f00bdf5663e6a059b5

3 years agoMap topology inputs to properties in substitution mapping 40/111640/4
aribeiro [Fri, 21 Aug 2020 08:17:56 +0000 (09:17 +0100)]
Map topology inputs to properties in substitution mapping

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

3 years agoAdding ETSI NS types 27/111027/4
MichaelMorris [Fri, 21 Aug 2020 16:51:13 +0000 (17:51 +0100)]
Adding ETSI NS types

Change-Id: I22f644a6b02f4f05ddc951af899463df9b11b7db
Issue-ID: SDC-2618
Signed-off-by: MichaelMorris <michael.morris@est.tech>
3 years agoCreate Service category ETSI Network Service 65/111765/3
andre.schmid [Fri, 21 Aug 2020 10:34:22 +0000 (11:34 +0100)]
Create Service category ETSI Network Service

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>
3 years agoPlugin to Generate Service ETSI NSD CSAR 88/111788/3
andre.schmid [Fri, 21 Aug 2020 10:40:56 +0000 (11:40 +0100)]
Plugin to Generate Service ETSI NSD CSAR

Create a catalog backend plugin to generate an ETSI compliant Network
Service Descriptor (NSD) CSAR as an artifact in the generated TOSCA
CSAR package of a Service.

Change-Id: I2b1556148be39d7bf37602335e638d0cee2b291b
Issue-ID: SDC-3251
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoUpdate node_filter capabilities 92/111892/3
aribeiro [Fri, 28 Aug 2020 10:50:52 +0000 (11:50 +0100)]
Update node_filter capabilities

Issue-ID: SDC-3265
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Ib2dbd299ff5fc336258bf29a303210eacfd984cf

3 years agoDelete node_filter capabilities 91/111891/3
aribeiro [Wed, 26 Aug 2020 16:54:01 +0000 (17:54 +0100)]
Delete node_filter capabilities

Issue-ID: SDC-3264
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I91bb476819aaf247ec106139a3af1afe327a700c

3 years agoAdd node_filter capabilities 90/111890/3
aribeiro [Mon, 24 Aug 2020 16:09:20 +0000 (17:09 +0100)]
Add node_filter capabilities

Issue-ID: SDC-3263
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I2965c8b0b9331b035ba5f9cc7f58d9ea3af26402

3 years agoEnable node_filter update action 45/111645/3
aribeiro [Fri, 21 Aug 2020 17:04:52 +0000 (18:04 +0100)]
Enable node_filter update action

Issue-ID: SDC-3257
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Id8ae9a7bfe941aa11891f472e830b4ca59b3e839

3 years agoFix default value 47/111547/3
ChrisC [Fri, 21 Aug 2020 13:40:32 +0000 (15:40 +0200)]
Fix default value

Fix Hardcoded IP, use service will be resolved by k8s

Issue-ID: SDC-2662
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I94f2a06c5e4e38f8db4f6e26481e0b5db6cb13ea

3 years agoAdjusting check condition for ZipOutputStream 16/111216/4
KrupaNagabhushan [Mon, 10 Aug 2020 12:27:50 +0000 (13:27 +0100)]
Adjusting check condition for ZipOutputStream

Issue-ID: SDC-3226
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I49e8916e23a7883832a02e6f294fd3f2a537f3a2

3 years agoRewrite of `cloneToscaElementForCertify` to remove NPE 66/108766/5
Chris André [Wed, 3 Jun 2020 14:50:07 +0000 (10:50 -0400)]
Rewrite of `cloneToscaElementForCertify` to remove NPE

- Modularized `cloneToscaElementForCertify` in smaller, less complex parts (`updateEdgesDeleteNotCertifiedVersionsAndHandlePreviousVersions`)

Issue-ID: SDC-2967
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I7f9e8a9e337147fd48c1c4c742eff5abf7ebacf8

3 years agoSupport for Nested/Hierarchical Services 50/110250/4
MichaelMorris [Tue, 23 Jun 2020 08:15:48 +0000 (09:15 +0100)]
Support for Nested/Hierarchical Services

Change-Id: I478cf2e1f9cf96443a3e35bf22ac2c9d72bca8f1
Issue-ID: SDC-3145
Signed-off-by: MichaelMorris <michael.morris@est.tech>
3 years agoUpgrade Vulnerable Direct Dependencies [jackson] 67/110367/8
amohamad [Mon, 20 Jul 2020 02:17:57 +0000 (22:17 -0400)]
Upgrade Vulnerable Direct Dependencies [jackson]

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>
3 years agoFix broken build 60/112160/1
vasraz [Fri, 4 Sep 2020 11:53:02 +0000 (12:53 +0100)]
Fix broken build

[INFO] ERROR in /w/workspace/sdc-master-verify-java/catalog-ui/node_modules/@types/node/index.d.ts (20,1): Invalid 'reference' directive syntax.

Change-Id: Iaa4a705bdfe8aca39207c7241f1c0138f6f62fcf
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3276

3 years agoAdd profile for skipIT 48/112048/2
sebdet [Wed, 2 Sep 2020 14:56:35 +0000 (16:56 +0200)]
Add profile for skipIT

skip integration project when the standard -DskipITs parameter is provided.

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ieca577f28537f14de7131415de40e9aeae25d147

3 years agoOptimize Build 17/112017/5
sebdet [Tue, 1 Sep 2020 21:47:27 +0000 (23:47 +0200)]
Optimize Build

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>
3 years agoSupport for defining attributes on a node_type 82/110082/11
vasraz [Mon, 6 Jul 2020 16:08:08 +0000 (17:08 +0100)]
Support for defining attributes on a node_type

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

3 years agoAdd sdc startup in IT 11/111711/12
JulienBe [Tue, 25 Aug 2020 20:20:30 +0000 (22:20 +0200)]
Add sdc startup in IT

Add the UI part with the latest selenium and firefox driver in headless

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I5c5da5a26eda3042d94995f67937c105edef74c0
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
3 years agoUpdate INFO.yaml 36/111936/1
ChrisC [Tue, 1 Sep 2020 08:12:49 +0000 (10:12 +0200)]
Update INFO.yaml

Update PTL and move project to Mature state as per TSC decision

Issue-ID: SDC-3243
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I5494cd6d86b9422be589e5373ec7ee6c7e34de0c

3 years agoAdd sdc startup in IT 81/111681/1
sebdet [Tue, 25 Aug 2020 10:54:03 +0000 (12:54 +0200)]
Add sdc startup in IT

Fix the start sdc so that containers are not killed

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I0e561cd8f8a679878d3d40355d0db74cb7014f38

3 years agoAdd sdc startup in IT 77/111677/1
sebdet [Tue, 25 Aug 2020 10:31:39 +0000 (12:31 +0200)]
Add sdc startup in IT

Remove main method and move test suites for backend in a specific folder

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic38534f5b5105c56fb5fe3124431c8146f9200d0

3 years agoAdd sdc startup in IT 59/111659/2
sebdet [Mon, 24 Aug 2020 19:42:01 +0000 (21:42 +0200)]
Add sdc startup in IT

Add profile to start/stop SDC and execute the tests independently

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I505c4c3dc5476bf9d30fbbcc63c88a80514c8646

3 years agoAdd sdc startup in IT 44/111644/2
sebdet [Mon, 24 Aug 2020 13:37:33 +0000 (15:37 +0200)]
Add sdc startup in IT

Rework the storage folder for extentReport and outputCsar so they not created outside the maven target folder

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ice1139ce141f4b8cf593cd9bdd68dc0ecf0453bf

3 years agoAdd sdc startup in IT 27/111627/3
sebdet [Mon, 24 Aug 2020 10:00:48 +0000 (12:00 +0200)]
Add sdc startup in IT

Rework the java packages so that we use onap now + fix the folders written outside of the target folder

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I23c2bad4bee6b766cfacc2c544e1431aed4cd608

3 years agoExpose generic Service properties as properties 85/107685/3
andre.schmid [Wed, 13 May 2020 14:25:30 +0000 (15:25 +0100)]
Expose generic Service properties as properties

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>
3 years agoFix Error Updating VSP in Rresource Template for PNF 01/111601/2
ajay_dp001 [Sun, 23 Aug 2020 07:51:04 +0000 (13:21 +0530)]
Fix Error Updating VSP in Rresource Template for PNF

Issue-ID: SDC-3090
Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech>
Change-Id: I3389a9a942c74f41ed037b9f13498b9cf999d441

3 years agoAdd sdc startup in IT 10/111410/11
JulienBe [Wed, 19 Aug 2020 09:12:59 +0000 (11:12 +0200)]
Add sdc startup in IT

Move the Api tests code in the integration-test module, and remove the need to have a container

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ia2b5d94d958e975867c600597ab5e56dffcd06ab
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
3 years agoAdd sdc startup in IT 50/111250/7
sebdet [Thu, 13 Aug 2020 17:32:41 +0000 (10:32 -0700)]
Add sdc startup in IT

Add the SDC startup for IT tests

Issue-ID: SDC-3232
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I865eabfb6c61f26f98ee12906de09f1a8daa469a
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
3 years agoSDC changes for adding helm 02/111302/1
Sithara Nambiar [Sun, 16 Aug 2020 16:58:48 +0000 (22:28 +0530)]
SDC changes for adding helm

Issue-ID: REQ-341

Signed-off-by: Sithara Nambiar <sitharav.aredath@huawei.com>
Change-Id: I4721f6e8e2690dc5f7c10bb7b1b2f53ec5f318c7

3 years agoFix release note and doc 40/111240/1
ChrisC [Thu, 13 Aug 2020 13:39:38 +0000 (15:39 +0200)]
Fix release note and doc

doc issue identified, some index are wrong
not only the release note, I noticed other ones

Issue-ID: SDC-3221
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I0f062295211442233d2bb2f52f1930f8421955b1

3 years agoJava 11 Migration work for 'openecomp-sdc-translator-core' 75/108275/6
Chris André [Fri, 22 May 2020 17:48:27 +0000 (13:48 -0400)]
Java 11 Migration work for 'openecomp-sdc-translator-core'

- Replaced Corn CPS with ClassGraph

Issue-ID: SDC-3029
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I3002f3aa01a647d6ab2f4c32c399833034241800

3 years agoFix policy element type 88/110888/2
Dmitry Puzikov [Tue, 4 Aug 2020 13:40:02 +0000 (15:40 +0200)]
Fix policy element type

CSAR onboarding phase: policy element type fixed
from map to list according TOSCA format documentation.

Change-Id: I654f4b049a8f5129938a5d5f8307e105e2bed024
Issue-ID: SDC-3152
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
3 years agoFix workflow designer issue 77/111077/2
xuegao [Mon, 10 Aug 2020 09:14:17 +0000 (11:14 +0200)]
Fix workflow designer issue

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

3 years agoRevert "Refactor CsarUtils::addInnerComponentsToCSAR" 73/110973/2
SĂ©bastien Determe [Fri, 7 Aug 2020 09:24:47 +0000 (09:24 +0000)]
Revert "Refactor CsarUtils::addInnerComponentsToCSAR"

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

3 years agoAdd substitution filter UI support 83/110983/3
aribeiro [Thu, 2 Jul 2020 13:42:40 +0000 (14:42 +0100)]
Add substitution filter UI support

Issue-ID: SDC-3195
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Idc6301a1ab7442f8d2d59931abf0a0741cc8e410

3 years agoAdd component unique id to plugin context view 53/110953/2
aribeiro [Wed, 5 Aug 2020 14:46:43 +0000 (15:46 +0100)]
Add component unique id to plugin context view

Issue-ID: SDC-3224
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Ib65bbc13766e2ae794ff26c41ee4f94770a362ee

3 years agoRemove needless Getter/Setter testing 55/110855/3
vasraz [Mon, 3 Aug 2020 15:26:49 +0000 (16:26 +0100)]
Remove needless Getter/Setter testing

Change-Id: I4802e15a57b01d520e875db295df2eb826b6b5c0
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-2708

3 years agoFix broken UI & API tests 17/110917/3
sebdet [Wed, 5 Aug 2020 15:12:51 +0000 (17:12 +0200)]
Fix broken UI & API tests

Due to issues in the log4j files, the tests can't be started and crash

Issue-ID: SDC-3223
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I77909d98c716a8a232f5cc8ae8baddebb4ee581f

3 years agoUpdate css file name in conf.py 22/108522/2
lf-jobbuilder [Thu, 28 May 2020 21:28:13 +0000 (14:28 -0700)]
Update css file name in conf.py

ribbon.css is the correct name of the css file.

Issue-ID: CIMAN-376
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I29b22c8abb88c055ff40b64599498c5fc3bfe8dd

3 years agoFix broken transitive dependency 17/110617/2
vasraz [Mon, 27 Jul 2020 13:19:51 +0000 (14:19 +0100)]
Fix broken transitive dependency

Change-Id: I8890eeca62826ee36bac43709761079acf21f235
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3218

3 years agoUpgrade Vulnerable Direct Dependencies [log4j] 17/109617/5
amohamad [Fri, 26 Jun 2020 16:40:11 +0000 (12:40 -0400)]
Upgrade Vulnerable Direct Dependencies [log4j]

Signed-off-by: amohamad <a.mohamad@queensu.ca>
Issue-ID: SDC-3051

Upgrade from the  vulnerable log4j 1.x to log4j 2.13.1

Add a log4j version property in  sdc-main pom.xml

Add two maven dependencies to respective child pom.xml

Change name of log4j .properties and .xml config files
to reflect log4j2 naming

Update the configuration files to the totally new
log4j 2 config syntax

Replace PropertyConfigurator with LoggerContext

Remove the abandoned log4j.lf5.util.ResourceUtils

Signed-off-by: amohamad <a.mohamad@queensu.ca>
Change-Id: Ie0f141eb2e0337ee5b63b61dc1395ccd8040558d

3 years agoOptimization in git clone using --depth 68/108368/3
Pratik Raj [Thu, 28 May 2020 05:36:41 +0000 (11:06 +0530)]
Optimization in git clone using --depth

optimize the git clone using --depth flag in term of size of clone
and also in term's of time taken to fetch the files and commit history
of whole repository .

More detail can be found at blog
https://www.atlassian.com/git/tutorials/big-repositories

Issue-ID: SDC-3089
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
Change-Id: Ib806bf0c172bd304abe9a138e2f85fcf14e07675

3 years agoImprove Utils coverage and improve Sonar score 00/109400/2
JulienBe [Thu, 18 Jun 2020 17:32:33 +0000 (19:32 +0200)]
Improve Utils coverage and improve Sonar score

Issue-ID: SDC-3131
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: I784a0ad563141dfb546ec1d227b3eb03e08faef3

3 years agoConfig. allowed instances in component composition 24/109824/5
andre.schmid [Wed, 4 Mar 2020 16:28:05 +0000 (16:28 +0000)]
Config. allowed instances in component composition

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>
3 years agoRelease Master 1.7.0 47/110647/2
sebdet [Tue, 28 Jul 2020 07:47:24 +0000 (09:47 +0200)]
Release Master 1.7.0

Release first draft Master Guilin 1.7.0

Issue-ID: SDC-3220
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic99b1f57ab3375e3bfa05f743216870ad82ef103

3 years agoUpdate Release Note 73/110273/1 1.7.0
ChrisC [Thu, 23 Jul 2020 15:00:16 +0000 (17:00 +0200)]
Update Release Note

Update Release note for Frankfurt Maintenance release

Issue-ID: SDC-3189
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I5b0fb24938646b1ef4344449301caf056bd8cac4

3 years agoFix CRITICAL BUG 09/110409/2
vasraz [Tue, 21 Jul 2020 11:10:39 +0000 (12:10 +0100)]
Fix CRITICAL BUG

https://sonarcloud.io/project/issues?fileUuids=AXF_8JZ3aPDFCRVJURGa&id=onap_sdc&resolved=false&types=BUG

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3204
Change-Id: I55f1c6c95c4de59d9ca5493d99c7fd3569379622

3 years agoUpdate INFO.yaml 22/110322/3
ChrisC [Fri, 17 Jul 2020 13:21:12 +0000 (15:21 +0200)]
Update INFO.yaml

Update committer list as per : https://lists.onap.org/g/onap-tsc/topic/75373026#6714

Issue-ID: SDC-3203
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: Ida7f9a6a36fe0cbc8f3c3f7fae0693e9e0bc9320

3 years agoAlign onap/base_sdc-xyz versions 70/110170/2
vasraz [Tue, 14 Jul 2020 18:24:24 +0000 (19:24 +0100)]
Align onap/base_sdc-xyz versions

Change-Id: Ic2e53bb76b0b6bc54de3336f5e5916eba189fe18
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3201

3 years agoFix missing referenced node_types 68/110168/2
KrupaNagabhushan [Tue, 7 Jul 2020 16:36:11 +0000 (17:36 +0100)]
Fix missing referenced node_types

Issue-ID: SDC-3153
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I0b17ac92a49e1f006f5708b20af82a62ee769a9e

3 years agoRefactor CsarUtils::addInnerComponentsToCSAR 07/110007/6
Francis Toth [Wed, 8 Jul 2020 12:28:25 +0000 (08:28 -0400)]
Refactor CsarUtils::addInnerComponentsToCSAR

Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I4f9a52950d4d6ffadf9a5cb170c99d229ac83a35
Issue-ID: SDC-2812

3 years agoAdd substitution_filter endpoints unit tests 48/109748/3
aribeiro [Tue, 30 Jun 2020 10:59:57 +0000 (11:59 +0100)]
Add substitution_filter endpoints unit tests

Issue-ID: SDC-3166
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Ie01f7abc5eccc36e8f1159cbece329a7fadeacd5

3 years agoAdd endpoints for supporting substitution_filter 20/109720/4
aribeiro [Fri, 26 Jun 2020 15:33:22 +0000 (16:33 +0100)]
Add endpoints for supporting substitution_filter

Issue-ID: SDC-3160
Change-Id: Ibc722f283451fecde7655e867654880ae50cc645
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
3 years agoAdd substitution_filter business logic unit tests 47/109747/2
aribeiro [Mon, 29 Jun 2020 16:12:19 +0000 (17:12 +0100)]
Add substitution_filter business logic unit tests

Issue-ID: SDC-3165
Change-Id: I91f3075c43d04add450c16614b07f08219ad743d
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
3 years agoClean ValidatorExecutor hierarchy 62/109962/4
Francis Toth [Tue, 7 Jul 2020 13:10:33 +0000 (09:10 -0400)]
Clean ValidatorExecutor hierarchy

Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I9d919b1d57eac1d25c8b3874366c2cb9e906923a
Issue-ID: SDC-2499

3 years agoAdd support for substitution_filter business logic 19/109719/4
aribeiro [Wed, 24 Jun 2020 07:34:22 +0000 (08:34 +0100)]
Add support for substitution_filter business logic

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

3 years agoAdd test contracts for ValidatorExecutor and TopologyTemplateValidatorExecutor 92/109892/3
Francis Toth [Tue, 7 Jul 2020 11:24:48 +0000 (07:24 -0400)]
Add test contracts for ValidatorExecutor and TopologyTemplateValidatorExecutor

Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I10f0de565588e0bc7cd0f47ba7f714eab3f1f7f7
Issue-ID: SDC-2499

3 years agoFix sonar issues 00/109500/3
sebdet [Wed, 24 Jun 2020 12:10:34 +0000 (14:10 +0200)]
Fix sonar issues

Fix sonar/checkstyle issues in sdc code

Issue-ID: SDC-3158
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I33638b39d39b7e918437cb9f3e0f15d52fa92218

3 years agoFix sonar issues 84/109484/3
sebdet [Wed, 24 Jun 2020 10:14:57 +0000 (12:14 +0200)]
Fix sonar issues

Fix sonar/checkstyle issues in sdc code

Issue-ID: SDC-3158
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I004b0f579ff1f273f39a155217972f5efcdcf5cb

3 years agoFix sonar issues 83/109483/3
sebdet [Wed, 24 Jun 2020 10:14:27 +0000 (12:14 +0200)]
Fix sonar issues

Fix sonar/checkstyle issues in sdc code

Issue-ID: SDC-3158
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ib6ee78fd5756d615c2a103ac0d7d26070fd24206

3 years agoFix sonar issues 81/109481/10
sebdet [Wed, 24 Jun 2020 09:32:27 +0000 (11:32 +0200)]
Fix sonar issues

Fix sonar/checkstyle issues in sdc code

Issue-ID: SDC-3158
Change-Id: Ic29f9233838e25c195d2b349bfac8e6d56888609
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
3 years agoFix sonar issues 57/109357/10
sebdet [Fri, 19 Jun 2020 15:27:03 +0000 (17:27 +0200)]
Fix sonar issues

Fix sonar/checkstyle issues in sdc code

Issue-ID: SDC-3158
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I0ae188c5f0e2d96fd94de66fe0dcd0c47bcd9af5

3 years agoFix sonar issues 50/109350/14
sebdet [Fri, 19 Jun 2020 12:40:16 +0000 (14:40 +0200)]
Fix sonar issues

Fix sonar/checkstyle issues in sdc code

Issue-ID: SDC-3116
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic29f9233838e15b195d1a339bfac8e6d56888609

3 years agoClean CsarUtils::MainYamlWithDependencies 21/109621/4
Francis Toth [Fri, 26 Jun 2020 23:53:26 +0000 (19:53 -0400)]
Clean CsarUtils::MainYamlWithDependencies

Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I593dd7bb6a20445899a14da793e8c550e1e14e09
Issue-ID: SDC-2812

3 years agoRefactor MapDataDefinitionTest 95/109495/3
xuegao [Wed, 24 Jun 2020 11:52:13 +0000 (13:52 +0200)]
Refactor MapDataDefinitionTest

Adding more tests and adding assert for old tests.

Issue-ID: SDC-3146
Signed-off-by: xuegao <xg353y@intl.att.com>
Change-Id: I0b3ebb3d46b26ecdf52c78ee29b2777f6ecc73e5
Signed-off-by: xuegao <xg353y@intl.att.com>
3 years agoFix typo in package name and classes 47/109547/2
Francis Toth [Thu, 25 Jun 2020 11:45:19 +0000 (07:45 -0400)]
Fix typo in package name and classes

Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I55a6efeb4a0c2b4734dc3a091afbc6295599c74b
Issue-ID: SDC-2499

3 years agoFix issue introduced by #109494 81/109581/2
vasraz [Thu, 25 Jun 2020 16:40:11 +0000 (17:40 +0100)]
Fix issue introduced by #109494

use maven checkstyle.skip
remove duplicated dependency

Change-Id: I942a9612df7093206d0019d69a8f28c6dff7bcf6
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3148

3 years agoFix test coverage drop introduced by #109510 34/109634/2
vasraz [Sun, 28 Jun 2020 18:55:01 +0000 (19:55 +0100)]
Fix test coverage drop introduced by #109510

Change-Id: Ic74f11f60ff7673330a8c3521da49a92f70ae0fb
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3149

3 years agoFix for NullPointerException while onboarding VF 44/109644/1
KrupaNagabhushan [Fri, 26 Jun 2020 16:59:54 +0000 (17:59 +0100)]
Fix for NullPointerException while onboarding VF

Issue-ID: SDC-3161
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I6eefcb86c6ef97fb19449e1fc45cee3cb91b3a2a

3 years agoRationalize maven dependencies 10/109510/2
JulienBe [Wed, 24 Jun 2020 15:31:27 +0000 (17:31 +0200)]
Rationalize maven dependencies

Issue-ID: SDC-3149
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: I1ee42494a4cc5b185b6dfcbee44399d2960cf880

3 years agoCleaned up ArtifactValidatorExecuter and IArtifactValidatorExecutor 09/109509/7
Francis Toth [Wed, 24 Jun 2020 13:28:06 +0000 (09:28 -0400)]
Cleaned up ArtifactValidatorExecuter and IArtifactValidatorExecutor

This commit intends to clean the tests related to ArtifactValidatorExecuter and IArtifactValidatorExecutor by introducing the concept of test contract. Some renaming have to be done to fix the typo in Executer (it should be named Executor), hence the number of changes.

Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I5cd4512c425ae01f4f1118c9d61e6fce3df94f1d
Issue-ID: SDC-2499

3 years agoadd a new profil for fast build 94/109494/2
JulienBe [Wed, 24 Jun 2020 13:35:23 +0000 (15:35 +0200)]
add a new profil for fast build

Issue-ID: SDC-3148
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: Ie98194fe6d136f57491a0590ab2afc9db59fbfbd

3 years agoFix Security Vulnerability 53/109453/2
ChrisC [Tue, 23 Jun 2020 11:50:01 +0000 (13:50 +0200)]
Fix Security Vulnerability

Fix Sonar Major by switching to better protocol

Issue-ID: SDC-3116
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I9f5d8640c991ae895a41dadf67a11872952fe38a

3 years agoFix Assert 55/109455/2
ChrisC [Tue, 23 Jun 2020 13:08:09 +0000 (15:08 +0200)]
Fix Assert

Fix Sonar Asserts

Issue-ID: SDC-3116
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I92dcd21a3cec903792c20275be8b955c5910e566

3 years agoFix for name clash in csar generation 15/109415/2
KrupaNagabhushan [Mon, 22 Jun 2020 11:55:04 +0000 (12:55 +0100)]
Fix for name clash in csar generation

Issue-ID: SDC-3144
Change-Id: Ia9b66bb14bbff3add70eed8dfe41acc55c72b35b
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
3 years agoImprovement sdc-BE-init python scripts 23/108823/4
k.kedron [Fri, 5 Jun 2020 12:51:01 +0000 (14:51 +0200)]
Improvement sdc-BE-init python scripts

- Implemented retries when request fail
- Moved configuration variables to the Properties file
- Extended sdcBeProxy
- Implemented script to run import/update (should fix deployment glitch)
- Updated the import_Normatives recipes to use new script

Issue-ID: SDC-2784
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I83fab898783ad8d3b3d532af43d75bc54d033c33

3 years agoRefactoring the check backend, create consumers 62/108762/6
k.kedron [Thu, 4 Jun 2020 08:46:47 +0000 (10:46 +0200)]
Refactoring the check backend, create consumers

Continue refactoring:
- added script for healthCheck, create new consumers
- also update chef recipes to use new script

Issue-ID: SDC-2784
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I158d816362f91f74b217fe85112cf7c14da8f1ec

3 years agoAdd Node Filter Business Logic Unit Tests 53/109353/4
aribeiro [Wed, 17 Jun 2020 13:20:46 +0000 (14:20 +0100)]
Add Node Filter Business Logic Unit Tests

Issue-ID: SDC-3125
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I80c755f4fffa813396ceb85c6aa7fde5b32590cd

3 years agoRefactoring the sdc-BE-init python scripts 87/103287/6
k.kedron [Thu, 5 Mar 2020 12:12:27 +0000 (13:12 +0100)]
Refactoring the sdc-BE-init python scripts

Deeper refactoring of python script:
- create the python package with init script
- support for python 3.x
- reuse code
- new design
- support for .json conf file
- update the docker chef script

Issue-ID: SDC-2784
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I02169eb7d0e3e90851ba1811536d1712c3b4145f

3 years agoDecouple TXT Report file writing and formatting logic (6/6) 57/109457/2
Francis Toth [Thu, 18 Jun 2020 20:06:01 +0000 (16:06 -0400)]
Decouple TXT Report file writing and formatting logic (6/6)

This commit moves the writeReportLineToFile from ReportManager to ReportFile, deletes ReportManager (as it's not longer used), and finalizes the decoupling between the writing and the formatting logic of the TXT Report file.

Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: Ia5cce71535ea808e6e24807ed62ae9b262eab6ad
Issue-ID: SDC-2499

3 years agoDecouple TXT Report file writing and formatting logic (5/6) 16/109416/2
Francis Toth [Thu, 18 Jun 2020 19:46:31 +0000 (15:46 -0400)]
Decouple TXT Report file writing and formatting logic (5/6)

This commit aims to move the reportEndOfToolRun function from ReportManager (deprecated) to ReportFile.

Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I17731864c34ed9a70b1b1e91b89bad835dc72449
Issue-ID: SDC-2499

3 years agoImprove test coverage 94/109294/8
xuegao [Thu, 18 Jun 2020 09:59:43 +0000 (11:59 +0200)]
Improve test coverage

Adding more tests to improve test coverage.

Issue-ID: SDC-3129
Signed-off-by: xuegao <xg353y@intl.att.com>
Change-Id: I23a717bfb6a0004e58ff3ca37d6dd877a956931e
Signed-off-by: xuegao <xg353y@intl.att.com>
3 years agoRefactor ToscaTypeTest 02/109402/6
xuegao [Mon, 22 Jun 2020 10:15:06 +0000 (12:15 +0200)]
Refactor ToscaTypeTest

Adding more tests and adding assert for old tests.

Issue-ID: SDC-3143
Signed-off-by: xuegao <xg353y@intl.att.com>
Change-Id: Id7cf5ec763b0d43dece9493613e336a4b3df9b72
Signed-off-by: xuegao <xg353y@intl.att.com>