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>
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
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>
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>
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>
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>
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
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>
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
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>
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
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>
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>
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
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
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
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>
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>
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>
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
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
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>
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
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
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
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>
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
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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
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
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
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>
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>
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>
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>
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
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
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>
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>
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>
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>
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>
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
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>
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
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>
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>
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>
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>
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
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>
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
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
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>
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>
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
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>
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>
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>
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
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>
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
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
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
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>
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
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
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>
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>
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>
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>
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>
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>
m.kowalski3 [Wed, 10 Jul 2019 10:51:42 +0000 (12:51 +0200)]
Add unit test for PackageNotFoundErrorBuilder
Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: I7b553f8eb03b7a1bd8d059ea12dcbdff79100f03
Bartosz Gardziejewski [Tue, 16 Jul 2019 09:09:50 +0000 (11:09 +0200)]
fixing warnings from checkstyle in catalog-fe
Issue-ID: SDC-2454
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I1fbeccb8c661233b81fea787457631f4a898fd46
Bartosz Gardziejewski [Tue, 16 Jul 2019 13:09:21 +0000 (15:09 +0200)]
fixing warnings from checkstyle in common-app-api
Issue-ID: SDC-2454
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I17c562380e39f3eab6b3bff45a4a12fe8a586cec
michal.banka [Tue, 16 Jul 2019 11:51:00 +0000 (13:51 +0200)]
Fix checkstyle violations in sdc-main/common
Change-Id: I3e132cf4bffd77f9910bf6eff2026c3267873b11
Issue-ID: SDC-2454
Signed-off-by: michal.banka <michal.banka@nokia.com>
Arielk [Sun, 7 Jul 2019 09:56:11 +0000 (12:56 +0300)]
upgrade to ONAP-UI
Change-Id: Iddc6a62cc0b7981daa5ceb2422b967c95b031422
Issue-ID: SDC-2411
Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
Wojciech Sliwka [Tue, 16 Jul 2019 12:02:03 +0000 (14:02 +0200)]
Fixing build
Change-Id: Ia75cdf511e44347294bb646add89b6c1f60f239c
Issue-ID: SDC-2403
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
Piotr Darosz [Mon, 1 Jul 2019 06:23:51 +0000 (08:23 +0200)]
Constructor injection in asdctool
Use constructor injection where possible
Change-Id: Ibc80850166406a6e3230f555818988109e6ca776
Issue-ID: SDC-2403
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
noahs [Sun, 30 Jun 2019 07:28:41 +0000 (10:28 +0300)]
Add Lombok support to Repository
add @Data annotation
Change-Id: I0a56a2f1978035a00eb4edafd5ecc7db6a7301a4
Issue-ID: SDC-2401
Signed-off-by: noahs <noah.shogan@amdocs.com>
m.kowalski3 [Thu, 11 Jul 2019 13:45:02 +0000 (15:45 +0200)]
Add unit tests for UploadInvalidErrorBuilder
Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: Icf5f64c77f373d27df438bc6bc89a9e1e67eaf0c
m.kowalski3 [Thu, 4 Jul 2019 11:08:24 +0000 (13:08 +0200)]
Add unit tests for NicInternalNetworkErrorBuilder and OnboardingMethodErrorBuilder
Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: I46e64b3a7a533a20c4e0e5a98aa99c488fa71a6b
Tomasz Golabek [Tue, 25 Jun 2019 12:30:23 +0000 (14:30 +0200)]
ComponentCache & ComponentCassandraDao removal
Also removed all classes uses these two.
Change-Id: I6793c3c935ae61c5c65f70d3541c542edf188ab4
Issue-ID: SDC-2389
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Tomasz Golabek [Fri, 12 Jul 2019 10:18:04 +0000 (12:18 +0200)]
Maven staging plugin removed
Required by global-jjb
Change-Id: I0ceca8fabd5e6c67cf702fbfb4d78866c0df4027
Issue-ID: SDC-2444
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Piotr Darosz [Fri, 12 Jul 2019 11:58:55 +0000 (13:58 +0200)]
Fixed banned dependency
Upgrade onap-tosca-datatype snapshot dependency version to non-snapshot
Change-Id: I54f1dae17b8c9bb13407a6313581b682fbadbefc
Issue-ID: SDC-2447
Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Tomasz Golabek [Tue, 9 Jul 2019 06:42:59 +0000 (08:42 +0200)]
Added oparent to sdc main
Removed errors regarding to a missing license and others.
Started locally and executed basic api tests
Change-Id: Iea37613defc97f7b40613d60c10990841cb2a209
Issue-ID: SDC-2419
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
k.kedron [Tue, 9 Jul 2019 13:44:54 +0000 (15:44 +0200)]
Fixed the startup.sh script in the sdc-onboard-db-init-docker.
Changed the instruction order to get the cqlsh command status.
Issue-ID: SDC-2425
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I173244af91e091d5cbb6979a8c5819b2646d6196
k.kedron [Tue, 9 Jul 2019 11:02:08 +0000 (13:02 +0200)]
Corrected typos in chef scripts.
Corrected typos and checkstyles.
Issue-ID: SDC-2424
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: If2464645dad7da3fa7706e35e4ccace3ece6aeb4
m.kowalski3 [Tue, 9 Jul 2019 13:03:08 +0000 (15:03 +0200)]
Add unit test for PackageInvalidErrorBuilder
Issue-ID: SDC-2327
Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com>
Change-Id: I3ca7aa5ac07acd472e9ddd359e74064bf29186c0
Mojahidul Islam [Tue, 9 Jul 2019 05:46:35 +0000 (11:16 +0530)]
Incrrct intrfc type populated in tosca for S proxy
Incorrect interface type is populated in tosca for Service proxy for Local interface operations
Change-Id: If7933d6537a14567297e716f154c2a48f7f34797
Issue-ID: SDC-2423
Signed-off-by: Mojahidul Islam <mojahidul.islam@amdocs.com>