Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

feat/enterpriseportal: db layer for subscription conditions #63812

Merged

Conversation

bobheadxi
Copy link
Member

@bobheadxi bobheadxi commented Jul 13, 2024

Implements insert and retrieval of subscription conditions, similar to #63792

Unlike for licenses, which have a more limited lifecycle (create and revoke), subscriptions are longer-lived and may be updated frequently. So the storage layer allows the caller to provide the conditions that are of interest for recording.

Part of https://linear.app/sourcegraph/issue/CORE-156, but doesn't yet use it from the API.
Part of https://linear.app/sourcegraph/issue/CORE-100

Test plan

Integration tests

@bobheadxi bobheadxi marked this pull request as ready for review July 13, 2024 00:48
@bobheadxi bobheadxi changed the title feat/enterpriseportal: implement subscription conditions feat/enterpriseportal: implement DB layer for subscription conditions Jul 13, 2024
@bobheadxi bobheadxi requested a review from a team July 13, 2024 00:49
@bobheadxi bobheadxi changed the title feat/enterpriseportal: implement DB layer for subscription conditions feat/enterpriseportal: db layer for subscription conditions Jul 13, 2024
@bobheadxi bobheadxi force-pushed the 07-09-feat_enterprise-portal_db_layer_for_cody_gateway_access branch from 888efc2 to a6d1fad Compare July 13, 2024 00:51
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from 475cf12 to 564817a Compare July 13, 2024 00:51
@bobheadxi bobheadxi force-pushed the 07-09-feat_enterprise-portal_db_layer_for_cody_gateway_access branch from a6d1fad to 72b9c23 Compare July 15, 2024 18:48
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from 564817a to 32ee834 Compare July 15, 2024 18:48
@bobheadxi bobheadxi force-pushed the 07-09-feat_enterprise-portal_db_layer_for_cody_gateway_access branch from 72b9c23 to 34bb88d Compare July 15, 2024 21:35
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch 3 times, most recently from b9636d3 to cfe43cc Compare July 15, 2024 21:56
@bobheadxi bobheadxi changed the base branch from 07-09-feat_enterprise-portal_db_layer_for_cody_gateway_access to test-ep-update-rewrite July 15, 2024 21:56
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from 261838b to 31cb17d Compare July 16, 2024 18:31
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from cfe43cc to a22ee20 Compare July 16, 2024 18:31
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from 31cb17d to 2791ba2 Compare July 16, 2024 22:15
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from f7e511c to 0e3f450 Compare July 16, 2024 22:15
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from 2791ba2 to cf8baed Compare July 16, 2024 22:24
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from 0e3f450 to 02210dd Compare July 16, 2024 22:24
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from cf8baed to 4d31019 Compare July 16, 2024 22:25
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from 02210dd to 173d040 Compare July 16, 2024 22:25
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from 4d31019 to 47f201b Compare July 16, 2024 22:50
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from fc0331d to 8289574 Compare July 18, 2024 20:53
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from e180a53 to cc8e759 Compare July 18, 2024 20:53
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from 8289574 to 0a8d2b5 Compare July 18, 2024 21:34
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from cc8e759 to 9f0f026 Compare July 18, 2024 21:34
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from 0a8d2b5 to f1e4254 Compare July 19, 2024 18:16
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from 9f0f026 to f7ac8de Compare July 19, 2024 18:16
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from f1e4254 to b3bc977 Compare July 19, 2024 18:56
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from f7ac8de to c85e1e3 Compare July 19, 2024 18:56
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from b3bc977 to de7ef25 Compare July 19, 2024 21:06
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from c85e1e3 to a23cef5 Compare July 19, 2024 21:07
@bobheadxi bobheadxi force-pushed the test-ep-update-rewrite branch from de7ef25 to 044c0aa Compare July 23, 2024 18:55
@bobheadxi bobheadxi force-pushed the 07-12-feat_enterpriseportal_implement_subscription_conditions branch from a23cef5 to 3a2cc30 Compare July 23, 2024 18:55
Base automatically changed from test-ep-update-rewrite to main July 23, 2024 19:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants