aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-02-21workflow parameters APIWojciech Sliwka5-7/+56
Change-Id: If79e410608a0562ddef86d9a3a451d4addf66a0f Issue-ID: VID-419 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-02-18Merge "PombaReqest and ServiceInstance improvements"Wojciech Sliwka2-14/+93
2019-02-18Merge "Introduced mocked SO workflows in VID FE"Ittay Stern11-234/+494
2019-02-18Introduced mocked SO workflows in VID FEgolabek11-234/+494
Mocked SO workflows joined with list of workflows from VIDs DB. (Contains: Mocked BE service to return workflow list) Change-Id: I10336238cfeb8819e0a2b3e88cd86c338cab86fa Issue-ID: VID-399 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-02-18PombaReqest and ServiceInstance improvementsMichal Kabaj2-14/+93
- fix encapsulation issues - make object immutable Change-Id: I7f66aa7ec5e0ba63a9178ad27c8a9466f04e0869 Issue-ID: VID-422 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-02-18Merge "Add tests for AaiServiceImpl"Wojciech Sliwka2-15/+20
2019-02-18Add tests for AaiServiceImplkurczews2-15/+20
Issue-ID: VID-386 Change-Id: I8959a30b8cbd38663dd410b23d167c405ed2592e Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2019-02-17Turn-off Modern UIIttay Stern1-17/+19
Un-arm features (Drawing-Board; View/Edit) which requires upcoming build and pack of angular7. This will affect, mainly, Macro models, which will now turn back to legacy UI. This will patch issues similar to described in VID-373. Issue-ID: VID-373 Change-Id: I949f89468a3d6a81ade2f8ec7e5c04259ee78a8c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-13junits for PombaClientImplTomasz Gwozdecki1-5/+6
-Create new test class for PombaClientImpl -Added new test for PombaClientImpl.verify Change-Id: I776df73d592a219c0aa266a8207c92c1f475f4da Issue-ID: VID-418 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2019-02-01Merge "Introduce JS unit tests into VID"Wojciech Sliwka2-1/+33
2019-02-01Introduce JS unit tests into VIDgolabek2-1/+33
maven -> npm -> gulp -> jest frameworks added in a mentioned order. Change-Id: I1865228973eb31188fb052e8c9629f0ac01e48a7 Issue-ID: VID-391 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-01-31Replaced tests for rolesWojciech Sliwka2-14/+34
Issue-ID: VID-388 Change-Id: I7c8c4ec50312f7ccd3a40eb2568cb8181f50b5d8 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-01-27Merge "Rewrite RoleGeneratorControllerTest"Ittay Stern1-8/+31
2019-01-25Rewrite PropertyControllerTestJoanna Jeremicz2-84/+90
Change-Id: I8c564a945f374d6dcc12a30ff4d8d9268b50a815 Issue-ID: VID-384 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-01-25Merge "MsoUtil refactor"Wojciech Sliwka3-182/+50
2019-01-24MsoUtil refactorbiniek3-182/+50
Change-Id: I778d60064508aa47e1225d0dbae38ca1100d248f Issue-ID: VID-368 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2019-01-22Rewrite RoleGeneratorControllerTestJoanna Jeremicz1-8/+31
Issue-ID: VID-384 Change-Id: Iceac145b321a88336494a57dfb92fb023ae9aa85 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-01-21Merge "replaced named func with anonymous func"Ittay Stern3-13/+16
2019-01-21bug fix - unreachable codeDriptaroop Das1-1/+2
bug fix - unreachable code. Issue-ID: VID-390 Change-Id: I5e6cb45fed4cceb07d67ea22c011d329f1807678 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-21replaced named func with anonymous funcDriptaroop Das3-13/+16
replaced named function with anonymous function. While named function expressions might be useful for debugging purposes, some browsers do not support them correctly (for example Internet Explorer 8). Issue-ID: VID-389 Change-Id: Ia0943a1bd765b1b9d5909c68af97ae11b1060255 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-09Merge from ECOMP's repositoryIttay Stern368-4811/+12477
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-12-17Merge "ChangeManagementController tests"Ittay Stern1-12/+48
2018-12-12Merge "Make CategoryParameter.getOptions() unmodifiable"Ittay Stern1-1/+2
2018-12-10Refactor of Intersection classbiniek2-24/+40
Change-Id: Ida73b13b1e235951f01888ac0cbf344565976e0f Issue-ID: VID-364 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-12-03Merge "Handle annotated-input which has 2 properties"Ofir Sonsino3-5/+38
2018-11-30ChangeManagementController testsJoanna Jeremicz1-12/+48
Change-Id: I936a9c65c167e5076d775f4139cc76340d0fc55d Issue-ID: VID-353 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-11-29Handle annotated-input which has 2 propertiesIttay Stern3-5/+38
Handle correctly an annotated input, when it has more than a single "vf_module_label". Change-Id: Ibe3f6408d7d5c18b13e47846235a2b3ab66f35f8 Issue-ID: VID-362 Signed-off-by: Ittay Stern <ittay.stern@att.com>