vid.git
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 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>
5 years agoAddress licence discrepancy 74/85674/1
Ittay Stern [Thu, 18 Apr 2019 10:35:43 +0000 (13:35 +0300)]
Address licence discrepancy

Issue-ID: VID-378

Change-Id: I81f6adef541b78a656ca5820a4174cadad12fc77
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agofixing backEnd local workflow type 39/85539/1
Bartosz Gardziejewski [Wed, 17 Apr 2019 07:31:48 +0000 (09:31 +0200)]
fixing backEnd local workflow type

Change-Id: Ifd6f0718135d38135f57496e4f816e48324cfb7d
Issue-ID: VID-401
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
5 years agoMerge "removing /onap/so/infra from properties"
Wojciech Sliwka [Thu, 11 Apr 2019 16:58:23 +0000 (16:58 +0000)]
Merge "removing /onap/so/infra from properties"

5 years agoremoving /onap/so/infra from properties 98/85098/2
Bartosz Gardziejewski [Thu, 11 Apr 2019 16:31:16 +0000 (18:31 +0200)]
removing /onap/so/infra from properties

Change-Id: I9a42d8e3cf0e4fb17356645b7d894d279fe1501b
Issue-ID: VID-460
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
5 years agoMerge "modify local workflow parameters to much native ones"
Ittay Stern [Thu, 11 Apr 2019 12:01:41 +0000 (12:01 +0000)]
Merge "modify local workflow parameters to much native ones"

5 years agomodify local workflow parameters to much native ones 29/84829/3
Bartosz Gardziejewski [Wed, 10 Apr 2019 08:56:23 +0000 (10:56 +0200)]
modify local workflow parameters to much native ones

Change-Id: I8d3e6b204a1b327d7b754c5bc723ae4268174393
Issue-ID: VID-401
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
5 years agoMerge "Update Tomcat version to 9.0.x (was 8.0.x)"
Ittay Stern [Thu, 11 Apr 2019 10:34:35 +0000 (10:34 +0000)]
Merge "Update Tomcat version to 9.0.x (was 8.0.x)"

5 years agoUpdate Tomcat version to 9.0.x (was 8.0.x) 21/85021/1
Ittay Stern [Wed, 10 Apr 2019 16:43:33 +0000 (19:43 +0300)]
Update Tomcat version to 9.0.x (was 8.0.x)

Issue-ID: VID-244

Change-Id: I317720b73ce4e9ea312cfefbc75ecafb56699f1a
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoMerge "Doc VID version 3.2.3 (fix formatting)"
Wojciech Sliwka [Thu, 11 Apr 2019 05:59:32 +0000 (05:59 +0000)]
Merge "Doc VID version 3.2.3 (fix formatting)"

5 years agoMerge "Run tomcat as onap user"
Ittay Stern [Wed, 10 Apr 2019 13:37:40 +0000 (13:37 +0000)]
Merge "Run tomcat as onap user"

5 years agoMerge "aaiSubscriberController Test"
Ittay Stern [Wed, 10 Apr 2019 13:37:16 +0000 (13:37 +0000)]
Merge "aaiSubscriberController Test"

5 years agoDoc VID version 3.2.3 (fix formatting) 59/84859/1
Ittay Stern [Wed, 10 Apr 2019 11:56:13 +0000 (14:56 +0300)]
Doc VID version 3.2.3 (fix formatting)

Planned as part of Casablanca maintenance release (3.0.2).

Change-Id: Id7f08e9a0594962e79f012dc943677cfb38c3b10
Issue-ID: VID-446
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoMerge "Inject an SystemPropertiesWrapper instance to MsoClient"
Ittay Stern [Wed, 10 Apr 2019 11:48:44 +0000 (11:48 +0000)]
Merge "Inject an SystemPropertiesWrapper instance to MsoClient"

5 years agoInject an SystemPropertiesWrapper instance to MsoClient 68/84668/2
Wojciech Sliwka [Tue, 9 Apr 2019 12:10:15 +0000 (14:10 +0200)]
Inject an SystemPropertiesWrapper instance to MsoClient

Change-Id: Ibbc8540042fc46bd0df42efec99cff5fc2e371a3
Issue-ID: VID-404
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
5 years agoMerge "Fix package.cypress.json licensing attribute"
Wojciech Sliwka [Wed, 10 Apr 2019 10:52:02 +0000 (10:52 +0000)]
Merge "Fix package.cypress.json licensing attribute"

5 years agoMerge "Doc VID version 3.2.3"
Wojciech Sliwka [Wed, 10 Apr 2019 10:44:04 +0000 (10:44 +0000)]
Merge "Doc VID version 3.2.3"

5 years agoFix package.cypress.json licensing attribute 47/84847/1
Ittay Stern [Wed, 10 Apr 2019 10:38:16 +0000 (13:38 +0300)]
Fix package.cypress.json licensing attribute

Change-Id: Ia412a1deecfda523efde7021096a0c90ab6966ea
Issue-ID: VID-450
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoDoc VID version 3.2.3 37/84837/1
Ittay Stern [Wed, 10 Apr 2019 09:24:28 +0000 (12:24 +0300)]
Doc VID version 3.2.3

Planned as part of Casablanca maintenance release (3.0.2).

Change-Id: I597a018d741bf064563a047c095517c54080aca5
Issue-ID: VID-446
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoSupport for swagger 82/84682/1
Wojciech Sliwka [Tue, 9 Apr 2019 12:57:02 +0000 (14:57 +0200)]
Support for swagger

API definitions available under /vid/v2/api-docs

Change-Id: Ie7e63bfbdb8d41c43bc04ca13351dba533776a8a
Issue-ID: VID-377
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
5 years agoMerge "AaiController unit tests"
Wojciech Sliwka [Tue, 9 Apr 2019 06:32:24 +0000 (06:32 +0000)]
Merge "AaiController unit tests"

5 years agoMerge "align logic to new so api"
Wojciech Sliwka [Tue, 9 Apr 2019 06:28:55 +0000 (06:28 +0000)]
Merge "align logic to new so api"

5 years agoRun tomcat as onap user 26/84526/2
Wojciech Sliwka [Mon, 8 Apr 2019 13:12:40 +0000 (15:12 +0200)]
Run tomcat as onap user

Issue-ID: VID-423
Change-Id: I5ec25252e325216e0835c55ae9b8ddb47ce11161
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
5 years agoAaiController unit tests 43/84543/1
Michal Kabaj [Mon, 8 Apr 2019 16:25:47 +0000 (18:25 +0200)]
AaiController unit tests

- refactored and added detailed unit tests testing spring rest mappings

Change-Id: I602b4301c7e46d16cc8606a5e7bb3af1cb0cad21
Issue-ID: VID-456
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
5 years agoalign logic to new so api 28/82928/7
Wojciech Sliwka [Thu, 21 Mar 2019 13:01:50 +0000 (14:01 +0100)]
align logic to new so api

Change-Id: Ic1a975eb6d3d9487fc2e006d2f171fa044806ef3
Issue-ID: VID-400
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
5 years agoMerge "Increase test coverage for vid/aii - third part"
Wojciech Sliwka [Mon, 8 Apr 2019 08:24:21 +0000 (08:24 +0000)]
Merge "Increase test coverage for vid/aii - third part"

5 years agoIncrease test coverage for vid/aii - third part 83/84083/4
michal.banka [Wed, 3 Apr 2019 10:29:10 +0000 (12:29 +0200)]
Increase test coverage for vid/aii - third part

Change-Id: Ib4da72c1da212cf009f70694ffcb0be4049cb67e
Issue-ID: VID-385
Signed-off-by: michal.banka <michal.banka@nokia.com>
5 years agojunits for ControllersUtils 08/84208/1
Tomasz Gwozdecki [Thu, 4 Apr 2019 08:19:54 +0000 (04:19 -0400)]
junits for ControllersUtils

-Added new test to check Exception handling

Change-Id: I4e634157ad942118221c07d7fe21ee33af68a9ef
Issue-ID: VID-449
Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
5 years agoAaiController construction and test improvements 98/84098/1
Michal Kabaj [Wed, 3 Apr 2019 13:46:19 +0000 (15:46 +0200)]
AaiController construction and test improvements

- autowired on constructor instead of fields

Change-Id: I6fbf179a3e0ce51e92d617d681ea63b6926bcb38
Issue-ID: VID-456
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
5 years agoMerge "Extract AlwaysValidRoleValidator from RoleValidator"
Ittay Stern [Wed, 3 Apr 2019 12:46:40 +0000 (12:46 +0000)]
Merge "Extract AlwaysValidRoleValidator from RoleValidator"

5 years agoMerge "Turn role management off by default"
Ittay Stern [Wed, 3 Apr 2019 10:35:12 +0000 (10:35 +0000)]
Merge "Turn role management off by default"

5 years agoExtract AlwaysValidRoleValidator from RoleValidator 70/84070/3
Ittay Stern [Wed, 3 Apr 2019 09:00:57 +0000 (12:00 +0300)]
Extract AlwaysValidRoleValidator from RoleValidator

Issue-ID: VID-448

Change-Id: Ic006aceca9c51305d0706df6c2c6062ccaaee3de
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoTurn role management off by default 01/82901/2
Sonsino, Ofir (os0695) [Fri, 16 Nov 2018 13:01:29 +0000 (15:01 +0200)]
Turn role management off by default

(cherrypicked from casablanca)

Change-Id: Id8611389b80c3a693c989ce3421f08435ad05d2f
Issue-ID: VID-448
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoDisplay Human-readable timeout in Manual Task popup 66/83966/1
Ittay Stern [Mon, 1 Apr 2019 11:58:03 +0000 (14:58 +0300)]
Display Human-readable timeout in Manual Task popup

Issue-ID: VID-403

Change-Id: Iac5d7eb4ab92d967151fcf9ef439dd038f903c08
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoMerge "Sending workflow data from UI to SO"
Wojciech Sliwka [Tue, 2 Apr 2019 08:57:15 +0000 (08:57 +0000)]
Merge "Sending workflow data from UI to SO"

5 years agoSending workflow data from UI to SO 86/83186/7
Bartosz Gardziejewski [Mon, 25 Mar 2019 09:07:38 +0000 (10:07 +0100)]
Sending workflow data from UI to SO

Change-Id: I39c78584c61eb317d4eaf2861ece810c1b60ab01
Issue-ID: VID-401
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
5 years agoDisplay Manual Task description in actions popup 48/83848/1
Ittay Stern [Mon, 1 Apr 2019 10:17:42 +0000 (13:17 +0300)]
Display Manual Task description in actions popup

Change-Id: I3aa990785b340cdff647154016ae6078aabc3ee7
Issue-ID: VID-403
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoaaiSubscriberController Test 44/79444/5
Bartosz Gardziejewski [Fri, 1 Mar 2019 11:18:26 +0000 (12:18 +0100)]
aaiSubscriberController Test

Change-Id: I1e1b120d43e295e375626f125b8a24c4ae92b952
Issue-ID: VID-387
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
5 years agoMerge "Refresh offered-APIs doc"
Wojciech Sliwka [Tue, 26 Mar 2019 14:01:45 +0000 (14:01 +0000)]
Merge "Refresh offered-APIs doc"

5 years agoMerge "Deprecate documentation for MACRO_SERVICES"
Wojciech Sliwka [Tue, 26 Mar 2019 14:01:41 +0000 (14:01 +0000)]
Merge "Deprecate documentation for MACRO_SERVICES"

5 years agoMerge "Retrieve worfklows by model"
Wojciech Sliwka [Tue, 26 Mar 2019 13:59:22 +0000 (13:59 +0000)]
Merge "Retrieve worfklows by model"

5 years agoMerge "ControllerUtils tests and improvements"
Wojciech Sliwka [Tue, 26 Mar 2019 13:57:42 +0000 (13:57 +0000)]
Merge "ControllerUtils tests and improvements"

5 years agoMerge "Upgrade lodash to 4.17.11"
Wojciech Sliwka [Tue, 26 Mar 2019 13:55:55 +0000 (13:55 +0000)]
Merge "Upgrade lodash to 4.17.11"

5 years agoUpgrade springframework to 4.3.22 (was 4.2.x) 16/83316/2
Ittay Stern [Tue, 26 Mar 2019 09:25:37 +0000 (11:25 +0200)]
Upgrade springframework to 4.3.22 (was 4.2.x)

Issue-ID: VID-435

Change-Id: Ib7722368894fb39119d47602bca5c4453430ab8e
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoUpgrade lodash to 4.17.11 89/83189/1
Ittay Stern [Mon, 25 Mar 2019 12:00:14 +0000 (14:00 +0200)]
Upgrade lodash to 4.17.11

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>
5 years agoRefresh offered-APIs doc 18/83118/3
Ittay Stern [Sun, 24 Mar 2019 13:46:24 +0000 (15:46 +0200)]
Refresh offered-APIs doc

- Redo table frames
- Cross-ref from administration.rst

Issue-ID: VID-370
Change-Id: I97198d1d7cdbe6452834fcde0c4cfe1f7119513c
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoDeprecate documentation for MACRO_SERVICES 19/83119/2
Ittay Stern [Sun, 24 Mar 2019 13:59:28 +0000 (15:59 +0200)]
Deprecate documentation for MACRO_SERVICES

Services are considered Macro by TOSCA Model instantiation-type.

Issue-ID: VID-372
Change-Id: I4ceeb6dcfaff9a2531054a68e8afd26eb6cdb845
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoIngest SO Task fields: 'timeout' and 'description' 21/83121/1
Ittay Stern [Sun, 24 Mar 2019 17:16:51 +0000 (19:16 +0200)]
Ingest SO Task fields: 'timeout' and 'description'

Follows discussion in SO-1594

Issue-ID: VID-403
Change-Id: I04b793d730c9a26d140f52197c103b14d1babd72
Signed-off-by: Ittay Stern <ittay.stern@att.com>
5 years agoControllerUtils tests and improvements 82/83082/1
Michal Kabaj [Fri, 22 Mar 2019 23:10:14 +0000 (00:10 +0100)]
ControllerUtils tests and improvements

- 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>
5 years agoRetrieve worfklows by model 10/82910/1
Wojciech Sliwka [Thu, 21 Mar 2019 10:28:05 +0000 (11:28 +0100)]
Retrieve worfklows by model

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>