summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-03-11Merge "VnfInPlaceFields and ScaleOut rendered dynamically"Wojciech Sliwka1-8/+6
2019-03-10Merge "Increasing test coverage for vid.mso.model"Wojciech Sliwka2-59/+52
2019-03-10Extend timeout in test JobsBrokerServiceIttay Stern1-22/+38
This resolves instability in tests, e.g.: java.lang.RuntimeException: java.util.concurrent.TimeoutException at ...JobsBrokerServiceTest.waitForFutureOptionalJob() at ...JobsBrokerServiceTest.getAlotOfJobs() Change-Id: Ie77f156c0b1ca9892af03fe668bf275b9d74cedb Issue-ID: VID-433 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-08Increasing test coverage for vid.mso.modelBartosz Gardziejewski2-59/+52
Change-Id: Id9e5aefddbb47a60bb937c89a25d5584505e2edb Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-03-08VnfInPlaceFields and ScaleOut rendered dynamicallygolabek1-8/+6
* hardcoded workflows parameters moved to the internal API. * html changed to dynamically render parameters from the new API. Change-Id: Id2f61dbf88ae65401a8974422ab7c6da07053da2 Issue-ID: VID-398 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-03-07Fix JettyObfuscationConversionCommandLineUtilTestIttay Stern1-13/+42
Issue-ID: VID-431 Change-Id: Ib2e4559925816fad5ad39985d1abda298cd3d165 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-07Merge "Fix cyclic CategoryParameterOption::hashCode"Wojciech Sliwka3-343/+77
2019-03-06Fix cyclic CategoryParameterOption::hashCodeIttay Stern3-343/+77
Issue-ID: VID-430 Change-Id: Ib49b71726fe508f1ec9bfe8c60836af1c5ca786b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-06Increasing test coverage for vid.msoBartosz Gardziejewski4-44/+92
Change-Id: I3b9c4aeb628a50e5bb9032dd78605cfa0a4c3f57 Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-02-28First part of TestsWojciech Sliwka8-37/+181
Issue-ID: VID-385 add first part of new tests for AAI, move some files to proper directory Change-Id: I6600c48d26387faf9e6cd6dbe7107e10428f4b52 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-02-27Increasing test coverage for vid.msoBartosz Gardziejewski8-167/+1445
Change-Id: I71d44c6b36babcc5b8931cda65ab86940062deda Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-02-26Update license headersIttay Stern201-255/+3632
- Source code files been updated with License Apache 2 header - Year format in copyright header of all source code files been updated Issue-ID: VID-427 Change-Id: I27dfd8a927a62c90a713cbeccf6ce656c4f920f0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-25Remove unused test-controllersIttay Stern4-113/+0
Change-Id: I3ed9f9df04f733dde91adad98d74d446c124c7a4 Issue-ID: VID-426 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-21Merge "Enable JobsBrokerService tests"Wojciech Sliwka2-17/+21
2019-02-21Merge "workflow parameters API"Ittay Stern1-3/+41
2019-02-21Enable JobsBrokerService testsIttay Stern2-17/+21
Change-Id: I35d7e5802c6838eb53c116afe9013dbf60ae2248 Issue-ID: VID-378 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-21workflow parameters APIWojciech Sliwka1-3/+41
Change-Id: If79e410608a0562ddef86d9a3a451d4addf66a0f Issue-ID: VID-419 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-02-21Enable AsyncInstantiationBusinessLogic testsIttay Stern6-86/+615
Issue-ID: VID-378 Change-Id: If0dd6147f1ce7fba3db01c85359f17abad8bcb07 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-18Merge "PombaReqest and ServiceInstance improvements"Wojciech Sliwka3-14/+31
2019-02-18Merge "Introduced mocked SO workflows in VID FE"Ittay Stern1-0/+60
2019-02-18Introduced mocked SO workflows in VID FEgolabek1-0/+60
Mocked SO workflows joined with list of workflows from VIDs DB. (Contains: Mocked BE service to return workflow list) Change-Id: I10336238cfeb8819e0a2b3e88cd86c338cab86fa Issue-ID: VID-399 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-02-18PombaReqest and ServiceInstance improvementsMichal Kabaj3-14/+31
- fix encapsulation issues - make object immutable Change-Id: I7f66aa7ec5e0ba63a9178ad27c8a9466f04e0869 Issue-ID: VID-422 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-02-18Merge "Add tests for AaiServiceImpl"Wojciech Sliwka2-313/+132
2019-02-18Add tests for AaiServiceImplkurczews2-313/+132
Issue-ID: VID-386 Change-Id: I8959a30b8cbd38663dd410b23d167c405ed2592e Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-02-13junits for PombaClientImplTomasz Gwozdecki2-0/+111
-Create new test class for PombaClientImpl -Added new test for PombaClientImpl.verify Change-Id: I776df73d592a219c0aa266a8207c92c1f475f4da Issue-ID: VID-418 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2019-01-31Replaced tests for rolesWojciech Sliwka3-122/+207
Issue-ID: VID-388 Change-Id: I7c8c4ec50312f7ccd3a40eb2568cb8181f50b5d8 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-01-27Merge "Rewrite RoleGeneratorControllerTest"Ittay Stern1-15/+69
2019-01-25Rewrite PropertyControllerTestJoanna Jeremicz1-32/+132
Change-Id: I8c564a945f374d6dcc12a30ff4d8d9268b50a815 Issue-ID: VID-384 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-01-24MsoUtil refactorbiniek1-40/+73
Change-Id: I778d60064508aa47e1225d0dbae38ca1100d248f Issue-ID: VID-368 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2019-01-22Rewrite RoleGeneratorControllerTestJoanna Jeremicz1-15/+69
Issue-ID: VID-384 Change-Id: Iceac145b321a88336494a57dfb92fb023ae9aa85 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-01-09Merge from ECOMP's repositoryIttay Stern160-5997/+9148
Main Features -------------- - Async-Instantiation jobs mechanism major update; still WIP (package `org.onap.vid.job`) - New features in View/Edit: Activate fabric configuration; show related networks; soft delete - Support AAI service-tree traversal (`AAIServiceTree`) - In-memory cache for SDC models and certain A&AI queries (`CacheProviderWithLoadingCache`) - Upgrade TOSCA Parser and add parsing options; fix malformed TOSCA models - Resolve Cloud-Owner values for MSO - Pass X-ONAP headers to MSO Infrastructure -------------- - Remove codehaus' jackson mapper; use soley fasterxml 2.9.7 - Surefire invokes both TestNG and JUnit tests - Support Kotlin source files - AaiController2 which handles errors in a "Spring manner" - Inline generated-sources and remove jsonschema2pojo Quality -------- - Cumulative bug fixes (A&AI API, UI timeouts, and many more) - Many Sonar issues cleaned-up - Some unused classes removed - Minor changes in vid-automation project, allowing some API verification to run Hard Merges ------------ - HTTP Clients (MSO, A&AI, WebConfig, OutgoingRequestHeadersTest) - Moved `package org.onap.vid.controllers` to `controller`, without plural -- just to keep semantic sync with ECOMP. Reference commit in ECOMP: 3d1141625 Issue-ID: VID-378 Change-Id: I9c8d1e74caa41815891d441fc0760bb5f29c5788 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-12-17Merge "ChangeManagementController tests"Ittay Stern4-97/+495
2018-12-12Merge "Make CategoryParameter.getOptions() unmodifiable"Ittay Stern1-11/+17
2018-12-10Refactor of Intersection classbiniek1-74/+81
Change-Id: Ida73b13b1e235951f01888ac0cbf344565976e0f Issue-ID: VID-364 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-12-03Merge "Handle annotated-input which has 2 properties"Ofir Sonsino2-1/+24
2018-11-30ChangeManagementController testsJoanna Jeremicz4-97/+495
Change-Id: I936a9c65c167e5076d775f4139cc76340d0fc55d Issue-ID: VID-353 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-11-29Handle annotated-input which has 2 propertiesIttay Stern2-1/+24
Handle correctly an annotated input, when it has more than a single "vf_module_label". Change-Id: Ibe3f6408d7d5c18b13e47846235a2b3ab66f35f8 Issue-ID: VID-362 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-11-28Merge "Upgrade mockito to v2; drop incompatible powermock"Ofir Sonsino24-244/+148
2018-11-27Upgrade mockito to v2; drop incompatible powermockStern, Ittay (is9613)24-244/+148
Note that anyString() is not matching null values, therefore replaced with any() where relevant. Change-Id: If64944e1edc62013953e41b2645a2b78c578bbe8 Issue-ID: VID-359 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-11-27Reject getVersionByInvariantId with no IDsIttay Stern1-4/+4
Reject the case where zero invariant-ids provided to getVersionByInvariantId, as this will cause full models listing. Change-Id: I7b86b65de30a9df0b3fd1cafa60e8254e8e252c0 Issue-ID: VID-360 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-11-15Get subscribers rewritten to new rest clientgolabek5-109/+157
Should be merged after: I561f8a5d95ec35fdddc648b24965dd9dac03c9a4 It contains cherry-picked changes from that review Change-Id: I22a9e9ce709ae4dd3abcf7a9cda6354a4f656b00 Issue-ID: VID-269 Signed-off-by: golabek <tomasz.golabek@nokia.com>
2018-11-11Merge "Nodes query rewritten to generic rest client"Ofir Sonsino3-2/+323
2018-11-06Make CategoryParameter.getOptions() unmodifiableJoanna Jeremicz1-11/+17
Change-Id: If7331577febe058d4415aab0d2336e60213fd7bb Issue-ID: VID-344 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-11-06Merge "Fix reading entity"Ofir Sonsino1-27/+54
2018-11-06Merge "HealthCheckController/test refactor"Ofir Sonsino3-120/+126
2018-11-06Fix reading entityWojciech Sliwka1-27/+54
ensure that response is read only once Change-Id: Id456263f58f8d69ad1a484f26352db62b74a4f08 Issue-ID: VID-227 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-11-04Merge "Add VidController junits"Ofir Sonsino1-187/+208
2018-10-31Merge "Fix and improvement for MsoBusinessLogic tests"Ofir Sonsino3-187/+229
2018-10-29StackOverflowError in CategoryParameterJoanna Jeremicz1-2/+3
Change-Id: Ic07d296f4ef16032d2c363f10c824c7b3db018f4 Issue-ID: VID-339 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-10-29Merge "Add request to delete body Issue-ID: VID-336"Ofir Sonsino1-1/+6