8000 VST-2898: Update license activation logic and add logging by OlegoO · Pull Request #2901 · VirtoCommerce/vc-platform · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

VST-2898: Update license activation logic and add logging #2901

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

Merged
merged 6 commits into from
Mar 18, 2025
Merged

Conversation

OlegoO
Copy link
Contributor
@OlegoO OlegoO commented Mar 14, 2025

Description

fix: Enhanced error handling with logging for exceptions during activation.

References

QA-test:

Jira-link:

https://virtocommerce.atlassian.net/browse/VCST-2898

Artifact URL:

Image tag:
ghcr.io/VirtoCommerce/platform:3.882.0-pr-2901-305f-vcst-2898-305fb3c1

fix: Enhanced error handling with logging for exceptions during activation.
Copy link
Contributor
@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

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

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 8.024
Timestamp: 14-03-2025T13:02:10

Copy link
Contributor
@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

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

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 8.142
Timestamp: 14-03-2025T14:34:46

@OlegoO OlegoO requested a review from Ljutyj March 14, 2025 14:45
{
var activationUrl = new Uri(_platformOptions.LicenseActivationUrl + activationCode);
var httpResponse = await httpClient.GetAsync(activationUrl);
using (var httpClient = new HttpClient())
Copy link
Contributor

Choose a reason for hiding this comment

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

If we make a refactoring It'll be better not to use the constructor for HttpClient. Instead of it .ner core has IHttpClientFactory or opportunity to inject IHttpClient to the constructor (needs also to declare the class via AddHttpClient in IColletionServices ) for better performance.

8000

Copy link
Contributor
@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

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

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 9.113
Timestamp: 17-03-2025T07:02:43

8000 Copy link
Contributor
@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

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

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 8.052
Timestamp: 18-03-2025T12:59:59

Copy link
Contributor
@vc-ci vc-ci left a comment

Choose a reason for hiding this comment

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

Test Suite: Test Suites/Modules/module_Assets
Tests: 13
Failures: 0
Errors: 0
Time: 7.755
Timestamp: 18-03-2025T13:18:06

@OlegoO OlegoO merged commit efb8fe1 into dev Mar 18, 2025
1 of 6 checks passed
@OlegoO OlegoO deleted the fix/VCST-2898 branch March 18, 2025 16:03
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.

4 participants
0