-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Umbrella Ticket] PATH User Database #11
Comments
this feels like it's being conflated from a user db vs billing db situation. The purpose of the database is to codify the business logic of the application for the purposes of user management, plan management, services, etc. Billing, while important, inherits a small subset of this data and is combined with the metering of the application to integrate with Stripe. |
To be clear, I think the extent to which this issue needs to interact with billing is simply providing a IMO getting to the point of having two key functionalities should be the focus of this issue:
This keeps the scope limited while still providing the prerequisite functionality to implement #10 @Olshansk I know we just discussed this a few mins ago but I tend to agree that adding |
The above makes more sense for the scope of this ticket. We can expand upon it to open a metering/payment rail integration with stripe as a future feature and mark other possible payments integrations as future issues. |
@commoddity @fredteumer PTAL at the updated goals, deliverables and non-goals and 👍 if it looks good to you. I'm also putting together #13 to capture the billing work in a follow-up ticket. |
Related to #11 PR to add a Postgres database driver using SQLC to generate Go code from SQL files: https://sqlc.dev/ This is the first prerequisite to allow associating a service request with a user for the purposes of metering, billing, rate limiting, user settings, etc. This PR adds the following: - `db/driver` package containing Postgres driver - `db` package containing local cache of user data - `user` package containing the `GatewayEndpoint` struct --------- Signed-off-by: Pascal van Leeuwen <[email protected]> Signed-off-by: commoddity <[email protected]> Co-authored-by: Daniel Olshansky <[email protected]>
Draft PR for implementing Envoy Auth Plugin Proposal here: |
Objective
Build the foundation for tracking users accessing the portal.
Origin Document
Postgres driver
Proposed Database Structure
Goals
Deliverables
relay
to aUserId
includingNon-goals / Non-deliverables
General deliverables
Creator: @Olshansk
Co-Owners: @commoddity
The text was updated successfully, but these errors were encountered: