pti/o2.git
19 months 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>
19 months 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"

19 months 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>
19 months 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>
19 months 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>
19 months 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"

19 months 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"

19 months 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>
19 months 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>
19 months 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>
21 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

21 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

21 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

21 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>
22 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

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

22 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

22 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

22 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>
23 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"

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

23 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

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

23 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>
23 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>
23 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>
23 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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"

2 years 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

2 years 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"

2 years 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"

2 years 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

2 years 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

2 years 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

2 years 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"

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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"

2 years 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

2 years 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"

2 years 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

2 years 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"

2 years 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

2 years 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"

2 years 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

3 years 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

3 years 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

3 years 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"

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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"

3 years 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

3 years 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"

3 years 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

3 years 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

3 years 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"

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years agoMerge "Fix INF-378 inventory subscription filter not take effect as expected"
Bin Yang [Wed, 23 Nov 2022 06:47:05 +0000 (06:47 +0000)]
Merge "Fix INF-378 inventory subscription filter not take effect as expected"

3 years agoFix INF-378 inventory subscription filter not take effect as expected 55/9755/1
Zhang Rong(Jon) [Wed, 23 Nov 2022 06:29:00 +0000 (14:29 +0800)]
Fix INF-378 inventory subscription filter not take effect as expected

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

3 years agoAdjust some debug level to make consistent. 53/9753/1 2.0.0-rc2
dliu5 [Tue, 22 Nov 2022 09:36:16 +0000 (17:36 +0800)]
Adjust some debug level to make consistent.

Fix bug if user auth_token still not valid or obtained.

Signed-off-by: dliu5 <david.liu@windriver.com>
Change-Id: I29495cb60be43a0b3ee03c2e580eb5e05d8c46e7

3 years agoFix INF-375 get default mask strip failed 48/9748/1
Zhang Rong(Jon) [Tue, 22 Nov 2022 06:49:48 +0000 (14:49 +0800)]
Fix INF-375 get default mask strip failed

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

3 years agoReplace webserver with gunicorn 46/9746/1
Bin Yang [Tue, 22 Nov 2022 04:20:04 +0000 (12:20 +0800)]
Replace webserver with gunicorn

Issue-ID: INF-368

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

3 years agoFix a string issue of the selector 44/9744/2
Zhang Rong(Jon) [Tue, 22 Nov 2022 04:07:25 +0000 (12:07 +0800)]
Fix a string issue of the selector

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

3 years agoFix the objref issue. 29/9729/3
dliu5 [Mon, 21 Nov 2022 13:24:26 +0000 (21:24 +0800)]
Fix the objref issue.

Issue-ID: INF-369
Issue-ID: INF-370

Signed-off-by: dliu5 <david.liu@windriver.com>
Change-Id: I608bb6e975f0b354160a8be73518837be8eab5d0

3 years agoFix INF-364 alarmEventRecord does not comply with spec 27/9727/1
Zhang Rong(Jon) [Mon, 21 Nov 2022 11:53:08 +0000 (19:53 +0800)]
Fix INF-364 alarmEventRecord does not comply with spec

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

3 years agoFix the alarmDictionary miss the accelerator type 24/9724/1
Zhang Rong(Jon) [Mon, 21 Nov 2022 07:52:03 +0000 (15:52 +0800)]
Fix the alarmDictionary miss the accelerator type

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

3 years agoMerge "Fix INF-344 resourceType fields on alarmDictionary"
Bin Yang [Fri, 18 Nov 2022 14:42:05 +0000 (14:42 +0000)]
Merge "Fix INF-344 resourceType fields on alarmDictionary"

3 years agoFix INF-344 resourceType fields on alarmDictionary 16/9716/1
Zhang Rong(Jon) [Fri, 18 Nov 2022 13:58:21 +0000 (21:58 +0800)]
Fix INF-344 resourceType fields on alarmDictionary

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

3 years agoFix logging level setting issue 07/9707/1
Bin Yang [Fri, 18 Nov 2022 04:11:16 +0000 (12:11 +0800)]
Fix logging level setting issue

Issue-ID: INF-366

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

3 years agoFix filter issue to support value with space 06/9706/1
Bin Yang [Fri, 18 Nov 2022 03:33:25 +0000 (11:33 +0800)]
Fix filter issue to support value with space

Issue-ID: INF-365

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

3 years agoMerge "Add the alarm_dto missing fields to compliance check."
Bin Yang [Thu, 17 Nov 2022 11:01:22 +0000 (11:01 +0000)]
Merge "Add the alarm_dto missing fields to compliance check."

3 years agoAdd the alarm_dto missing fields to compliance check. 85/9685/1
dliu5 [Thu, 17 Nov 2022 09:45:17 +0000 (17:45 +0800)]
Add the alarm_dto missing fields to compliance check.

Issue-ID: INF-364

Signed-off-by: dliu5 <david.liu@windriver.com>
Change-Id: I4bd9874f3fd59d289bca2f6013e87f2299369e8a

3 years agoUpdate resource detail of ethernet port 80/9680/1
Bin Yang [Thu, 17 Nov 2022 08:09:21 +0000 (16:09 +0800)]
Update resource detail of ethernet port

Issue-ID: INF-358

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

3 years agoUpdate resource details 77/9677/1
Bin Yang [Thu, 17 Nov 2022 07:16:32 +0000 (15:16 +0800)]
Update resource details

update pserver, cpu, interface, memory resource details

Issue-ID: INF-358

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

3 years agoMerge "Fix INF-356 DC client auth token is invalid"
Bin Yang [Thu, 17 Nov 2022 03:17:28 +0000 (03:17 +0000)]
Merge "Fix INF-356 DC client auth token is invalid"

3 years agoMerge "Fix the resource request handling with wrong resourcepoolId"
Bin Yang [Thu, 17 Nov 2022 03:17:04 +0000 (03:17 +0000)]
Merge "Fix the resource request handling with wrong resourcepoolId"

3 years agoFix the resource request handling with wrong resourcepoolId 65/9665/5
dliu5 [Wed, 16 Nov 2022 08:24:44 +0000 (16:24 +0800)]
Fix the resource request handling with wrong resourcepoolId

Issue-ID: INF-363

Signed-off-by: dliu5 <david.liu@windriver.com>
Change-Id: I94c20604a7265247645e295c8b714cdcb375b1b8