vid.git
4 years agoMerge "Add app version to welcome page"
Ittay Stern [Mon, 29 Jul 2019 10:23:11 +0000 (10:23 +0000)]
Merge "Add app version to welcome page"

4 years agoAdd app version to welcome page 65/92165/1
Rina Roi [Mon, 29 Jul 2019 07:00:16 +0000 (10:00 +0300)]
Add app version to welcome page

Issue-ID: VID-539
Signed-off-by: Rina Roi <rina.roi@intl.att.com>
Change-Id: I2d0c838ea1da947ac9dc7eb5c01ba68be9c14e1a

4 years agoMerge "Patch NPE in Unirest HttpResponse::getBody when getRawBody is null"
Wojciech Sliwka [Mon, 29 Jul 2019 07:24:03 +0000 (07:24 +0000)]
Merge "Patch NPE in Unirest HttpResponse::getBody when getRawBody is null"

4 years agoPatch NPE in Unirest HttpResponse::getBody when getRawBody is null 87/91987/5
Ittay Stern [Thu, 25 Jul 2019 17:33:03 +0000 (20:33 +0300)]
Patch NPE in Unirest HttpResponse::getBody when getRawBody is null

Issue-ID: VID-267

Change-Id: I469bbeea52d6e86f8f12f88e9754af81b3ae6ae6
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoResolving testConfigUpdateGoodPayload 39/91939/3
RachelF [Wed, 24 Jul 2019 11:14:44 +0000 (14:14 +0300)]
Resolving testConfigUpdateGoodPayload

Issue-ID: VID-533
Change-Id: Ie88c6182f2cbf468615a4146bced531c2ad150e0
Signed-off-by: RachelF <rachel.fishbein@intl.att.com>
4 years agoMerge "Merge workflow from vid to onap, fix workflow selenium tests"
Ittay Stern [Thu, 25 Jul 2019 13:24:03 +0000 (13:24 +0000)]
Merge "Merge workflow from vid to onap, fix workflow selenium tests"

4 years agoMerge workflow from vid to onap, fix workflow selenium tests 48/91848/3
RachelF [Tue, 23 Jul 2019 06:05:23 +0000 (09:05 +0300)]
Merge workflow from vid to onap, fix workflow selenium tests

Issue-ID: VID-532
Change-Id: I5ae0a74d382cd31a9da1ec5b1220c5322f3abb40
Signed-off-by: RachelF <rachel.fishbein@intl.att.com>
4 years agoMerge "Don't double-wrap RequestDetails for (de)activateFabricConfiguration"
Wojciech Sliwka [Thu, 25 Jul 2019 06:24:06 +0000 (06:24 +0000)]
Merge "Don't double-wrap RequestDetails for (de)activateFabricConfiguration"

4 years agoDon't double-wrap RequestDetails for (de)activateFabricConfiguration 26/91826/4
Ittay Stern [Mon, 22 Jul 2019 16:59:59 +0000 (19:59 +0300)]
Don't double-wrap RequestDetails for (de)activateFabricConfiguration

Issue-ID: VID-267

Change-Id: I215bf008442b3bdfd4e80c1ba23e6a86e9d6f52b
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoRemove dissociate button 27/91927/1
golabek [Wed, 24 Jul 2019 08:38:17 +0000 (10:38 +0200)]
Remove dissociate button

Removed dissociate button for macro services with pnfs

Change-Id: I7e839b6d352793012b5dde1d19128decdfb4412c
Issue-ID: VID-520
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoAdd LiquidBase to increment DB changes 31/91431/8
Rina Roi [Mon, 15 Jul 2019 07:36:26 +0000 (10:36 +0300)]
Add LiquidBase to increment DB changes

Issue-ID: VID-517

Change-Id: Idad13fbd72bb1f1d356d790d3d84a1ddec30011f
Signed-off-by: Rina Roi <rina.roi@intl.att.com>
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoAdd `X-ONAP-PartnerName` header to all MSO requests 02/91802/3
Rina Roi [Mon, 22 Jul 2019 10:03:41 +0000 (13:03 +0300)]
Add `X-ONAP-PartnerName` header to all MSO requests

