pti/o2.git
15 months agoDocs: update release notes installation guide of G release 47/10247/1 g-release
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
(cherry picked from commit 4e703c00f2f1a64d921646de001e2dfde392bbdf)

16 months agoDocs: Update all API docs with example 46/10246/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
(cherry picked from commit 78b9ca23e5bdec562703ed3e54f07e08eac1ec21)

16 months agoDocs: update API example of O-Cloud and resourcePool 45/10245/1
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
(cherry picked from commit 78c1042379421afb07863f0459ab76bf7edf934b)

16 months agoFix api.rst missing; Update the API name in the swagger; Update user 17/9917/1
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
(cherry picked from commit 5795d999023312c80e2bfd7218275cf485a0173e)

16 months agoUpdate the API docs with swagger 09/9909/1
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
(cherry picked from commit 48e72104985c9af63c778e79afb72e1b42a2e4de)

17 months agoBump up patch version 2.0.1 46/9946/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 45/9945/1
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 agoFix the new base image to support helm cli ssh login 44/9944/1
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 43/9943/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 42/9942/1
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... 41/9941/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 40/9940/1
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 agoFix INF-378 inventory subscription filter upgrade 39/9939/1
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 agoFix INF-371 inventoryChange notification of the resourceType, resourcePool, Dms 38/9938/1
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 37/9937/1
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 agoFix INF-383 refactor to enrich alarmEventRecord with extension field 36/9936/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 24/9824/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 23/9823/1
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 22/9822/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 21/9821/1
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 20/9820/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 agoFix INF-378 inventory subscription filter not take effect as expected 19/9819/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. 18/9818/1
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 17/9817/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 16/9816/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 15/9815/1
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. 14/9814/1
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 13/9813/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 12/9812/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 agoFix INF-344 resourceType fields on alarmDictionary 11/9811/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 10/9810/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 09/9809/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 agoAdd the alarm_dto missing fields to compliance check. 08/9808/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 07/9807/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 06/9806/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 agoFix the resource request handling with wrong resourcepoolId 05/9805/1
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 04/9804/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 agoUpdate accelerator resource 03/9803/1
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 agoFix INF-359 and INF-352 about the alarm event record 02/9802/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 agoRevert to root user 01/9801/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 00/9800/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 agoFix INF-352 Add aggregate resource types 99/9799/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 98/9798/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 97/9797/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 agoFix hostname issue 96/9796/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 95/9795/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 agoMake the auth error in ProblemDetails. 94/9794/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

17 months agoFix the watcher not add the host resource in subcloud 93/9793/1
Zhang Rong(Jon) [Sun, 13 Nov 2022 13:07:00 +0000 (21:07 +0800)]
Fix the watcher not add the host resource in subcloud

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

17 months agoFix regex expression bug 92/9792/1
Zhang Rong(Jon) [Fri, 11 Nov 2022 10:48:59 +0000 (18:48 +0800)]
Fix regex expression bug

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

17 months agoFix INF-353 fail to check duplication during creating Inventory change subscription 91/9791/1
Zhang Rong(Jon) [Fri, 11 Nov 2022 07:37:36 +0000 (15:37 +0800)]
Fix INF-353 fail to check duplication during creating Inventory change subscription

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

17 months agoFix INF-349 and INF-350 duplication check of post data 90/9790/1
Zhang Rong(Jon) [Thu, 10 Nov 2022 05:18:52 +0000 (13:18 +0800)]
Fix INF-349 and INF-350 duplication check of post data

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

17 months agoFix INF-342 refactor deploymentManager profile data 89/9789/1
Zhang Rong(Jon) [Thu, 10 Nov 2022 08:01:50 +0000 (16:01 +0800)]
Fix INF-342 refactor deploymentManager profile data

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

17 months agoFix INF-351 ocloud serviceUri is wrong about protocol 88/9788/1
Zhang Rong(Jon) [Thu, 10 Nov 2022 08:48:53 +0000 (16:48 +0800)]
Fix INF-351 ocloud serviceUri is wrong about protocol

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

17 months agoFix INF-346 and INF-347 subscription filter 87/9787/1
Zhang Rong(Jon) [Wed, 9 Nov 2022 12:39:02 +0000 (20:39 +0800)]
Fix INF-346 and INF-347 subscription filter

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

