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

enterprise-portal: initialize service with dotcom DB connection#62525

Merged
bobheadxi merged 5 commits into
mainfrom
05-07-enterprise-portal_initialize_service_with_dotcom_db_connection
May 9, 2024
Merged

enterprise-portal: initialize service with dotcom DB connection#62525
bobheadxi merged 5 commits into
mainfrom
05-07-enterprise-portal_initialize_service_with_dotcom_db_connection

Conversation

@bobheadxi

@bobheadxi bobheadxi commented May 8, 2024

Copy link
Copy Markdown
Member

Closes https://linear.app/sourcegraph/issue/CORE-96 - this scaffolds an initial Enterprise Portal service, as described in RFC 885, with a test setup to verify that we are able to connect to the Sourcegraph.com database and query from it. This will be used to implement the read-only RPCs proposed in #62263

Test plan

@cla-bot cla-bot Bot added the cla-signed label May 8, 2024

bobheadxi commented May 8, 2024

Copy link
Copy Markdown
Member Author

Base automatically changed from 05-07-msp_runtime_export_cloud_sql_conection_internals_for_direct_usage to main May 9, 2024 21:42
bobheadxi added a commit that referenced this pull request May 9, 2024
…62524)

Part of https://linear.app/sourcegraph/issue/CORE-96 - we want to be able to use the same Cloud SQL connection mechanism we use for MSP-provisioned databases to be able to connect to a database in another project (in this case, the database of interest is the Sourcegraph.com database).

Also see #62525 

## Test plan

CI - this is a refactor only
@bobheadxi bobheadxi force-pushed the 05-07-enterprise-portal_initialize_service_with_dotcom_db_connection branch from cfebde8 to 9c009f9 Compare May 9, 2024 21:42
@bobheadxi bobheadxi marked this pull request as ready for review May 9, 2024 21:43
@bobheadxi bobheadxi requested a review from a team May 9, 2024 21:43
Comment thread cmd/enterprise-portal/service/dotcomdb.go Outdated
@bobheadxi bobheadxi enabled auto-merge (squash) May 9, 2024 22:42
@bobheadxi bobheadxi merged commit e37a78b into main May 9, 2024
@bobheadxi bobheadxi deleted the 05-07-enterprise-portal_initialize_service_with_dotcom_db_connection branch May 9, 2024 23:30
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