Issue-ID: VID-531

Change-Id: Ia6416c9da031cbca5d7a13cd93bb110bfc4bc1a2
Signed-off-by: Rina Roi <rina.roi@intl.att.com>
4 years agoMerge "Allow full-path to certificate and remove implicit Optional::toString"
Wojciech Sliwka [Mon, 22 Jul 2019 09:54:28 +0000 (09:54 +0000)]
Merge "Allow full-path to certificate and remove implicit Optional::toString"

4 years agoMerge "Pnf pojo improvements"
Wojciech Sliwka [Mon, 22 Jul 2019 09:53:17 +0000 (09:53 +0000)]
Merge "Pnf pojo improvements"

4 years agoAllow full-path to certificate and remove implicit Optional::toString 96/91796/1
Ittay Stern [Mon, 22 Jul 2019 08:21:05 +0000 (11:21 +0300)]
Allow full-path to certificate and remove implicit Optional::toString

1) If getAAITruststoreFilename or getAAIKeystoreFilename has a file
   separator -- don't append certFilePath to filename.

2) getKeystorePath() is issuing Optional::orElse, as the code
   `+ getAAIKeystoreFilename()` is implicitly calling
   `getAAIKeystoreFilename().toString()` which yields a default toString
   e.g. "Optional[configValue]".

Issue-ID: VID-229

Change-Id: I9c135cc3dfd72cdc203b59d78162a568a6dbd688
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "fixing bugs connected with undefined parameters"
Wojciech Sliwka [Mon, 22 Jul 2019 05:30:54 +0000 (05:30 +0000)]
Merge "fixing bugs connected with undefined parameters"

4 years agoReturn a value from MsoInterface::setServiceInstanceStatus 78/91778/3
Ittay Stern [Sun, 21 Jul 2019 10:56:43 +0000 (13:56 +0300)]
Return a value from MsoInterface::setServiceInstanceStatus

This resolves the case where mso_activate_service_instance API is
returning an empty object.

Issue-ID: VID-267

Change-Id: I691c7ca037c5458ce728bed10bf959e664679b6a
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agofixing bugs connected with undefined parameters 41/91741/1
Bartosz Gardziejewski [Fri, 19 Jul 2019 13:29:11 +0000 (15:29 +0200)]
fixing bugs connected with undefined parameters

Issue-ID: VID-488
Change-Id: I0099ec50d775bbae6bdbfa40de85decd839f21b3
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
4 years agoAdd MsoController tests 37/91737/1
kurczews [Fri, 19 Jul 2019 11:11:10 +0000 (13:11 +0200)]
Add MsoController tests

Issue-ID: VID-470
Change-Id: If1577f3a1ed625f0c7bf8e1940e1a92073191efc
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
4 years agoPnf pojo improvements 27/91527/2
Michal Kabaj [Fri, 19 Jul 2019 10:12:28 +0000 (12:12 +0200)]
Pnf pojo improvements

- added builder
- immutable
- improved json serialization

Change-Id: If0c9128dfd27d1c04e2f8683bade16700789276e
Issue-ID: VID-478
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
4 years agoMerge "Merge from ecomp 3374149f - AngularJS UI"
Ittay Stern [Thu, 18 Jul 2019 13:16:01 +0000 (13:16 +0000)]
Merge "Merge from ecomp 3374149f - AngularJS UI"

4 years agoDon't override SystemProperties without restoring it 61/91661/1
Ittay Stern [Thu, 18 Jul 2019 08:41:19 +0000 (11:41 +0300)]
Don't override SystemProperties without restoring it

This resolves NullPointerException in Dublin's Jenkins'
SyncRestClientForHttpServerTest.

Issue-ID: VID-503

(cherry picked from commit ef34f16650be1f251447a7b9a1d9f1369ca459de)

Change-Id: I65fbed0a6f6214d9495d0cb6456b3a8e4f094a3d
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agojunits for AaiController 53/91653/1
Tomasz Gwozdecki [Thu, 18 Jul 2019 07:41:57 +0000 (03:41 -0400)]
junits for AaiController

-Added new test for getVersionByInvariantId method

Change-Id: Iba77e8638047ba20ac80816b779575ce5e32df86
Issue-ID: VID-478
Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
4 years agoMerge from ecomp 3374149f - AngularJS UI 87/91587/2
Ittay Stern [Wed, 17 Jul 2019 10:26:12 +0000 (13:26 +0300)]
Merge from ecomp 3374149f - AngularJS UI

Issue-ID: VID-378

Change-Id: I6b3243b492009035c911f63b93258ea76938fcb9
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoLet API tests run without report_portal_integration, using dynamic loading 78/91478/5
Ittay Stern [Wed, 17 Jul 2019 15:02:48 +0000 (18:02 +0300)]
Let API tests run without report_portal_integration, using dynamic loading

- Removed @Step annotations, as pointcut is hardcoded in com.att->
  .automation.common.report_portal_integration.aspects.StepAspects

- Introduced ReportPortalListenerDelegator that loads com.att->
  .automation.common.report_portal_integration if available

- Optimized and organized dependencies

- Upgrade maven-assembly-plugin to resolve "Java heap space" error.

Issue-ID: VID-378

Change-Id: Iaf9279a48a1474d0ef6d0f514259dd383f6f5dbf
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "Moving report button up, and setting feature flag on"
Wojciech Sliwka [Mon, 15 Jul 2019 08:57:00 +0000 (08:57 +0000)]
Merge "Moving report button up, and setting feature flag on"

4 years agoAdd and upgrade dependencies on pom files 10/91410/3
Einat Vinouze [Thu, 11 Jul 2019 13:25:44 +0000 (16:25 +0300)]
Add and upgrade dependencies on pom files

Issue-ID: VID-512

Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Change-Id: I1800a2cc7bfdbbc015399092da24b430c5faab66

4 years agoChange tests and log to expect "Browse SDC" (was "ASDC") 64/91264/1
Ittay Stern [Thu, 11 Jul 2019 12:54:36 +0000 (15:54 +0300)]
Change tests and log to expect "Browse SDC" (was "ASDC")

Issue-ID: VID-516

Change-Id: I481880df1796721128b07e3dc3ae83085fc097e8
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoPackage webpack's `dist` folder into /app/ui 48/91248/2
Ittay Stern [Thu, 11 Jul 2019 09:08:03 +0000 (12:08 +0300)]
Package webpack's `dist` folder into /app/ui

Issue-ID: VID-515

Change-Id: I33d4b5f0dbd4125a5b79253c4dc8e736df9116ee
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMoving report button up, and setting feature flag on 35/91235/1
Bartosz Gardziejewski [Thu, 11 Jul 2019 09:03:45 +0000 (11:03 +0200)]
Moving report button up, and setting feature flag on

Change-Id: I3df31fe42c2b7e0bec3b52f2886726419a22f681
Issue-ID: VID-488
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
4 years agoupgrade jersey version for api tests 28/91228/1
Rina Roi [Wed, 10 Jul 2019 12:53:25 +0000 (15:53 +0300)]
upgrade jersey version for api tests

Issue-ID: VID-472
Signed-off-by: Rina Roi <rina.roi@intl.att.com>
Change-Id: If234725df5e929b2cd846fec5cc75daacb740b8d

4 years agoMerge changes Ib4430bf2,Icc0bdb9e,I2736b984
Amichai Hemli [Tue, 9 Jul 2019 14:23:37 +0000 (14:23 +0000)]
Merge changes Ib4430bf2,Icc0bdb9e,I2736b984

* changes:
  Merge from ecomp 718fd196 - Ext. Services Simulator
  Merge from ecomp 718fd196 - Integration Tests
  Merge from ecomp 718fd196 - Modern UI

4 years agoadding test API information and spinner indicating report loading 78/91078/1
Bartosz Gardziejewski [Tue, 9 Jul 2019 10:43:14 +0000 (12:43 +0200)]
adding test API information and spinner indicating report loading

