Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pkg): use mgmtPB.Owner to embed the owner information #523

Merged
merged 4 commits into from
Feb 23, 2024
Merged

Conversation

heiruwu
Copy link
Member

@heiruwu heiruwu commented Feb 23, 2024

Because

  • Originally, we used owner_name and owner (structpb) to embed owner information for Console. However, owner is a structpb, and it is not well-formatted. Since we already have dedicated messages for User and Organization, we should utilize these messages.

This commit

  • Utilizes mgmtPB.Owner to embed the owner information in pipeline and connector response when view != VIEW_BASIC.
  • Updates Connector and Operator packages.

Copy link

linear bot commented Feb 23, 2024

Copy link

codecov bot commented Feb 23, 2024

Codecov Report

Attention: Patch coverage is 0% with 24 lines in your changes are missing coverage. Please review.

Project coverage is 1.02%. Comparing base (20c6127) to head (0d01fab).

Files Patch % Lines
pkg/handler/create.go 0.00% 11 Missing ⚠️
pkg/service/service.go 0.00% 11 Missing ⚠️
pkg/handler/private.go 0.00% 1 Missing ⚠️
pkg/service/convert.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main    #523   +/-   ##
=====================================
  Coverage   1.01%   1.02%           
=====================================
  Files         15      15           
  Lines       5689    5676   -13     
=====================================
  Hits          58      58           
+ Misses      5623    5610   -13     
  Partials       8       8           
Flag Coverage Δ
unittests 1.02% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@heiruwu heiruwu merged commit 37d5708 into main Feb 23, 2024
10 checks passed
@heiruwu heiruwu deleted the INS-3756 branch February 23, 2024 08:09
heiruwu pushed a commit that referenced this pull request Feb 29, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.23.0-alpha](v0.22.0-alpha...v0.23.0-alpha)
(2024-02-28)


### Features

* **pkg:** use mgmtPB.Owner to embed the owner information
([#523](#523))
([37d5708](37d5708))


### Bug Fixes

* **handler,ray:** fix reconciliation model status and namespace
([#525](#525))
([62a30b6](62a30b6))
* **redis:** delete redis key when errored
([#526](#526))
([bb4e18d](bb4e18d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
heiruwu pushed a commit that referenced this pull request Mar 9, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.23.0-alpha](v0.22.0-alpha...v0.23.0-alpha)
(2024-03-09)


### Features

* **pkg:** use mgmtPB.Owner to embed the owner information
([#523](#523))
([37d5708](37d5708))


### Bug Fixes

* **handler,ray:** fix reconciliation model status and namespace
([#525](#525))
([62a30b6](62a30b6))
* **redis:** delete redis key when errored
([#526](#526))
([bb4e18d](bb4e18d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
heiruwu pushed a commit that referenced this pull request Mar 9, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.23.0-alpha](v0.22.0-alpha...v0.23.0-alpha)
(2024-03-09)


### Features

* **pkg:** use mgmtPB.Owner to embed the owner information
([#523](#523))
([37d5708](37d5708))


### Bug Fixes

* **handler,ray:** fix reconciliation model status and namespace
([#525](#525))
([62a30b6](62a30b6))
* **redis:** delete redis key when errored
([#526](#526))
([bb4e18d](bb4e18d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
heiruwu pushed a commit that referenced this pull request Mar 9, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.23.0-alpha](v0.22.0-alpha...v0.23.0-alpha)
(2024-03-09)


### Features

* **pkg:** use mgmtPB.Owner to embed the owner information
([#523](#523))
([37d5708](37d5708))


### Bug Fixes

* **handler,ray:** fix reconciliation model status and namespace
([#525](#525))
([62a30b6](62a30b6))
* **redis:** delete redis key when errored
([#526](#526))
([bb4e18d](bb4e18d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
2 participants