summaryrefslogtreecommitdiffstats
path: root/vid-app-common
AgeCommit message (Collapse)AuthorFilesLines
2019-07-01Add maven-replacer-plugin to set value in version.jsonIttay Stern1-0/+27
Issue-ID: VID-507 Change-Id: Iab08d9da4352b159a4dce550188af973bd55edfc Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-01Merge "Extend probe mechanism"Ittay Stern23-96/+84
2019-07-01Extend probe mechanismWojciech Sliwka23-96/+84
Fixes from latest review. Introduce probe interface. ResponseWithRequestInfo is not used - it belongs to aai package and requires javax.ws.rs.core.Response. Fallback in aai client will be removed as soon as sdc provides https support (hopefully in El Alto). Change-Id: I4527d447a273328d38ff2ef7f9d2a93453cec9f2 Issue-ID: VID-490 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-06-27Fix for overlapping vnf nameWojciech Sliwka2-3/+6
Remove 'position' tag from vnf-versions-name class as it blocks text wrapping Change-Id: Ic2e4bfedb0f1bc8a9b1a59769c73caec7d7388b7 Issue-ID: VID-506 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-06-19Normalize slashes in repositories pathsIttay Stern1-8/+8
This lets vid-master-release-version-java-daily go green. Issue-ID: CIMAN-234 Change-Id: I87f2f0925388cf7f5129cce37ace9321f3533f7c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-06-19Merge "Extend probe mechanism"Wojciech Sliwka16-32/+312
2019-06-18Migrate to gerrit-maven-stage (VID)Jessica Wagantall1-13/+1
Update oparent version to 2.0.0 which supports global-jjb maven-stage job. Remove the usage of maven-staging plugin since it will become deprecated soon. Issue-ID: CIMAN-234 Change-Id: I4c07e214bad0f89b990b712abaf8d9bf79c1b237 Source-Change-Id: I295d7c17374a49ff0125a50d8765fe295b55c4d8 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> (cherry picked from commit 445056740d0f24e45d0c8f90cc024bbc090165b4)
2019-06-18Extend probe mechanismWojciech Sliwka16-32/+312
added methods to: - new aai client - sdc client - so client Change-Id: Ib7beb5a5ac58c2ac9767f5e8dc4f988ac0a44c3e Issue-ID: VID-490 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-06-18Merge "Show npm config"Ittay Stern1-0/+10
2019-06-18Find the first selected scale-out vfModule (fix)Ittay Stern1-3/+1
Issue in original code is that it used callback function(key, item), but function(item) or function(item, key) is the correct parameters order. See https://lodash.com/docs/4.17.11#find Issue-ID: VID-487 Change-Id: I6101f913f50f80c2c7afa636b5f53486088a0289 Signed-off-by: Ittay Stern <ittay.stern@att.com> (cherry picked from commit 71e820e32bd4f32aff4026fc55c6bb1f5891a0c2)
2019-06-18Show npm configIttay Stern1-0/+10
Issue-ID: CIMAN-234 Change-Id: Iecf36ab1a40e7d6f7638874a1bf95b3f398bf112 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-06-12AaiController unit testsMichal Kabaj1-0/+25
- unit tests for getPNFInstances Change-Id: I9d77ad0e15be23dc169721c6b73bea9fb1ecaf19 Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-06-10Rewrite tests for AaiServiceImplmichal.banka2-253/+761
Issue-ID: VID-386 Change-Id: I3cbcdada18f2813bc8a4cf442f54df297f5ec945 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-06-05Bump VID version to 5.0.0Ittay Stern2-14/+14
Issue-ID: VID-296 Change-Id: I05f4122d9b150e70495d080eccc5cff6c90cb0d1 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-06-05junits for AaiControllerTomasz Gwozdecki2-3/+37
-Added new test for getSpecificPnf method Change-Id: I1837a364673c3dd04b559eacccd7baeeeb82208f Issue-ID: VID-478 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
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 Stern5-1/+267
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 MsoControllerTestskurczews2-87/+104
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-28Merge "AaiController cleanup"Wojciech Sliwka1-129/+152
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-21Revert "Migrate to gerrit-maven-stage (VID)"Ittay Stern1-1/+13
This reverts commit 44505674 Change-Id: Ia2d560c4651c4c8e6d25ca911ccedda43eb3a6b7 Issue-ID: CIMAN-234 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-05-20Merge "AaiController cleanup"Wojciech Sliwka1-152/+1
2019-05-16Run npm install as a frontend-maven-plugin goalIttay Stern2-1/+10
Without this, "prebuild" step is using local npm, instead of frontend-maven-plugin one: npm ERR! Linux 4.4.0-134-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 Issue-ID: VID-391 Change-Id: Ic9cd94898faaaf109b02d23640e652bd7e541753 Signed-off-by: Ittay Stern <ittay.stern@att.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-05-10Migrate to gerrit-maven-stage (VID)Jessica Wagantall1-13/+1
Update oparent version to 2.0.0 which supports global-jjb maven-stage job. Remove the usage of maven-staging plugin since it will become deprecated soon. Change-Id: I295d7c17374a49ff0125a50d8765fe295b55c4d8 Issue-ID: CIMAN-234 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
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-23c3p0 version changedgolabek1-1/+1
c3p0 version changed to 0.9.5.4 Change-Id: I32f2ac929508647f42870fb8fabde1f44890d5b9 Issue-ID: VID-461 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.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>