Change-Id: Ibbf6280496863c60c42dc9bce82d7b8ec4dcc8bf
Issue-ID: VID-488
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
4 years agoMerge from ecomp 718fd196 - Ext. Services Simulator 34/91034/3
Ittay Stern [Mon, 8 Jul 2019 15:35:07 +0000 (18:35 +0300)]
Merge from ecomp 718fd196 - Ext. Services Simulator

Issue-ID: VID-378

Change-Id: Ib4430bf23d109e6fdfe38c55e55b7d3b96fff3af
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "Adding data about error report in logging.rst"
Wojciech Sliwka [Tue, 9 Jul 2019 06:31:37 +0000 (06:31 +0000)]
Merge "Adding data about error report in logging.rst"

4 years agoMerge "GUI for error reporting - fixing service uuid sorce"
Wojciech Sliwka [Tue, 9 Jul 2019 06:27:56 +0000 (06:27 +0000)]
Merge "GUI for error reporting - fixing service uuid sorce"

4 years agoMerge from ecomp 718fd196 - Integration Tests 22/91022/3
Ittay Stern [Mon, 8 Jul 2019 12:46:44 +0000 (15:46 +0300)]
Merge from ecomp 718fd196 - Integration Tests

Issue-ID: VID-378

Change-Id: Icc0bdb9ef37b1d429d47c2070f76d1ee63ad7489
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge from ecomp 718fd196 - Modern UI 93/90993/4
Ittay Stern [Sun, 7 Jul 2019 16:23:03 +0000 (19:23 +0300)]
Merge from ecomp 718fd196 - Modern UI

Issue-ID: VID-378

Change-Id: I2736b98426e324ec3aa233b034229ba84d99839f
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoGUI for error reporting - fixing service uuid sorce 13/91013/3
Bartosz Gardziejewski [Mon, 8 Jul 2019 11:08:12 +0000 (13:08 +0200)]
GUI for error reporting - fixing service uuid sorce

Change-Id: Ia68636d7c5be943124b10ecfbc4641ab8bf53de0
Issue-ID: VID-488
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
4 years agoUpgrade to Spring 5.1.6 + simulator fasterxml 91/90991/4
Einat Vinouze [Sun, 7 Jul 2019 11:15:07 +0000 (14:15 +0300)]
Upgrade to Spring 5.1.6 + simulator fasterxml

Issue-ID: VID-512
Change-Id: I9a74e6357671c5eee0a425354dcd07c762c69c83
Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
4 years agoAdapting GUI for error report managing 59/89759/9
Bartosz Gardziejewski [Wed, 12 Jun 2019 13:55:45 +0000 (15:55 +0200)]
Adapting GUI for error report managing

Change-Id: Idb3f5750596334990b030bfdf2f6551ad4d1c8e3
Issue-ID: VID-488
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
4 years agoMerge "Add controller which create error reports"
Wojciech Sliwka [Mon, 8 Jul 2019 07:00:44 +0000 (07:00 +0000)]
Merge "Add controller which create error reports"

4 years agoAdd controller which create error reports 03/90503/15
michal.banka [Wed, 26 Jun 2019 09:05:13 +0000 (11:05 +0200)]
Add controller which create error reports

Change-Id: Icfba59e90420c0d849c9ba5fae3d0cb1b40ed265
Issue-ID: VID-488
Signed-off-by: michal.banka <michal.banka@nokia.com>
4 years agoAdding data about error report in logging.rst 25/90825/2
Bartosz Gardziejewski [Wed, 3 Jul 2019 09:24:32 +0000 (11:24 +0200)]
Adding data about error report in logging.rst

Change-Id: Ibcdc87f1a1784fce05d6d9ca9f6eef95b9c93077
Issue-ID: VID-488
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
4 years agoMerge "Send logs to logstash"
Wojciech Sliwka [Thu, 4 Jul 2019 05:38:20 +0000 (05:38 +0000)]
Merge "Send logs to logstash"

4 years agoLet build module vid-ext-services-simulator without docker 16/90816/1
Ittay Stern [Wed, 3 Jul 2019 02:30:04 +0000 (05:30 +0300)]
Let build module vid-ext-services-simulator without docker

Issue-ID: VID-507

Change-Id: Iac58cb56c3e121302e93c5720daa11fb264529c6
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoRevert "Build module vid-ext-services-simulator" 78/90778/1
Ittay Stern [Tue, 2 Jul 2019 11:32:06 +0000 (14:32 +0300)]
Revert "Build module vid-ext-services-simulator"

Issue-ID: VID-507

This reverts commit 6946c31e, as it does not "deploy" successfully in
vid-master-merge-java.

Change-Id: I3863829a43d4232b6533cca75a7dd33a41e75c5f
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoAdd maven-replacer-plugin to set value in version.json 32/90732/5
Ittay Stern [Mon, 1 Jul 2019 14:40:20 +0000 (17:40 +0300)]
Add maven-replacer-plugin to set value in version.json

Issue-ID: VID-507

Change-Id: Iab08d9da4352b159a4dce550188af973bd55edfc
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoBuild module vid-ext-services-simulator 25/90725/2
Ittay Stern [Mon, 1 Jul 2019 12:27:13 +0000 (15:27 +0300)]
Build module vid-ext-services-simulator

Issue-ID: VID-507

Change-Id: I8f44a4c9b1502e9803dcafe9bce4c59d392c0dfd
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMerge "Extend probe mechanism"
Ittay Stern [Mon, 1 Jul 2019 08:13:33 +0000 (08:13 +0000)]
Merge "Extend probe mechanism"

4 years agoExtend probe mechanism 29/90429/3
Wojciech Sliwka [Tue, 25 Jun 2019 09:42:46 +0000 (11:42 +0200)]
Extend probe mechanism

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>
4 years agoImport missing vf-module-homing-data-action.controller.js 96/90596/1
Ittay Stern [Thu, 27 Jun 2019 13:52:47 +0000 (16:52 +0300)]
Import missing vf-module-homing-data-action.controller.js

Change-Id: I97079d1773b412d3dd95d1e362525e9a75f06bc9
Issue-ID: VID-503
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoFix for overlapping vnf name 73/90573/1
Wojciech Sliwka [Thu, 27 Jun 2019 07:58:18 +0000 (09:58 +0200)]
Fix for overlapping vnf name

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>
4 years agoMerge "Bump vid-webpack-master for versions-maven-plugin"
Wojciech Sliwka [Mon, 24 Jun 2019 05:34:40 +0000 (05:34 +0000)]
Merge "Bump vid-webpack-master for versions-maven-plugin"

4 years agoBump vid-webpack-master for versions-maven-plugin 55/90155/2
Ittay Stern [Wed, 19 Jun 2019 12:06:39 +0000 (15:06 +0300)]
Bump vid-webpack-master for versions-maven-plugin

This lets vid-maven-stage-master go green.
This complements commit e67fc39116ef74b865422c92b249ccec6c21fdfa

Issue-ID: CIMAN-234

Change-Id: I0d1fdcdd3601b0f367a0d7a8ac28b02a4ca7f408
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoNormalize slashes in repositories paths 53/90153/1
Ittay Stern [Wed, 19 Jun 2019 11:39:39 +0000 (14:39 +0300)]
Normalize slashes in repositories paths

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>
4 years agoMerge "Un-SNAPSHOT all modules while build"
Wojciech Sliwka [Wed, 19 Jun 2019 11:12:16 +0000 (11:12 +0000)]
Merge "Un-SNAPSHOT all modules while build"

4 years agoMerge "Extend probe mechanism"
Wojciech Sliwka [Wed, 19 Jun 2019 11:06:54 +0000 (11:06 +0000)]
Merge "Extend probe mechanism"

4 years agoRemove maven-deploy-plugin 42/90142/2
Ittay Stern [Wed, 19 Jun 2019 08:22:52 +0000 (11:22 +0300)]
Remove maven-deploy-plugin

This lets vid-master-release-version-java-daily go green.

Change-Id: I8d1fdc153566a8b3b8e3783f6a9637c58d608127
Issue-ID: CIMAN-234
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoUn-SNAPSHOT all modules while build 44/90144/2
Ittay Stern [Wed, 19 Jun 2019 09:41:36 +0000 (12:41 +0300)]
Un-SNAPSHOT all modules while build

