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

feat/enterpriseportal: existing subscriptions read APIs use enterprise portal DB #63927

Conversation

bobheadxi
Copy link
Member

@bobheadxi bobheadxi commented Jul 18, 2024

This change follows https://github.com/sourcegraph/sourcegraph/pull/63858 by making the existing subscriptions APIs read from the Enterprise Portal database, instead of dotcomdb, using the data that we sync from dotcomdb into Enterprise Portal.

Part of https://linear.app/sourcegraph/issue/CORE-156
Part of https://linear.app/sourcegraph/issue/CORE-158

Test plan

Updated unit and integration tests

@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 670d4a8 to 07f6ae6 Compare July 18, 2024 22:36
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_implement_updatecodygatewayaccess branch from e81f272 to a5c9edb Compare July 18, 2024 22:39
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 07f6ae6 to d3fb2dd Compare July 18, 2024 22:39
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_implement_updatecodygatewayaccess branch from a5c9edb to e786e7a Compare July 18, 2024 22:47
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from d3fb2dd to 8b66e31 Compare July 18, 2024 22:47
@bobheadxi bobheadxi marked this pull request as ready for review July 18, 2024 22:49
@bobheadxi bobheadxi requested a review from a team July 18, 2024 22:49
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_implement_updatecodygatewayaccess branch from e786e7a to 889233c Compare July 19, 2024 18:16
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch 2 times, most recently from cfe855b to 4737a65 Compare July 19, 2024 18:23
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_implement_updatecodygatewayaccess branch from a42857f to 6bb1bea Compare July 19, 2024 18:57
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 4737a65 to 7e86a43 Compare July 19, 2024 18:57
@bobheadxi bobheadxi changed the title feat/enterpriseportal: subscriptions read APIs use enterprise portal DB feat/enterpriseportal: existing subscriptions read APIs use enterprise portal DB Jul 19, 2024
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 7e86a43 to 152047a Compare July 19, 2024 21:05
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_implement_updatecodygatewayaccess branch from 2fa6111 to 5726960 Compare July 19, 2024 21:07
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 152047a to 16bc317 Compare July 19, 2024 21:07
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_implement_updatecodygatewayaccess branch from 5726960 to 8745870 Compare July 23, 2024 18:56
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 16bc317 to d0bce4c Compare July 23, 2024 18:56
@bobheadxi bobheadxi force-pushed the 07-25-chore_enterpriseportal_make_sf_opp_id_license-level branch from ca8c93e to fe03bfa Compare August 8, 2024 22:08
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from e42c135 to 1e5b1db Compare August 8, 2024 22:08
@bobheadxi bobheadxi force-pushed the 07-25-chore_enterpriseportal_make_sf_opp_id_license-level branch from fe03bfa to c250b14 Compare August 8, 2024 22:10
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 1e5b1db to 37b37b8 Compare August 8, 2024 22:10
@bobheadxi bobheadxi force-pushed the 07-25-chore_enterpriseportal_make_sf_opp_id_license-level branch from c250b14 to 2b1b8dd Compare August 8, 2024 22:20
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 37b37b8 to aefc7d3 Compare August 8, 2024 22:20
@bobheadxi bobheadxi force-pushed the 07-25-chore_enterpriseportal_make_sf_opp_id_license-level branch from 2b1b8dd to 81f431a Compare August 8, 2024 22:32
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from aefc7d3 to bedab7c Compare August 8, 2024 22:32
@bobheadxi bobheadxi force-pushed the 07-25-chore_enterpriseportal_make_sf_opp_id_license-level branch from 81f431a to 6c13f2f Compare August 8, 2024 23:37
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from bedab7c to 289be88 Compare August 8, 2024 23:37
@bobheadxi bobheadxi force-pushed the 07-25-chore_enterpriseportal_make_sf_opp_id_license-level branch from 6c13f2f to 79ccb57 Compare August 9, 2024 15:43
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 289be88 to 17c6e81 Compare August 9, 2024 15:43
@bobheadxi bobheadxi force-pushed the 07-25-chore_enterpriseportal_make_sf_opp_id_license-level branch from 79ccb57 to edbc2b3 Compare August 9, 2024 15:58
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 17c6e81 to 355e3ea Compare August 9, 2024 15:58
@bobheadxi bobheadxi force-pushed the 07-25-chore_enterpriseportal_make_sf_opp_id_license-level branch from edbc2b3 to 0cb9ba0 Compare August 9, 2024 16:09
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 355e3ea to 9fb78d7 Compare August 9, 2024 16:09
Base automatically changed from 07-25-chore_enterpriseportal_make_sf_opp_id_license-level to main August 9, 2024 16:16
@bobheadxi bobheadxi force-pushed the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch from 9fb78d7 to 092b9f2 Compare August 9, 2024 16:26
@bobheadxi bobheadxi merged commit 8537000 into main Aug 9, 2024
14 checks passed
@bobheadxi bobheadxi deleted the 07-18-feat_enterpriseportal_subscriptions_read_apis_use_enterprise_portal_db branch August 9, 2024 16:36
@@ -121,7 +121,6 @@ func (Service) Initialize(ctx context.Context, logger log.Logger, contract runti
subscriptionsservice.NewStoreV1(
subscriptionsservice.NewStoreV1Options{
DB: dbHandle,
DotcomDB: dotcomDB,
Copy link
Member

Choose a reason for hiding this comment

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

🎉

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.

3 participants