aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-04-23Merge "Sonar fix too many method param"Wojciech Sliwka3-432/+423
2019-04-23Sonar fix too many method paramArindam Mondal3-432/+423
Issue-ID: VID-466 Change-Id: I5fbffdddabf9f62a5408cd8b40397a42753006e8 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-04-22Fix sonar issues in vidParshad Patel4-7/+10
Fix A "NullPointerException" could be thrown issue Fix Either log or rethrow this exception issue Issue-ID: VID-464 Change-Id: I92fc200bf019fc335dde8a27b50e36cefffda440 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-04-19Fix sonar issue in vid-app-commonParshad Patel1-10/+70
Fix Constructor has 8 parameters, which is greater than 7 authorized issue Issue-ID: VID-464 Change-Id: If3311351746f4a4890ab73e844decd34486a324f Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-04-18Address licence discrepancyIttay Stern3-0/+0
Issue-ID: VID-378 Change-Id: I81f6adef541b78a656ca5820a4174cadad12fc77 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-04-17fixing backEnd local workflow typeBartosz Gardziejewski2-6/+6
Change-Id: Ifd6f0718135d38135f57496e4f816e48324cfb7d Issue-ID: VID-401 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-04-11Merge "modify local workflow parameters to much native ones"Ittay Stern3-37/+44
2019-04-11modify local workflow parameters to much native onesBartosz Gardziejewski3-37/+44
Change-Id: I8d3e6b204a1b327d7b754c5bc723ae4268174393 Issue-ID: VID-401 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-04-10Merge "aaiSubscriberController Test"Ittay Stern2-28/+1478
2019-04-10Merge "Inject an SystemPropertiesWrapper instance to MsoClient"Ittay Stern3-18/+22
2019-04-10Inject an SystemPropertiesWrapper instance to MsoClientWojciech Sliwka3-18/+22
Change-Id: Ibbc8540042fc46bd0df42efec99cff5fc2e371a3 Issue-ID: VID-404 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-09Support for swaggerWojciech Sliwka5-4/+20
API definitions available under /vid/v2/api-docs Change-Id: Ie7e63bfbdb8d41c43bc04ca13351dba533776a8a Issue-ID: VID-377 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-09Merge "align logic to new so api"Wojciech Sliwka14-196/+308
2019-04-08align logic to new so apiWojciech Sliwka14-196/+308
Change-Id: Ic1a975eb6d3d9487fc2e006d2f171fa044806ef3 Issue-ID: VID-400 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-04Increase test coverage for vid/aii - third partmichal.banka5-12/+35
Change-Id: Ib4da72c1da212cf009f70694ffcb0be4049cb67e Issue-ID: VID-385 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-04-03AaiController construction and test improvementsMichal Kabaj1-28/+18
- autowired on constructor instead of fields Change-Id: I6fbf179a3e0ce51e92d617d681ea63b6926bcb38 Issue-ID: VID-456 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-04-03Merge "Extract AlwaysValidRoleValidator from RoleValidator"Ittay Stern5-97/+169
2019-04-03Merge "Turn role management off by default"Ittay Stern1-17/+30
2019-04-03Extract AlwaysValidRoleValidator from RoleValidatorIttay Stern5-97/+169
Issue-ID: VID-448 Change-Id: Ic006aceca9c51305d0706df6c2c6062ccaaee3de Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-04-03Turn role management off by defaultSonsino, Ofir (os0695)1-17/+30
(cherrypicked from casablanca) Change-Id: Id8611389b80c3a693c989ce3421f08435ad05d2f Issue-ID: VID-448 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-04-02Display Human-readable timeout in Manual Task popupIttay Stern3-3/+52
Issue-ID: VID-403 Change-Id: Iac5d7eb4ab92d967151fcf9ef439dd038f903c08 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-04-02Merge "Sending workflow data from UI to SO"Wojciech Sliwka16-3/+258
2019-04-01Sending workflow data from UI to SOBartosz Gardziejewski16-3/+258
Change-Id: I39c78584c61eb317d4eaf2861ece810c1b60ab01 Issue-ID: VID-401 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-04-01Display Manual Task description in actions popupIttay Stern4-31/+36
Change-Id: I3aa990785b340cdff647154016ae6078aabc3ee7 Issue-ID: VID-403 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-28aaiSubscriberController TestBartosz Gardziejewski2-28/+1478
Change-Id: I1e1b120d43e295e375626f125b8a24c4ae92b952 Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-03-26Merge "Retrieve worfklows by model"Wojciech Sliwka5-9/+9
2019-03-26Merge "ControllerUtils tests and improvements"Wojciech Sliwka4-30/+38
2019-03-25Upgrade lodash to 4.17.11Ittay Stern1-129/+129
From https://raw.githubusercontent.com/lodash/lodash/4.17.11-npm/lodash.min.js Via https://lodash.com/ Issue-ID: VID-434 Change-Id: Ic8bfc382cb929953f695b9f91ded60fe28b9812e Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-24Ingest SO Task fields: 'timeout' and 'description'Ittay Stern3-6/+68
Follows discussion in SO-1594 Issue-ID: VID-403 Change-Id: I04b793d730c9a26d140f52197c103b14d1babd72 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-23ControllerUtils tests and improvementsMichal Kabaj4-30/+38
- added junits - Injecting SystemPropertiesWrapper via constructor - switched extractUserId is now instance method instead of static Change-Id: Ic706b780c64248e44207a1dee723981a4ca7ed74 Issue-ID: VID-449 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-03-21Retrieve worfklows by modelWojciech Sliwka5-9/+9
Change logic to retrieve workflows from SO by modelVersionId instead of vnfName Change-Id: Id8ee8b85670dd4b56ce6a43c120e5ef053e5f617 Issue-ID: VID-444 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-03-20Add tests for AaiServiceImplkurczews2-9/+6
Issue-ID: VID-386 Change-Id: Idbed927b9942c93d6b6ed7dd17fccb27a0853153 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-03-19Task.java to Task.kt, and test itIttay Stern2-136/+43
Also move setRandomStrings() to TestUtils.setStringsInStringProperties() Issue-ID: VID-403 Change-Id: I0216d16983699f1b91c23d167472e36bcae10ce1 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-18Test manual-tasks-controllerIttay Stern1-0/+126
Issue-ID: VID-403 Change-Id: I547b6653ad7d5bacd50a7254de390a42a7b349c0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-18Fix getManualTasks double-addition of baseUrlIttay Stern1-18/+18
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-17Remove vendor from CloudOwnerIttay Stern5-2079/+2089
cloud-owner identifies the vendor and cloud name. First part of composite key is formatted as vendor-cloudname. VID will *display* only CLOUDNAME. Issue-ID: VID-396 Change-Id: I9dd9b2b15d96067023034b5776787c51c3b5eda4 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-14Merge "Increasing test coverage for vid.mso.rest"Wojciech Sliwka4-12/+18
2019-03-11Introduced feature toggle for workflows APIgolabek7-41/+77
FLAG_HANDLE_SO_WORKFLOWS was added to list of flags and used in js Change-Id: I720cd01b001fd1be75ec49628d7bb4b04f883384 Issue-ID: VID-398 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-03-11Merge "VnfInPlaceFields and ScaleOut rendered dynamically"Wojciech Sliwka11-79/+397
2019-03-11Increasing test coverage for vid.mso.restBartosz Gardziejewski4-12/+18
Change-Id: Ie672d561c5f1c674cce979e0f640027bb6fc0fa7 Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-03-10Multiple Sonar FixesDriptaroop Das2-33/+48
Issue-ID: VID-414 Change-Id: I20dc20c47b6d3048e68d2cc51bfdb95dfd15c5f9 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-08VnfInPlaceFields and ScaleOut rendered dynamicallygolabek11-79/+397
* 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-06Fix cyclic CategoryParameterOption::hashCodeIttay Stern1-9/+31
Issue-ID: VID-430 Change-Id: Ib49b71726fe508f1ec9bfe8c60836af1c5ca786b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-28First part of TestsWojciech Sliwka1-2/+3
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 Gardziejewski2-32/+4
Change-Id: I71d44c6b36babcc5b8931cda65ab86940062deda Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-02-26Update license headersIttay Stern556-444/+8297
- 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-25Merge "Remove unused test-controllers"Ittay Stern4-971/+0
2019-02-25Remove unused test-controllersIttay Stern4-971/+0
Change-Id: I3ed9f9df04f733dde91adad98d74d446c124c7a4 Issue-ID: VID-426 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-25Upgrade lodash to 4.17.5Ittay Stern1-128/+129
(was lodash 4.17.4) Change-Id: I9217555a7b948feaee5439fe141e707fb756eac2 Issue-ID: VID-405 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-22Introduced dynamic workflow properties in VID FEgolabek7-17/+86
VID FE will get workflows from SO API (mocked at this moment),then call SO for the parameters and dynamically render those parameters on the page. (contains PR of @Wojciech Sliwka about mocked parameters API from SO) Change-Id: If2cd156cd96a120e79746a4da44d4926f8d6cbcf Issue-ID: VID-398 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>