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

chore: added an endpoint to support migration of licenses #6450

Closed
wants to merge 1 commit into from

Conversation

vikrantgupta25
Copy link
Collaborator

@vikrantgupta25 vikrantgupta25 commented Nov 15, 2024

Summary

  • added an endpoint whose role is to pick the active license from license manager and hit the zeus API to get all the details and insert the entry into licenses_v3 table.

Related Issues / PR's

Screenshots

NA

Affected Areas and Manually Tested Areas

@vikrantgupta25
Copy link
Collaborator Author

Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to 004300a in 1 minute and 5 seconds

More details
  • Looked at 67 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. ee/query-service/license/manager.go:238
  • Draft comment:
    Do not add non-ClickHouse related functions to the ClickHouseReader interface. Use the DAO in the telemetry instance to access such information instead.
  • Reason this comment was not posted:
    Decided after close inspection that this draft comment was likely wrong and/or not actionable:
    The comment does not appear to be related to the changes made in the diff. The function InsertLicensesV3 is added, but it does not seem to relate to ClickHouseReader. The comment should likely be removed as it does not pertain to the changes made.
    I might be missing some context about the ClickHouseReader interface, but based on the diff, there is no evidence that the comment is relevant to the changes made.
    Even if there is some context missing, the comment should be removed because it does not pertain to the changes made in the diff.
    Remove the comment as it does not relate to the changes made in the diff.

Workflow ID: wflow_cjfeV4wLV5tuikzJ


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

ee/query-service/license/manager.go Show resolved Hide resolved
Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@vikrantgupta25 vikrantgupta25 deleted the license-active-migration branch November 18, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants