summaryrefslogtreecommitdiffstats
path: root/vid-app-common
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-02-18Merge "PombaReqest and ServiceInstance improvements"Wojciech Sliwka5-28/+124
2019-02-18Merge "Introduced mocked SO workflows in VID FE"Ittay Stern12-234/+554
2019-02-18Introduced mocked SO workflows in VID FEgolabek12-234/+554
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 Kabaj5-28/+124
- 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 Sliwka4-328/+152
2019-02-18Add tests for AaiServiceImplkurczews4-328/+152
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 Gwozdecki3-5/+117
-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 Sliwka7-1/+130
2019-02-01Introduce JS unit tests into VIDgolabek7-1/+130
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 Sliwka5-136/+241
Issue-ID: VID-388 Change-Id: I7c8c4ec50312f7ccd3a40eb2568cb8181f50b5d8 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-01-27Merge "Rewrite RoleGeneratorControllerTest"Ittay Stern2-23/+100
2019-01-25Rewrite PropertyControllerTestJoanna Jeremicz3-116/+222
Change-Id: I8c564a945f374d6dcc12a30ff4d8d9268b50a815 Issue-ID: VID-384 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-01-25Merge "MsoUtil refactor"Wojciech Sliwka4-222/+123
2019-01-24MsoUtil refactorbiniek4-222/+123
Change-Id: I778d60064508aa47e1225d0dbae38ca1100d248f Issue-ID: VID-368 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2019-01-22Rewrite RoleGeneratorControllerTestJoanna Jeremicz2-23/+100
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-10Merge "Merge from ECOMP's repository"Ittay Stern529-10816/+21753
2019-01-09Merge from ECOMP's repositoryIttay Stern529-10816/+21753
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>
2019-01-07Fix for overriding skipTests variable.biniek1-3/+0
Before fix skipTests was overriden by variable skiptests. That required nonstandard flag to disable tests. Change-Id: I412c634ebb1c1b34d07f6caa6afb3501414e0a22 Issue-ID: VID-368 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-12-20pom.xml cleanupbiniek1-571/+572
Change-Id: I7622437fbd6d4d4a0b09782c8a6fa2d6016f90ab Issue-ID: VID-368 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-12-18Enable vid docker build jobs to use java-1.8Paul Vaduva1-0/+1
Overcome security features in java-1.8 that prevent the forked java VM’s to use relative paths for loading the classes. This fix was the simplest for arm64 docker build jobs, and the least affecting the x86 build’s. We need to modify all the definitions of surefire. Change-Id: I0c10598c1c3a8765e1f1b509288a694b60df7389 Issue-ID: VID-366 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2018-12-17Merge "ChangeManagementController tests"Ittay Stern5-109/+543
2018-12-14.gitignore cleanupbiniek13-153/+8
Change-Id: Ibfce4d25dba62bfc4eb00f761f7b893aefb1b69d Issue-ID: VID-367 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-12-12Merge "Make CategoryParameter.getOptions() unmodifiable"Ittay Stern2-12/+19
2018-12-10Refactor of Intersection classbiniek3-98/+121
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 Sonsino5-6/+62
2018-11-30ChangeManagementController testsJoanna Jeremicz5-109/+543
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 Stern5-6/+62
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>
2018-11-28Merge "Upgrade mockito to v2; drop incompatible powermock"Ofir Sonsino25-827/+743