sdc.git
4 years agoFixed ready-probe file 43/94743/3
k.kedron [Mon, 2 Sep 2019 10:45:35 +0000 (12:45 +0200)]
Fixed ready-probe file

Fixed ready-probe script url endpoint.

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

4 years agocatalog-be code coverage increase 86/94786/2
Piotr Darosz [Mon, 2 Sep 2019 13:13:42 +0000 (15:13 +0200)]
catalog-be code coverage increase

Increase test code coverage in ElementServletTest

Change-Id: I65d08d901f30c218e60b5630132d9eb8b4a90a9a
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
4 years agoopenecomp-be code coverage increase 00/94800/2
Piotr Darosz [Tue, 3 Sep 2019 07:14:35 +0000 (09:14 +0200)]
openecomp-be code coverage increase

Add tests for classes in generator.datatypes.tosca package

Change-Id: Ic21b4e05d15e881016fa5f25113625bc441924c9
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
4 years agoopenecomp-be code coverage increase 95/94795/1
Piotr Darosz [Tue, 3 Sep 2019 06:40:37 +0000 (08:40 +0200)]
openecomp-be code coverage increase

Add tests for classes in vendorsoftwareproduct.types.composition package

Change-Id: I2b05536a4fd80021bfedd2e7ff0f1747f6227935
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
4 years agounit tests - catalog-model 62/94762/2
Tomasz Golabek [Mon, 2 Sep 2019 14:05:21 +0000 (16:05 +0200)]
unit tests - catalog-model

Additional junit tests for ToscaListValueConverter

Change-Id: I41e8b501129ceb0640e54e4173b3cdf13983ccd8
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoBasic authorization for unsecured endpoint 87/94687/3
m.kowalski3 [Fri, 30 Aug 2019 14:02:56 +0000 (16:02 +0200)]
Basic authorization for unsecured endpoint

Issue-ID: OJSI-90
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: I3423d316e4853cfd5fa4aee50ad6506937bd6381

4 years agocatalog-be code coverage increase 38/94738/3
Piotr Darosz [Mon, 2 Sep 2019 07:42:33 +0000 (09:42 +0200)]
catalog-be code coverage increase

Added tests for ArtifactExternalServlet

Change-Id: Ic20e172e910f9c5e18d3f43f78a10a36c588f16d
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
4 years agounit tests - openecomp-be 37/94737/2
Tomasz Golabek [Mon, 2 Sep 2019 07:06:00 +0000 (09:06 +0200)]
unit tests - openecomp-be

Additional junit tests for zusammen models

Change-Id: I4593d5c5dfd9619f36c69096462ed5de08b189f0
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agotesting common-app-api utils YamlToObjectConverter 85/94685/3
Bartosz Gardziejewski [Fri, 30 Aug 2019 13:50:41 +0000 (15:50 +0200)]
testing common-app-api utils YamlToObjectConverter

Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I10fc2d7a35150e97b90a1c69c4faac949e439db3

4 years agounit tests - openecomp-be 27/94727/2
Piotr Darosz [Sun, 1 Sep 2019 13:05:38 +0000 (15:05 +0200)]
unit tests - openecomp-be

Additional junit tests for dao-types

Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Change-Id: I195610e66628d5d8546846592c98c726ba81824d

4 years agoGeneral sonar fixes 89/94489/4
Arindam Mondal [Thu, 29 Aug 2019 01:31:29 +0000 (10:31 +0900)]
General sonar fixes

+) Removed empty method
++)Removed unused import

Issue-ID: SDC-2542
Change-Id: I9081e7c5f2b9329101c231ae18b4075e33219535
Signed-off-by: arindamm <arind.mondal@samsung.com>
4 years agoFix artifacts references in main TOSCA descriptor 94/94294/3
andre.schmid [Thu, 29 Aug 2019 16:31:53 +0000 (16:31 +0000)]
Fix artifacts references in main TOSCA descriptor

During package conversion, artifacts can have their path changed.
References for those artifacts inside the main TOSCA descriptor must be
updated accordingly.

Change-Id: Idcffb0724c20875ff1decebfec7c47605bfe20dc
Issue-ID: SDC-2540
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agotesting common-app-api utils ValidationUtil 75/94675/2
Bartosz Gardziejewski [Fri, 30 Aug 2019 09:43:39 +0000 (11:43 +0200)]
testing common-app-api utils ValidationUtil

Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I49339dd340b2262f81d750ae7fe6165f3fabca14

4 years agounit tests - openecomp-be 64/94664/2
Tomasz Golabek [Fri, 30 Aug 2019 08:52:41 +0000 (10:52 +0200)]
unit tests - openecomp-be

Additional junit tests for vendor-license-api-types

Change-Id: I343d04f001a92d47aa411e6bda498fa772040e5b
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agounit tests - openecomp-be 61/94661/2
Tomasz Golabek [Fri, 30 Aug 2019 07:26:10 +0000 (09:26 +0200)]
unit tests - openecomp-be

Additional junit tests for vendor-software-product-rest-types

Change-Id: I757fe0eed085b6ce880dda143ad1fceac220aafe
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoUpdate ready-probe file 58/94658/2
k.kedron [Thu, 29 Aug 2019 15:05:58 +0000 (17:05 +0200)]
Update ready-probe file

Update ready-probe file to support the https mode.

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

4 years agoUse https request in the dcoker_run 32/94432/2
k.kedron [Wed, 28 Aug 2019 13:01:51 +0000 (15:01 +0200)]
Use https request in the dcoker_run

-Update the docker_run script to use https connection
for healthCheck request.
-Removing the onap/sdc-simulator each time when docker is running up
to prevent error with restarting host
-Checkstyle for script

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

4 years agoFully HTTPS support in the catalog-be 56/94356/3
k.kedron [Tue, 27 Aug 2019 16:10:09 +0000 (18:10 +0200)]
Fully HTTPS support in the catalog-be

Fully HTTPS support:
-Updated jvm configuration to support call to
the SDC components using HTTPS.
-Checkstyle in the recipes
-Add support for disableHttp flag in the chef script
-Add support for change the http to https in the python script
-Fixed the --schema param in the importONAPNormativeALL and
upgradeONAPNormative python scripts
-Checkstyle in the importX python script
-Disabled pycurl.SSL_VERIFYHOST to fix communication with the be component

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

4 years agounit tests - openecomp-be 72/94572/2
Tomasz Golabek [Thu, 29 Aug 2019 11:32:30 +0000 (13:32 +0200)]
unit tests - openecomp-be

Additional junit tests for item-rest-services and unique-type-rest-services

Change-Id: I330954ad4eb432c126c7f163f9fdea30d3173cd9
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agorefactoring tests in Common-App-Api util 00/94500/3
Bartosz Gardziejewski [Wed, 28 Aug 2019 12:24:36 +0000 (14:24 +0200)]
refactoring tests in Common-App-Api util

Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Id2c3d3ade4ec176eaee6302c46ddc4009eb40931

4 years agounit tests - openecomp-be 81/94581/2
Tomasz Golabek [Thu, 29 Aug 2019 12:40:28 +0000 (14:40 +0200)]
unit tests - openecomp-be

Additional junit tests for conflict-rest-types and vendor-license-rest-types

Change-Id: I3e58d8a85f40e0f3a2e64c2b3195c97bb71a8fbd
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agocatalog-be code coverage increase 94/94494/3
Piotr Darosz [Thu, 29 Aug 2019 06:53:10 +0000 (08:53 +0200)]
catalog-be code coverage increase

Increase test code coverage in catalog-be ServiceBusinessLogic - part 1

Change-Id: I1ef29b46f41bfe7d41219ddbe5dbb0dd5a6649ad
Issue-ID: SDC-2326
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
4 years agoBRG Category 06/94406/1
Ofir Sonsino [Wed, 28 Aug 2019 07:12:58 +0000 (10:12 +0300)]
BRG Category

Change-Id: I9ac88bae14227fb687d0520da349b2c72c7b1ead
Issue-ID: SDC-2535
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoremove duplicated dependencies 37/94337/2
vasraz [Tue, 27 Aug 2019 10:28:15 +0000 (10:28 +0000)]
remove duplicated dependencies

Change-Id: I60962892f035d81943567a0b3d7819ef3cab52f7
Issue-ID: SDC-2388
Signed-off-by: vasraz <vasyl.razinkov@est.tech>
4 years agoincreasing test code coverage in catalog be ArtifactBusinessLogic 65/94265/5
Bartosz Gardziejewski [Fri, 23 Aug 2019 12:47:36 +0000 (14:47 +0200)]
increasing test code coverage in catalog be ArtifactBusinessLogic

Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I1283a3901a9056589cfffea381391d7307d26425

4 years agoGeneral Sonar fixes 19/94319/6
Arindam Mondal [Tue, 27 Aug 2019 04:47:44 +0000 (13:47 +0900)]
General Sonar fixes

+) Replace System.out with logger
++) Use try-with-resources to close the resource
+++) Format to delete tab charachter
++++) flip equals to avoid potential NPE

Issue-ID: SDC-2542
Change-Id: If57f36072ec67e9622d4fe51bce8336094dc10c8
Signed-off-by: arindamm <arind.mondal@samsung.com>
4 years agoFixed swagger dependency 23/94323/3
k.kedron [Tue, 27 Aug 2019 06:00:11 +0000 (08:00 +0200)]
Fixed swagger dependency

Fixed ClassNotFoundException after the jetty server start.

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

4 years agoremove duplicated dependencies from catalog-be/pom.xml 31/94231/2
vasraz [Mon, 26 Aug 2019 13:39:26 +0000 (13:39 +0000)]
remove duplicated dependencies from catalog-be/pom.xml

Change-Id: I8a5cecd6e5d8a1db8229431ed4ac32d005a52e0b
Issue-ID: SDC-2388
Signed-off-by: vasraz <vasyl.razinkov@est.tech>
4 years agoFully HTTPS support in the catalog-fe 27/94227/2
k.kedron [Fri, 23 Aug 2019 14:46:49 +0000 (16:46 +0200)]
Fully HTTPS support in the catalog-fe

Fully HTTPS support:
-Updated jvm configuration to support call to
the SDC components using HTTPS.
-Checkstyle in the recipes
-Added buildRestClient method to create the CloseableHttpClient
supporting the SSL connection
-Sonar fixes in the PluginStatusBL class

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

4 years agoUpgrade swagger 70/94170/7
Arindam Mondal [Fri, 23 Aug 2019 03:13:33 +0000 (12:13 +0900)]
Upgrade swagger

Issue-ID: SDC-2154
Change-Id: I95f6326a088f9a29c4ccb3b7a741d57ecf27ae7a
Signed-off-by: arindamm <arind.mondal@samsung.com>
4 years agounit tests - catalog-be 67/94267/2
Tomasz Golabek [Mon, 26 Aug 2019 10:16:32 +0000 (12:16 +0200)]
unit tests - catalog-be

Additional junit tests

Change-Id: Icc7dd508204094643c4796eaef01febd112a7869
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoFixed sonar issues in ConfigurationRepository 65/90465/5
Piotr Borelowski [Tue, 25 Jun 2019 15:17:41 +0000 (17:17 +0200)]
Fixed sonar issues in ConfigurationRepository

Fixing sonar issues in onap-configuration-management-core project

Issue-ID: SDC-2390
Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com>
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I2814b189eb53f53ab94295ff6bba76d118616800

4 years agoFixed pom spring version configuration 92/94192/3
k.kedron [Fri, 23 Aug 2019 09:16:35 +0000 (11:16 +0200)]
Fixed pom spring version configuration

Fixed pom configuration in the application-config-rest-service

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

4 years agoAdd unit test for DuplicateComputeInComponentErrorBuilder and refactor ComponentDepen... 41/93041/3
m.kowalski3 [Thu, 8 Aug 2019 10:07:39 +0000 (12:07 +0200)]
Add unit test for DuplicateComputeInComponentErrorBuilder and refactor ComponentDependencyModelErrorBuilder

Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: Icb6cf51f7777a8a9d3b237ecd98579edc11f9ebb

4 years agounit tests - resource business logic 14/94214/2
Tomasz Golabek [Fri, 23 Aug 2019 13:03:24 +0000 (15:03 +0200)]
unit tests - resource business logic

Additional junit tests

Change-Id: I2a6e4f67f725343ac789361c2de45354ae817fb9
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agounit tests - catalog-model 21/94221/2
Tomasz Golabek [Fri, 23 Aug 2019 14:06:13 +0000 (16:06 +0200)]
unit tests - catalog-model

Additional junit tests

Change-Id: I82f88ec4cc1fb18314cfb33dd9aafa58688318e0
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoFix in RestConf - Policy model id 67/94067/2
Vidyashree Rama [Thu, 22 Aug 2019 06:34:48 +0000 (12:04 +0530)]
Fix in RestConf - Policy model id

Bug fix in policy model id of restconf collector

Change-Id: Ifd3a4298ee7d0a0ce00602f777878a202fe89eaa
Issue-ID: SDC-2101
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
4 years agoincreasing test coverage in common-app-api common catalog 96/94196/6
Bartosz Gardziejewski [Fri, 23 Aug 2019 10:42:11 +0000 (12:42 +0200)]
increasing test coverage in common-app-api common catalog

Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ida905fc6f0f28d75522c865d33abf636c1fb7fdb

4 years agoincreasing test coverage in common-app-api exception catalog 91/94191/4
Bartosz Gardziejewski [Fri, 23 Aug 2019 09:12:50 +0000 (11:12 +0200)]
increasing test coverage in common-app-api exception catalog

Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I0dd6bc60c88acbcf1b3755627a7b10b874a549ba

4 years agounit tests - catalog-be 89/94189/5
Tomasz Golabek [Fri, 23 Aug 2019 08:48:28 +0000 (10:48 +0200)]
unit tests - catalog-be

Additional junit tests

Change-Id: Id83ab89115bd7bec471f42d3b96a2054ff4ead53
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoincreasing test coverage in common-app-api fe catalog 87/94187/4
Bartosz Gardziejewski [Fri, 23 Aug 2019 08:22:21 +0000 (10:22 +0200)]
increasing test coverage in common-app-api fe catalog

Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ib4ca69ef881ea5db4f1d186b00f9a1cfbc603259

4 years agoFully HTTPS support in the webseal-simulator 38/94038/2
k.kedron [Wed, 21 Aug 2019 11:31:02 +0000 (13:31 +0200)]
Fully HTTPS support in the webseal-simulator

Updated the HTTPS configuration:
-Added truststore certificate.
-Updated configuration to use JETTY_BASE env value
instead hardcoded variable
-Updated jvm configuration to support call to
the SDC components using HTTPS.
-Added support for the disableHttp flag.

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

4 years agoincreasing test coverage in common-app-api 20/94120/4
Bartosz Gardziejewski [Thu, 22 Aug 2019 13:15:49 +0000 (15:15 +0200)]
increasing test coverage in common-app-api

Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I7ae64864734e7246681ca6ef6d6bb71b3d3df158

4 years agounit tests - asdctool 10/94110/2
Tomasz Golabek [Thu, 22 Aug 2019 13:03:50 +0000 (15:03 +0200)]
unit tests - asdctool

Additional junit tests

Change-Id: I889772efaccbc6f1555d50cd47a02d868348d310
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoincreasing code coverage in catalog fe 02/94102/4
Bartosz Gardziejewski [Thu, 22 Aug 2019 11:29:04 +0000 (13:29 +0200)]
increasing code coverage in catalog fe

Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ica194c87def27163e20b2802100d9f296586a6ed

4 years agounit tests - catalog-be 01/94101/3
Tomasz Golabek [Thu, 22 Aug 2019 11:05:23 +0000 (13:05 +0200)]
unit tests - catalog-be

Additional junit tests

Change-Id: Ief7f445521f7821e47715a44c423fd11a17568e1
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agounit tests - catalog-model 87/94087/2
Tomasz Golabek [Thu, 22 Aug 2019 09:21:04 +0000 (11:21 +0200)]
unit tests - catalog-model

Additional junit tests

Change-Id: I9952933895ba22114fb0bf19a51e54f1a232c8f3
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agounit tests - sdc-healthcheck-manager 29/94029/2
Tomasz Golabek [Wed, 21 Aug 2019 08:40:45 +0000 (10:40 +0200)]
unit tests - sdc-healthcheck-manager

Additional junit tests

Change-Id: I6562e5085f7bfd692db129bf1706f3f569ebd793
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoUnit tests - openecomp-sdc-validation-manager 55/93955/2
Tomasz Golabek [Tue, 20 Aug 2019 12:06:08 +0000 (14:06 +0200)]
Unit tests - openecomp-sdc-validation-manager

Tests for org.openecomp.sdc.validation

Change-Id: If0acdb2f453b5cd60d0ec49870f1467cdd212492
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agounit tests - sdc-common-rest 19/94019/2
Tomasz Golabek [Wed, 21 Aug 2019 07:18:38 +0000 (09:18 +0200)]
unit tests - sdc-common-rest

Additional junit tests

Change-Id: Ieeb6f02e1d5abf131882c530a0ba3a395d56c6cd
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agorelease notes for El Alto Early Drop 43/94043/2
Ofir Sonsino [Wed, 21 Aug 2019 13:04:00 +0000 (16:04 +0300)]
release notes for El Alto Early Drop

Change-Id: Ib875bee201f1be0bca0d38e2d906f448e562f990
Issue-ID: SDC-2492
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoincreasing test coverage in openecomp-be api 69/93969/6
Bartosz Gardziejewski [Tue, 20 Aug 2019 13:53:19 +0000 (15:53 +0200)]
increasing test coverage in openecomp-be api

Issue-ID: SDC-2326
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I93cc5183190fcbada2349b18f14fbec9c28f1ae5

4 years agoUnit tests - openecomp-sdc-vsp-manager 42/93942/3
Tomasz Golabek [Tue, 20 Aug 2019 09:39:23 +0000 (11:39 +0200)]
Unit tests - openecomp-sdc-vsp-manager

Tests for org.openecomp.sdc.vendorsoftwareproduct

