nonrtric.git
3 years agoRelease nonrtric 2.0.0
jenkins [Thu, 18 Jun 2020 11:21:43 +0000 (11:21 +0000)]
Release nonrtric

3 years agoMerge "Remove using of DMAAP client from ONAP"
Henrik Andersson [Thu, 18 Jun 2020 09:08:04 +0000 (09:08 +0000)]
Merge "Remove using of DMAAP client from ONAP"

3 years agoMerge "Clean up A1 controller dependencies"
John Keeney [Wed, 17 Jun 2020 15:02:43 +0000 (15:02 +0000)]
Merge "Clean up A1 controller dependencies"

3 years agoClean up A1 controller dependencies 66/4166/1
RehanRaza [Tue, 16 Jun 2020 15:41:14 +0000 (17:41 +0200)]
Clean up A1 controller dependencies

Change-Id: Ib9b9ed150495353812b750cab2e725af753f16c5
Issue-ID: NONRTRIC-250
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
3 years agoRemove using of DMAAP client from ONAP 33/4133/6
PatrikBuhr [Tue, 16 Jun 2020 09:19:01 +0000 (11:19 +0200)]
Remove using of DMAAP client from ONAP

The DMAAP client did not work with https, which
is a fundametal need.
Instead, the AsynchRestClient is used.

Change-Id: I347ddd5a140e854da858ad87386227b1da8c437a
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
3 years agoMerge "Update developer guide"
Henrik Andersson [Tue, 16 Jun 2020 14:54:48 +0000 (14:54 +0000)]
Merge "Update developer guide"

3 years agoMerge "Add description to parameters in the remaining controllers"
Henrik Andersson [Tue, 16 Jun 2020 14:54:19 +0000 (14:54 +0000)]
Merge "Add description to parameters in the remaining controllers"

3 years agoUpdate developer guide 19/4119/1
gautamk189 [Tue, 16 Jun 2020 09:53:46 +0000 (15:23 +0530)]
Update developer guide

Issue-ID: NONRTRIC-246
Signed-off-by: gautamk189 <gautamkr@hcl.com>
Change-Id: I7370c2d6ab50be654b7fcfe5772fb22fc6875495

3 years agoAdd description to parameters in the remaining controllers 86/4086/3
maximesson [Fri, 12 Jun 2020 14:22:34 +0000 (16:22 +0200)]
Add description to parameters in the remaining controllers

Change-Id: I4b91464e417adbdb646f1c78355ca97952a05e91
Issue-ID: NONRTRIC-158
Signed-off-by: maximesson <maxime.bonneau@est.tech>
3 years agoDisable integration test by default 63/4063/6
ecaiyanlinux [Wed, 10 Jun 2020 16:17:56 +0000 (18:17 +0200)]
Disable integration test by default

Issue-ID: NONRTRIC-237
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Change-Id: Ia5e1e3b680aa0f23cfcb5c05666c270909a31a88

3 years agoMerge "Add monitor web page to Health Check test"
Henrik Andersson [Wed, 10 Jun 2020 06:14:08 +0000 (06:14 +0000)]
Merge "Add monitor web page to Health Check test"

3 years agoFix a small issue & update gitignore 35/4035/5
ecaiyanlinux [Tue, 9 Jun 2020 11:29:53 +0000 (13:29 +0200)]
Fix a small issue & update gitignore

Issue-ID: NONRTRIC-237
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Change-Id: Ib935146cdd338b860675f7519c12d194fdb0305d

3 years agoAdd monitor web page to Health Check test 03/4003/12
elinuxhenrik [Fri, 5 Jun 2020 08:23:27 +0000 (10:23 +0200)]
Add monitor web page to Health Check test

Also add documentation.

Change-Id: I4732a65d21a458711672f6f49d56d186b15bd8c8
Issue-ID: NONRTRIC-200
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
3 years agoMerge "prepare for jenkins test"
Henrik Andersson [Tue, 9 Jun 2020 08:36:56 +0000 (08:36 +0000)]
Merge "prepare for jenkins test"

3 years agoMerge "Add description to parameters in policy controller"
Henrik Andersson [Tue, 9 Jun 2020 06:39:42 +0000 (06:39 +0000)]
Merge "Add description to parameters in policy controller"

3 years agoMerge "Added UUID to policy ids and new policy types"
Henrik Andersson [Tue, 9 Jun 2020 06:38:55 +0000 (06:38 +0000)]
Merge "Added UUID to policy ids and new policy types"

3 years agoAdded UUID to policy ids and new policy types 32/4032/1
BjornMagnussonXA [Mon, 8 Jun 2020 13:54:11 +0000 (15:54 +0200)]
Added UUID to policy ids and new policy types

Change-Id: I0b0f600b4c5f4f10e36a84c76d1b104fcf3d712d
Issue-ID: NONRTRIC-154
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
3 years agoprepare for jenkins test 99/3999/10
ecaiyanlinux [Thu, 4 Jun 2020 07:34:31 +0000 (09:34 +0200)]
prepare for jenkins test

Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Issue-ID: NONRTRIC-237
Change-Id: Iabcc2f514bf1ff73545ddfa6697c23f3a4f5c31c

3 years agoAdd description to parameters in policy controller 17/4017/3
maximesson [Fri, 5 Jun 2020 07:12:55 +0000 (09:12 +0200)]
Add description to parameters in policy controller

Change-Id: Ib09bd36c6f0a78ac298671f54071ecededac2191
Issue-ID: NONRTRIC-158
Signed-off-by: maximesson <maxime.bonneau@est.tech>
3 years agoMerge "Small change installation guide A1 Controller"
Henrik Andersson [Mon, 8 Jun 2020 13:10:51 +0000 (13:10 +0000)]
Merge "Small change installation guide A1 Controller"

3 years agoRemove Sonar issue 19/4019/1
RehanRaza [Mon, 8 Jun 2020 10:15:44 +0000 (12:15 +0200)]
Remove Sonar issue

Change-Id: Ic2510ae51f1e6b22332d84544b06ca6d24f3daca
Issue-ID: NONRTRIC-142
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
3 years agoUpdate image version tag in test 97/3997/1
ecaiyanlinux [Thu, 4 Jun 2020 13:47:02 +0000 (15:47 +0200)]
Update image version tag in test

Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Issue-ID: NONRTRIC-230
Change-Id: If6ce0f6467866f80fe7d0bf2812740f036d791b2

3 years agoStep version up in docker-compose file 92/3992/2
ecaiyanlinux [Thu, 4 Jun 2020 11:42:08 +0000 (13:42 +0200)]
Step version up in docker-compose file

Issue-ID: NONRTRIC-230
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Change-Id: Ifea54918e95214811b3fd7b83f54c55d262112a6

3 years agoMerge "Step version for release"
Henrik Andersson [Thu, 4 Jun 2020 11:37:49 +0000 (11:37 +0000)]
Merge "Step version for release"

3 years agoMerge "Step version for release"
Henrik Andersson [Thu, 4 Jun 2020 11:37:34 +0000 (11:37 +0000)]
Merge "Step version for release"

3 years agoSmall change installation guide A1 Controller 02/4002/1
maximesson [Thu, 4 Jun 2020 10:12:59 +0000 (12:12 +0200)]
Small change installation guide A1 Controller

Change-Id: I908becd059b9ccfc68c857d72ae76a9a3e298c76
Issue-ID: NONRTRIC-158
Signed-off-by: maximesson <maxime.bonneau@est.tech>X
3 years agoMerge "Test env documentation and new features"
Henrik Andersson [Thu, 4 Jun 2020 06:57:50 +0000 (06:57 +0000)]
Merge "Test env documentation and new features"

3 years agoTest env documentation and new features 88/3988/1
BjornMagnussonXA [Thu, 4 Jun 2020 05:48:37 +0000 (07:48 +0200)]
Test env documentation and new features

First part of README updated

Added panic stop of test case with retrieving logs

Added test result file of scripting support

Change-Id: I283dbf2013eaba2006391cde3c9cb2acd0a0239f
Issue-ID: NONRTRIC-154
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
3 years agoMerge "Some minor refacturings of the Lock"
John Keeney [Wed, 3 Jun 2020 15:43:24 +0000 (15:43 +0000)]
Merge "Some minor refacturings of the Lock"

3 years agoNexus repo test 73/3973/1
Lathish [Wed, 3 Jun 2020 15:09:15 +0000 (16:09 +0100)]
Nexus repo test

Issue-ID: NONRTRIC-230
Change-Id: I8bfbd0a13e1463fab329d43c1815da5f403b3f9e
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoStep version for release 67/3967/1
RehanRaza [Wed, 3 Jun 2020 11:55:22 +0000 (13:55 +0200)]
Step version for release

Change-Id: I6166de54656d30fb4dc50bbe6d4cf0811b16dbdc
Issue-ID: NONRTRIC-230
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
3 years agoSome minor refacturings of the Lock 66/3966/1
PatrikBuhr [Wed, 3 Jun 2020 09:59:00 +0000 (11:59 +0200)]
Some minor refacturings of the Lock

Private classes removed to the bottom.

Some synchronizations could be simplified.

Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Change-Id: I46f3bddf4828cf48d4199cf984a3e14295a42340

3 years agoBug fix, Lock 64/3964/1
PatrikBuhr [Wed, 3 Jun 2020 09:59:00 +0000 (11:59 +0200)]
Bug fix, Lock

When a pending lock is added to the queue (for pending locks),
the lock may already be released.
In that case, no notifyAll() will be called.

Change-Id: I4d63d5656b09ab0cb9d5f242c9abf9d708fb1a9b
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
3 years agoMerge "Revert the app config file"
Henrik Andersson [Wed, 3 Jun 2020 06:07:44 +0000 (06:07 +0000)]
Merge "Revert the app config file"

3 years agoMerge "Add documentation & data scripts"
Henrik Andersson [Wed, 3 Jun 2020 06:07:12 +0000 (06:07 +0000)]
Merge "Add documentation & data scripts"

3 years agoMerge "Some improved traces"
John Keeney [Tue, 2 Jun 2020 13:30:30 +0000 (13:30 +0000)]
Merge "Some improved traces"

3 years agoMerge "Fix A1 controller to trust all certs"
John Keeney [Tue, 2 Jun 2020 13:29:20 +0000 (13:29 +0000)]
Merge "Fix A1 controller to trust all certs"

3 years agoAdd documentation & data scripts 52/3952/4
ecaiyanlinux [Sat, 30 May 2020 13:17:59 +0000 (15:17 +0200)]
Add documentation & data scripts

Add Readme.md
scripts in data/ can generate some dummy date into the system

Issue-ID: NONRTRIC-238
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Change-Id: Id562c281ba909fa60e63223d8bd44f20949bb493

3 years agoRevert the app config file 53/3953/1
Lathish [Tue, 2 Jun 2020 10:38:24 +0000 (11:38 +0100)]
Revert the app config file

Issue-ID: NONRTRIC-233
Change-Id: I1ab30d9d6ac318b7ebe58b1425143fed49ebad78
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoFix A1 controller to trust all certs 50/3950/1
RehanRaza [Tue, 2 Jun 2020 09:57:29 +0000 (11:57 +0200)]
Fix A1 controller to trust all certs

Change-Id: Ifc78b9bd6faab5edf944d66aa3d3fa4bc4aca55f
Issue-ID: NONRTRIC-241
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
3 years agoSome improved traces 32/3932/2
PatrikBuhr [Mon, 1 Jun 2020 08:54:35 +0000 (10:54 +0200)]
Some improved traces