1. Upgrade to latest versions-maven-plugin: 2.7
2. Set artifactId=*; see:
   http://www.mojohaus.org/versions-maven-plugin/set-mojo.html#artifactId

This lets vid-maven-stage-master go green.

Issue-ID: CIMAN-234

Change-Id: I4b87d67e76c7f317f93a06c84e48d240fba6e126
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoMigrate to gerrit-maven-stage (VID) 56/90056/2
Jessica Wagantall [Fri, 10 May 2019 22:01:20 +0000 (01:01 +0300)]
Migrate to gerrit-maven-stage (VID)

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)

4 years agoExtend probe mechanism 52/89852/6
Wojciech Sliwka [Fri, 14 Jun 2019 09:34:27 +0000 (11:34 +0200)]
Extend probe mechanism

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>
4 years agoMerge "Show npm config"
Ittay Stern [Tue, 18 Jun 2019 11:22:46 +0000 (11:22 +0000)]
Merge "Show npm config"

4 years agoFind the first selected scale-out vfModule (fix) 53/90053/1
Ittay Stern [Wed, 12 Jun 2019 14:27:08 +0000 (17:27 +0300)]
Find the first selected scale-out vfModule (fix)

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)

4 years agoShow npm config 51/90051/3
Ittay Stern [Tue, 18 Jun 2019 04:50:50 +0000 (07:50 +0300)]
Show npm config

Issue-ID: CIMAN-234

Change-Id: Iecf36ab1a40e7d6f7638874a1bf95b3f398bf112
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agoAaiController unit tests 31/89731/1
Michal Kabaj [Wed, 12 Jun 2019 06:15:31 +0000 (08:15 +0200)]
AaiController unit tests

- unit tests for getPNFInstances

Change-Id: I9d77ad0e15be23dc169721c6b73bea9fb1ecaf19
Issue-ID: VID-478
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
4 years agoRewrite tests for AaiServiceImpl 25/89325/9
michal.banka [Wed, 5 Jun 2019 06:30:59 +0000 (08:30 +0200)]
Rewrite tests for AaiServiceImpl

Issue-ID: VID-386
Change-Id: I3cbcdada18f2813bc8a4cf442f54df297f5ec945
Signed-off-by: michal.banka <michal.banka@nokia.com>
4 years agoSend logs to logstash 83/89583/1
Wojciech Sliwka [Fri, 7 Jun 2019 13:53:08 +0000 (15:53 +0200)]
Send logs to logstash

Removing logback from vid container as it is not used at all
Setting eelf variable to read configuration from /tmp/logback.xml -place which is mounted in oom

/tmp/logback.xml has logpath set to /var/log/onap/

Change-Id: I8045e1d63f8f2b7574684f0758475555463fe8b1
Issue-ID: VID-485
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
4 years agoBump VID version to 5.0.0 37/89337/1
Ittay Stern [Wed, 29 May 2019 07:19:25 +0000 (10:19 +0300)]
Bump VID version to 5.0.0

Issue-ID: VID-296

Change-Id: I05f4122d9b150e70495d080eccc5cff6c90cb0d1
Signed-off-by: Ittay Stern <ittay.stern@att.com>
4 years agojunits for AaiController 24/89324/1
Tomasz Gwozdecki [Wed, 5 Jun 2019 06:42:32 +0000 (02:42 -0400)]
junits for AaiController

-Added new test for getSpecificPnf method

Change-Id: I1837a364673c3dd04b559eacccd7baeeeb82208f
Issue-ID: VID-478
Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
4 years agoDocument OJSI-119 vulnerability 25/89125/1
Krzysztof Opasiak [Mon, 27 May 2019 19:40:36 +0000 (21:40 +0200)]
Document OJSI-119 vulnerability

Issue-ID: OJSI-119
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Cherry-picked from change: I0d92cbe38fd89aaa3fe38f3f45367480f9e40754
Change-Id: I282648323aa6a93f60b79ed97f845c44ef076abe

4 years agoImprove security release notes 24/89124/1
Krzysztof Opasiak [Mon, 27 May 2019 19:03:37 +0000 (21:03 +0200)]
Improve security release notes