Change-Id: I737b8ca71219c3e241f902a34419c685435e467c
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoUnit tests - togglz-rest-types 65/93965/2
Tomasz Golabek [Tue, 20 Aug 2019 13:32:53 +0000 (15:32 +0200)]
Unit tests - togglz-rest-types

Tests for org.openecomp.sdcrests.togglz

Change-Id: Ic507eee3e77fbbe727b0deeb3912103d0c7737db
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoRemoved dummy subproject 66/93966/2
Tomasz Golabek [Tue, 20 Aug 2019 13:36:12 +0000 (15:36 +0200)]
Removed dummy subproject

Change-Id: Idb5d33229c76bec9768c8c6c1d73faa96fff2225
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoHTTPS calls for webseal-simulator 57/93757/2
r.bogacki [Mon, 19 Aug 2019 08:43:05 +0000 (10:43 +0200)]
HTTPS calls for webseal-simulator

Implemented HTTPS calls into webseal-simulator
-Added p12 keystore certificate.
-Updated application configuration.

Issue-ID: SDC-2517
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Change-Id: Ieb5f9ec5a0e409eb4bad36f708b2eec424ecf70b

4 years agoHTTPS calls for catalog-fe 55/93755/4
r.bogacki [Mon, 19 Aug 2019 08:16:23 +0000 (10:16 +0200)]
HTTPS calls for catalog-fe

Implemented HTTPS calls into catalog-fe
-Added p12 keystore certificate.
-Updated application configuration.
-Added trust-store.

Issue-ID: SDC-2516
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Change-Id: I6c36598dd7df8be85e99619ab7004ceed905f6e1

4 years agoHTTPS calls for catalog-be 46/93746/6
r.bogacki [Wed, 14 Aug 2019 07:04:26 +0000 (09:04 +0200)]
HTTPS calls for catalog-be

Implement HTTPS calls into catalog-be
-Added p12 keystore certificate.
-Updated application configuration.
-Added trust-store.

Issue-ID: SDC-2501
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Change-Id: Iecdff1010f763489395e9d67d3a0cecd22d09c88

4 years agofix INFO.yaml 36/93736/2
Ofir Sonsino [Sun, 18 Aug 2019 11:19:24 +0000 (14:19 +0300)]
fix INFO.yaml

Change-Id: Iabedb5768b5ab572dd627426ecedff62ab3a1244
Issue-ID: SDC-2448
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoUpdate PM Mapper Data Type 30/93530/2
dfarrelly [Wed, 14 Aug 2019 16:06:20 +0000 (16:06 +0000)]
Update PM Mapper Data Type

*Update PM Mapper Data Type to include full filter schema

Issue-ID: DCAEGEN2-1605
Change-Id: I5aea43ddef798d14b445ee0ab4275370db08e011
Signed-off-by: dfarrelly <david.farrelly@est.tech>
4 years agoHandle 'get_input' syntax for layer_protocols in PnfExtCp type 29/91729/6
vasraz [Tue, 6 Aug 2019 09:44:08 +0000 (09:44 +0000)]
Handle 'get_input' syntax for layer_protocols in PnfExtCp type

Change-Id: I52f91e47dbda20c8c0701ee25f2eec5a83815112
Issue-ID: SDC-2427
Signed-off-by: vasraz <vasyl.razinkov@est.tech>
4 years agoUpdating documentation on onboarding packages 82/92582/2
bilal.iqbal [Wed, 14 Aug 2019 15:15:45 +0000 (15:15 +0000)]
Updating documentation on onboarding packages

Change-Id: Id167f34e918e15856d7c86b9f7c767e1e3f4a0bb
Issue-ID: DOC-521
Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
4 years agoHTTPS calls for sdc-onboarding 02/92802/6
r.bogacki [Tue, 6 Aug 2019 13:45:17 +0000 (15:45 +0200)]
HTTPS calls for sdc-onboarding

Implement HTTPS calls into sdc-onboarding
-Added p12 keystore certificate.
-Updated application configuration.
-Added trust-store.

Issue-ID: SDC-2498
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Ia96c42cddee5fd94014963c9d2f584b098693a9a

4 years agoAdd unit tests for NicInternalNetworkErrorBuilder 92/92892/4
m.kowalski3 [Wed, 7 Aug 2019 13:25:14 +0000 (15:25 +0200)]
Add unit tests for NicInternalNetworkErrorBuilder

Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: I8a6127218edf895b8b43d973348cc47794e212c1

4 years agoFix PM Mapper policy ID 14/92914/2
dfarrelly [Wed, 7 Aug 2019 15:31:17 +0000 (15:31 +0000)]
Fix PM Mapper policy ID