17 months agoFix INF-343 ocloud serviceUri should be apiRoot only 86/9786/1
Zhang Rong(Jon) [Tue, 8 Nov 2022 09:06:03 +0000 (17:06 +0800)]
Fix INF-343 ocloud serviceUri should be apiRoot only

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

17 months agoImprove the ssl connection handle log message. 85/9785/1
dliu5 [Tue, 8 Nov 2022 05:41:38 +0000 (13:41 +0800)]
Improve the ssl connection handle log message.
Fix auth header exception handling to avoid 500.

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

17 months agoReduce image footprint 84/9784/1
Bin Yang [Mon, 7 Nov 2022 06:51:20 +0000 (14:51 +0800)]
Reduce image footprint

Issue-ID: INF-335

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

17 months agoFix INF-341 refactor name of resource pool to region id 19/9519/1
Zhang Rong(Jon) [Tue, 8 Nov 2022 07:22:46 +0000 (15:22 +0800)]
Fix INF-341 refactor name of resource pool to region id

Issue-ID: INF-341
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I78c92df96a93e69e0fe1c359f434b1d4715e8d83
(cherry picked from commit a425b1b3426dd9a3bca6ba07506e5f21c27c3822)

17 months agoFix INF-339 resource pool list does not match the DC status 18/9518/1
Zhang Rong(Jon) [Tue, 8 Nov 2022 06:03:16 +0000 (14:03 +0800)]
Fix INF-339 resource pool list does not match the DC status

Issue-ID: INF-339
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ia8d3f255cd669108b9c0b3622230d3f3336b949d
(cherry picked from commit df795c526aff71a64c5709f5ec3d8adc0ce5b3f0)

17 months agoFix deploymentManager profiles not set in conf file 17/9517/1
Zhang Rong(Jon) [Tue, 8 Nov 2022 01:41:02 +0000 (09:41 +0800)]
Fix deploymentManager profiles not set in conf file

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ice973c45bb86a102b9fe90661512cdc2c4b06fb9
(cherry picked from commit b163536727699c1ec3b0d12d8132c62c58523ab4)

17 months agoAdd exception handling for api side with trace log and 16/9516/1
dliu5 [Mon, 7 Nov 2022 10:28:17 +0000 (18:28 +0800)]
Add exception handling for api side with trace log and
With internal error to indicate to client.

Signed-off-by: dliu5 <david.liu@windriver.com>
Change-Id: I234ec021930c0e73f2725562d8273a7b581faa1a
(cherry picked from commit 102f6523af2b9490181be8aca42af7696269e2eb)

17 months agocharts: fix the images format 15/9515/1
Jackie Huang [Mon, 7 Nov 2022 12:01:49 +0000 (20:01 +0800)]
charts: fix the images format

The supported multiple image formats in starlingx app:
images:
   tags: <dict>

And for the image on dockerhub, it should be started
with docker.io:
  - docker.io/library/postgres:9.6
  - docker.io/library/redis:alpine

Rename the image tags.

Issue-ID: INF-336

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I82c6843c569a691de7c02d7ba9ad1705253e1bf7
(cherry picked from commit 87c0ebc0024b9da0ef2f5c0cfa642fdcde6eba02)

17 months agocharts: add supprot to pull images from private registry 14/9514/1
Jackie Huang [Mon, 7 Nov 2022 01:48:13 +0000 (09:48 +0800)]
charts: add supprot to pull images from  private registry

* Set all images in values.yaml so they can be overridden
  to pull from other private/public registry

* Set imagePullSecrets to be list to support for multible
  private registries, the one in default value is used for
  registry.local:9001 on StarlingX

* Change the default values for binaryData which can't be
  empty string, or it fails with:
  Error: unable to build kubernetes objects from release manifest: error
  validating "": error validating data: unknown object type "nil" in
  ConfigMap.binaryData.config.json

* docs: keep the o2 image name in local registry consistent
  with the upstream one:
  - nexus3.o-ran-sc.org:10004/o-ran-sc/pti-o2imsdms:2.0.0
  - registry.local:9001/o-ran-sc/pti-o2imsdms:2.0.0

Issue-ID: INF-336

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I125f9f01661cc4618bf1d81f4e0fc59d46bb9d99
(cherry picked from commit 14fc8de3f80b6e1ab1e8351017383e99628cb8e3)

17 months agoFix INF-331 the ocloud detail path allow to be empty 13/9513/1
Zhang Rong(Jon) [Mon, 7 Nov 2022 07:25:24 +0000 (15:25 +0800)]
Fix INF-331 the ocloud detail path allow to be empty

Issue-ID: INF-331
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ie8a477dc3148d827d4409135e7be096738767d33
(cherry picked from commit f31e251648b3b24c19fcdda8d6e44900aa2d9ad9)

17 months agoFix INF-332 and INF-333 that the response of the POST 12/9512/1
Zhang Rong(Jon) [Mon, 7 Nov 2022 06:31:43 +0000 (14:31 +0800)]
Fix INF-332 and INF-333 that the response of the POST

Issue-ID: INF-332
Issue-ID: INF-333
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I462c4ad58786bdfe93572ac291ea1d0302a7b258
(cherry picked from commit 2587e78199bbff4cf1b9bd9758edd66a92c0938b)

17 months agoAdd Accelerator resource watcher; fix bug of the alarm dictionary 11/9511/1
Zhang Rong(Jon) [Sun, 6 Nov 2022 15:28:49 +0000 (23:28 +0800)]
Add Accelerator resource watcher; fix bug of the alarm dictionary

Issue-ID: INF-325
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ib8a31aec10a323b56216662ad88df4b309c1b7eb
(cherry picked from commit 8ce7973df58d75f63dca57264d4934089a8629c5)

18 months agoChange notify handler to support https. 10/9510/2
dliu5 [Thu, 3 Nov 2022 10:02:09 +0000 (18:02 +0800)]
Change notify handler to support https.

Signed-off-by: dliu5 <david.liu@windriver.com>
Change-Id: I1e5df9732008906d35a5be4b2e2e521c9bafcbc2
(cherry picked from commit 40319d05058fea383ab50e8e9aa82832ae16f2ec)

18 months agoSet helm CLI container not start by default; Add PV for DB 09/9509/1
Zhang Rong(Jon) [Fri, 4 Nov 2022 03:18:49 +0000 (11:18 +0800)]
Set helm CLI container not start by default; Add PV for DB

Issue-ID: INF-308
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I9f866c52c03591c18064cce621c0f92525d43353
(cherry picked from commit 3bef88acd104bff9c4dc46d3ee55ef370dbe0d35)

18 months agoSupport register to smo with https/tls protocol. 08/9508/1
dliu5 [Tue, 1 Nov 2022 13:47:57 +0000 (21:47 +0800)]
Support register to smo with https/tls protocol.

Signed-off-by: dliu5 <david.liu@windriver.com>
Change-Id: I06b3d233b9f00f1b1e479838fb8611fb2566cc8a
(cherry picked from commit 5893fa9d751d3e00324b22dfbdea024722ab9272)

18 months agoUpdate DMS profile support list; bugfix of resource type duplicate 07/9507/1
Zhang Rong(Jon) [Thu, 3 Nov 2022 01:45:14 +0000 (09:45 +0800)]
Update DMS profile support list; bugfix of resource type duplicate

Issue-ID: INF-308
Issue-ID: INF-334
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I5ce206ec9003ce1040e953f3b9495982ee3e8b49
(cherry picked from commit d9000f0859a254f2c3c32f30ed71a143e731e2ff)

18 months agoAdd wrong attributes check on selector 06/9506/1
Zhang Rong(Jon) [Wed, 2 Nov 2022 05:27:24 +0000 (13:27 +0800)]
Add wrong attributes check on selector

Issue-ID: INF-302
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I98c96532100373465ab9e0f66a0a6577a1943a2a
(cherry picked from commit e491f4c2a7a762eba966c77ae14b9ad6859220cc)

18 months agoUpdate error handling; update selector; change delete response code to 200 05/9505/1
Zhang Rong(Jon) [Tue, 1 Nov 2022 13:18:06 +0000 (21:18 +0800)]
Update error handling; update selector; change delete response code to 200