Change-Id: I422b504325eabfaa9374a320a89412c9780543a5
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
3 years agoMerge "Create docker-compose file"
Henrik Andersson [Tue, 2 Jun 2020 09:39:39 +0000 (09:39 +0000)]
Merge "Create docker-compose file"

3 years agoCreate docker-compose file 34/3934/3
ecaiyanlinux [Sat, 30 May 2020 13:17:59 +0000 (15:17 +0200)]
Create docker-compose file

Two docker-compose file:
nosdnc/docker-compose.yml is without sdnc a1-controller
sdnc/docker-compose.yml is with sdnc a1-controller

Issue-ID: NONRTRIC-238
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Change-Id: I035ab35287b0c3ef3ffe8d84b39c1018148bfd1e

3 years agoUpdate docker-compose of A1 simulator 40/3940/1
RehanRaza [Mon, 1 Jun 2020 15:37:13 +0000 (17:37 +0200)]
Update docker-compose of A1 simulator

Change-Id: I4928d9be532e88cc1764970665a35df9010429dc
Issue-ID: NONRTRIC-240
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
3 years agoMerge "App config path changed"
Henrik Andersson [Mon, 1 Jun 2020 06:10:52 +0000 (06:10 +0000)]
Merge "App config path changed"

3 years agoMerge "Make assertions of log messages better"
Henrik Andersson [Thu, 28 May 2020 14:01:52 +0000 (14:01 +0000)]
Merge "Make assertions of log messages better"

3 years agoMerge "Updated function test env with new tests and features"
Henrik Andersson [Thu, 28 May 2020 14:01:18 +0000 (14:01 +0000)]
Merge "Updated function test env with new tests and features"

3 years agoUpdated function test env with new tests and features 87/3887/2
BjornMagnussonXA [Wed, 27 May 2020 19:24:06 +0000 (21:24 +0200)]
Updated function test env with new tests and features

Added tests for transient policies
Added test case for policy type sync
Added test for policy create/delete from parallel processes
Updated test env to run with selected local images and ignoring certain images.

Issue-ID: NONRTRIC-154
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I9893dc3ad8c77186b73ec82770f5b72fbf948154

3 years agoMake assertions of log messages better 91/3891/1
elinuxhenrik [Thu, 28 May 2020 10:28:20 +0000 (12:28 +0200)]
Make assertions of log messages better

Also added some awaits to improve staiblity of timing sensitive tests.

Change-Id: I92593c26e1d0068d26b5cfffa1afb61cdfd6bb1e
Issue-ID: NONRTRIC-116
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
3 years agoApp config path changed 06/3906/1
Lathish [Thu, 28 May 2020 09:43:35 +0000 (10:43 +0100)]
App config path changed

Issue-ID: NONRTRIC-233
Change-Id: I2de7697314e0a200d487d7663fc5be2c2a9591c2
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoStep version for release 75/3875/1
elinuxhenrik [Wed, 27 May 2020 14:19:49 +0000 (16:19 +0200)]
Step version for release

Change-Id: I8f16827ccab62c2ee002e18fbe8ead42d85ba2d6
Issue-ID: NONRTRIC-230
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
3 years agoRemove unused imports 71/3871/1
elinuxhenrik [Wed, 27 May 2020 13:12:03 +0000 (15:12 +0200)]
Remove unused imports

Change-Id: Ie8a821dc58b44784f72f20b7487ac466d0b3ed82
Issue-ID: NONRTRIC-116
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
3 years agoMerge "Add tests to increase code coverage"
Henrik Andersson [Wed, 27 May 2020 12:41:12 +0000 (12:41 +0000)]
Merge "Add tests to increase code coverage"

3 years agoAdd tests to increase code coverage 66/3866/2
elinuxhenrik [Wed, 27 May 2020 09:18:46 +0000 (11:18 +0200)]
Add tests to increase code coverage

Change-Id: I675e1d8995affa820ccd07aa8d29b9386a078bcb
Issue-ID: NONRTRIC-116
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
3 years agoTwo bugfies, disabling use of TCP client pool 47/3847/2
PatrikBuhr [Mon, 18 May 2020 07:23:18 +0000 (09:23 +0200)]
Two bugfies, disabling use of TCP client pool

TCP client pool is not used for connections.
Connections were for some reason not reused and
this consumed a lot of memory which was never released.

Registerring of a service should start a new kepp alive interval.

Change-Id: If53a58fdf971b1b771560dda5f24218bec1de92a
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
3 years agoMerge "Version Up & Removed unncessary properties"
Henrik Andersson [Tue, 26 May 2020 10:27:25 +0000 (10:27 +0000)]
Merge "Version Up & Removed unncessary properties"

3 years agoRemove Sonar warnings 33/3833/4
elinuxhenrik [Mon, 25 May 2020 13:36:19 +0000 (15:36 +0200)]
Remove Sonar warnings

Change-Id: I6d7c6693a6254308538f01b5504ef06853af85e4
Issue-ID: NONRTRIC-201
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
3 years agoMerge "Add missing licences"
John Keeney [Mon, 25 May 2020 17:35:54 +0000 (17:35 +0000)]
Merge "Add missing licences"

3 years agoVersion Up & Removed unncessary properties 40/3840/1
Lathish [Mon, 25 May 2020 16:56:04 +0000 (17:56 +0100)]
Version Up & Removed unncessary properties

Issue-ID: NONRTRIC-225
Change-Id: I8ee3a2db7df3c9ad55b1d26aa5965e3ba67ba510
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
3 years agoAdd missing licences 32/3832/2
elinuxhenrik [Mon, 25 May 2020 09:21:18 +0000 (11:21 +0200)]
Add missing licences

Change-Id: I9e2198f96ca2549de93101abe26339b25dbb0459
Issue-ID: NONRTRIC-227
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
3 years ago Add default certificates for mrstub 29/3829/1
ecaiyanlinux [Sat, 23 May 2020 16:11:57 +0000 (18:11 +0200)]
  Add default certificates for mrstub

    The default certificates are in folder /usr/src/app/cert
    The default certificates can be overriden by mounting a volume in 'docker run' command or in a docker-compose.yml file
    ex:
    in 'docker run':
    docker run -it -p 3905:3905 -p 3906:3906 -v "$PWD/certificate:/usr/src/app/cert" mrstub
    in 'docker-compose.yml':
    volumes:
          - ./certificate:/usr/src/app/cert:ro

Issue-ID: NONRTRIC-208
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Change-Id: Id903fb745736e053984bc71061e3c1f2d58fafde

3 years agoMerge "Doc adjustement to transient parameter"
Henrik Andersson [Tue, 19 May 2020 10:45:51 +0000 (10:45 +0000)]
Merge "Doc adjustement to transient parameter"

3 years agoMerge "Two minor bugfies"
Henrik Andersson [Tue, 19 May 2020 10:45:36 +0000 (10:45 +0000)]
Merge "Two minor bugfies"

3 years agoTwo minor bugfies 25/3725/2
PatrikBuhr [Mon, 18 May 2020 07:23:18 +0000 (09:23 +0200)]
Two minor bugfies

Enabled receiving of big RESTCONF responses

Serializing policy deletion when services are disabled in order
to avoid exessive memory consumption when there are many policies.

Change-Id: I10766c70861e4d3931b09cec98d281918e2eefef
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
3 years agoDoc adjustement to transient parameter 99/3699/4
maximesson [Thu, 14 May 2020 14:09:57 +0000 (16:09 +0200)]
Doc adjustement to transient parameter

Change-Id: I94eeff6436bfb388332fe833526e4b0d4b8e7b6d
Issue-ID: NONRTRIC-158
Signed-off-by: maximesson <maxime.bonneau@est.tech>
3 years agoUpdate test scripts to support a1-interface with https 12/3712/4
ecaiyanlinux [Fri, 15 May 2020 11:58:02 +0000 (13:58 +0200)]
Update test scripts to support a1-interface with https

Issue-ID: NONRTRIC-218
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Change-Id: I7f8c6eaf1deccadbdfe0a80cab7a06d4f3e18b3a

3 years agoTest env updates for dmaap messages in batch and for running external agent 13/3713/2
BjornMagnussonXA [Mon, 11 May 2020 12:11:30 +0000 (14:11 +0200)]
Test env updates for dmaap messages in batch and for running external agent

Restructured and consolidated testcases

Various minor updates and adjustment to test functions

Change-Id: Ie796b04b7a12bbd410b56db19d718e1c5a0510de
Issue-ID: NONRTRIC-154
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
4 years agoBugfix, GET policy types for OSC A1 Policy REST API 11/3711/1
PatrikBuhr [Fri, 15 May 2020 11:05:23 +0000 (13:05 +0200)]
Bugfix, GET policy types for OSC A1 Policy REST API

The OSC A1 Policy REST API GET Policy types returns an array of integer,
but the agent expected an array of strings.
Now both cases will work.

Change-Id: Iac3d2e0ecbf1427644f50ac678ff2e6a69f12929
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoAdded test of validation of trusted peer 08/3708/1
PatrikBuhr [Fri, 15 May 2020 06:49:21 +0000 (08:49 +0200)]
Added test of validation of trusted peer

Also, loading trust store is done only once instead of for each connection.

Change-Id: I673015d8129e5b69d3abbf351d1d4079f7839f41
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoAdded upport for trust store when agent acts as web client 95/3695/3
PatrikBuhr [Thu, 7 May 2020 10:30:21 +0000 (12:30 +0200)]
Added upport for trust store when agent acts as web client

Updated Dmaap so it uses http towards the agent NBI instead of https

Change-Id: Ia30ac783683efa478bc8ab56dc4ac8311b03f8f0
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Update mrstub with nginx"
Henrik Andersson [Thu, 14 May 2020 06:14:19 +0000 (06:14 +0000)]
Merge "Update mrstub with nginx"

4 years agoUpdate mrstub with nginx 65/3665/10
ecaiyanlinux [Mon, 11 May 2020 10:53:23 +0000 (12:53 +0200)]
Update mrstub with nginx

Support http/https for mrstub
http port 3905
https port 3906
Add timeout for mr AGENT_READ_URL

Issue-ID: NONRTRIC-208
Change-Id: I222906b705f273b2e582ad8ce80fa88b2e582824
Signed-off-by: Chengkai Yan <martin.c.yan@est.tech>
4 years agoSupport for transient policies not recreated at synchronization 79/3679/3
PatrikBuhr [Wed, 13 May 2020 08:55:14 +0000 (10:55 +0200)]
Support for transient policies not recreated at synchronization

Decreased the sleep time when waiting for dmaap configuration to 10 seconds instead on 60.

Change-Id: I774c62d665efe84d249c486094de41168233c410
Issue-ID: NONRTRIC-217
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoBugfix, creating only one DmaapProducer 71/3671/2
PatrikBuhr [Tue, 12 May 2020 11:27:37 +0000 (13:27 +0200)]
Bugfix, creating only one DmaapProducer

Each DmaapProducer starts a thread that is never terminated.
This class works around that by only creating one DmaapProducer
and will reuse that.

Change-Id: I3f8f9369a948f1cb5e3ae119c62c03bf4f5d180a
Issue-ID: NONRTRIC-210
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Fix Sonar and CheckStyle warnings"
Henrik Andersson [Tue, 12 May 2020 13:48:16 +0000 (13:48 +0000)]
Merge "Fix Sonar and CheckStyle warnings"

4 years agoMerge "Improve code coverage of A1 controller"
Henrik Andersson [Tue, 12 May 2020 13:46:46 +0000 (13:46 +0000)]
Merge "Improve code coverage of A1 controller"

4 years agoImprove code coverage of A1 controller 72/3672/3
RehanRaza [Tue, 12 May 2020 11:54:48 +0000 (13:54 +0200)]
Improve code coverage of A1 controller

Change-Id: Ia9630e0f6d619e2bc7435845ee73e15e1fa06a1e
Issue-ID: NONRTRIC-201
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoFix Sonar and CheckStyle warnings 66/3666/5
elinuxhenrik [Mon, 11 May 2020 12:12:43 +0000 (14:12 +0200)]
Fix Sonar and CheckStyle warnings

Change-Id: Ifbbb999aec5ecbf382c799a3bb733ca272f93da7
Issue-ID: NONRTRIC-209
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoHandling Dmaap messages in a series 61/3661/1
PatrikBuhr [Mon, 11 May 2020 06:47:45 +0000 (08:47 +0200)]
Handling Dmaap messages in  a series

To gurante that messges are handled in the right order they must be
processed in a series instead of in paralell.

Change-Id: I156bade6dc2d5100403681b452aadf473f6b94ed
Issue-ID: NONRTRIC-210
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Remove sleep from DmaapMessageConsumer"
John Keeney [Fri, 8 May 2020 15:35:33 +0000 (15:35 +0000)]
Merge "Remove sleep from DmaapMessageConsumer"

4 years agoMerge "Decrease concurrency"
John Keeney [Fri, 8 May 2020 15:32:54 +0000 (15:32 +0000)]
Merge "Decrease concurrency"

4 years agoRemove sleep from DmaapMessageConsumer 32/3632/9
elinuxhenrik [Tue, 5 May 2020 14:38:15 +0000 (16:38 +0200)]
Remove sleep from DmaapMessageConsumer

Now that the timeout parameter is used when polling MR, the consumer
doesn't have to sleep between polls.

Also fixes the MR simulator so it responds correctly to the responses
from the policy agent.

Change-Id: I56d8be6a762013503defcd4f7297daa90a0a293e
Issue-ID: NONRTRIC-209
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoDecrease concurrency 33/3633/2
PatrikBuhr [Thu, 7 May 2020 10:46:52 +0000 (12:46 +0200)]
Decrease concurrency

Decrease concurrency when policies are recreated.

Bugfix, SdncOscA1Client deleteAllPolicies did nohing.

Change-Id: I9db04fd951defb1b033f96c115da18e7bd05ff04
Issue-ID: NONRTRIC-201
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoAdd webserver support for mr simulator 37/3637/1
YongchaoWu [Thu, 7 May 2020 10:21:42 +0000 (12:21 +0200)]
Add webserver support for mr simulator

- build nginx, wsgi, flask mr in one container
- support multi-threading and multi-processing
- support both http and https call
- support both IPv4 and IPv6

Issue-ID: NONRTRIC-208
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
Change-Id: Idf905923a1419e62ea4ec2d07fdcfccd0f85f12c

4 years agoReturn correct error response code from A1 controller 13/3613/4
RehanRaza [Thu, 7 May 2020 10:18:14 +0000 (12:18 +0200)]
Return correct error response code from A1 controller

Change-Id: I4c886be11dc83b7693ffa56a64295b83abced000
Issue-ID: NONRTRIC-213
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Added one typeless Policy in MockPolicyAgent"
John Keeney [Wed, 6 May 2020 16:37:19 +0000 (16:37 +0000)]
Merge "Added one typeless Policy in MockPolicyAgent"

4 years agoMerge "First version of HealtCheck test"
John Keeney [Wed, 6 May 2020 16:34:03 +0000 (16:34 +0000)]
Merge "First version of HealtCheck test"

4 years agoUpdate parent pom versions in A1 controller 93/3593/1
RehanRaza [Wed, 6 May 2020 10:23:27 +0000 (12:23 +0200)]
Update parent pom versions in A1 controller

Also update ccsdk docker version

