This repository was archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat/enterpriseportal: implement SubscriptionLicenseChecksService #64400
Merged
bobheadxi
merged 9 commits into
main
from
08-09-feat_enterpriseportal_implement_subscriptionlicensechecksservice
Aug 16, 2024
Merged
feat/enterpriseportal: implement SubscriptionLicenseChecksService #64400
bobheadxi
merged 9 commits into
main
from
08-09-feat_enterpriseportal_implement_subscriptionlicensechecksservice
Aug 16, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
Author
f07d4ff to
d5f0aa9
Compare
94fa17d to
6ff0aa7
Compare
d5f0aa9 to
da734d3
Compare
6ff0aa7 to
27ceb18
Compare
da734d3 to
9d3d1e1
Compare
27ceb18 to
9eea4f8
Compare
9d3d1e1 to
6c53ac5
Compare
3e3f661 to
9a29c0a
Compare
6c53ac5 to
d8b3432
Compare
9a29c0a to
a900ea0
Compare
d8b3432 to
8e0f2d9
Compare
a900ea0 to
0936f92
Compare
8e0f2d9 to
9f29a98
Compare
a068acd to
7efb957
Compare
7efb957 to
1af6201
Compare
eseliger
approved these changes
Aug 14, 2024
cmd/enterprise-portal/internal/database/subscriptions/licenses.go
Outdated
Show resolved
Hide resolved
9f29a98 to
f15b76f
Compare
2453a1b to
dce9782
Compare
f15b76f to
1ebd646
Compare
dce9782 to
44e077d
Compare
unknwon
approved these changes
Aug 15, 2024
Contributor
unknwon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor comment.
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL dns:// works here...
Member
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a new behaviour from the new gprc.NewClient:
The target name syntax is defined in https://github.com/grpc/grpc/blob/master/doc/naming.md. e.g. to use dns resolver, a "dns:///" prefix should be applied to the target.
cmd/enterprise-portal/internal/subscriptionlicensechecksservice/v1_store.go
Outdated
Show resolved
Hide resolved
1ebd646 to
01de0f8
Compare
0a28074 to
5ae3c79
Compare
01de0f8 to
ba89637
Compare
5ae3c79 to
46d63d8
Compare
ba89637 to
fab52ee
Compare
46d63d8 to
66d25d5
Compare
This was referenced Aug 15, 2024
Base automatically changed from
08-09-feat_enterpriseportal_define_subscriptionlicensechecksservice
to
main
August 16, 2024 16:37
66d25d5 to
9e991a9
Compare
Contributor
|
✔️ Test ownership >= 70% again, thank you! |
9e991a9 to
db24d7e
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Implements the RPC defined in https://github.com/sourcegraph/sourcegraph/pull/64396. Follow-up PRs will implement migrations for in-instance checks and for through-dotcom checks.
One major change is that we now bypass the check for subscriptions that are denoted as associated with
INTERNALinstances.Most of the diff is generated mocks.
Part of https://linear.app/sourcegraph/issue/CORE-227
Test plan
sg test enterprise-portal-e2e)