In order to provide users with more details of project's state in
terms of security let's divide the security release notes into three
sections:

- Fixed Security Issues
  Contains a list of security fixes merged during this
  release (especially those reported via OJSI tickets).

- Known Security Issues
  Contains a list of vulnerabilities detected in project during
  release which have not been fixed yet and thus should be mitigated
  by the user.

- Known Vulnerabilities in Used Modules
  Contains information about NexusIQ scan results

Issue-ID: SECCOM-238
Cherry-picked from change: I7699ddf404ff08d793e7f1897b4bb2218fc52e0a
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I7b8e8db3f1cbfdcde947563df7010075a6caf0f6

4 years agoDifferentiate cloudRegions with same name and different owner 23/89123/1
Ittay Stern [Sun, 26 May 2019 16:21:47 +0000 (19:21 +0300)]
Differentiate cloudRegions with same name and different owner

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

4 years agoSupport service models with policy 22/89122/1
Ittay Stern [Tue, 21 May 2019 16:38:54 +0000 (19:38 +0300)]
Support service models with policy

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

4 years agoMerge "AaiController unit tests"
Wojciech Sliwka [Fri, 31 May 2019 10:33:40 +0000 (10:33 +0000)]
Merge "AaiController unit tests"

4 years agoAaiController unit tests 37/88637/2
Michal Kabaj [Tue, 28 May 2019 12:45:08 +0000 (14:45 +0200)]
AaiController unit tests

- 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>
4 years agoMerge "Initialize parameters maps before reading params"
Ittay Stern [Thu, 30 May 2019 12:52:20 +0000 (12:52 +0000)]
Merge "Initialize parameters maps before reading params"

4 years agoAdd MsoControllerTests 47/87947/5
kurczews [Fri, 17 May 2019 07:10:27 +0000 (09:10 +0200)]
Add MsoControllerTests

Issue-ID: VID-470
Change-Id: I9416247d8d9548d1c01af070d8106b1512dee200
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
4 years agoInitialize parameters maps before reading params 71/88871/1
Wojciech Sliwka [Wed, 29 May 2019 09:05:35 +0000 (11:05 +0200)]
Initialize parameters maps before reading params

Change-Id: Ie4845c5afc647cae96869609fc665cc4fe854eb8
Issue-ID: VID-484
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
(cherry picked from commit ac142979f8499af24390290f7800d3fe266583d1)

4 years agofetch parameters for native workflows 33/88733/1
Wojciech Sliwka [Mon, 27 May 2019 15:39:44 +0000 (17:39 +0200)]
fetch parameters for native workflows

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)

4 years agoMerge "AaiController cleanup"
Wojciech Sliwka [Tue, 28 May 2019 12:40:07 +0000 (12:40 +0000)]
Merge "AaiController cleanup"

4 years agoAaiController cleanup 69/88069/2
Michal Kabaj [Mon, 20 May 2019 08:48:37 +0000 (10:48 +0200)]
AaiController cleanup

- 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>
5 years agoRevert "Migrate to gerrit-maven-stage (VID)" 61/88161/1
Ittay Stern [Tue, 21 May 2019 13:29:30 +0000 (16:29 +0300)]
Revert "Migrate to gerrit-maven-stage (VID)"

This reverts commit 44505674

Change-Id: Ia2d560c4651c4c8e6d25ca911ccedda43eb3a6b7
Issue-ID: CIMAN-234
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoMerge "AaiController cleanup"
Wojciech Sliwka [Mon, 20 May 2019 08:11:13 +0000 (08:11 +0000)]
Merge "AaiController cleanup"

5 years agoRun npm install as a frontend-maven-plugin goal 66/87866/1
Ittay Stern [Thu, 16 May 2019 12:47:08 +0000 (15:47 +0300)]
Run npm install as a frontend-maven-plugin goal

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>
5 years agoAaiController cleanup 63/87763/1
Michal Kabaj [Wed, 15 May 2019 12:04:01 +0000 (14:04 +0200)]
AaiController cleanup

- removed unnecessary code comments

