pti/o2.git
2 months agoRedo release the 2.0.3 image 77/12477/1 i-release
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
(cherry picked from commit f037dc6efe1d1bd68d2b01b229c15d5b6db00f9c)

2 months agoMerge "Updated distcloud for subcloud region_name changes" into i-release
Jon Zhang [Wed, 28 Feb 2024 03:03:32 +0000 (03:03 +0000)]
Merge "Updated distcloud for subcloud region_name changes" into i-release

2 months agoUpdated distcloud for subcloud region_name changes 76/12476/1
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
(cherry picked from commit 79323988bfb68d23a9d781843c0b73f3fa463809)

2 months agoUpdated python version and flake8 in tox 75/12475/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
(cherry picked from commit cd999dd33a2449fd8480fd641678360a749e5498)

3 months agoRelease pti-o2imsdms 2.0.3 image 65/12465/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>
(cherry picked from commit 183ad4ff2db7ce3546f39d9b3d31d8e693f79b76)

4 months agoUpdated base image plus Python to 3.11 13/12413/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
(cherry picked from commit aa40ec3a8805df28b1358136d5b3a092b4868ac7)

4 months agoCI: Update RTD configuration file 12/12412/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>
(cherry picked from commit 873ba513b6cd782b978b501da4434d6389b45796)

4 months agoDocs: update the container image version of the example 09/12409/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
(cherry picked from commit 648cbc83711f9005e6c9d5430575c2262e20d105)

4 months agoUpdate docs for I release 00/12100/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>
(cherry picked from commit 8f93049ba483dc5aec4aee9558c677faff181d34)

8 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

10 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

10 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

10 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

10 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

10 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

10 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>
11 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

11 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

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

11 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

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

11 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

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

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

11 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

11 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

13 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

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

14 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

15 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

15 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

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

16 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

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

16 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

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

16 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

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

16 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

17 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

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

17 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

17 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

17 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

17 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

17 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

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

17 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

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

17 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

17 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

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

17 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

17 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

17 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

17 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

17 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

17 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

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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

17 months 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

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

17 months 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

17 months 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

17 months 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

17 months 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."

17 months 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

17 months 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

17 months 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

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

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

17 months 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

17 months agoFix INF-356 DC client auth token is invalid 72/9672/1
Zhang Rong(Jon) [Thu, 17 Nov 2022 02:16:05 +0000 (10:16 +0800)]
Fix INF-356 DC client auth token is invalid

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

17 months agoMerge "Update accelerator resource"
Bin Yang [Thu, 17 Nov 2022 01:08:50 +0000 (01:08 +0000)]
Merge "Update accelerator resource"

17 months agoUpdate accelerator resource 67/9667/5
Bin Yang [Wed, 16 Nov 2022 11:21:59 +0000 (19:21 +0800)]
Update accelerator resource

enrich description field

Issue-ID: INF-358

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

17 months agoMerge "Fix INF-359 and INF-352 about the alarm event record"
Bin Yang [Thu, 17 Nov 2022 00:45:12 +0000 (00:45 +0000)]
Merge "Fix INF-359 and INF-352 about the alarm event record"

17 months agoFix INF-359 and INF-352 about the alarm event record 69/9669/1
Zhang Rong(Jon) [Wed, 16 Nov 2022 06:45:53 +0000 (14:45 +0800)]
Fix INF-359 and INF-352 about the alarm event record

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

17 months agoMerge "Fix INF-352 Add aggregate resource types"
Bin Yang [Tue, 15 Nov 2022 09:56:12 +0000 (09:56 +0000)]
Merge "Fix INF-352 Add aggregate resource types"

17 months agoRevert to root user 21/9621/1
Bin Yang [Tue, 15 Nov 2022 04:52:43 +0000 (12:52 +0800)]
Revert to root user

Issue-ID: INF-335

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

17 months agoFix hostname issue 19/9619/1
Bin Yang [Tue, 15 Nov 2022 04:30:11 +0000 (12:30 +0800)]
Fix hostname issue

deprecate ENV vars REDIS_HOST and DB_HOST and API_HOST

Issue-ID: INF-360

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

17 months agoRevert "Fix hostname issue" 18/9618/1
Bin Yang [Tue, 15 Nov 2022 03:59:47 +0000 (11:59 +0800)]
Revert "Fix hostname issue"

This reverts commit c6d1010ba670d6b01876ee3d46c8364ccc530c4a.

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

17 months agoFix INF-352 Add aggregate resource types 20/9620/1
Zhang Rong(Jon) [Tue, 15 Nov 2022 03:53:36 +0000 (11:53 +0800)]
Fix INF-352 Add aggregate resource types

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

17 months agoFix log issue 17/9617/1
Bin Yang [Tue, 15 Nov 2022 03:14:36 +0000 (11:14 +0800)]
Fix log issue

Issue-ID: INF-335

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

17 months agoFix port config issue 16/9616/1
Bin Yang [Tue, 15 Nov 2022 02:42:14 +0000 (10:42 +0800)]
Fix port config issue

Issue-ID: INF-360

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

17 months agoMerge "Fix hostname issue"
Jackie Huang [Tue, 15 Nov 2022 02:02:33 +0000 (02:02 +0000)]
Merge "Fix hostname issue"

17 months agoMerge "Fix INF-354 repeat delete same subscription should return 404"
Bin Yang [Tue, 15 Nov 2022 01:56:33 +0000 (01:56 +0000)]
Merge "Fix INF-354 repeat delete same subscription should return 404"

17 months agoMerge "Reduce image footprint"
Bin Yang [Tue, 15 Nov 2022 01:54:05 +0000 (01:54 +0000)]
Merge "Reduce image footprint"

17 months agoFix hostname issue 14/9614/1
Bin Yang [Tue, 15 Nov 2022 01:48:24 +0000 (09:48 +0800)]
Fix hostname issue

Issue-ID: INF-360

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

17 months agoFix INF-354 repeat delete same subscription should return 404 13/9613/1
Zhang Rong(Jon) [Mon, 14 Nov 2022 13:07:48 +0000 (21:07 +0800)]
Fix INF-354 repeat delete same subscription should return 404

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

17 months agoMerge "Make the auth error in ProblemDetails."
Bin Yang [Mon, 14 Nov 2022 10:36:21 +0000 (10:36 +0000)]
Merge "Make the auth error in ProblemDetails."

17 months agoMake the auth error in ProblemDetails. 05/9605/1
dliu5 [Mon, 14 Nov 2022 05:35:05 +0000 (13:35 +0800)]
Make the auth error in ProblemDetails.

Issue: INF-355

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