data-preservation-programs / spade

A Fil-Network Storage-Proposal Management Service
Other
8 stars 1 forks source link

Tenant Service - Sp-Filtering job #45

Open jcace opened 11 months ago

jcace commented 11 months ago

Description: Depends on #48 Create a new batch job which will be run in the Tenant services. This job should read the Policy for each tenant, then read SP list from the Kentik MongoDB, and filter SPs based on matching rules of the policy.

The result of this should be used to update the TenantStorageProvider table for the given Tenant<->SP mapping.

Also: explore if this should be a view in the DB instead (is that easier/more performant?)

ETA: YYY-MM-DD Maintainer:

### Milestones
- [ ] <add here>

Known dependencies:

View this starmap at:

jcace commented 11 months ago

Depends on https://github.com/data-preservation-programs/spade/issues/48 to be done first so we know what the schema looks like

stephen-pl commented 7 months ago

filtering job pr https://github.com/data-preservation-programs/spade-tenant/pull/27