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
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>
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>
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>
Henrik Andersson [Tue, 2 Jun 2020 09:39:39 +0000 (09:39 +0000)]
Merge "Create docker-compose file"
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
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>
Henrik Andersson [Mon, 1 Jun 2020 06:10:52 +0000 (06:10 +0000)]
Merge "App config path changed"
Henrik Andersson [Thu, 28 May 2020 14:01:52 +0000 (14:01 +0000)]
Merge "Make assertions of log messages better"
Henrik Andersson [Thu, 28 May 2020 14:01:18 +0000 (14:01 +0000)]
Merge "Updated function test env with new tests and features"
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
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>
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>
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>
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>
Henrik Andersson [Wed, 27 May 2020 12:41:12 +0000 (12:41 +0000)]
Merge "Add tests to increase code coverage"
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>
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>
Henrik Andersson [Tue, 26 May 2020 10:27:25 +0000 (10:27 +0000)]
Merge "Version Up & Removed unncessary properties"
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>
John Keeney [Mon, 25 May 2020 17:35:54 +0000 (17:35 +0000)]
Merge "Add missing licences"
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>
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>
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
Henrik Andersson [Tue, 19 May 2020 10:45:51 +0000 (10:45 +0000)]
Merge "Doc adjustement to transient parameter"
Henrik Andersson [Tue, 19 May 2020 10:45:36 +0000 (10:45 +0000)]
Merge "Two minor bugfies"
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>
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>
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
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>
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>
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>
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>
Henrik Andersson [Thu, 14 May 2020 06:14:19 +0000 (06:14 +0000)]
Merge "Update mrstub with nginx"
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>
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>
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>
Henrik Andersson [Tue, 12 May 2020 13:48:16 +0000 (13:48 +0000)]
Merge "Fix Sonar and CheckStyle warnings"
Henrik Andersson [Tue, 12 May 2020 13:46:46 +0000 (13:46 +0000)]
Merge "Improve code coverage of A1 controller"
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>
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>
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>
John Keeney [Fri, 8 May 2020 15:35:33 +0000 (15:35 +0000)]
Merge "Remove sleep from DmaapMessageConsumer"
John Keeney [Fri, 8 May 2020 15:32:54 +0000 (15:32 +0000)]
Merge "Decrease concurrency"
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>
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>
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
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>
John Keeney [Wed, 6 May 2020 16:37:19 +0000 (16:37 +0000)]
Merge "Added one typeless Policy in MockPolicyAgent"
John Keeney [Wed, 6 May 2020 16:34:03 +0000 (16:34 +0000)]
Merge "First version of HealtCheck test"
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>
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>
Henrik Andersson [Tue, 5 May 2020 07:27:13 +0000 (07:27 +0000)]
Merge "Further updates to the auto-test environment"
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>
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>
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>
Henrik Andersson [Mon, 4 May 2020 08:52:08 +0000 (08:52 +0000)]
Merge "Minor changes"
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>
John Keeney [Fri, 1 May 2020 10:33:39 +0000 (10:33 +0000)]
Merge "Add https support in A1 controller"
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>
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>
John Keeney [Wed, 29 Apr 2020 11:58:59 +0000 (11:58 +0000)]
Merge "Fixed so that DMAAP client uses https"
Henrik Andersson [Tue, 28 Apr 2020 14:31:34 +0000 (14:31 +0000)]
Merge "Change formatting of API documentation"
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>
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>
Henrik Andersson [Tue, 28 Apr 2020 08:14:49 +0000 (08:14 +0000)]
Merge "Rename artifacts in A1 controller"
Henrik Andersson [Tue, 28 Apr 2020 07:59:20 +0000 (07:59 +0000)]
Merge "Changed the config loading from consul"
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>
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>
Henrik Andersson [Mon, 27 Apr 2020 05:46:04 +0000 (05:46 +0000)]
Merge "Remove unnecessary stuff from northbound directory of A1 controller"
Henrik Andersson [Fri, 24 Apr 2020 08:33:34 +0000 (08:33 +0000)]
Merge "Loading of configuration"
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>
Henrik Andersson [Fri, 24 Apr 2020 05:32:51 +0000 (05:32 +0000)]
Merge "Added support for https"
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>
John Keeney [Thu, 23 Apr 2020 13:47:34 +0000 (13:47 +0000)]
Merge "Remove unnecessary stuff from oam directory of A1 controller"
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>
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>
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>
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>
Henrik Andersson [Wed, 22 Apr 2020 07:32:54 +0000 (07:32 +0000)]
Merge "Clean autotest folder"
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
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>
Henrik Andersson [Mon, 20 Apr 2020 13:47:47 +0000 (13:47 +0000)]
Merge "Updated function test environment"
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>
Henrik Andersson [Mon, 20 Apr 2020 11:04:27 +0000 (11:04 +0000)]
Merge "Bugfix, only one RIC was synched"
PatrikBuhr [Fri, 17 Apr 2020 07:57:35 +0000 (09:57 +0200)]
Bugfix, only one RIC was synched
In RicSupervision, when recovery was started, cheching of the other ones was
stopped.
Other improvements such as:
Not starting consistency check when it is already started
Improved tracing
Change-Id: I82d1d48a091de8f24ebfa60b7cc1140e81d959f6
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
elinuxhenrik [Wed, 8 Apr 2020 15:02:40 +0000 (17:02 +0200)]
Add first version of SDNC A1 Controller API docs
Change-Id: Ie280225822a900d7c022608b01ed4e955465c9f4
Issue-ID: NONRTRIC-192
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
elinuxhenrik [Tue, 14 Apr 2020 08:59:36 +0000 (10:59 +0200)]
Add links to new API documentation
Change-Id: I1b7507a3d9648c22e71f7b5d292305b6bbb3ae1e
Issue-ID: NONRTRIC-152
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
PatrikBuhr [Wed, 15 Apr 2020 10:48:16 +0000 (12:48 +0200)]
Removed throwing of runtime exceptions
Change-Id: I74565f457b0d93be7d580f775a48c2589c5a0e25
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Henrik Andersson [Wed, 15 Apr 2020 09:04:47 +0000 (09:04 +0000)]
Merge "Bugfix"
PatrikBuhr [Tue, 14 Apr 2020 11:50:07 +0000 (13:50 +0200)]
Bugfix
Parsing of controller output.
Renamed the config/application_configuration.json
to application_configuration.json_example so it does not
by default is loaded by the builyt container.
Change-Id: Ie631a3f745a977c7414ed60b2f3d09cd6687360a
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
maximesson [Thu, 9 Apr 2020 13:16:04 +0000 (15:16 +0200)]
Standardisation of names
Change-Id: Ib90680a1282aca5c623aa802d5c2c92dc913fff0
Issue-ID: NONRTRIC-158
Signed-off-by: maximesson <maxime.bonneau@est.tech>
Henrik Andersson [Thu, 9 Apr 2020 12:59:26 +0000 (12:59 +0000)]
Merge "Added check in PUT policy"
PatrikBuhr [Thu, 9 Apr 2020 11:46:21 +0000 (13:46 +0200)]
Added check in PUT policy
For PUT policy, added ad check that the RIC actually supports the given type.
Previously it was only check that the type existed.
Change-Id: I0e4772c46686aab44ed335e9026043f4f5febce6
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
John Keeney [Thu, 9 Apr 2020 08:09:15 +0000 (08:09 +0000)]
Merge "Added check of callback URL in service registration"
Henrik Andersson [Thu, 9 Apr 2020 08:02:51 +0000 (08:02 +0000)]
Merge "Update documentation for added RIC state"
John Keeney [Thu, 9 Apr 2020 07:47:24 +0000 (07:47 +0000)]
Merge "Added RIC state to RicInfo in the agent NBI"
elinuxhenrik [Thu, 9 Apr 2020 07:28:07 +0000 (09:28 +0200)]
Update documentation for added RIC state
RIC state has been added to the RicInfo in the policy agent NBI.
Change-Id: I455edda16429fac5408ca7bd68549e5d223e9151
Issue-ID: NONRTRIC-164
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
PatrikBuhr [Thu, 9 Apr 2020 05:48:26 +0000 (07:48 +0200)]
Bugfix controller adaption
The input to the controllers is Json, so the follwing
has changed (illustrated by an example):
From:
{"input":"{\"near-rt-ric-url\":\"XXXX/A1-P/v1/policies\"}"}
To:
{"input":{"near-rt-ric-url":"XXXX/A1-P/v1/policies"}}
Change-Id: I668eda2072fff9ce71bdbfed32fcb1a40b0799c8
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
PatrikBuhr [Wed, 8 Apr 2020 10:52:52 +0000 (12:52 +0200)]
Added RIC state to RicInfo in the agent NBI
Change-Id: Ice8d3ee829c38e58d2f2808a8d0453024e250bbc
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>