nonrtric.git
4 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

4 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

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

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

4 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"

4 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>
4 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"

4 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>
4 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>
4 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

4 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>
4 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"

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

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

4 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"

4 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

4 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>
4 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>
4 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>
4 years agoMerge "Create docker-compose file"
Henrik Andersson [Tue, 2 Jun 2020 09:39:39 +0000 (09:39 +0000)]
Merge "Create docker-compose file"

4 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

4 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>
4 years agoMerge "App config path changed"
Henrik Andersson [Mon, 1 Jun 2020 06:10:52 +0000 (06:10 +0000)]
Merge "App config path changed"

4 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"

4 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"

4 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

4 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>
4 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>
4 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>
4 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>
4 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"

4 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>
4 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>
4 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"

4 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>
4 years agoMerge "Add missing licences"
John Keeney [Mon, 25 May 2020 17:35:54 +0000 (17:35 +0000)]
Merge "Add missing licences"

4 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>
4 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>
4 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

4 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"

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

4 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>
4 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>
4 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

4 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"

4 years agoFixed so that DMAAP client uses https 03/3503/1
PatrikBuhr [Tue, 28 Apr 2020 13:18:39 +0000 (15:18 +0200)]
Fixed so that DMAAP client uses https

Change-Id: I530c70159ef26bb3d3df11f23b3f89715c591efb
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoFixed Concurrency test 98/3498/1
PatrikBuhr [Tue, 28 Apr 2020 09:33:32 +0000 (11:33 +0200)]
Fixed Concurrency test

Fixed so that controller adapter SdncOscA1Client extracts the create_schema
in the same was os the OscA1Client.

Change-Id: Ia930aca22242743631ccc26534ede2eed345cbdd
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Rename artifacts in A1 controller"
Henrik Andersson [Tue, 28 Apr 2020 08:14:49 +0000 (08:14 +0000)]
Merge "Rename artifacts in A1 controller"

4 years agoMerge "Changed the config loading from consul"
Henrik Andersson [Tue, 28 Apr 2020 07:59:20 +0000 (07:59 +0000)]
Merge "Changed the config loading from consul"

4 years agoChanged the config loading from consul 53/3453/5
PatrikBuhr [Fri, 24 Apr 2020 13:45:58 +0000 (15:45 +0200)]
Changed the config loading from consul

Cannot use the updates() function in CBS client.

Forgetting the negitiated protocol when a controller is connected
or disconnected in the configuration.

Temporary disabled trhe concurrency test due
to too much resource consumption.

Change-Id: I760add1c1e1b028763ae5c7c8cc4e542361026ef
Issue-ID: NONRTRIC-204
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoRename artifacts in A1 controller 86/3486/2
RehanRaza [Mon, 27 Apr 2020 14:20:26 +0000 (16:20 +0200)]
Rename artifacts in A1 controller

Change-Id: I0aa592dd98a1f6c9a038aa3415e363d1263772d6
Issue-ID: NONRTRIC-201
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Remove unnecessary stuff from northbound directory of A1 controller"
Henrik Andersson [Mon, 27 Apr 2020 05:46:04 +0000 (05:46 +0000)]
Merge "Remove unnecessary stuff from northbound directory of A1 controller"

4 years agoMerge "Loading of configuration"
Henrik Andersson [Fri, 24 Apr 2020 08:33:34 +0000 (08:33 +0000)]
Merge "Loading of configuration"

4 years agoLoading of configuration 45/3445/3
PatrikBuhr [Fri, 24 Apr 2020 07:33:30 +0000 (09:33 +0200)]
Loading of configuration

When an invalid configuartion was entered (from file of from consul)
the periodic polling for updates was stopped. This is fixed.

Improved error messages when an invalid configiration was intered.
Previuosly it often was just a NullPointerException when a mandatory
element was not found. Now, the missing element will be logged.

Change-Id: Id28dd268429c0174a84f490e6fb48ef5614c0966
Issue-ID: NONRTRIC-204
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoMerge "Added support for https"
Henrik Andersson [Fri, 24 Apr 2020 05:32:51 +0000 (05:32 +0000)]
Merge "Added support for https"