Change-Id: I69ff800299c0a07cf97eeec1737cb3b974464e6b
Issue-ID: NONRTRIC-201
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoAdded one typeless Policy in MockPolicyAgent 78/3578/3
PatrikBuhr [Tue, 5 May 2020 07:11:52 +0000 (09:11 +0200)]
Added one typeless Policy in MockPolicyAgent

For enabling manual testing of typeless policies in the Controlpanel

Change-Id: I51a7c4cefeb7f621e27879f3ce4b3f4659c56bd4
Issue-ID: NONRTRIC-210
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Further updates to the auto-test environment"
Henrik Andersson [Tue, 5 May 2020 07:27:13 +0000 (07:27 +0000)]
Merge "Further updates to the auto-test environment"

4 years agoFixing timeout parameter in MRConsumer 74/3574/1
elinuxhenrik [Mon, 4 May 2020 15:37:59 +0000 (17:37 +0200)]
Fixing timeout parameter in MRConsumer

The properties for the timeout and limit parameters where added as
integers, but should be added as strings to the properties.

Change-Id: I02b84362d1a6c9cc38a4c670f3e4b40ecba235be
Issue-ID: NONRTRIC-209
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoUpdate README files in A1 controller 71/3571/1
RehanRaza [Mon, 4 May 2020 12:38:28 +0000 (14:38 +0200)]
Update README files in A1 controller

Change-Id: I753f79cfe7c2f2bdae13c9bc3e00eba0d55f1e98
Issue-ID: NONRTRIC-201
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoFirst version of HealtCheck test 86/3586/1
elinuxhenrik [Tue, 28 Apr 2020 13:31:33 +0000 (15:31 +0200)]
First version of HealtCheck test

Change-Id: I49c765eaf8ee340c8371c48e2c24cd3427800547
Issue-ID: NONRTRIC-200
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "Minor changes"
Henrik Andersson [Mon, 4 May 2020 08:52:08 +0000 (08:52 +0000)]
Merge "Minor changes"

4 years agoFurther updates to the auto-test environment 64/3564/1
BjornMagnussonXA [Fri, 24 Apr 2020 07:20:18 +0000 (09:20 +0200)]
Further updates to the auto-test environment

Aligned python to python 3

Added test script of ric re-sync

Preparing for secure port of simulator and agent

Integrated SNDC ONAP adapter to the test environment

MR-stub now support long poll and message limits

Change-Id: I280f173f811a9fd859c4cc5234084a5a20f77a90
Issue-ID: NONRTRIC-154
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
4 years agoMerge "Add https support in A1 controller"
John Keeney [Fri, 1 May 2020 10:33:39 +0000 (10:33 +0000)]
Merge "Add https support in A1 controller"

4 years agoMinor changes 29/3529/4
PatrikBuhr [Wed, 29 Apr 2020 12:31:02 +0000 (14:31 +0200)]
Minor changes

Added a unittest for getting schema through the SDNC
controller.

Increased http READ time out, from 10 to 30 seconds
Added TRACE of all REST bodies and responses

Attempt to fix that loading config from consul stops
when the json is syntaxtically wrong.

Change-Id: I4fc5d43971fd6853737f57aa0900f2e5068cd43c
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoAdd https support in A1 controller 44/3544/2
RehanRaza [Thu, 30 Apr 2020 12:04:57 +0000 (14:04 +0200)]
Add https support in A1 controller

Add self-signed cert for NBI and SBI
Remove ONAP signed certs

Change-Id: I733cb48bf37cb124a330f9a2734920fda010de57
Issue-ID: NONRTRIC-196
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Fixed so that DMAAP client uses https"
John Keeney [Wed, 29 Apr 2020 11:58:59 +0000 (11:58 +0000)]
Merge "Fixed so that DMAAP client uses https"

4 years agoMerge "Change formatting of API documentation"
Henrik Andersson [Tue, 28 Apr 2020 14:31:34 +0000 (14:31 +0000)]
Merge "Change formatting of API documentation"