pti/o2.git
2 days agoMerge "OAuth2 support" master
Jon Zhang [Thu, 30 May 2024 08:44:55 +0000 (08:44 +0000)]
Merge "OAuth2 support"

4 days agoMerge "Update chart to support the deployment without persistent database"
Jon Zhang [Tue, 28 May 2024 01:36:03 +0000 (01:36 +0000)]
Merge "Update chart to support the deployment without persistent database"

4 days agoMerge "Add the PATCH method for the monitoring API"
Jon Zhang [Tue, 28 May 2024 01:35:47 +0000 (01:35 +0000)]
Merge "Add the PATCH method for the monitoring API"

5 days agoOAuth2 support 99/12899/9
ksun1 [Tue, 16 Apr 2024 08:06:29 +0000 (16:06 +0800)]
OAuth2 support

The WG11 Security Requirements v04.00.01 specify that the API should
follow OAuth 2.0. However, the O2 IMS API is not compliant with OAuth
2.0.
This commit will add OAuth 2.0 support to the O2 IMS API. The OAuth
2.0 server is based on a third-party service, and the O2 IMS will be
registered with the OAuth server to enable OAuth functionality.

Test Plan:
1. Start O2 with the third-party OAuth server. Verify that requests
   with tokens assigned by the third-party server are authenticated
   successfully by O2 IMS.
2. Start O2 with the original K8S authentication and verify that it
   is successful.

Issue-ID: INF-447

Change-Id: I8c3cf9ce297b8404cea60c24a1d50b0fb17107a0
Signed-off-by: Kaige Sun <kaige.sun@windriver.com>
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
7 days agoAdd the PATCH method for the monitoring API 98/12898/7
Zhang Rong(Jon) [Thu, 25 Apr 2024 15:12:19 +0000 (23:12 +0800)]
Add the PATCH method for the monitoring API

In the specification release R003-v05.00, a new API has been
added to the monitoring interface, which is an acknowledge/clear
operation for the alarm event.

This commit implements the O2IMS API to support SMO's requests of
alarm event acknowledgment or clearing.
The acknowledge operation will update the alarmEventRecord object,
mark the acknowledged field as True.
The clear operation will call the fault client asynchronously to
delete the alarm of the O-Cloud.

Test Plan:
1. Request the API to acknowledge/clear the alarm.
2. Request with both "alarmAcknowledged" and "perceivedSeverity"
   attribute failed since it only supports one, not both.
3. Request with "perceivedSeverity" only support "5" as expected
   which is "CLEARED".
4. After SMO requests the alarm clear to IMS via IMS monitoring API,
   FM(Fault Management) client is requested to delete the alarm
   from the O-Cloud.

Issue-ID: INF-449

Change-Id: I71419a9d467687d6708bfd3e9cd201dbce5e36c5
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
8 days agoUpdate chart to support the deployment without persistent database 97/12897/5
Zhang Rong(Jon) [Fri, 10 May 2024 06:36:40 +0000 (14:36 +0800)]
Update chart to support the deployment without persistent database

In case the O-Cloud may not have the persistent volume,
this commit will continue with the deployment and servicing without
persistent database which requires the persistent volume configuration
in O-Cloud.

Test Plan:
1. Tested the application with persistence database, it was as
expected.
2. Tested the application without persistence database, it was
as expected.

Issue-ID: INF-464

Change-Id: I72c6e3cc1538d2f442e1decc3da1123d2106d0b6
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
8 days agoUpgrade the latest clients of O2IMS 25/12925/1
Zhang Rong(Jon) [Fri, 24 May 2024 08:01:36 +0000 (16:01 +0800)]
Upgrade the latest clients of O2IMS

The O2IMS request O-Cloud (StarlingX) depends on the clients from
StarlingX community.
This commit will upgrade the fault client and cgts client to the
latest to support the latest StarlingX version.
And update the local test Dockerfile, to make sure the local test
with the latest image and latest clients.

Test Plan:
1. Image build succeeded with the local test Dockerfile.
2. O2 watcher service queried the O-Cloud resource and alarm
   successfully.

Issue-ID: INF-451

Change-Id: I84236678fcef262dcd20f6bf2265b86f905d6989
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
8 days agoMerge "Added HTTPS support"
Jon Zhang [Fri, 24 May 2024 02:16:23 +0000 (02:16 +0000)]
Merge "Added HTTPS support"

8 days agoMerge "Support mTLS (Mutual TLS) with O2 API"
Jon Zhang [Fri, 24 May 2024 01:38:38 +0000 (01:38 +0000)]
Merge "Support mTLS (Mutual TLS) with O2 API"

9 days agoSupport mTLS (Mutual TLS) with O2 API 20/12920/3
Zhang Rong(Jon) [Wed, 22 May 2024 14:44:02 +0000 (22:44 +0800)]
Support mTLS (Mutual TLS) with O2 API

Since the specification defined the API should support
mTLS (Mutual TLS). This commit will enable the mTLS support in the O2
IMS API.