4 years agoRemove unnecessary stuff from northbound directory of A1 controller 28/3428/5
RehanRaza [Thu, 23 Apr 2020 09:56:39 +0000 (11:56 +0200)]
Remove unnecessary stuff from northbound directory of A1 controller

Change-Id: I214723fc405bbf6aacb8cf60cc810f87beeeab77
Issue-ID: NONRTRIC-201
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Remove unnecessary stuff from oam directory of A1 controller"
John Keeney [Thu, 23 Apr 2020 13:47:34 +0000 (13:47 +0000)]
Merge "Remove unnecessary stuff from oam directory of A1 controller"

4 years agoAdded support for https 24/3424/2
PatrikBuhr [Fri, 17 Apr 2020 06:58:02 +0000 (08:58 +0200)]
Added support for https

The agent listens to two ports:
- 8081 for http
- 8433 for https

The agent can communicate using http or https.

A self signed certificate is used, which built into
the docker container.

Change-Id: Ia54d00ea849bd656678a76dfeab5d10c6e4dc1a2
Issue-ID: NONRTRIC-195
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
4 years agoChange formatting of API documentation 96/3396/1
elinuxhenrik [Wed, 22 Apr 2020 16:05:07 +0000 (18:05 +0200)]
Change formatting of API documentation

Changed the headings and added a heading level for the definition and
example of use of a function.

Change-Id: Ifab8b13aabb21cd1692a3e700969d8d926b4ccfb
Issue-ID: NONRTRIC-158
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoAdd examples in SDNC A1 Controlle API doc 57/3357/5
elinuxhenrik [Tue, 21 Apr 2020 13:14:04 +0000 (15:14 +0200)]
Add examples in SDNC A1 Controlle API doc

Adding examples where the STD 1.1.3 version of the A1 protocol is used.

Change-Id: I33575900c7c257595e61e33e9385ae7286c51b72
Issue-ID: NONRTRIC-158
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoRemove unnecessary stuff from oam directory of A1 controller 34/3334/13
RehanRaza [Mon, 20 Apr 2020 15:10:39 +0000 (17:10 +0200)]
Remove unnecessary stuff from oam directory of A1 controller

Change-Id: I6f46a93f2109c7495d3c996b407f8fd415ff9d53
Issue-ID: NONRTRIC-201
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
4 years agoMerge "Clean autotest folder"
Henrik Andersson [Wed, 22 Apr 2020 07:32:54 +0000 (07:32 +0000)]
Merge "Clean autotest folder"

4 years agoClean autotest folder 46/3346/3
YongchaoWu [Tue, 21 Apr 2020 07:03:42 +0000 (09:03 +0200)]
Clean autotest folder

remove unused code directory
rename autotest folder to "test"

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

4 years agoFixed formatting of API documentation 33/3333/2
elinuxhenrik [Mon, 20 Apr 2020 14:46:26 +0000 (16:46 +0200)]
Fixed formatting of API documentation

Change-Id: Id76bf5af940ca21d93d282837ffd0d6fbb0077f0
Issue-ID: NONRTRIC-158
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
4 years agoMerge "Updated function test environment"
Henrik Andersson [Mon, 20 Apr 2020 13:47:47 +0000 (13:47 +0000)]
Merge "Updated function test environment"

4 years agoUpdated function test environment 70/3270/2
BjornMagnussonXA [Thu, 19 Mar 2020 13:31:06 +0000 (14:31 +0100)]
Updated function test environment

Added interface stub for MR

Added simulator monitor

Added function test and test cases

Added a server for catching callbacks from the agent

Added test cases for SNDC A1-Controller NB

README files are generally not updated. Will be made in later commits.

Change-Id: Ibf35f70b3e6f2d3f9c117aaf26ecdb03f80158f8
Issue-ID: NONRTRIC-154
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
4 years agoMerge "Bugfix, only one RIC was synched"
Henrik Andersson [Mon, 20 Apr 2020 11:04:27 +0000 (11:04 +0000)]
Merge "Bugfix, only one RIC was synched"