aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common
AgeCommit message (Collapse)AuthorFilesLines
2019-03-26Merge "Retrieve worfklows by model"Wojciech Sliwka5-9/+9
2019-03-26Merge "ControllerUtils tests and improvements"Wojciech Sliwka5-30/+151
2019-03-26Merge "Upgrade lodash to 4.17.11"Wojciech Sliwka1-129/+129
2019-03-26Upgrade springframework to 4.3.22 (was 4.2.x)Ittay Stern1-6/+19
Issue-ID: VID-435 Change-Id: Ib7722368894fb39119d47602bca5c4453430ab8e Signed-off-by: Ittay Stern <ittay.stern@att.com>
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 Stern4-25/+113
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 Kabaj5-30/+151
- 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 AaiServiceImplkurczews5-34/+116
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 Stern5-160/+137
Also move setRandomStrings() to TestUtils.setStringsInStringProperties() Issue-ID: VID-403 Change-Id: I0216d16983699f1b91c23d167472e36bcae10ce1 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-19Merge "second part of tests"Wojciech Sliwka6-263/+206
2019-03-18Test manual-tasks-controllerIttay Stern2-1/+131
Issue-ID: VID-403 Change-Id: I547b6653ad7d5bacd50a7254de390a42a7b349c0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-18Fix getManualTasks double-addition of baseUrlIttay Stern4-77/+66
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-18second part of testsWojciech Sliwka6-263/+206
Change-Id: I799ddd9b8a7b9224e195c1fccf4706f5ff76c0e0 Issue-ID: VID-385 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.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-14Increasing test coverage for vid.mso.restBartosz Gardziejewski14-794/+612
Change-Id: I48a5827875f9d0023f183cff58b0aaed0e28910b Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-03-14Merge "Increasing test coverage for vid.mso.rest"Wojciech Sliwka8-41/+1242
2019-03-13Merge "junits for PombaClientImpl"Wojciech Sliwka1-0/+15
2019-03-13junits for PombaClientImplTomasz Gwozdecki1-0/+15
-Added new test to check Exception handling Change-Id: I3ddd8ac2e6a3e77ebf751fed8e4bc0ca6cc61e2f Issue-ID: VID-418 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2019-03-12Integrate with the oparent.pomIttay Stern1-11/+9
Issue-ID: VID-408 Change-Id: I75fcc65696ec7b281da59f568da2a53b0347d793 Signed-off-by: Ittay Stern <ittay.stern@att.com>
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 Sliwka12-87/+403
2019-03-11Increasing test coverage for vid.mso.restBartosz Gardziejewski8-41/+1242
Change-Id: Ie672d561c5f1c674cce979e0f640027bb6fc0fa7 Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-03-10Merge "Increasing test coverage for vid.mso.model"Wojciech Sliwka2-59/+52
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-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 dynamicallygolabek12-87/+403
* 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 Sliwka4-352/+108
2019-03-06Fix cyclic CategoryParameterOption::hashCodeIttay Stern4-352/+108
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-28Merge "Add a disabled license-maven-plugin"Wojciech Sliwka1-0/+69
2019-02-28First part of TestsWojciech Sliwka9-39/+184
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-27Add a disabled license-maven-pluginIttay Stern1-0/+69
To use: - Replace phase "none" with "process-sources" to enable plugin. - Set organizationName as desired. - Then run `mvn license:check-file-header`, or even `mvn license:update-file-header`. Issue-ID: VID-427 Change-Id: I8d4a09dfea943a72223a5ac1f7ee8954651da991 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-27Increasing test coverage for vid.msoBartosz Gardziejewski10-199/+1449
Change-Id: I71d44c6b36babcc5b8931cda65ab86940062deda Issue-ID: VID-387 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-02-26Update license headersIttay Stern757-699/+11929
- 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-26Ignore any .js file on sonar reportIttay Stern1-0/+1
Change-Id: I7cf9f79a7ec2fbba0ab331a3fbf527d54c3015fb Issue-ID: VID-425 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-25Ignore any .js file on sonar reportIttay Stern1-1/+1
- Upgrade Sonar plugin to latest - Upgrade JaCoCo to latest Change-Id: I85f1651410dc650b8d0b8d71e1db92c2416f2793 Issue-ID: VID-425 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-25Merge "Remove unused test-controllers"Ittay Stern8-1084/+0
2019-02-25Remove unused test-controllersIttay Stern8-1084/+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-25Merge "Upgrade c3p0 to 0.9.5.3"Ittay Stern1-1/+2
2019-02-25Upgrade c3p0 to 0.9.5.3Ittay Stern1-1/+2
(was c3p0 0.9.5.2) Change-Id: I080b6af068f5ddca6033ae6dbad775ea87dce4a0 Issue-ID: VID-407 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>
2019-02-21Merge "Enable JobsBrokerService tests"Wojciech Sliwka2-17/+21
2019-02-21Merge "workflow parameters API"Ittay Stern6-10/+97
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 Sliwka6-10/+97
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>