aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/mso/MsoBusinessLogicImplTest.java
AgeCommit message (Collapse)AuthorFilesLines
2020-03-11add new format to fetch requests from MSO to the CMAmichai Hemli1-1/+6
When flag is true VID will use the format=simpleNoTaskInfo parameter in addition to the filter parameter when fetching orchestration requests for the change-management dashboard. Issue-ID: VID-787 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: I18d608db5bab6f095f399ac0f58fe5e49944a6b1 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-10-02Verify partner-name header sent to AAI, SOIttay Stern1-1/+1
Issue-ID: VID-253 Change-Id: I80c710db1eb3f48c52b7ecebb234e75a503bf65d Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-10update MSO configuration URLEylon Malin1-1/+1
Issue-ID: VID-622 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I695a8822338fd1c8253b23b88ad260a43d02be9c
2019-09-10update MSO create service instance URLEylon Malin1-2/+2
align MSO create service instance URL to /serviceInstantiation/v7/serviceInstances also unify some system properties variables Issue-ID: VID-622 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I7a0744f5d6cfe776ce2f17b11aa5ebba4c8e65fb Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-03fix getDeactivateAndCloudDeletePath testEylon Malin1-10/+4
Use hard coded in test instead of same logic of production code Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I967432e5e35fde7661fc2145ac3815a4b0a05318
2019-09-02improve test to verify also serializationEylon Malin1-34/+6
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Iaff42459fc9bd7d843b21af6d710afc9a194680c
2019-09-02Revert "add some UT for MsoBusinessLogicImpl"Eylon Malin1-65/+0
This reverts commit b2805ebd910ecf9cc49597a52bd8f6e6b18f1d31 Reason for revert: duplicated tests. These scenarios already covered by another methods in this class. Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I645b770d853dc39947222de5b8332d3e9fd23087
2019-09-01add some UT for MsoBusinessLogicImplEylon Malin1-0/+65
Add UT for: deleteSvcInstance, deleteVnf, deleteVfModule Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I838c69ae4d0209fe8d62ada98e06dcc1817a4d88
2019-09-01handle non OK response from SDC while getting modelEylon Malin1-6/+2
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Idc6e587abb24fbec65ed159db7008e50abee2581
2019-08-22extract constant in MsoBusinessLogicImplTestEylon Malin1-6/+7
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I49a50f0762b2db8bcab06340a6407a0ee7970c86
2019-08-22probe mso by retrieving empty list of request statusEylon Malin1-32/+216
Mso probe component use getRawOrchestrationRequestsByFilter which return HttpResponseWithRequestInfo Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Icee95af8dbe26296e9fc110170fb758e5133984c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-07-30Implant vid-app-common org.onap.vid.job (main and test)Einat Vinouze1-116/+65
Issue-ID: VID-378 Change-Id: I41b0bdc2c4e3635f3f3319b1cd63cefc61912dfc Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-25Don't double-wrap RequestDetails for (de)activateFabricConfigurationIttay Stern1-2/+2
Issue-ID: VID-267 Change-Id: I215bf008442b3bdfd4e80c1ba23e6a86e9d6f52b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-21Return a value from MsoInterface::setServiceInstanceStatusIttay Stern1-32/+7
This resolves the case where mso_activate_service_instance API is returning an empty object. Issue-ID: VID-267 Change-Id: I691c7ca037c5458ce728bed10bf959e664679b6a Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-01Extend probe mechanismWojciech Sliwka1-1/+1
Fixes from latest review. Introduce probe interface. ResponseWithRequestInfo is not used - it belongs to aai package and requires javax.ws.rs.core.Response. Fallback in aai client will be removed as soon as sdc provides https support (hopefully in El Alto). Change-Id: I4527d447a273328d38ff2ef7f9d2a93453cec9f2 Issue-ID: VID-490 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-06-18Extend probe mechanismWojciech Sliwka1-0/+32
added methods to: - new aai client - sdc client - so client Change-Id: Ib7beb5a5ac58c2ac9767f5e8dc4f988ac0a44c3e Issue-ID: VID-490 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-11removing /onap/so/infra from propertiesBartosz Gardziejewski1-1/+1
Change-Id: I9a42d8e3cf0e4fb17356645b7d894d279fe1501b Issue-ID: VID-460 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-04-08align logic to new so apiWojciech Sliwka1-1/+28
Change-Id: Ic1a975eb6d3d9487fc2e006d2f171fa044806ef3 Issue-ID: VID-400 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-01Sending workflow data from UI to SOBartosz Gardziejewski1-0/+48
Change-Id: I39c78584c61eb317d4eaf2861ece810c1b60ab01 Issue-ID: VID-401 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-03-06Increasing test coverage for vid.msoBartosz Gardziejewski1-3/+3
Change-Id: I3b9c4aeb628a50e5bb9032dd78605cfa0a4c3f57 Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-02-27Increasing test coverage for vid.msoBartosz Gardziejewski1-70/+1167
Change-Id: I71d44c6b36babcc5b8931cda65ab86940062deda Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-02-26Update license headersIttay Stern1-11/+12
- 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-01-09Merge from ECOMP's repositoryIttay Stern1-11/+11
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-11-27Upgrade mockito to v2; drop incompatible powermockStern, Ittay (is9613)1-21/+19
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-10-23Fix and improvement for MsoBusinessLogic testsMichal Kabaj1-125/+227
- Merged two test classes into one Moved unit tests from MsoBusinessLogic to MsoBusinessLogicImpl - unified unit test framework - using junit instead of testng - Fixed issue with broken unit tests when run in IDE - improved readability of unit tests - Fixed commented/ignored unit tests - RequestDetailsWrapper encapsulation fix Change-Id: I7f589b36757b09f41b3568d8aa8a932bd914ac0d Issue-ID: VID-283 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-10-12Added scaleOut to dashboard orchestrationRequestskoblosz1-8/+39
Change-Id: Ib4862e5f151f8f231022109ee65997e83bdcff7b Issue-ID: VID-326 Signed-off-by: Sandra Koblosz <sandra.koblosz@nokia.com>
2018-10-09Correct flow for ScaleOutWojciech Sliwka1-32/+52
Change-Id: I347fec1e15526fa9b43ab57612235b55dee3eeba Issue-ID: VID-321 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-07-10Merge 1806 code of vid-commonSonsino, Ofir (os0695)1-0/+153
Change-Id: I75d52abed4a24dfe3827d79edc4a2938726aa87a Issue-ID: VID-208 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>