*Change policy ID to match onap.policies.monitoring naming convention

Issue-ID: DCAEGEN2-1605
Change-Id: If5e61692c19d344714704bf411631dec01b3226a
Signed-off-by: dfarrelly <david.farrelly@est.tech>
4 years agoAdditional unit tests 06/93006/1
Tomasz Golabek [Thu, 8 Aug 2019 06:55:52 +0000 (08:55 +0200)]
Additional unit tests

Tests for ItemVersionConflictConverter

Change-Id: I5bf7ac9322e44d7021f87c9853ae250024172f0c
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoAdditional unit tests 08/92908/3
Tomasz Golabek [Wed, 7 Aug 2019 14:43:54 +0000 (16:43 +0200)]
Additional unit tests

Tests for ConflictsDaoImpl

Change-Id: I7fd472b55a96a314992be0e49725d8844167ff4d
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoAdditional unit tests 96/92896/2
Tomasz Golabek [Wed, 7 Aug 2019 13:35:28 +0000 (15:35 +0200)]
Additional unit tests

Tests for conflict-api mostly bean matchers for getters and setters

Change-Id: I924b17986dfbc419da391fae0d33bb458d97f465
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoFix in RestConf - Policy model 86/92886/1
Vidyashree Rama [Wed, 7 Aug 2019 11:18:58 +0000 (16:48 +0530)]
Fix in RestConf - Policy model

Bug fix in policy model of restconf collector

Change-Id: I66ece74e05b898c24dc62da85ee2f596ae4c40fe
Issue-ID: SDC-2101
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
4 years agoMinor feature by checking for status code in addition to error code 69/92669/2
ilanap [Mon, 5 Aug 2019 11:10:34 +0000 (14:10 +0300)]
Minor feature by checking for status code in addition to error code

Issue-ID: SDC-2483
Signed-off-by: ilanap <ilanap@amdocs.com>
Change-Id: Ib26ef4f303f4b996ff0511344507692cdda69e04

4 years agoValidate PM Dictionary and VES Events YAML Files 30/91930/3
andre.schmid [Wed, 24 Jul 2019 08:57:20 +0000 (08:57 +0000)]
Validate PM Dictionary and VES Events YAML Files

Validate, during the package onboarding, YAML files declared in the
manifest as type onap_ves_events or onap_pm_dictionary under
non_mano_artifact_sets. Check if the file is not empty, if has a yaml
extension and if it has a valid yaml content.

Change-Id: I260d0f5355e9e77b6499f553f8aa9f7e6d0693da
Issue-ID: SDC-2475
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoAdded unit tests for AbstractPropertyConstraint 89/90089/3
Piotr Borelowski [Tue, 18 Jun 2019 14:08:08 +0000 (16:08 +0200)]
Added unit tests for AbstractPropertyConstraint

Improved the unit test coverage in the package
org.openecomp.sdc.be.model.tosca.constraints

Issue-ID: SDC-2327
Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com>
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I094ab463cc010ecd48e062a1a806b3b907223228

4 years agoRestConf - Policy model support 59/92559/2
Vidyashree Rama [Fri, 2 Aug 2019 09:23:45 +0000 (14:53 +0530)]
RestConf - Policy model support

Adding policy model for restconf collector

Issue-ID: SDC-2101

Change-Id: Id41f2acfe02e955a066ceadddd1eb576fff3fdcf
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
4 years agoAdditional unit tests 10/92010/2
Tomasz Golabek [Thu, 25 Jul 2019 12:22:53 +0000 (14:22 +0200)]
Additional unit tests

Some tests for catalog-fe

Change-Id: I383021c7d1e85131adebd559e4763e12e36cba67
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoSet ES port to 9300 explicitly 62/92662/1
Ofir Sonsino [Mon, 5 Aug 2019 08:10:02 +0000 (11:10 +0300)]
Set ES port to 9300 explicitly

Change-Id: Ic98a7e3f07a581b3e655d4f8b800431e4991ad9a
Issue-ID: SDC-2485
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoFix test docker readiness check 99/92299/2
kaihlavi [Tue, 30 Jul 2019 16:23:52 +0000 (19:23 +0300)]
Fix test docker readiness check

 - add probe_test_docker function to check test docker readiness
 - minor improvements to docker_run and test docker startup scripts

Issue-ID: SDC-2376
Change-Id: If1ee25e8c7850c8e65a520f645ff80c7d5d36373
Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
4 years agoIssue-ID: SDC-2483 38/92638/1
ilanap [Sun, 4 Aug 2019 07:16:33 +0000 (10:16 +0300)]
Issue-ID: SDC-2483

