sdc.git
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>
3 years agoDecouple TXT Report file writing and formatting logic (4/6) 04/109404/2
Francis Toth [Thu, 18 Jun 2020 19:35:05 +0000 (15:35 -0400)]
Decouple TXT Report file writing and formatting logic (4/6)

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

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

3 years agoDecouple TXT Report file writing and formatting logic (3/6) 87/109387/1
Francis Toth [Thu, 18 Jun 2020 19:30:26 +0000 (15:30 -0400)]
Decouple TXT Report file writing and formatting logic (3/6)

This commit aims to move the printValidationTaskStatus function's logic from ReportManager (deprecated) to ReportFile.

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

3 years agoImprove ActionUtil coverage and improve Sonar score 51/109351/4
JulienBe [Fri, 19 Jun 2020 14:54:22 +0000 (16:54 +0200)]
Improve ActionUtil coverage and improve Sonar score

Issue-ID: SDC-3133
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: I5e6f927599520efa5bfa5856863ca173ecdfb553
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
3 years agoToggle 58/109258/5
talio [Wed, 17 Jun 2020 12:57:06 +0000 (15:57 +0300)]
Toggle

Add toggling mechanism to catalog side.
The first toggleable feature is healing - this was added to healing flow, in healJanusGraphDao

Issue-ID: SDC-2874
Signed-off-by: talio <talio@amdocs.com>
Change-Id: If386651cab8304ebaf13497ded3a7a50bd60e477
Signed-off-by: talio <talio@amdocs.com>
3 years agoAdd Node Filter Servlets Unit Tests 52/109352/2
aribeiro [Mon, 15 Jun 2020 16:23:42 +0000 (17:23 +0100)]
Add Node Filter Servlets Unit Tests

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

3 years agoAdd Support for node_filters 57/109157/2
aribeiro [Mon, 25 May 2020 10:33:22 +0000 (11:33 +0100)]
Add Support for node_filters

Allows for node_filter to be specified for a node template
to provide processing instructions to the orchestrator

Issue-ID: SDC-3095
Change-Id: I4e496e300552049d9bfd00df878b86d9fb97312b
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
3 years agoFix sonar issues 40/109340/3
sebdet [Fri, 19 Jun 2020 09:39:50 +0000 (11:39 +0200)]
Fix sonar issues

Fix sonar/checkstyle issues in sdc code

Issue-ID: SDC-3116
Change-Id: I87802cc9edb378bdbe456c3ca4f10d8c6ebe9425
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
3 years agoFix sonar issues 96/109296/4
sebdet [Thu, 18 Jun 2020 10:42:41 +0000 (12:42 +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: I87802bb9edb378bdbe456c3ca4f10d8c6dae9437

3 years agoDecouple TXT Report file writing and formatting logic (2/6) 67/109367/3
Francis Toth [Thu, 18 Jun 2020 19:23:12 +0000 (15:23 -0400)]
Decouple TXT Report file writing and formatting logic (2/6)

This commit aims to move the reportStartValidatorRun function's logic from ReportManager (deprecated) to ReportFile.

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

3 years agoFix Assert usage 63/109363/3
ChrisC [Fri, 19 Jun 2020 16:05:20 +0000 (18:05 +0200)]
Fix Assert usage

Sonar Fix, fix assert usage in this file

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

3 years agofix sonar issues related to MessageContainer.java 91/109291/3
JulienBe [Thu, 18 Jun 2020 11:33:05 +0000 (13:33 +0200)]
fix sonar issues related to MessageContainer.java

Issue-ID: SDC-3127
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: I02357fa3cbf7afd7845737ba01c72dc202401882
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
3 years agoRemove duplicate code 34/109334/3
xuegao [Fri, 19 Jun 2020 07:23:42 +0000 (09:23 +0200)]
Remove duplicate code

Removing duplicate code.

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

3 years agoRemove unused method 95/109295/7
xuegao [Thu, 18 Jun 2020 10:00:35 +0000 (12:00 +0200)]
Remove unused method

Removing unused method in Constraint and use lombok annotations instead.

Issue-ID: SDC-3130
Signed-off-by: xuegao <xg353y@intl.att.com>
Change-Id: Ia718d184c55d40503f42830966bb11675b7c3f85
Signed-off-by: xuegao <xg353y@intl.att.com>
3 years agoFix Vulnerabilities 98/109098/6
xuegao [Fri, 12 Jun 2020 11:01:57 +0000 (13:01 +0200)]
Fix Vulnerabilities

Fix the vulnerabilities reported by Sonar.

Issue-ID: SDC-3114
Signed-off-by: xuegao <xg353y@intl.att.com>
Change-Id: Icf97e427ef0c192b2f279380d7ee9eb570949d1f
Signed-off-by: xuegao <xg353y@intl.att.com>
3 years agoFix Sonar issues 35/109335/2
ChrisC [Fri, 19 Jun 2020 08:26:12 +0000 (10:26 +0200)]
Fix Sonar issues

Assert params updated to be in correct order

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

3 years agoFix Sonar issues 37/109337/3
ChrisC [Fri, 19 Jun 2020 09:15:07 +0000 (11:15 +0200)]
Fix Sonar issues

Assert params updated to be in correct order

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

3 years agoFix Sonar issues 42/109342/3
ChrisC [Fri, 19 Jun 2020 10:08:04 +0000 (12:08 +0200)]
Fix Sonar issues

Fix assertThat usage and tests

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

3 years agoimprove test coverage 02/109202/2
JulienBe [Tue, 16 Jun 2020 17:18:16 +0000 (19:18 +0200)]
improve test coverage

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

3 years agoDecouple TXT Report file writing and formatting logic (1/6) 02/109302/6
Francis Toth [Thu, 18 Jun 2020 11:37:20 +0000 (07:37 -0400)]
Decouple TXT Report file writing and formatting logic (1/6)

This commit is the first of a series aiming to decouple the writing and formatting logic of text report files in the asdc tool. Unfortunately because of a significant amount of technical debt, a small hack had to be done so that the header of the file is not written twice. This will be removed in a future change.

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

3 years agoFix more doc warnings 13/109313/2
ChrisC [Thu, 18 Jun 2020 14:50:39 +0000 (16:50 +0200)]
Fix more doc warnings

Fix couple of doc warnings

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

3 years agodatatypes.Constants: 73/109273/2
JulienBe [Wed, 17 Jun 2020 20:27:45 +0000 (22:27 +0200)]
datatypes.Constants:
  - adhere to naming conventions
  - remove unused

Issue-ID: SDC-3126
Change-Id: I4ea23a8c69aaaf8fcc404868d3c59c47d09ba442
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
3 years agoImporting VSP with node_type in separate file 33/108333/5
MichaelMorris [Wed, 27 May 2020 17:09:40 +0000 (18:09 +0100)]
Importing VSP with node_type in separate file

Import fails when a node_type referenced in the main template is defined in a separate yaml file in the csar even when that separate file is correctly imported in the main template

Change-Id: I6abe074585c2ce592fe9bed7abe76f0856bcfe93
Issue-ID: SDC-2850
Signed-off-by: MichaelMorris <michael.morris@est.tech>