Test Plan:
1. Request the O2 API with client key and client cert, the
API works as expected.
2. The O2 API which is configured with the client CA cert can serve
the client requests as expected.

Issue-ID: INF-448

Change-Id: If53fb4fea1dac33968f167b0f40e83d34615faec
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
9 days agoRefine the auth provider 18/12918/5
Zhang Rong(Jon) [Wed, 22 May 2024 08:56:28 +0000 (16:56 +0800)]
Refine the auth provider

This commit will refine auth provider, to make the auth
can disable from the source code and without exception.
Move the global scope methods into the class.

Test Plan:
1. Enabling the authentication worked correctly.
2. Disabling the authentication worked as expected without any
exceptions.

Issue-ID: INF-462

Change-Id: Ief69016ed73a525ca8e6a12eda959cb1422968f6
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
11 days agoMerge "Fixed alarm related issues"
Jon Zhang [Tue, 21 May 2024 02:20:25 +0000 (02:20 +0000)]
Merge "Fixed alarm related issues"

2 weeks agoAdded HTTPS support 96/12896/4
jkraitbewr [Thu, 9 May 2024 19:36:57 +0000 (15:36 -0400)]
Added HTTPS support

On StarlingX openstack is now by default HTTPS.  Support must be added
for this.

Also, In the helm chart, values have been added to allowing mounting
the host cert in the watcher pod.  The mounted cert is then used to
verify the SSL certificate of the STX and DCMANAGER clients.

TEST PLAN
PASS: Run compliance and quality robot tests, with mock SMO
* With HTTPS enabled
* Use cert mounting values
* Deploy oran-o2 application on StarlingX system controller (stx9)
PASS: Run compliance and quality robot tests, with mock SMO
* Without HTTPS enabled
* Deploy oran-o2 application on StarlingX system controller (stx9)

Issue-ID: INF-461
Signed-off-by: jkraitbewr <joshua.kraitberg@windriver.com>
Change-Id: Icdd1bae303bfe29c27570c310b32d80a9f56709c

2 weeks agoFixed alarm related issues 95/12895/4
jkraitbewr [Thu, 9 May 2024 19:36:11 +0000 (15:36 -0400)]
Fixed alarm related issues

There were several issues related to alarms.

* Region name was incorrect
* Unsupported alarm types now discard correctly

TEST PLAN
PASS: Run compliance and quality robot tests, with mock SMO
* Deploy oran-o2 application on StarlingX system controller (stx9)
* Update/apply override for dev image
* Ensure O2 pod is running using correct image
* Manually verify alarm related logs for errors

Issue-ID: INF-460
Signed-off-by: jkraitbewr <joshua.kraitberg@windriver.com>
Change-Id: I42027ce1ff8dd8e03782e22024b16c1c18abdf5c

3 weeks agoMerge "Improved Dockerfile"
Jon Zhang [Fri, 10 May 2024 03:20:46 +0000 (03:20 +0000)]
Merge "Improved Dockerfile"

3 weeks agoMerge "Revert "Add the PATCH method for the monitoring API""
Jon Zhang [Tue, 7 May 2024 05:30:30 +0000 (05:30 +0000)]
Merge "Revert "Add the PATCH method for the monitoring API""

3 weeks agoRevert "Add the PATCH method for the monitoring API" 10/12810/1
Jon Zhang [Tue, 7 May 2024 05:27:28 +0000 (05:27 +0000)]
Revert "Add the PATCH method for the monitoring API"

This reverts commit e00040ca7c6149995c5883bcd9dd81e02b25d0da.

Reason for revert: The Monitoring API implementation design changes

Change-Id: Ibb4e6d9474525a0c0a59d7e564dbdd2ffaf47365
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
3 weeks agoMerge "Fix the fault client returns 500 instend of 404"
Jon Zhang [Tue, 7 May 2024 05:23:17 +0000 (05:23 +0000)]
Merge "Fix the fault client returns 500 instend of 404"

3 weeks agoFix the fault client returns 500 instend of 404 84/12884/2
Zhang Rong(Jon) [Tue, 7 May 2024 03:25:29 +0000 (11:25 +0800)]
Fix the fault client returns 500 instend of 404

The dependency on the FM module was changed, resulting in it
returning HTTP code 500 instead of HTTP code 404 for not found
errors.

This commit is a workaround to track the 500 error and skip.
When the FM module upgrade, need to be change back

Test Plan:
PASS - Started the watcher service and checked the logs on the O2
environment for alarms that do not exist on the O-Cloud.

Issue-ID: INF-457
Change-Id: Ie2050bda5dd9fc724051de5e861a82fe9f495c44
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
4 weeks agoImproved Dockerfile 79/12879/1
jkraitbewr [Thu, 2 May 2024 15:20:53 +0000 (11:20 -0400)]
Improved Dockerfile

It was taking a long time build for simple code changes.

Made the build multi-stage. To build faster, also reduced image size by
about 50%.

TEST PLAN
PASS: Build image
PASS: watcher, o2pubsub, o2api pods running normally on system
controller

Signed-off-by: jkraitbewr <joshua.kraitberg@windriver.com>
Change-Id: I21cd153b7d4b1b9f97f8be4aa41f8140904e0b81

4 weeks agoCI: Migrate Sonar Scan job to GHA 00/12800/1
Jessica Wagantall [Tue, 30 Apr 2024 20:20:23 +0000 (13:20 -0700)]
CI: Migrate Sonar Scan job to GHA

Change-Id: Ib30f714eecdb362aad271c197cf6b8a2b4839a7b
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoMerge "Fix: Fix typo with project key for Sonar"
Jessica Wagantall [Tue, 30 Apr 2024 00:58:49 +0000 (00:58 +0000)]
Merge "Fix: Fix typo with project key for Sonar"

4 weeks agoFix: Fix typo with project key for Sonar 96/12796/1
Jessica Wagantall [Tue, 30 Apr 2024 00:56:11 +0000 (17:56 -0700)]
Fix: Fix typo with project key for Sonar

Change-Id: I3bfffc497b3ddb9b8e227de49a36fc78ea8044e2
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 weeks agoAdd the PATCH method for the monitoring API 83/12783/3
Zhang Rong(Jon) [Thu, 25 Apr 2024 15:12:19 +0000 (23:12 +0800)]
Add the PATCH method for the monitoring API

Since the specification release, a new API has been added to the
monitoring interface. Which is an acknowledged operation for the
alarm event.

This commit will support SMO requests the O2IMS API to
acknowledge and clear the alarm event.

Test Plan:
1. Request the API to acknowledge the alarm.
2. After ack the alarm, it was requested the stx clear
   its alarm.

Issue-ID: INF-449

Change-Id: Ic2cb07cbc0784793d1b1de637b7c8a6c29d3f6a2
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
5 weeks agoFix the watcher cannot parse with IPv6 88/12788/1
Zhang Rong(Jon) [Fri, 26 Apr 2024 09:35:04 +0000 (17:35 +0800)]
Fix the watcher cannot parse with IPv6

This commit fix the dcmanager client and fmclient parse
IPv6 failed.

Test Plan:
PASS - Connect with IPv6 O-Cloud DC environment
PASS - Connect with IPv6 environment which has alarm

Issue-ID: INF-455

Change-Id: I5c18a7216b1bce57793bae390a2ccf3cf99f3c73
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
6 weeks agoMerge "CI: Add SonarCloud scan GHA workflow"
Jessica Wagantall [Fri, 19 Apr 2024 17:27:58 +0000 (17:27 +0000)]
Merge "CI: Add SonarCloud scan GHA workflow"

6 weeks agoMerge "CI: Migrate tox verify from Jenkins to GHA"
Jessica Wagantall [Fri, 19 Apr 2024 17:27:46 +0000 (17:27 +0000)]
Merge "CI: Migrate tox verify from Jenkins to GHA"

6 weeks agoFix the IPv6 does not work 56/12756/1
Zhang Rong(Jon) [Fri, 19 Apr 2024 02:49:54 +0000 (10:49 +0800)]
Fix the IPv6 does not work

This commit fix the hard code for IPv4, it doesn't support IPv6

Test Plan:
PASS - Start the O2 API with IPv6, it works
PASS - Start the O2 API with IPv4, it works
PASS - Connect with IPv4 O-Cloud environment
PASS - Connect with IPv6 O-Cloud environment

Issue-ID: INF-455

Change-Id: I99d37846377d56d580f9553855349051ceeccf53
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
7 weeks agoCI: Add SonarCloud scan GHA workflow 37/12737/1
Jessica Wagantall [Fri, 12 Apr 2024 21:50:29 +0000 (14:50 -0700)]
CI: Add SonarCloud scan GHA workflow

Change-Id: I367369808e902701721fe0157e939dc51947be91
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
7 weeks agoCI: Migrate tox verify from Jenkins to GHA 14/12714/1
Jessica Wagantall [Wed, 10 Apr 2024 21:38:44 +0000 (14:38 -0700)]
CI: Migrate tox verify from Jenkins to GHA

Change-Id: I641e0710b869009a50fde169e3452beaaca0672d
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
3 months agoRedo Bump up patch version 2.0.4 82/12582/1
Zhang Rong(Jon) [Fri, 1 Mar 2024 06:03:10 +0000 (14:03 +0800)]
Redo Bump up patch version 2.0.4

Since the issue INF-444 fixed and the image 2.0.3 release
bump up patch version to 2.0.4

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I9ca6d10156fb1c4665343adbc32b93abe02af57a

3 months agoRedo release the 2.0.3 image 78/12578/3
Zhang Rong(Jon) [Wed, 28 Feb 2024 03:13:59 +0000 (11:13 +0800)]
Redo release the 2.0.3 image

After fixing the 2.0.3 image pull failure.
This commit will redo the release of the 2.0.3 image.

Test Plan:

PASS - docker pull the 2.0.3 image successfully.

Issue-ID: INF-444
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I57e62190574a71b92ce36f13fd2390284af6770c

3 months agoFix the 2.0.3 version image pull failed 81/12581/1
Zhang Rong(Jon) [Fri, 1 Mar 2024 02:28:11 +0000 (10:28 +0800)]
Fix the 2.0.3 version image pull failed

This commit will fix the image 2.0.3 pull failed.
It will roll back the patch version of the master branch
to 2.0.3, then make the ci recreate the image 2.0.3

Issue-ID: INF-444
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I77067010da808358fb46057cd36694179b316d34

3 months agoCI: Add non voting tox verify GHA workflow call 32/12532/1
Jessica Wagantall [Wed, 14 Feb 2024 18:09:11 +0000 (10:09 -0800)]
CI: Add non voting tox verify GHA workflow call

This GitHub Action workflow call will replace tox-verify in
Jenkins.
This is added as a non-voting workflow for now until we confirm
it works as expected.

Change-Id: I88e119a2769466ac0153f31abef3b9aa160f0f16
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
3 months agoUpdated distcloud for subcloud region_name changes 98/12498/3
jkraitbewr [Thu, 1 Feb 2024 15:16:16 +0000 (10:16 -0500)]
Updated distcloud for subcloud region_name changes

There has been a breaking change in the distcloud package.

In the O2 code it's assumed the subcloud_name == subcloud_region_name.
This is no longer true or the default.

TEST PLAN
PASS: Run docker-compose unit testing
PASS: Run compliance and quality robot tests, with mock SMO
* Deploy oran-o2 application on StarlingX system controller (stx9)
* Update/apply override for dev image
* Ensure O2 pod is running using correct image

Issue-ID: INF-439
Signed-off-by: jkraitbewr <joshua.kraitberg@windriver.com>
Change-Id: If4dc8d9d30ef24d6b93cfe436eb332760432c9a1

3 months agoMerge "Updated python version and flake8 in tox"
Jon Zhang [Tue, 6 Feb 2024 08:51:23 +0000 (08:51 +0000)]
Merge "Updated python version and flake8 in tox"

3 months agoUpdated python version and flake8 in tox 99/12499/1
jkraitbewr [Thu, 1 Feb 2024 16:44:29 +0000 (11:44 -0500)]
Updated python version and flake8 in tox

The Jenkins job no longer supports Python3.8.

Flake8 was also using an old version that doesn't work on Python3.11+.

TEST PLAN:
* Run tox

Issue-ID: INF-440
Signed-off-by: jkraitbewr <joshua.kraitberg@windriver.com>
Change-Id: I419608082b21e06bb3840e6265ab4757fba33299

4 months agoBump up patch version 2.0.4 48/12448/1
Zhang Rong(Jon) [Fri, 19 Jan 2024 06:23:37 +0000 (14:23 +0800)]
Bump up patch version 2.0.4

Since the image 2.0.3 release, bump up patch version to 2.0.4

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ib68c15106bdfe949266237b763a440bc661d3f29

4 months agoRelease pti-o2imsdms 2.0.3 image 47/12447/1
Zhang Rong(Jon) [Fri, 19 Jan 2024 06:20:19 +0000 (14:20 +0800)]
Release pti-o2imsdms 2.0.3 image

Release the 2.0.3 image for the I-release

Change-Id: I71d3598b06c1d3d72095ad4c8d64acdbfff264ac
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
5 months agoMerge "Updated base image plus Python to 3.11"
Jon Zhang [Wed, 20 Dec 2023 01:11:50 +0000 (01:11 +0000)]
Merge "Updated base image plus Python to 3.11"

5 months agoMerge "Docs: update the container image version of the example"
Jon Zhang [Tue, 19 Dec 2023 07:40:11 +0000 (07:40 +0000)]
Merge "Docs: update the container image version of the example"

5 months agoDocs: update the container image version of the example 96/12396/1
Zhang Rong(Jon) [Tue, 19 Dec 2023 07:29:20 +0000 (15:29 +0800)]
Docs: update the container image version of the example

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I12127979b3a7121f1da2ec561716c0aa4bf21130

5 months agoMerge "CI: Update RTD configuration file"
Jackie Huang [Tue, 19 Dec 2023 07:19:15 +0000 (07:19 +0000)]
Merge "CI: Update RTD configuration file"

5 months agoRevert "readthedocs: fix the build.os" 04/12104/1
Jon Zhang [Tue, 19 Dec 2023 07:11:42 +0000 (07:11 +0000)]
Revert "readthedocs: fix the build.os"

This reverts commit 86db9168e24365b8975dbadca8f3f2c63eefd31f.

Reason for revert: Same commit created

Change-Id: I34eddeb3352e2b79ef8cf932c43cd5da5dd44f06
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
5 months agoreadthedocs: fix the build.os 94/12394/1
Zhang Rong(Jon) [Tue, 19 Dec 2023 06:11:24 +0000 (14:11 +0800)]
readthedocs: fix the build.os

Set build.os to ubuntu-22.04 to fix the config issue:

```
Invalid configuration option "build.os": expected one of (ubuntu-20.04,
ubuntu-22.04), got latest
```
Issue-ID: INF-438

Change-Id: I564f366c68e427e6a67bf3312c4cd446d27deddb
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
5 months agoUpdate docs for I release 93/12393/1
Zhang Rong(Jon) [Tue, 19 Dec 2023 02:41:30 +0000 (10:41 +0800)]
Update docs for I release

Change-Id: I49325596db3d084ef0d388459aefa9187f366310
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
5 months agoCI: Update RTD configuration file 48/12348/1
Anil Belur [Fri, 15 Dec 2023 23:30:37 +0000 (09:30 +1000)]
CI: Update RTD configuration file

RTD has finished their switch requiring version 2 of their
configuration file and we must now update to work with it.

Ref:
https://blog.readthedocs.com/use-build-os-config/

Change-Id: Ib864926fd90a1f6e57aaddcfb2b7f9dfad6ab6d8
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 months agoUpdated base image plus Python to 3.11 99/12199/1
jkraitbewr [Fri, 8 Dec 2023 17:34:05 +0000 (12:34 -0500)]
Updated base image plus Python to 3.11

The base image has been updated.  As part of the base image update the
Python version has changed from 3.10 to 3.11.

See base image changes here: https://git.onap.org/integration/docker/onap-python/commit/?h=12.0.0&id=b5ccfd6b07b0b14dc738030c7f33ee242f1724b7

Additionally, the pip requirements had to be updated because of issues
as noted by the comments.  Some config values also needed to be
updated because they no longer worked inside of docker-compose.

TEST PLAN
PASS: Run docker-compose unit testing
PASS: Run compliance and quality robot tests, with mock SMO
* Deploy oran-o2 application on StarlingX system controller (stx8)
* Update/apply override for dev image
* Ensure O2 pod is running using correct image

Issue-ID: INF-437
Signed-off-by: jkraitbewr <joshua.kraitberg@windriver.com>
Change-Id: I321fe76fcf6f1617ca93bad88d3ea8984e877616

9 months agoDoc: update the readthedocs.yaml 15/11715/2
Zhang Rong(Jon) [Fri, 1 Sep 2023 02:54:15 +0000 (10:54 +0800)]
Doc: update the readthedocs.yaml

ReadtheDocs has few deprecations coming up which will affect
the o2 repo

Use build.os instead of build.image

Issue-ID: INF-429
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ib155a877d39d25bbe6f7f6649689763ef4b21332

11 months agoBump up patch version 2.0.3 25/11425/1
Zhang Rong(Jon) [Sat, 17 Jun 2023 02:46:21 +0000 (10:46 +0800)]
Bump up patch version 2.0.3

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I566e01c0ba85714c96fb1836df46e95544631d4c

11 months agoRelease pti-o2imsdms 2.0.2 image 04/11404/1
Zhang Rong(Jon) [Sat, 17 Jun 2023 02:38:07 +0000 (10:38 +0800)]
Release pti-o2imsdms 2.0.2 image

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ica95a8ea0da722e3a37301fe7e90c4473c3ec53b

11 months agoBump up patch version 2.0.2 00/11400/1 2.0.2
Zhang Rong(Jon) [Fri, 16 Jun 2023 08:21:49 +0000 (16:21 +0800)]
Bump up patch version 2.0.2

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ib493d588ca75bb06c096b10ae1057669c67bd5f3

11 months agoRelease pti-o2imsdms 2.0.1 image 99/11399/1
Zhang Rong(Jon) [Fri, 16 Jun 2023 08:10:40 +0000 (16:10 +0800)]
Release pti-o2imsdms 2.0.1 image

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I130df31e4b7ef0ba7faee4815851ae441f5386c3

11 months agoDocs: update the h-release notes and the API docs 98/11398/3
Zhang Rong(Jon) [Fri, 16 Jun 2023 06:32:21 +0000 (14:32 +0800)]
Docs: update the h-release notes and the API docs

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I5400dffcc308a9b4523d5332281d712d555d250b

11 months agoINF-417 InfrastructureInventoryObject implemented 25/11325/1
Zhang Rong(Jon) [Tue, 13 Jun 2023 08:41:23 +0000 (16:41 +0800)]
INF-417 InfrastructureInventoryObject implemented

Issue-ID: INF-417
Change-Id: I722bf7ca509ed32e317a6247c1339c3a87a0e8cd
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
12 months agoFix the filter of the notifications not correct when the objectType not specific... 14/11214/1
Zhang Rong(Jon) [Wed, 24 May 2023 15:27:33 +0000 (23:27 +0800)]
Fix the filter of the notifications not correct when the objectType not specific filter

Issue-ID: INF-422
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I98755a1507acf764c51f5f72303f57d8183263e6

12 months agoFix the wrong format of registration and subscription with SMO 97/11197/1
Zhang Rong(Jon) [Wed, 24 May 2023 07:23:03 +0000 (15:23 +0800)]
Fix the wrong format of registration and subscription with SMO

It should be JSON, not string

Issue-ID: INF-419
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I22873f03161dc1f86f0fc707ae3d3080e696bbb5

12 months agoAdd oAuth2 for subscription and registration with SMO 87/11187/1
Zhang Rong(Jon) [Mon, 22 May 2023 14:30:09 +0000 (22:30 +0800)]
Add oAuth2 for subscription and registration with SMO

Issue-ID: INF-412
Change-Id: I3190b40b919d3f968f7a57b4b833c1f783d2a93c
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
12 months agoFix the query DMS details with fields 19/11119/1
Zhang Rong(Jon) [Wed, 17 May 2023 01:45:56 +0000 (09:45 +0800)]
Fix the query DMS details with fields

Issue-ID: INF-399
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Iaf194bde82409de734e9be2d22454741ddf724e8

12 months agoFix INF-394 issue with Distrbuited cloud 93/11093/1
Zhang Rong(Jon) [Mon, 15 May 2023 01:38:15 +0000 (09:38 +0800)]
Fix INF-394 issue with Distrbuited cloud

Issue-ID: INF-394
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I7e2665183758bd4f7c4ff43b1b7ba2643856f036

12 months agoMerge "Fix distributed cloud sync the wrong label cloud; update the werkzeug version"
Jackie Huang [Wed, 10 May 2023 12:55:53 +0000 (12:55 +0000)]
Merge "Fix distributed cloud sync the wrong label cloud; update the werkzeug version"

12 months agoFix distributed cloud sync the wrong label cloud; update the werkzeug version 72/11072/1
Zhang Rong(Jon) [Wed, 10 May 2023 10:17:39 +0000 (18:17 +0800)]
Fix distributed cloud sync the wrong label cloud; update the werkzeug version

Since the werkzeug fixed the issue, upgrade to latest version

Issue-ID: INF-397
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I3d2affd67876a14473e9094d59276c6d960b836f

12 months agoMerge "Fix SqlAlchemy version upgrade issue"
Jon Zhang [Tue, 9 May 2023 12:35:12 +0000 (12:35 +0000)]
Merge "Fix SqlAlchemy version upgrade issue"

12 months agoMerge "Add capabilities of the DMS query"
Jackie Huang [Tue, 9 May 2023 09:25:29 +0000 (09:25 +0000)]
Merge "Add capabilities of the DMS query"

12 months agoFix SqlAlchemy version upgrade issue 54/11054/1
Zhang Rong(Jon) [Tue, 9 May 2023 08:13:18 +0000 (16:13 +0800)]
Fix SqlAlchemy version upgrade issue

Issue-ID: INF-398
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I2dd03dfdb3565ad7a8c2535c38836c7dc173af34

12 months agoAdd capabilities of the DMS query 52/11052/1
Zhang Rong(Jon) [Mon, 8 May 2023 13:08:24 +0000 (21:08 +0800)]
Add capabilities of the DMS query

Issue-ID: INF-397
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ic5a40bbd25e38f19384dce443a55515a441a9618

14 months agoAdd template support for pod labels and annotations 88/10788/2 2.0.1
Joshua Kraitberg [Mon, 27 Mar 2023 19:39:22 +0000 (15:39 -0400)]
Add template support for pod labels and annotations

Pod labels on the deployment are required for
integration in StarlingX.

TEST PLAN
PASS: Chart can be deployed with new values present
1. Create test-values.yaml with podAnnotations/podLabels filled
e.g.
```yaml
---
podLabels:
  app.starlingx.io/component: platform
```
2. cd into charts directory
3. Run: helm install --create-namespace -n oran-o2 \
          -f values.yaml -f test-values.yaml oran-o2 .
4. Confirm workload pods contain the annotation/labels in test-values

Issue-ID: INF-395
Signed-off-by: Joshua Kraitberg <joshua.kraitberg@windriver.com>
Change-Id: Ib3e44eb7e0f1ab707f50615be30d16e33b0c8af8

14 months agoMerge "Fix INF-394 change the oCloud name will create a new deployment manager item"
Bin Yang [Thu, 9 Mar 2023 11:54:20 +0000 (11:54 +0000)]
Merge "Fix INF-394 change the oCloud name will create a new deployment manager item"

15 months agoUpdate the user guide and script about performance test 18/10518/1
Zhang Rong(Jon) [Wed, 22 Feb 2023 03:48:06 +0000 (11:48 +0800)]
Update the user guide and script about performance test

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Iba6e7de4840353f25aa92599c905050134973284

15 months agoFix INF-394 change the oCloud name will create a new deployment manager item 68/10368/1
Zhang Rong(Jon) [Thu, 2 Feb 2023 13:22:17 +0000 (21:22 +0800)]
Fix INF-394 change the oCloud name will create a new deployment manager item

Issue-ID: INF-394
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ia7f7aac777193fc948523ac57cc09a595b38572d

16 months agoFix INF-393 serviceUri in the DMS list query and detail query have different response 79/10279/1
Zhang Rong(Jon) [Tue, 17 Jan 2023 07:54:02 +0000 (15:54 +0800)]
Fix INF-393 serviceUri in the DMS list query and detail query have different response

Issue-ID: INF-393
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I5a25412dfdb7b9c8e52157dda4c5627eb329eaec

16 months agoDocs: update release notes installation guide of G release 17/10217/7
Zhang Rong(Jon) [Thu, 29 Dec 2022 09:53:29 +0000 (17:53 +0800)]
Docs: update release notes installation guide of G release

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Idac1d1e94e2c7fb24814d091a0b80de911f0c316

17 months agoMerge "Docs: Update all API docs with example"
Bin Yang [Sat, 31 Dec 2022 07:37:48 +0000 (07:37 +0000)]
Merge "Docs: Update all API docs with example"

17 months agoDocs: Update all API docs with example 19/10219/1
Zhang Rong(Jon) [Sat, 31 Dec 2022 04:23:35 +0000 (12:23 +0800)]
Docs: Update all API docs with example

Issue-ID: INF-387
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I96c0b4fb9a27dbe638a747e4800a7f27b22b8399

17 months agoMerge "Docs: update API example of O-Cloud and resourcePool"
Bin Yang [Thu, 29 Dec 2022 09:21:11 +0000 (09:21 +0000)]
Merge "Docs: update API example of O-Cloud and resourcePool"

17 months agoDocs: update API example of O-Cloud and resourcePool 15/10215/2
Zhang Rong(Jon) [Thu, 29 Dec 2022 08:26:13 +0000 (16:26 +0800)]
Docs: update API example of O-Cloud and resourcePool

Issue-ID: INF-387
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: If241c481a593a93a1d1fd00aaba7b17ad4ccc0e7

17 months agoMerge "Fix api.rst missing; Update the API name in the swagger; Update user guide"
Bin Yang [Mon, 19 Dec 2022 01:24:38 +0000 (01:24 +0000)]
Merge "Fix api.rst missing; Update the API name in the swagger; Update user guide"

17 months agoFix api.rst missing; Update the API name in the swagger; Update user 77/10177/3
Zhang Rong(Jon) [Fri, 16 Dec 2022 09:28:34 +0000 (17:28 +0800)]
Fix api.rst missing; Update the API name in the swagger; Update user
guide

Issue-ID: INF-387
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I8c560305b67232dfaac4fd47509bb3076b8a76c6

17 months agoMerge "Update the API docs with swagger"
Bin Yang [Mon, 12 Dec 2022 07:48:06 +0000 (07:48 +0000)]
Merge "Update the API docs with swagger"

17 months agoUpdate the API docs with swagger 51/10051/7
Zhang Rong(Jon) [Sun, 11 Dec 2022 05:04:01 +0000 (13:04 +0800)]
Update the API docs with swagger

Issue-ID: INF-387
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I312f8d681ce161e6acc858638e8519cef9ec2543

17 months agoBump up patch version 2.0.1 35/9935/1
Bin Yang [Mon, 5 Dec 2022 01:05:57 +0000 (09:05 +0800)]
Bump up patch version 2.0.1

Issue-ID: INF-385

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I2735aa217cc0815c2b6db7d74669dabd58af7e1f

18 months agoRelease pti-o2imsdms 2.0.0 image 78/9878/3 2.0.0 2.0.0-rc4
Bin Yang [Wed, 30 Nov 2022 14:40:19 +0000 (22:40 +0800)]
Release pti-o2imsdms 2.0.0 image

nexus3.o-ran-sc.org:10002/o-ran-sc/pti-o2imsdms:2.0.0

Issue-ID: INF-385

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I4c946093ff48fff6d600771a94b1efeaf80f7b6c

18 months agoMerge "Fix the new base image to support helm cli ssh login"
Bin Yang [Thu, 1 Dec 2022 10:31:06 +0000 (10:31 +0000)]
Merge "Fix the new base image to support helm cli ssh login"

18 months agoFix the new base image to support helm cli ssh login 90/9890/2
Zhang Rong(Jon) [Thu, 1 Dec 2022 09:52:19 +0000 (17:52 +0800)]
Fix the new base image to support helm cli ssh login

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Iafe4120bd5ef05210930f78144754a5da17ed633

18 months agoFix error route response 87/9887/1
Bin Yang [Thu, 1 Dec 2022 04:38:33 +0000 (12:38 +0800)]
Fix error route response

Issue-ID: INF-386

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: Iad962f6c46394859134e22cfaa21c0868d951b01

18 months agoFix inventory subscription filter with 'neq'; fix CloudInfo notification 73/9873/4
Zhang Rong(Jon) [Wed, 30 Nov 2022 07:18:08 +0000 (15:18 +0800)]
Fix inventory subscription filter with 'neq'; fix CloudInfo notification

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ib62345109abb296878348f0a32e3daba924babf7