Adding https support for cucumber tests and slight refactoring

Signed-off-by: ilanap <ilanap@amdocs.com>
Change-Id: Ib772d18cd4278238571daf54bcb6372c553d6e4b

4 years agoUpdate SDC version 1.5.1 55/92155/2
Ofir Sonsino [Sun, 28 Jul 2019 12:44:36 +0000 (15:44 +0300)]
Update SDC version 1.5.1

Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d
Issue-ID: SDC-2478
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agofixing warnings from checkstyle in ui-ci 00/91800/7
Bartosz Gardziejewski [Mon, 22 Jul 2019 06:25:10 +0000 (08:25 +0200)]
fixing warnings from checkstyle in ui-ci

Issue-ID: SDC-2454
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I84b1c0206b7a7c5e12d40582d97411b138eebc4e

4 years agofixing warnings from checkstyle in common-be 86/91586/7
Bartosz Gardziejewski [Wed, 17 Jul 2019 09:10:21 +0000 (11:10 +0200)]
fixing warnings from checkstyle in common-be

Issue-ID: SDC-2454
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I1ee7d055f865eef209e621ec45eba33eef69736f

4 years agoFix for ResourceInstanceBusinessLogicTest 42/91942/1
Tomasz Golabek [Wed, 24 Jul 2019 13:20:05 +0000 (15:20 +0200)]
Fix for ResourceInstanceBusinessLogicTest

ConfigurationManager pre-initialized to avoid null pointer

Change-Id: I7f81ce6cd56f5e35a57f4ba9fa29f08aa17c5260
Issue-ID: SDC-2400
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoAutowired annotation for catalog-be 55/90655/7
Tomasz Golabek [Fri, 28 Jun 2019 10:17:09 +0000 (12:17 +0200)]
Autowired annotation for catalog-be

Injection of the properties moved to the constructors/setters replacing
field annotations.

Change-Id: I766ff67e466bec5a91db1035f29e7f919d32e0ea
Issue-ID: SDC-2400
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoRefactor ConfigurationRepositoryTest to remove the powermock. 65/91865/2
k.kedron [Tue, 23 Jul 2019 13:10:54 +0000 (15:10 +0200)]
Refactor ConfigurationRepositoryTest to remove the powermock.

Refactor the ConfigurationRepositoryTest to doesn't affect to other tests.
Removed powermock.

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

4 years agoFix view attachment for onboarded CSAR packages 00/91500/4
andre.schmid [Tue, 16 Jul 2019 10:01:17 +0000 (10:01 +0000)]
Fix view attachment for onboarded CSAR packages

Fixes the problem to view attachments for a onboarded CSAR package.
Every time the attachments link was clicked the process package was
being called. The package processing can only happen once, while
uploading the package. This solution changes the Attachment link
action to a view action without package processing.

Change-Id: I5bded800c060adfb8cc80a8512bc8eecf07557b8
Issue-ID: SDC-2443
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoMigrate swagger to openapi v3 19/90819/2
Wojciech Sliwka [Wed, 3 Jul 2019 06:38:28 +0000 (08:38 +0200)]
Migrate swagger to openapi v3
Issue-ID: SDC-2261

Change-Id: I614c15878b9d165a4468570e8318867632c88434
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
4 years agoFile name calculation refactoring 40/91840/1
Piotr Darosz [Tue, 23 Jul 2019 06:00:04 +0000 (08:00 +0200)]
File name calculation refactoring

FSConfigurationSource file name calculation refactoring and tests

Change-Id: Idf1c45f860e12c14cfe88417500f2169b5dc86f7
Issue-ID: SDC-2474
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
4 years agoImproved test for ReportManger, ArtifactValidationUtils and Sonar fixes. 17/90817/7
k.kedron [Wed, 3 Jul 2019 06:27:48 +0000 (08:27 +0200)]
Improved test for ReportManger, ArtifactValidationUtils and Sonar fixes.

Add new ReportManagerHelper to read files with reports.
Fixed log.info to print the types of exception in the messages.
Removed redundant new lines in the report files.

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

4 years agoupdate INFO.yaml 95/91795/2
avigaffa [Mon, 22 Jul 2019 08:16:36 +0000 (11:16 +0300)]
update INFO.yaml

update INFO.yaml withOjas Dubey as committer

Change-Id: I0980ff0080527b3abfdaf5b9094d0272c8341d80
Issue-ID: CIMAN-267
Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
4 years agoImproved unit tests for the DaoUtils class. 71/90771/5
k.kedron [Tue, 2 Jul 2019 10:01:42 +0000 (12:01 +0200)]
Improved unit tests for the DaoUtils class.

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

