nonrtric.git
2 years agoAdd output schema for ODU slice assurance usecase 23/7123/1
RehanRaza [Thu, 25 Nov 2021 14:08:15 +0000 (15:08 +0100)]
Add output schema for ODU slice assurance usecase

Change-Id: I4f85e59986e7ce9f97e68e2224595c506df5eddf
Issue-ID: NONRTRIC-636
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
Henrik Andersson [Wed, 24 Nov 2021 13:18:53 +0000 (13:18 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoMerge "Rename enrichment coordinator service to information coordinator service"
John Keeney [Wed, 24 Nov 2021 10:03:32 +0000 (10:03 +0000)]
Merge "Rename enrichment coordinator service to information coordinator service"

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 99/7099/6
PatrikBuhr [Mon, 22 Nov 2021 13:53:05 +0000 (14:53 +0100)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Improved documentation.

Using random port in unittest

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

2 years agoExposed external kafka port in test env 14/7114/1
BjornMagnussonXA [Wed, 24 Nov 2021 07:25:15 +0000 (08:25 +0100)]
Exposed external kafka port in test env

Port 30098 is exposed for docker on localhost
Port 30099 is exposed as nodeport for kube

Issue-ID: NONRTRIC-618

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I3b8c8f54691ba7d262bd0efa698ba09df1c883e0

2 years agoRename enrichment coordinator service to information coordinator service 06/7106/7
PatrikBuhr [Mon, 22 Nov 2021 15:12:27 +0000 (16:12 +0100)]
Rename enrichment coordinator service to information coordinator service

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

2 years agoAdaptations to docker-compose V2 07/7107/1
BjornMagnussonXA [Tue, 23 Nov 2021 08:22:35 +0000 (09:22 +0100)]
Adaptations to docker-compose V2

Test env now supports both docker-compose V1 and V2

Issue-ID: NONRTRIC-618

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I6a5717b6dce64086123cc5575ef45f9e299cd7e3

2 years agoMerge "Kafka now works in kube for calls outside its namespace"
Henrik Andersson [Mon, 22 Nov 2021 14:37:25 +0000 (14:37 +0000)]
Merge "Kafka now works in kube for calls outside its namespace"

2 years agoKafka now works in kube for calls outside its namespace 97/7097/1
BjornMagnussonXA [Mon, 22 Nov 2021 12:36:04 +0000 (13:36 +0100)]
Kafka now works in kube for calls outside its namespace

Test case for dmaap adater and mediator updated

Support for up to 10 callback-receiver replicas

Adapted test scripts for callback-receiver replicas

Improved test scripts to auto-include app api include files

Issue-ID: NONRTRIC-618

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I3aafdcc8b44189c79996c7237a43a19985dcecfc

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 90/7090/2
PatrikBuhr [Fri, 19 Nov 2021 12:48:07 +0000 (13:48 +0100)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Added regexp filtering of dmaap messages.

Fixed problem in kafka listening.

Fixed problems in integration tests.

Added a test for creating a kafka job, just to improve coverage.

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

2 years agoMerge "Add schemas for input events of ODU slice assurance usecase"
Henrik Andersson [Fri, 19 Nov 2021 09:55:12 +0000 (09:55 +0000)]
Merge "Add schemas for input events of ODU slice assurance usecase"

2 years agoMerge "Added tests and improvements"
Henrik Andersson [Fri, 19 Nov 2021 09:54:48 +0000 (09:54 +0000)]
Merge "Added tests and improvements"

2 years agoMerge "Use env varialbes to replace image urls & tags"
Henrik Andersson [Fri, 19 Nov 2021 09:54:16 +0000 (09:54 +0000)]
Merge "Use env varialbes to replace image urls & tags"

2 years agoCorrect unit tests for DMaaP Mediator Producer 86/7086/1
elinuxhenrik [Fri, 19 Nov 2021 07:25:22 +0000 (08:25 +0100)]
Correct unit tests for DMaaP Mediator Producer

Issue-ID: NONRTRIC-639
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I1672d546b2b414f87459c6c7895cb6866df4db88

2 years agoUse env varialbes to replace image urls & tags 73/7073/4
ecaiyanlinux [Wed, 8 Sep 2021 11:20:19 +0000 (13:20 +0200)]
Use env varialbes to replace image urls & tags

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

2 years agoCorrect unit tests for DMaaP Mediator Producer 83/7083/1
elinuxhenrik [Thu, 18 Nov 2021 14:57:14 +0000 (15:57 +0100)]
Correct unit tests for DMaaP Mediator Producer

Issue-ID: NONRTRIC-639
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I534930c3e842ea432032b38f6e445782f9831aac

2 years agoIntroduce choice between secure and non secure com 78/7078/3
elinuxhenrik [Thu, 18 Nov 2021 06:52:38 +0000 (07:52 +0100)]
Introduce choice between secure and non secure com

The consumer now uses secure communication towards any
address configured to use the https scheme. If its own callback is
configured to the https scheme, it will only listen to an https port,
otherwise it will only use an http port.

Issue-ID: NONRTRIC-638
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I54dd3e9e4652998337c55b2ab30e5daa4d96de4b

2 years agoAdd schemas for input events of ODU slice assurance usecase 81/7081/1
RehanRaza [Thu, 18 Nov 2021 09:33:43 +0000 (10:33 +0100)]
Add schemas for input events of ODU slice assurance usecase

Change-Id: I91954f4badb60d9f6737ca6d1db0c9764b9138e0
Issue-ID: NONRTRIC-636
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2 years agoAdded tests and improvements 79/7079/1
BjornMagnussonXA [Thu, 18 Nov 2021 07:19:45 +0000 (08:19 +0100)]
Added tests and improvements

Real message router and kafka now works in docker and in kubernetes
Added test of dmaap adapter kafka jobs
Added possibility to collect runtime stats of pods/containers
Improved callback receiver to handle large payloads
Various simplifications, improvements and corrections

Issue-ID: NONRTRIC-618

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I397b4842bf860a3126cc57ddcef61bd8db3aa76b

2 years agoRefactor for better naming of go producer 77/7077/1
elinuxhenrik [Wed, 17 Nov 2021 14:46:07 +0000 (15:46 +0100)]
Refactor for better naming of go producer

Issue-ID: NONRTRIC-639
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I8cfd139f3d6886d12ef8977fadd2077c24835bf9

2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
Henrik Andersson [Wed, 17 Nov 2021 12:04:13 +0000 (12:04 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoMerge "Uplift of PMS source from ONAP"
Henrik Andersson [Wed, 17 Nov 2021 10:30:14 +0000 (10:30 +0000)]
Merge "Uplift of PMS source from ONAP"

2 years agoMerge "Improve concurrency of message sending"
Henrik Andersson [Wed, 17 Nov 2021 10:17:09 +0000 (10:17 +0000)]
Merge "Improve concurrency of message sending"

2 years agoUplift of PMS source from ONAP 75/7075/1
PatrikBuhr [Wed, 17 Nov 2021 09:26:12 +0000 (10:26 +0100)]
Uplift of PMS source from ONAP

Some simplifications.

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

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 72/7072/11
PatrikBuhr [Tue, 16 Nov 2021 09:58:25 +0000 (10:58 +0100)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Improved resilence from Kafka errors. After an overflow, the stream will be restarted (currently after max 3 minutes).

In Kafka messages: if buffered, received message will be quoted.
When delivered to consumer, the REST content type will be JSON if buffered. If not buffered, no content type is sent.

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

2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
Henrik Andersson [Tue, 16 Nov 2021 07:17:06 +0000 (07:17 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoImprove concurrency of message sending 30/7030/7
elinuxhenrik [Wed, 10 Nov 2021 09:33:32 +0000 (10:33 +0100)]
Improve concurrency of message sending

Issue-ID: NONRTRIC-635
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I414740a918eb65abae94c91990ff39a3cfc7bd22

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 61/7061/2
PatrikBuhr [Mon, 15 Nov 2021 11:26:01 +0000 (12:26 +0100)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Added a possibility fora consumer to choose how many concurrent REST sessions it can handle.
If correct message sequence it to be maintained, this must be set to 1.

Taking a rest if the consumer is unavialable.

Trying to restart strems at overflow, which does not work.

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

2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
John Keeney [Mon, 15 Nov 2021 10:42:42 +0000 (10:42 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 36/7036/2
PatrikBuhr [Thu, 11 Nov 2021 14:33:07 +0000 (15:33 +0100)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Simplifications and optimizations.

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

2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
Henrik Andersson [Thu, 11 Nov 2021 14:31:22 +0000 (14:31 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoIntroduce choice between secure and non secure com 27/7027/6
elinuxhenrik [Mon, 8 Nov 2021 14:58:20 +0000 (15:58 +0100)]
Introduce choice between secure and non secure com

The DMaaP Mediator producer now uses secure communication towards any
address configured to use the https scheme. If its own callback is
configured to the https scheme, it will only listen to an https port,
otherwise it will only use an http port.

Also moved the certificate and key files to a separate folder.

Issue-ID: NONRTRIC-633
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Id3bb18e83d40d26740b71be7901911c9a41502e3

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 33/7033/2
PatrikBuhr [Fri, 5 Nov 2021 13:56:19 +0000 (14:56 +0100)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Fixed so that an information type can receive data from a Kafka stream.
This can also filter the data (using regexp matchning).
The received data can be buffered to minimize the number of REST calls to deliver the data to the consumer.

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

2 years agoMerge "Adaptation of test env to helm chart"
Henrik Andersson [Mon, 8 Nov 2021 16:09:14 +0000 (16:09 +0000)]
Merge "Adaptation of test env to helm chart"

2 years agoAdaptation of test env to helm chart 08/7008/1
BjornMagnussonXA [Mon, 8 Nov 2021 09:25:07 +0000 (10:25 +0100)]
Adaptation of test env to helm chart

Restructuring to use http proxy for all access to docker containers

Adding tests for dmaap adapter and mediator

Issue-ID: NONRTRIC-618

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I43799771d73140c7abbc63db9f9b28bb353474a1

2 years agoFix of Sonar coverage for O-RU Closed Loop Consumer 01/7001/1
elinuxhenrik [Fri, 5 Nov 2021 13:17:05 +0000 (14:17 +0100)]
Fix of Sonar coverage for O-RU Closed Loop Consumer

Issue-ID: NONRTRIC-620
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Id6765d0b741fbce7f29cdcf7c5899dce483e05ca

2 years agoFix of Sonar coverage for O-RU Closed Loop Consumer 99/6999/1
elinuxhenrik [Fri, 5 Nov 2021 12:47:22 +0000 (13:47 +0100)]
Fix of Sonar coverage for O-RU Closed Loop Consumer

Issue-ID: NONRTRIC-620
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I1f36ad74b8fbbee1ff64089e487d7c46e39b4b72

2 years agoFix locking in DMaaP Mediator Producer 95/6995/1
elinuxhenrik [Fri, 5 Nov 2021 07:00:12 +0000 (08:00 +0100)]
Fix locking in DMaaP Mediator Producer

Issue-ID: NONRTRIC-631
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I38d2255be7f180a10559152c385ee88fc8471ce4

2 years agoUpdate Dockerfile for DMaaP Mediator Producer 93/6993/1
elinuxhenrik [Thu, 4 Nov 2021 15:38:00 +0000 (16:38 +0100)]
Update Dockerfile for DMaaP Mediator Producer

Issue-ID: NONRTRIC-631
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ibcb7d9955bff63512549885796ce3ea11bfa46de

2 years agoMerge "Refactor for more efficient job handling"
Henrik Andersson [Thu, 4 Nov 2021 14:14:59 +0000 (14:14 +0000)]
Merge "Refactor for more efficient job handling"

2 years agoRefactor for more efficient job handling 90/6990/1
elinuxhenrik [Thu, 4 Nov 2021 09:29:02 +0000 (10:29 +0100)]
Refactor for more efficient job handling

Issue-ID: NONRTRIC-631
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I8c338ba66f64285d7696197d58dd4038047cff3c

2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
Henrik Andersson [Wed, 3 Nov 2021 10:15:59 +0000 (10:15 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 73/6973/7
PatrikBuhr [Mon, 1 Nov 2021 11:02:55 +0000 (12:02 +0100)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Added support for using HTTP Proxy for data delivery.

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

2 years agoAdd error info to certificate create problem info 75/6975/1
elinuxhenrik [Tue, 2 Nov 2021 08:19:26 +0000 (09:19 +0100)]
Add error info to certificate create problem info

Issue-ID: NONRTRIC-601
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I90f71faeac7749c4b6a1674011ce8e1dfc51e663

2 years agoMerge "Implement secure communications"
John Keeney [Mon, 1 Nov 2021 10:55:57 +0000 (10:55 +0000)]
Merge "Implement secure communications"

2 years agoImplement secure communications 65/6965/5
elinuxhenrik [Thu, 28 Oct 2021 14:27:57 +0000 (16:27 +0200)]
Implement secure communications

The communication towards the consumer is not secured in this commit.

Also changed the configuration so that the address of the DMaaP Message
Router is given in one variable, named DMAAP_MR_ADDR.

Issue-ID: NONRTRIC-601
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Icb5b3c255367e823fcae2168ab37603092815893

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 67/6967/3
PatrikBuhr [Thu, 28 Oct 2021 12:21:36 +0000 (14:21 +0200)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Added README.md

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

2 years agoMerge "Fix env variables for dmaap-mediator go version"
Henrik Andersson [Thu, 28 Oct 2021 05:59:40 +0000 (05:59 +0000)]
Merge "Fix env variables for dmaap-mediator go version"

2 years agoMerge "Create READDME file for O-RU closed loop consumer"
Henrik Andersson [Thu, 28 Oct 2021 05:58:20 +0000 (05:58 +0000)]
Merge "Create READDME file for O-RU closed loop consumer"

2 years agoFix env variables for dmaap-mediator go version 52/6952/1
ecaiyanlinux [Thu, 28 Oct 2021 04:18:35 +0000 (06:18 +0200)]
Fix env variables for dmaap-mediator go version

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

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 44/6944/4
PatrikBuhr [Wed, 27 Oct 2021 07:20:52 +0000 (09:20 +0200)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Fixed so that one registration is always done after a component restart.
Discarding empty array from DMAAP

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

2 years agoMerge "Create READDME file for DMaaP Mediator Producer"
Henrik Andersson [Wed, 27 Oct 2021 13:34:24 +0000 (13:34 +0000)]
Merge "Create READDME file for DMaaP Mediator Producer"

2 years agoMerge "Use retry when calling DMaaP and ECS"
Henrik Andersson [Wed, 27 Oct 2021 13:32:11 +0000 (13:32 +0000)]
Merge "Use retry when calling DMaaP and ECS"

2 years agoMerge "Integration dmaap-mr & dmaap-mediator"
Henrik Andersson [Wed, 27 Oct 2021 13:30:44 +0000 (13:30 +0000)]
Merge "Integration dmaap-mr & dmaap-mediator"

2 years agoIntegration dmaap-mr & dmaap-mediator 46/6946/2
ecaiyanlinux [Mon, 25 Oct 2021 13:24:37 +0000 (15:24 +0200)]
Integration dmaap-mr & dmaap-mediator

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

2 years agoCreate READDME file for O-RU closed loop consumer 48/6948/1
elinuxhenrik [Wed, 27 Oct 2021 11:11:50 +0000 (13:11 +0200)]
Create READDME file for O-RU closed loop consumer

Issue-ID: NONRTRIC-620
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I22194b6a6531de030d0987d34d6094976fd4a9e4

2 years agoCreate READDME file for DMaaP Mediator Producer 47/6947/1
elinuxhenrik [Wed, 27 Oct 2021 10:51:27 +0000 (12:51 +0200)]
Create READDME file for DMaaP Mediator Producer

Issue-ID: NONRTRIC-619
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I999a47113efa0b2fcf9361e240360b4715f1fd40

2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
Henrik Andersson [Wed, 27 Oct 2021 07:15:15 +0000 (07:15 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoUse retry when calling DMaaP and ECS 36/6936/1
elinuxhenrik [Tue, 26 Oct 2021 11:22:55 +0000 (13:22 +0200)]
Use retry when calling DMaaP and ECS

Issue-ID: NONRTRIC-617
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I43b0a3e8d7ebb439a22154b0246af5b05342af27

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 35/6935/5
PatrikBuhr [Tue, 26 Oct 2021 07:46:11 +0000 (09:46 +0200)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Added API documentation.
Added some unittest.
Improved some logging.
Simplified the registration task somewhat.

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

2 years agoFix test of DMaaP Mediator Producer 28/6928/1
elinuxhenrik [Mon, 25 Oct 2021 06:06:25 +0000 (08:06 +0200)]
Fix test of DMaaP Mediator Producer

Issue-ID: NONRTRIC-612
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ib94010a9be3a6b2e85f6627cb19265177725f9dc

2 years agoMerge "Implement graceful shutdown of consumer"
Henrik Andersson [Fri, 22 Oct 2021 12:51:31 +0000 (12:51 +0000)]
Merge "Implement graceful shutdown of consumer"

2 years agoImplement graceful shutdown of consumer 18/6918/2
elinuxhenrik [Fri, 22 Oct 2021 11:40:15 +0000 (13:40 +0200)]
Implement graceful shutdown of consumer

Also refactored and added tests for the main package.

Some minor corrections in the producer also sneaked themselves in.

Issue-ID: NONRTRIC-612
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I2e81f0c0b028dc69b691b4968f6f00191ab2dce3

2 years agoMerge "Adapt controlloop version of O-RU usecase to use ONAP Istanbul"
Henrik Andersson [Fri, 22 Oct 2021 09:15:23 +0000 (09:15 +0000)]
Merge "Adapt controlloop version of O-RU usecase to use ONAP Istanbul"

2 years agoAdapt controlloop version of O-RU usecase to use ONAP Istanbul 08/6908/1
RehanRaza [Thu, 21 Oct 2021 14:38:36 +0000 (16:38 +0200)]
Adapt controlloop version of O-RU usecase to use ONAP Istanbul

New docker images have been released for Istanbul.
This commit uses the released docker images and does the
corresponding changes required in new version.

Change-Id: I2647967a5828ae79a753e91c26b35bb3478963f7
Issue-ID: NONRTRIC-615
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
2 years agoMerge "NONRTRIC - Enrichment Coordinator Service, Changed error codes"
Henrik Andersson [Thu, 21 Oct 2021 14:36:44 +0000 (14:36 +0000)]
Merge "NONRTRIC - Enrichment Coordinator Service, Changed error codes"

2 years agoMerge "Uplift of PMS source from ONAP"
Henrik Andersson [Thu, 21 Oct 2021 12:42:40 +0000 (12:42 +0000)]
Merge "Uplift of PMS source from ONAP"

2 years agoNONRTRIC - Enrichment Coordinator Service, Changed error codes 05/6905/2
PatrikBuhr [Thu, 21 Oct 2021 10:40:22 +0000 (12:40 +0200)]
NONRTRIC - Enrichment Coordinator Service, Changed error codes

Changed HTTP error codes

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

2 years agoUplift of PMS source from ONAP 92/6892/1
PatrikBuhr [Wed, 20 Oct 2021 05:19:14 +0000 (07:19 +0200)]
Uplift of PMS source from ONAP

Improving searching for policy types - A1 Jakarta

Create a json schema for validation of the configuration of the A1 PMS - A1 Jakarta

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

2 years agoMerge "Misc improvements in GO code"
Henrik Andersson [Thu, 14 Oct 2021 08:09:41 +0000 (08:09 +0000)]
Merge "Misc improvements in GO code"

2 years agoMisc improvements in GO code 55/6855/1
elinuxhenrik [Thu, 14 Oct 2021 05:56:15 +0000 (07:56 +0200)]
Misc improvements in GO code

Issue-ID: NONRTRIC-606
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ib9715ba35e2649d1050cf2364a2d31d06471c832

2 years agoMerge "Refactor Go code"
Henrik Andersson [Tue, 12 Oct 2021 11:27:10 +0000 (11:27 +0000)]
Merge "Refactor Go code"

2 years agoMerge "Test env updates"
Henrik Andersson [Tue, 12 Oct 2021 09:13:09 +0000 (09:13 +0000)]
Merge "Test env updates"

2 years agoTest env updates 48/6848/1
BjornMagnussonXA [Fri, 8 Oct 2021 06:58:12 +0000 (08:58 +0200)]
Test env updates

Image version bumps
Enabled pms data-config schema validation
Enabled json duplicate check in a1 simulator

Issue-ID: NONRTRIC-605

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I832d8ebf1e34cc449b7670bf515061aa0f2da9bf

2 years agoRefactor Go code 44/6844/1
elinuxhenrik [Wed, 29 Sep 2021 13:41:26 +0000 (15:41 +0200)]
Refactor Go code

Issue-ID: NONRTRIC-606
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Icbd97b8dbf0c3b015e2c864d4d4dd3581d5ade9b

2 years agoMerge "Add test for consumer restclient"
Henrik Andersson [Thu, 7 Oct 2021 12:48:02 +0000 (12:48 +0000)]
Merge "Add test for consumer restclient"

2 years agoUplift of PMS source from ONAP 28/6828/1
PatrikBuhr [Thu, 7 Oct 2021 06:49:52 +0000 (08:49 +0200)]
Uplift of PMS source from ONAP

Bugfix PMS, wrong behviour using old application.yaml files.

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

2 years agoAdd test for consumer restclient 24/6824/1
elinuxhenrik [Wed, 6 Oct 2021 12:53:15 +0000 (14:53 +0200)]
Add test for consumer restclient

Issue-ID: NONRTRIC-588
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ide62b004551f1844454be817e531e737114caf4f

2 years agoFirst go version of o-ru-closed-loop 17/6817/3
elinuxhenrik [Tue, 24 Aug 2021 15:01:24 +0000 (17:01 +0200)]
First go version of o-ru-closed-loop

Issue-ID: NONRTRIC-588
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I41390ec58eb8281d87b92da8b0893666aa00ae3e

2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
Henrik Andersson [Thu, 30 Sep 2021 09:20:05 +0000 (09:20 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoCorrect Go build script 99/6799/1
elinuxhenrik [Thu, 30 Sep 2021 08:36:34 +0000 (10:36 +0200)]
Correct Go build script

Modified sed command to fix coverage file for dmaapmediatorproducer

Issue-ID: NONRTRIC-593
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ia4671409dc079f29044a0b15fe8925a24159d901

2 years agoCorrect Go build script 96/6796/1
elinuxhenrik [Thu, 30 Sep 2021 06:54:13 +0000 (08:54 +0200)]
Correct Go build script

Added sed command to fix coverage file for dmaapmediatorproducer

Issue-ID: NONRTRIC-593
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Icde995bdc4157bf1869087080c18217b0da35316

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 92/6792/3
PatrikBuhr [Wed, 29 Sep 2021 13:05:50 +0000 (15:05 +0200)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Added some unit tests

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

2 years agoMerge "Callback to delete job"
Henrik Andersson [Mon, 27 Sep 2021 10:55:53 +0000 (10:55 +0000)]
Merge "Callback to delete job"

2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
Henrik Andersson [Mon, 27 Sep 2021 09:22:15 +0000 (09:22 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoCallback to delete job 51/6751/4
elinuxhenrik [Fri, 24 Sep 2021 13:08:47 +0000 (15:08 +0200)]
Callback to delete job

Issue-ID: NONRTRIC-587
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I2bdca3fc648ea3a909a0a60c43504d5f80ee05bc

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 55/6755/1
PatrikBuhr [Mon, 27 Sep 2021 08:02:50 +0000 (10:02 +0200)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Added test of delete information job.

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

2 years agoUplift of PMS source from ONAP 47/6747/2
PatrikBuhr [Fri, 24 Sep 2021 07:40:43 +0000 (09:40 +0200)]
Uplift of PMS source from ONAP

Create a json schema for validation of the configuration of the A1 PMS - A1 Jakarta

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

2 years agoMerge "Add docker-compose files for dmaap-mediator"
Henrik Andersson [Fri, 24 Sep 2021 05:25:43 +0000 (05:25 +0000)]
Merge "Add docker-compose files for dmaap-mediator"

2 years agoAdd docker-compose files for dmaap-mediator 44/6744/3
ecaiyanlinux [Thu, 23 Sep 2021 14:03:11 +0000 (16:03 +0200)]
Add docker-compose files for dmaap-mediator

Including java & go version

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

2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
Henrik Andersson [Thu, 23 Sep 2021 14:43:52 +0000 (14:43 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoImprove DMaaP Mediator Producer 37/6737/3
elinuxhenrik [Thu, 23 Sep 2021 09:09:09 +0000 (11:09 +0200)]
Improve DMaaP Mediator Producer

Issue-ID: NONRTRIC-586
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Iab915f878874b687b1c1b2effc05293582fb254c

2 years agoNONRTRIC - Implement DMaaP mediator producer service in Java 43/6743/1
PatrikBuhr [Thu, 23 Sep 2021 10:34:44 +0000 (12:34 +0200)]
NONRTRIC - Implement DMaaP mediator producer service in Java

Removed vardata (which is only needed if the service stores persistent data).

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

2 years agoMerge "Poll MR and send messages to consumers"
Henrik Andersson [Wed, 22 Sep 2021 13:18:46 +0000 (13:18 +0000)]
Merge "Poll MR and send messages to consumers"

2 years agoMerge "Test updates for ECS, PMS and SDNC"
John Keeney [Wed, 22 Sep 2021 12:33:16 +0000 (12:33 +0000)]
Merge "Test updates for ECS, PMS and SDNC"

2 years agoTest updates for ECS, PMS and SDNC 28/6728/1
BjornMagnussonXA [Tue, 21 Sep 2021 18:39:58 +0000 (20:39 +0200)]
Test updates for ECS, PMS and SDNC

Proxy in SDNC
Autodelete jobs in ECS
Persistent subscriptions in ECS
Extended info in types
Image uplifts

Issue-ID: NONRTRIC-596

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: Ibc6d80db0edd0188825ec0920d5de5061d571682

2 years agoMerge "Uplift of PMS source from ONAP"
Henrik Andersson [Tue, 21 Sep 2021 13:58:08 +0000 (13:58 +0000)]
Merge "Uplift of PMS source from ONAP"

2 years agoMerge "NONRTRIC - Implement DMaaP mediator producer service in Java"
Henrik Andersson [Tue, 21 Sep 2021 13:57:49 +0000 (13:57 +0000)]
Merge "NONRTRIC - Implement DMaaP mediator producer service in Java"

2 years agoPoll MR and send messages to consumers 25/6725/1
elinuxhenrik [Tue, 21 Sep 2021 13:43:11 +0000 (15:43 +0200)]
Poll MR and send messages to consumers

Issue-ID: NONRTRIC-586
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I7e261aedb1a528c193390f6a3e99a49d7783d35e

2 years agoFix bug in Dockerfile of dmaap mediator 21/6721/1
RehanRaza [Tue, 21 Sep 2021 08:20:53 +0000 (10:20 +0200)]
Fix bug in Dockerfile of dmaap mediator

Change-Id: I56f9480b73010e4b08e8da6c61bbc865839c0382
Issue-ID: NONRTRIC-597
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>