18 months agoFix priorObjectState and postObjectState to string type; fix only objectType in filte... 68/9868/1
Zhang Rong(Jon) [Tue, 29 Nov 2022 14:03:33 +0000 (22:03 +0800)]
Fix priorObjectState and postObjectState to string type; fix only objectType in filter; fix logger level

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I52f7440061810fc08d4bd4730a816684925537c6

18 months agoFix INF-328 and INF-373 the resource change and update issue 54/9754/8
Zhang Rong(Jon) [Tue, 22 Nov 2022 13:27:11 +0000 (21:27 +0800)]
Fix INF-328 and INF-373 the resource change and update issue

Issue-ID: INF-328
Issue-ID: INF-373
Issue-ID: INF-374
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I579585e0b5be9129d3921d77025aa7c4f898f83c

18 months agoMerge "Fix INF-378 inventory subscription filter upgrade"
Bin Yang [Tue, 29 Nov 2022 06:22:48 +0000 (06:22 +0000)]
Merge "Fix INF-378 inventory subscription filter upgrade"

18 months agoFix INF-378 inventory subscription filter upgrade 48/9848/3
Zhang Rong(Jon) [Mon, 28 Nov 2022 14:49:42 +0000 (22:49 +0800)]
Fix INF-378 inventory subscription filter upgrade

Issue-ID: INF-378
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I66bdc2ee8c72ba5ce2552acef412e71554409d1a

18 months agoMerge "Fix INF-371 inventoryChange notification of the resourceType, resourcePool...
Bin Yang [Mon, 28 Nov 2022 03:58:19 +0000 (03:58 +0000)]
Merge "Fix INF-371 inventoryChange notification of the resourceType, resourcePool, Dms"

18 months agoFix INF-371 inventoryChange notification of the resourceType, resourcePool, Dms 43/9843/2
Zhang Rong(Jon) [Sat, 26 Nov 2022 15:49:54 +0000 (23:49 +0800)]
Fix INF-371 inventoryChange notification of the resourceType, resourcePool, Dms

Issue-ID: INF-371
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I3b6fee5a433359503660b5d784af11e948fb4916

18 months agoUpdate package description 33/9833/2
Bin Yang [Fri, 25 Nov 2022 13:07:57 +0000 (21:07 +0800)]
Update package description

Issue-ID: INF-384

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: Ied0326921803be7d1a8b6bb576b1e4f2a8662638

18 months agoMerge "Fix INF-383 refactor to enrich alarmEventRecord with extension field"
Bin Yang [Fri, 25 Nov 2022 10:30:43 +0000 (10:30 +0000)]
Merge "Fix INF-383 refactor to enrich alarmEventRecord with extension field"

18 months agoFix INF-383 refactor to enrich alarmEventRecord with extension field 25/9825/1
Zhang Rong(Jon) [Fri, 25 Nov 2022 10:23:55 +0000 (18:23 +0800)]
Fix INF-383 refactor to enrich alarmEventRecord with extension field

Issue-ID: INF-383
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ic58afa0bad1db3aa66d0afb16d471a8c085ae9ab

18 months agoFix python hash random seed issue 80/9780/1
Bin Yang [Fri, 25 Nov 2022 03:07:11 +0000 (11:07 +0800)]
Fix python hash random seed issue

Issue-ID: INF-379

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I292a3c94290bd109e4f75720bd63784f337d2404

18 months agoFix INF-381 another issue cause this case still failed 76/9776/1 2.0.0-rc3 2.0.0_g39e022d7
Zhang Rong(Jon) [Thu, 24 Nov 2022 14:19:55 +0000 (22:19 +0800)]
Fix INF-381 another issue cause this case still failed

The resource list method of the repository cause this issue still exist

Issue-ID: INF-381
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: If4c7d60a497c6a01119a711d44584f0da3c75358

18 months agoFix INF-381 alarm watcher failed to audit alarm 71/9771/1
Zhang Rong(Jon) [Thu, 24 Nov 2022 06:39:06 +0000 (14:39 +0800)]
Fix INF-381 alarm watcher failed to audit alarm

Issue-ID: INF-381
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ie1e1ce8f2b3e4d7cda0c9024b909efda378725ce

18 months agoFix INF-371 and INF-372 notification post data does not comply to spec 70/9770/2
Zhang Rong(Jon) [Thu, 24 Nov 2022 01:43:42 +0000 (09:43 +0800)]
Fix INF-371 and INF-372 notification post data does not comply to spec

Issue-ID: INF-371
Issue-ID: INF-372
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ibdab721bd784471471cd24f84fa052ec326d6373

18 months agoWrap all exception with ProblemDetail in json object 60/9760/1
Bin Yang [Wed, 23 Nov 2022 09:31:51 +0000 (17:31 +0800)]
Wrap all exception with ProblemDetail in json object

Issue-ID: INF-376

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I3f8ed081c5896eedda311f00e5a57e7ccf461a56