-
Notifications
You must be signed in to change notification settings - Fork 1
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
Aggregator entity: bootstrap global aggregators into divviup-api
deployment
#198
Comments
This work might end up being in |
How strong is the need to automate this? The simplest thing that could reasonably work is for a human to configure this database state once for each deploy environment, which seems comparable to configuring an admin Account (which similarly is not bootstrapped). |
If it is important to automate, I'd lean towards either exposing a protected http api, a binary target, or env variables with insert-on-boot behavior over having another process insert into the database, which should be considered private state of the divviup-api process |
I think you're right, this is something that would happen infrequently enough that we could live with having an admin interface to Another option would be to make this part of the |
And that could piggyback on the account tokens in #195, in that we could create a token on the admin account. Any such tokens would have to be closely guarded, though, since they are omnipotent. Bootstrapping an admin token from divviup-api to Janus or janus-ops would need to be a clipboard-based configuration, which we've avoided elsewhere, though |
Closing tentatively because I believe this has been resolved by manually configuring staging (and in the future, by the existence of #269 |
We want Janus instances operated by Divvi Up to be just like any other aggregator, in that they are rows in the database table for aggregators, except that they will be global aggregators, available for use in tasks for any account. Pairing a per-account aggregator is a subscriber's responsibility, but we want to ensure that Divvi Up's Janus is available in
divviup-api
deployments. Our deploy tools will need a means of registering one or more global aggregators when deployingdivviup-api
.The text was updated successfully, but these errors were encountered: