aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/mso/rest/MsoRestClientTest.java
AgeCommit message (Collapse)AuthorFilesLines
2019-10-31register SyncRestClient to work with new MetricLogClient FilterAlexey Sandler1-49/+0
Issue-ID: VID-253 add API test that checks request headers logged tometrics log Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ic2bfb99d40482b939ddaa4ba5c694f1042c3dd69 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-10-02MsoRestClientNew not extends RestMsoImplementationEylon Malin1-1/+1
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I2e67f31bee79e05286fec4152ae5c85a96186047
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-12make Logging a service and inject it to SyncRestClientEylon Malin1-1/+5
Issue-ID: VID-611 Change-Id: I120782884351c55b2e0d1b4ca8bae1e2479d1d0a Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-08send different request id on each mso callEylon Malin1-8/+55
Don't use static headers for ECOMP_REQUEST_ID and ONAP_REQUEST_ID but getting them from request / generate them each time Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I1be4e8e86195901975d613694acf0082cd555886 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-22probe mso by retrieving empty list of request statusEylon Malin1-6/+6
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-08-06handle errors in change management and tenant isolationEylon Malin1-8/+8
use more tolerance way for parsing responses from MSO so VID can handle error responses with html body Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I72741ec1bf636a1200e8ecbd684ab1f3b2ab332a Signed-off-by: Ittay Stern <ittay.stern@att.com> Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-07-21Return a value from MsoInterface::setServiceInstanceStatusIttay Stern1-7/+2
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-04-10Inject an SystemPropertiesWrapper instance to MsoClientWojciech Sliwka1-2/+7
Change-Id: Ibbc8540042fc46bd0df42efec99cff5fc2e371a3 Issue-ID: VID-404 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-01Sending workflow data from UI to SOBartosz Gardziejewski1-0/+44
Change-Id: I39c78584c61eb317d4eaf2861ece810c1b60ab01 Issue-ID: VID-401 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-03-18Fix getManualTasks double-addition of baseUrlIttay Stern1-27/+9
Inline getManualTasks which was used only once, and adjusted the tests. Issue-ID: VID-403 Change-Id: Icf61586e0047d1d9fd828b8394da10fea8fabea0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-14Increasing test coverage for vid.mso.restBartosz Gardziejewski1-108/+29
Change-Id: I48a5827875f9d0023f183cff58b0aaed0e28910b Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-03-11Increasing test coverage for vid.mso.restBartosz Gardziejewski1-22/+800
Change-Id: Ie672d561c5f1c674cce979e0f640027bb6fc0fa7 Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-02-26Update license headersIttay Stern1-4/+4
- 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-8/+6
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-08-24Replace SO clientPiotr Darosz1-1/+22
Make SO client use Generic Rest Client Change-Id: I8d0fdf4683f577e0c968f5175dbf42a42c041357 Issue-ID: VID-267 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2018-07-10Merge 1806 code of vid-commonSonsino, Ofir (os0695)1-78/+74
Change-Id: I75d52abed4a24dfe3827d79edc4a2938726aa87a Issue-ID: VID-208 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-02-27org.onap migrationOfir Sonsino1-1/+1
Change-Id: I5e2d01a6da21d4003c910b5fe0702b35c2089a77 Issue-ID: VID-86 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2018-01-31org.onap migrationOfir Sonsino1-0/+78
Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d Issue-ID: VID-86 Signed-off-by: Ofir Sonsino <os0695@att.com>