4 years agoImproved the CsarGenerator unit tests. 17/91017/4
k.kedron [Mon, 8 Jul 2019 12:10:53 +0000 (14:10 +0200)]
Improved the CsarGenerator unit tests.

Improved the CsarGeneratoryTest.
Checkstyle for CsarGenerator and fixed typos.

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

4 years agoImproved unit tests for ArtifactValidationUtils and Sonar fixes. 70/90770/6
k.kedron [Tue, 2 Jul 2019 09:04:56 +0000 (11:04 +0200)]
Improved unit tests for ArtifactValidationUtils and Sonar fixes.

Added new tests for ArtifactValidationUtils.
Checkstyle in the ValidationConfigManager and ArtifactValidationUtils.
Added private constructor to ValidationConfigManager.
Added logger for ArtifactValidationUtils and simplified code.
Updated the ValidationConfigManagerTest and ReportManagerTests
to not influence on each other.

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

4 years agoupdate info.yaml 11/91411/4
Ofir Sonsino [Sun, 14 Jul 2019 13:00:57 +0000 (16:00 +0300)]
update info.yaml

Change-Id: Id27dea659edee60351fb6ae001b507933eb48a6e
Issue-ID: SDC-2448
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoAdd unit test for TranslationFileCreationErrorBuilder 43/91243/2
m.kowalski3 [Thu, 11 Jul 2019 09:55:45 +0000 (11:55 +0200)]
Add unit test for TranslationFileCreationErrorBuilder

Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: Iedb570e14fdf1169da45321d97807aedad2c16d0

4 years agoAdded unit tests for AbstractStringPropertyConstraint 68/90168/2
Piotr Borelowski [Wed, 19 Jun 2019 14:20:20 +0000 (16:20 +0200)]
Added unit tests for AbstractStringPropertyConstraint

Improved the unit test coverage in the package
org.openecomp.sdc.be.model.tosca.constraints

Issue-ID: SDC-2327
Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com>
Change-Id: I79c3ecaa6aae9b9c3011d332444b072d7c1dc460

4 years agoCan't set property for VF 73/91673/2
Piotr Darosz [Thu, 18 Jul 2019 12:28:46 +0000 (14:28 +0200)]
Can't set property for VF

Can't set property for VF due to missing setter for schemaType property

Change-Id: I829a3c81586280b91634fa03f3a023b1452bcdda
Issue-ID: SDC-2420
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
4 years agoRemove Proprietary notices 77/91777/1
Ofir Sonsino [Sun, 21 Jul 2019 10:16:39 +0000 (13:16 +0300)]
Remove Proprietary notices

Change-Id: I038ed4b764d592d013d8b4b2ae3b69b2961c518a
Issue-ID: SDC-2471
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoAllow relative path for SOL004 descriptors import 63/91363/2
andre.schmid [Fri, 12 Jul 2019 12:33:10 +0000 (12:33 +0000)]
Allow relative path for SOL004 descriptors import

Allow the use of relative path on SOL004 descriptors imports. Resolves
imports with "/", "../" or "./" entries during validation and package
processing.
Validate if the reference is inside the package.
Fix problem where imported descriptor files, described as a non string
scalar yaml entry, were not being checked by the validator.

Change-Id: Ie5a32736b6090b4adf178e8714f7460bcd068def
Issue-ID: SDC-2422
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoSDC alignment SOL004 2.6.1 42/91742/2
bilal.iqbal [Fri, 19 Jul 2019 13:39:52 +0000 (13:39 +0000)]
SDC alignment SOL004 2.6.1

Updating TOSCA.meta metadata Created-by key to Created-By
Issue-ID: SDC-2402

Change-Id: Ice17dac288d745292bdd8d296bd1ae3eedbff223
Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
4 years agoRemove duplicated entries on error-configuration.yaml 36/91536/2
vasraz [Tue, 16 Jul 2019 13:36:27 +0000 (13:36 +0000)]
Remove duplicated entries on error-configuration.yaml

Change-Id: Ie9caf4a01283df368fd441f8ddecc82b84caa861
Issue-ID: SDC-2455
Signed-off-by: vasraz <vasyl.razinkov@est.tech>
4 years agocatalog-be servlets refactoring 54/91354/7
Piotr Darosz [Wed, 10 Jul 2019 11:14:39 +0000 (13:14 +0200)]
catalog-be servlets refactoring

Add constructor injection to servlets inside catalog-be project

Change-Id: I46c85f932cbcc275ce82ce64ec1978ffec98ea9b
Issue-ID: SDC-2442
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>