Skip to content

14853 - Create Task When New Product Add by GOVM/GOVN#3584

Merged
Jxio merged 21 commits intobcgov:mainfrom
Jxio:14853
Jan 28, 2026
Merged

14853 - Create Task When New Product Add by GOVM/GOVN#3584
Jxio merged 21 commits intobcgov:mainfrom
Jxio:14853

Conversation

@Jxio
Copy link
Collaborator

@Jxio Jxio commented Jan 21, 2026

Issue #:
bcgov/entity#14853

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).

@Jxio Jxio self-assigned this Jan 21, 2026
@bcgov bcgov deleted a comment from bcregistry-sre Jan 22, 2026
@bcgov bcgov deleted a comment from bcregistry-sre Jan 22, 2026
@bcgov bcgov deleted a comment from sonarqubecloud bot Jan 22, 2026
@Jxio
Copy link
Collaborator Author

Jxio commented Jan 22, 2026

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://bcregistry-account-dev--pr-3584-p8xzrbry.web.app

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://bcregistry-account-dev--pr-test-3584-gwrvqtni.web.app

@Jxio Jxio marked this pull request as ready for review January 24, 2026 19:10
@Jxio Jxio requested a review from ochiu as a code owner January 24, 2026 19:10
@Jxio Jxio removed the Do Not Merge label Jan 24, 2026
@Jxio
Copy link
Collaborator Author

Jxio commented Jan 27, 2026

I think this one not relate to current code change:
image

Comment on lines +27 to +38
try:
token = RestService.get_service_account_token()
response = RestService.get(endpoint=f"{pay_url}/accounts/{org.id}/fees", token=token, retry_on_failure=True)

if response and response.status_code == 200:
response_data = response.json()
account_fees = response_data.get("accountFees", [])

for fee in account_fees:
product_code = fee.get("product")
if product_code:
account_fees_dict[product_code] = True
Copy link
Collaborator

@seeker25 seeker25 Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this logic is unit tested? should it be?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

@seeker25
Copy link
Collaborator

Looks good to me, nice job

@sonarqubecloud
Copy link

@Jxio Jxio merged commit a47d5ce into bcgov:main Jan 28, 2026
24 of 27 checks passed
Jxio added a commit to Jxio/sbc-auth that referenced this pull request Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants