summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src
AgeCommit message (Collapse)AuthorFilesLines
2019-06-03Differentiate cloudRegions with same name and different ownerIttay Stern4-80/+101
Replaces change I22c0b07173950c253a9272b8a96ab63e006efa49 Resolves defect: Issue-ID: VID-482 Cherry-picked from change: I38c2f6a86a044297b1b76c1316e50cacb0264da9 Signed-off-by: Ittay Stern <ittay.stern@att.com> Change-Id: I2ecf07aa5614e94fce49eeaa7fef71b683f6c3c8
2019-06-03Support service models with policyIttay Stern4-0/+266
Upgrade sdc-tosca to 1.5.1 Issue-ID: VID-481 Cherry-picked from change: I75f0df4cae73257fc6aa58b9f5f627901c2c61c5 Signed-off-by: Ittay Stern <ittay.stern@att.com> Change-Id: I13d61050e819c1f65bf855f314e84406d35f1a9c
2019-05-31Merge "AaiController unit tests"Wojciech Sliwka4-15/+69
2019-05-31AaiController unit testsMichal Kabaj4-15/+69
- unit tests for getAicZones - fixed encapsulation and immutability issues in AicZones and Zone objects Change-Id: I3f71d45bb3c4e2238966e245f0ab77031c4dcb60 Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-05-30Merge "Initialize parameters maps before reading params"Ittay Stern2-7/+5
2019-05-30Add MsoControllerTestskurczews1-86/+103
Issue-ID: VID-470 Change-Id: I9416247d8d9548d1c01af070d8106b1512dee200 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-05-30Initialize parameters maps before reading paramsWojciech Sliwka2-7/+5
Change-Id: Ie4845c5afc647cae96869609fc665cc4fe854eb8 Issue-ID: VID-484 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com> (cherry picked from commit ac142979f8499af24390290f7800d3fe266583d1)
2019-05-29fetch parameters for native workflowsWojciech Sliwka2-1/+53
SO api for retrieving workflows won't return parameters for workflow marked as native due to high impact on existing code. In that case VID will fetch parameters from internal API Issue-ID: VID-484 Change-Id: I7577afa3832c96b523daae01895a249d6ea86e65 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com> (cherry picked from commit 8140332ee31a1cde9cd60d7ffe6ddb01af8f6037)
2019-05-28AaiController cleanupMichal Kabaj1-129/+152
- reformatted code according to java style guide - removed unused HttpServletRequest params Change-Id: Icdb215dfe739e91031bc9fa963fe11a3a0c45107 Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-05-15AaiController cleanupMichal Kabaj1-152/+1
- removed unnecessary code comments Change-Id: Ia9dbd2258ea5ec0ba346835615056331ae00f491 Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-05-15junits for AaiControllerTomasz Gwozdecki1-0/+26
-Added new test for getNodeTemplateInstances method Change-Id: I1214445de2710482964c3e195a91b73bef9ef6da Issue-ID: VID-478 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2019-04-30VID hangs on View Edit Service Instance screen4.0.0Piotr Darosz1-1/+1
A fix for displaying service instances that have inputs defined in SDC Change-Id: Idcb41a33e9890ffc39868ec02ceb34addd9e9de2 Issue-ID: VID-468 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-04-30Toggle workflows-list consume from SOIttay Stern1-1/+1
Issue-ID: VID-400 Issue-ID: VID-451 Change-Id: I41c9d18146676f30f6668d1fc3660ec02cad26e5 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-04-24Merge "Rewrite LoggerControllerTests"Wojciech Sliwka6-84/+238
2019-04-24Fix sonar issue in vid-app-commonParshad Patel3-13/+15
Fix Either log or rethrow this exception Fix "serviceInstanceId" is already a string, there's no need to call "toString()" on it Fix Replace this if-then-else statement by a single return statement Issue-ID: VID-464 Change-Id: I87652f6aeecf668757f668535377f2ff9a95a7cf Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-04-23Merge "Sonar fix too many method param"Wojciech Sliwka5-463/+459
2019-04-23Sonar fix too many method paramArindam Mondal5-463/+459
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-19Rewrite LoggerControllerTestsJoanna Jeremicz6-84/+238
Add JUnit tests with minor code refactor Issue-ID: VID-384 Change-Id: Ic3bee8e1f6ee58a10053bb0ad2d006912965da1a Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-04-19Fix sonar issue in vid-app-commonParshad Patel2-14/+79
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 "removing /onap/so/infra from properties"Wojciech Sliwka2-2/+2
2019-04-11removing /onap/so/infra from propertiesBartosz Gardziejewski2-2/+2
Change-Id: I9a42d8e3cf0e4fb17356645b7d894d279fe1501b Issue-ID: VID-460 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 Stern6-28/+43
2019-04-10Inject an SystemPropertiesWrapper instance to MsoClientWojciech Sliwka6-28/+43
Change-Id: Ibbc8540042fc46bd0df42efec99cff5fc2e371a3 Issue-ID: VID-404 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-09Support for swaggerWojciech Sliwka9-8/+28
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 "AaiController unit tests"Wojciech Sliwka1-22/+54
2019-04-09Merge "align logic to new so api"Wojciech Sliwka18-313/+417
2019-04-08AaiController unit testsMichal Kabaj1-22/+54
- refactored and added detailed unit tests testing spring rest mappings Change-Id: I602b4301c7e46d16cc8606a5e7bb3af1cb0cad21 Issue-ID: VID-456 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-04-08align logic to new so apiWojciech Sliwka18-313/+417
Change-Id: Ic1a975eb6d3d9487fc2e006d2f171fa044806ef3 Issue-ID: VID-400 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-04-08Merge "Increase test coverage for vid/aii - third part"Wojciech Sliwka13-436/+481
2019-04-04Increase test coverage for vid/aii - third partmichal.banka13-436/+481
Change-Id: Ib4da72c1da212cf009f70694ffcb0be4049cb67e Issue-ID: VID-385 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-04-04junits for ControllersUtilsTomasz Gwozdecki1-0/+31
-Added new test to check Exception handling Change-Id: I4e634157ad942118221c07d7fe21ee33af68a9ef Issue-ID: VID-449 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2019-04-03AaiController construction and test improvementsMichal Kabaj2-49/+45
- 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 Stern11-131/+247
2019-04-03Merge "Turn role management off by default"Ittay Stern2-17/+32
2019-04-03Extract AlwaysValidRoleValidator from RoleValidatorIttay Stern11-131/+247
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)2-17/+32
(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 Sliwka26-12/+630
2019-04-01Sending workflow data from UI to SOBartosz Gardziejewski26-12/+630
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 Sliwka5-30/+151
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>