Change-Id: Ia9dbd2258ea5ec0ba346835615056331ae00f491
Issue-ID: VID-478
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
5 years agojunits for AaiController 50/87750/1
Tomasz Gwozdecki [Wed, 15 May 2019 08:01:18 +0000 (04:01 -0400)]
junits for AaiController

-Added new test for getNodeTemplateInstances method

Change-Id: I1214445de2710482964c3e195a91b73bef9ef6da
Issue-ID: VID-478
Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
5 years agoMigrate to gerrit-maven-stage (VID) 90/87490/1
Jessica Wagantall [Fri, 10 May 2019 22:01:20 +0000 (15:01 -0700)]
Migrate to gerrit-maven-stage (VID)

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>
5 years agoVID hangs on View Edit Service Instance screen 12/86612/1 4.0.0
Piotr Darosz [Tue, 30 Apr 2019 10:46:59 +0000 (12:46 +0200)]
VID hangs on View Edit Service Instance screen

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>
5 years agoMerge "Toggle workflows-list consume from SO"
Ittay Stern [Tue, 30 Apr 2019 09:47:27 +0000 (09:47 +0000)]
Merge "Toggle workflows-list consume from SO"

5 years agoToggle workflows-list consume from SO 00/86600/1
Ittay Stern [Tue, 30 Apr 2019 08:11:32 +0000 (11:11 +0300)]
Toggle workflows-list consume from SO

Issue-ID: VID-400
Issue-ID: VID-451

Change-Id: I41c9d18146676f30f6668d1fc3660ec02cad26e5
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoc3p0 version changed 98/86598/1
Ittay Stern [Tue, 30 Apr 2019 07:55:44 +0000 (10:55 +0300)]
c3p0 version changed

c3p0 version changed to 0.9.5.4
Complement change I32f2ac929508647f42870fb8fabde1f44890d5b9

Issue-ID: VID-461

Change-Id: I6339d23921db9261d9901296179d4354a24f5a04
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoMerge "Rewrite LoggerControllerTests"
Wojciech Sliwka [Wed, 24 Apr 2019 09:34:44 +0000 (09:34 +0000)]
Merge "Rewrite LoggerControllerTests"

5 years agoFix sonar issue in vid-app-common 13/86113/2
Parshad Patel [Wed, 24 Apr 2019 05:19:43 +0000 (14:19 +0900)]
Fix sonar issue in vid-app-common

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>
5 years agoc3p0 version changed 32/86032/1
golabek [Tue, 23 Apr 2019 09:11:12 +0000 (11:11 +0200)]
c3p0 version changed

c3p0 version changed to 0.9.5.4

Change-Id: I32f2ac929508647f42870fb8fabde1f44890d5b9
Issue-ID: VID-461
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
5 years agoMerge "Sonar fix too many method param"
Wojciech Sliwka [Tue, 23 Apr 2019 08:39:41 +0000 (08:39 +0000)]
Merge "Sonar fix too many method param"

5 years agoSonar fix too many method param 13/86013/2
Arindam Mondal [Tue, 23 Apr 2019 04:39:56 +0000 (13:39 +0900)]
Sonar fix too many method param

Issue-ID: VID-466
Change-Id: I5fbffdddabf9f62a5408cd8b40397a42753006e8
Signed-off-by: arindamm <arind.mondal@samsung.com>
5 years agoFix sonar issues in vid 28/85928/1
Parshad Patel [Mon, 22 Apr 2019 04:09:58 +0000 (13:09 +0900)]
Fix sonar issues in vid

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>
5 years agoRewrite LoggerControllerTests 86/85786/4
Joanna Jeremicz [Tue, 26 Feb 2019 11:31:43 +0000 (12:31 +0100)]
Rewrite LoggerControllerTests

Add JUnit tests with minor code refactor

Issue-ID: VID-384
Change-Id: Ic3bee8e1f6ee58a10053bb0ad2d006912965da1a
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
5 years agoFix sonar issue in vid-app-common 56/85756/1
Parshad Patel [Fri, 19 Apr 2019 06:46:20 +0000 (15:46 +0900)]
Fix sonar issue in vid-app-common

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>