Issue-ID: INF-302
Issue-ID: INF-300
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I0e7692fa5f2dd19907ddc75dc134e3500540720d
(cherry picked from commit 8a84a2ef10be51faf50b2880a3a94194d64459ba)

18 months agoMove environment configuration to the config file 04/9504/1
Zhang Rong(Jon) [Tue, 1 Nov 2022 03:30:23 +0000 (11:30 +0800)]
Move environment configuration to the config file

Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I1a009889dc78ef81a859c7755f7ec27c0b405da1
(cherry picked from commit eff417e84fdb8bea1b99b980267caea1006dbeaa)

18 months agoMerge "Add error handling for ocloud route"
Bin Yang [Tue, 1 Nov 2022 02:56:01 +0000 (02:56 +0000)]
Merge "Add error handling for ocloud route"

18 months agoAdd error handling for ocloud route 43/9443/1
Zhang Rong(Jon) [Mon, 31 Oct 2022 15:31:47 +0000 (23:31 +0800)]
Add error handling for ocloud route

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

18 months agoMerge "Rename ssl related files and variable names to make it more clear. Add SMO...
Bin Yang [Mon, 31 Oct 2022 13:29:08 +0000 (13:29 +0000)]
Merge "Rename ssl related files and variable names to make it more clear. Add SMO certificate variable and mount."

18 months agoRename ssl related files and variable names to make it more clear. 42/9442/2
dliu5 [Mon, 31 Oct 2022 06:24:04 +0000 (14:24 +0800)]
Rename ssl related files and variable names to make it more clear.
Add SMO certificate variable and mount.

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

18 months agoUpdate model of resourcetype and set empty for the gLocationId of the resourcepool... 35/9435/1
Zhang Rong(Jon) [Mon, 31 Oct 2022 08:17:18 +0000 (16:17 +0800)]
Update model of resourcetype and set empty for the gLocationId of the resourcepool;bug fix

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

18 months agoFix api_versions request failed issue, Add oCloudId in the DMS query 30/9430/3
Zhang Rong(Jon) [Sun, 30 Oct 2022 13:15:42 +0000 (21:15 +0800)]
Fix api_versions request failed issue, Add oCloudId in the DMS query

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

18 months agoAdd api_versions support; update model of ocloud, resourcepool, and resource 29/9429/2
Zhang Rong(Jon) [Fri, 28 Oct 2022 12:18:09 +0000 (20:18 +0800)]
Add api_versions support; update model of ocloud, resourcepool, and resource

Issue-ID: INF-301
Issue-ID: INF-306
Issue-ID: INF-311
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: I7a2cc626c87fc8c43fcbd1f750948c7f8d7aae52

18 months agoMerge "Update opMulti operations of the filter"
Bin Yang [Thu, 27 Oct 2022 13:57:14 +0000 (13:57 +0000)]
Merge "Update opMulti operations of the filter"

18 months agoUpdate opMulti operations of the filter 21/9421/3
Zhang Rong(Jon) [Thu, 27 Oct 2022 12:33:28 +0000 (20:33 +0800)]
Update opMulti operations of the filter

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

18 months agoFix configmap to inject arbitrary data with binaryData 19/9419/1
Bin Yang [Thu, 27 Oct 2022 10:48:13 +0000 (18:48 +0800)]
Fix configmap to inject arbitrary data with binaryData

binaryData takes base64 encoded string

Issue-ID: INF-322

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

18 months agoMerge "charts: rename orano2 to oran-o2"
Bin Yang [Thu, 27 Oct 2022 05:50:07 +0000 (05:50 +0000)]
Merge "charts: rename orano2 to oran-o2"

18 months agocharts: rename orano2 to oran-o2 06/9406/1
Jackie Huang [Wed, 26 Oct 2022 07:01:48 +0000 (15:01 +0800)]
charts: rename orano2 to oran-o2

Rename orano2 to oran-o2 for:
- chart name
- namespace
- service account

Issue-ID: INF-322

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ib41148f5a042b1fb2a53c47e570328d0d875ad04

