summaryrefslogtreecommitdiffstats
path: root/vid-app-common
AgeCommit message (Collapse)AuthorFilesLines
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-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
2018-11-27Upgrade mockito to v2; drop incompatible powermockStern, Ittay (is9613)25-827/+743
Note that anyString() is not matching null values, therefore replaced with any() where relevant. Change-Id: If64944e1edc62013953e41b2645a2b78c578bbe8 Issue-ID: VID-359 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-11-27Merge "Reject getVersionByInvariantId with no IDs"Ofir Sonsino2-7/+14
2018-11-27Remove unused AAI model POJOsIttay Stern4-79/+0
Change-Id: If90281940dd00d8a4078e0e9e0d650518c1c4504 Issue-ID: VID-361 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-11-27Reject getVersionByInvariantId with no IDsIttay Stern2-7/+14
Reject the case where zero invariant-ids provided to getVersionByInvariantId, as this will cause full models listing. Change-Id: I7b86b65de30a9df0b3fd1cafa60e8254e8e252c0 Issue-ID: VID-360 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-11-23Removed dependency from lombokbiniek6-88/+113
Change-Id: Ia38f0458e74fd5f1899a01ca6219575ee446a4f2 Issue-ID: VID-349 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-11-15Get subscribers rewritten to new rest clientgolabek13-139/+306
Should be merged after: I561f8a5d95ec35fdddc648b24965dd9dac03c9a4 It contains cherry-picked changes from that review Change-Id: I22a9e9ce709ae4dd3abcf7a9cda6354a4f656b00 Issue-ID: VID-269 Signed-off-by: golabek <tomasz.golabek@nokia.com>
2018-11-14Remove the itext v2.0.8Sonsino, Ofir (os0695)1-0/+6
Change-Id: Ia20c3c9156249a482143fade5ee0eb75be7b2a3a Issue-ID: VID-340 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> (cherry picked from commit 0ce80fac351ec9450ae6905ef4ac5c550649e8f7)
2018-11-13Fix for max_vf_module_instances (remove .value)Sonsino, Ofir (os0695)1-1/+1
Change-Id: I3e1edbded67d88e314ef2315c5c54b5e9c7699d4 Issue-ID: VID-346 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> (cherry picked from commit c445efac620f9ba82bae41e53b10849de968f77d)
2018-11-11Merge "Nodes query rewritten to generic rest client"Ofir Sonsino9-136/+760
2018-11-11Fix for max_vf_module_instancesSonsino, Ofir (os0695)1-2/+2
Change-Id: I6df1275b7f2240b31f01c0f136993fb81e285107 Issue-ID: VID-346 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com> (cherry picked from commit d9cc8aad6ba07f123c6250056a99aea641150e86)
2018-11-06Make CategoryParameter.getOptions() unmodifiableJoanna Jeremicz2-12/+19
Change-Id: If7331577febe058d4415aab0d2336e60213fd7bb Issue-ID: VID-344 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-11-06Enable role managementSonsino, Ofir (os0695)2-8/+6
Change-Id: Ice485d6081380f52d461d2beee9740626f4ec4b0 Issue-ID: VID-257 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-11-06Merge "Fix reading entity"Ofir Sonsino2-30/+66
2018-11-06Merge "HealthCheckController/test refactor"Ofir Sonsino7-326/+258
2018-11-06Fix reading entityWojciech Sliwka2-30/+66
ensure that response is read only once Change-Id: Id456263f58f8d69ad1a484f26352db62b74a4f08 Issue-ID: VID-227 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-11-04Merge "Add VidController junits"Ofir Sonsino4-294/+360
2018-10-31Merge "Fix and improvement for MsoBusinessLogic tests"Ofir Sonsino4-189/+260
2018-10-29StackOverflowError in CategoryParameterJoanna Jeremicz1-2/+3
Change-Id: Ic07d296f4ef16032d2c363f10c824c7b3db018f4 Issue-ID: VID-339 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-10-29Merge "Add request to delete body Issue-ID: VID-336"Ofir Sonsino4-2/+14
2018-10-29Merge "Add MaintenanceController JUnits"Ofir Sonsino6-107/+540
2018-10-29Add MaintenanceController JUnitsJoanna Jeremicz6-107/+540
Issue-ID: VID-319 Change-Id: Iad41d31547ee7ce3f921eeaa4418e45c70ebe43a Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-10-29Add request to delete bodyWojciech Sliwka4-2/+14
Issue-ID: VID-336 Change-Id: I1d619628f6251c6a62fcd1770f2e8539355c413f Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-10-24Bump VID versionSonsino, Ofir (os0695)2-2/+2
Change-Id: I096e21eabfeaddc8d186572693d776eaf8cd7519 Issue-ID: VID-333 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-10-23Fix and improvement for MsoBusinessLogic testsMichal Kabaj4-189/+260
- Merged two test classes into one Moved unit tests from MsoBusinessLogic to MsoBusinessLogicImpl - unified unit test framework - using junit instead of testng - Fixed issue with broken unit tests when run in IDE - improved readability of unit tests - Fixed commented/ignored unit tests - RequestDetailsWrapper encapsulation fix Change-Id: I7f589b36757b09f41b3568d8aa8a932bd914ac0d Issue-ID: VID-283 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-10-22Merge "new tests for job dir"Ofir Sonsino7-24/+567