18 months agoFix alarm subscription list query issue 04/9404/1
Zhang Rong(Jon) [Wed, 26 Oct 2022 13:29:23 +0000 (21:29 +0800)]
Fix alarm subscription list query issue

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

18 months agoAdd INF-320 support attribute-based filter 98/9398/3
Zhang Rong(Jon) [Wed, 26 Oct 2022 05:00:17 +0000 (13:00 +0800)]
Add INF-320 support attribute-based filter

Issue-ID: INF-320

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

18 months agoUpdate the ocloud available notification when registry Ocloud to SMO 94/9394/2
Zhang Rong(Jon) [Tue, 25 Oct 2022 12:07:55 +0000 (20:07 +0800)]
Update the ocloud available notification when registry Ocloud to SMO

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

18 months agocharts/values.yaml: add missing default values 92/9392/1
Jackie Huang [Tue, 25 Oct 2022 07:24:45 +0000 (15:24 +0800)]
charts/values.yaml: add missing default values

Add missing default values or it fails with "helm lint":
[ERROR] templates/: template: orano2/templates/serverkey_config.yaml:28:36: executing

Issue-ID: INF-321

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ic956785719c71cd738c0a3093c13d72f419b22ab

18 months agoMerge "Add payload to ditribute o2ims api token to smo side."
Bin Yang [Tue, 25 Oct 2022 04:13:11 +0000 (04:13 +0000)]
Merge "Add payload to ditribute o2ims api token to smo side."

18 months agoAdd payload to ditribute o2ims api token to smo side. 79/9379/3
dliu5 [Mon, 24 Oct 2022 07:34:12 +0000 (15:34 +0800)]
Add payload to ditribute o2ims api token to smo side.

The token is follow below rfc:

https://www.rfc-editor.org/rfc/rfc7519

Doc Ref:

https://jwt.io/introduction

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

18 months agoAdd fields selector for API with query parameters INF-300 88/9388/1
Zhang Rong(Jon) [Tue, 25 Oct 2022 03:01:55 +0000 (11:01 +0800)]
Add fields selector for API with query parameters INF-300

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

18 months agoChange the helm installation command option to 71/9371/2
dliu5 [Mon, 24 Oct 2022 03:36:45 +0000 (11:36 +0800)]
Change the helm installation command option to
compatible with wrcp.

Start up flask app with ssl configuration files.

INF-312.

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

18 months agoFix INF-319 failed to probe inventory resource 63/9363/1
Zhang Rong(Jon) [Mon, 24 Oct 2022 03:36:41 +0000 (11:36 +0800)]
Fix INF-319 failed to probe inventory resource

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

18 months agoFix the docker app config mount issue and installation 62/9362/1
dliu5 [Sat, 22 Oct 2022 02:45:22 +0000 (10:45 +0800)]
Fix the docker app config mount issue and installation
inconsistency

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

18 months agoFix Docker image and helm issue 61/9361/1
Bin Yang [Fri, 21 Oct 2022 15:36:11 +0000 (23:36 +0800)]
Fix Docker image and helm issue

Issue-ID: INF-317

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

18 months agoMerge "Add helm chart for ca and config files."
Bin Yang [Fri, 21 Oct 2022 14:11:58 +0000 (14:11 +0000)]
Merge "Add helm chart for ca and config files."

18 months agoAdd helm chart for ca and config files. 55/9355/2
dliu5 [Fri, 21 Oct 2022 06:17:20 +0000 (14:17 +0800)]
Add helm chart for ca and config files.

Change-Id: I21deaced6047cdee2c4a74399c39cd046356a7be
Signed-off-by: dliu5 <david.liu@windriver.com>
18 months agoAdd back secret with built-in user for o2 service 40/9340/1
Bin Yang [Fri, 21 Oct 2022 07:44:49 +0000 (15:44 +0800)]
Add back secret with built-in user for o2 service

Issue-ID: INF-317

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

18 months agoBump major version to 2 39/9339/1
Bin Yang [Fri, 21 Oct 2022 07:19:19 +0000 (15:19 +0800)]
Bump major version to 2

reflect the apiName changes from o2ims_infrastructureInventory to o2ims-infrastructureInventory, and adding a new apiName for o2ims-infrastructureMonitoring

Issue-ID: INF-318

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