storj/satellite/metabase/rangedloop
Márton Elek 97a89c3476 satellite: switch to use nodefilters instead of old placement.AllowedCountry
placement.AllowedCountry is the old way to specify placement, with the new approach we can use a more generic (dynamic method), which can check full node information instead of just the country code.

The 90% of this patch is just search and replace:

 * we need to use NodeFilters instead of placement.AllowedCountry
 * which means, we need an initialized PlacementRules available everywhere
 * which means we need to configure the placement rules

The remaining 10% is the placement.go, where we introduced a new type of configuration (lightweight expression language) to define any kind of placement without code change.

Change-Id: Ie644b0b1840871b0e6bbcf80c6b50a947503d7df
2023-07-07 16:55:45 +00:00
..
rangedlooptest satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
observer.go satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
observerlivecount.go satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
observerstats.go satellite/metabase/rangedloop: save observer durations to eventkit 2023-02-24 13:30:19 +00:00
provider.go satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
providerdb_test.go satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
providerdb.go satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
service_test.go satellite: switch to use nodefilters instead of old placement.AllowedCountry 2023-07-07 16:55:45 +00:00
service.go satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
uuid_test.go satellite/metabase/rangedloop: uuid range pairs 2022-11-03 11:15:56 +00:00
uuid.go satellite/metabase/rangedloop: uuid range pairs 2022-11-03 11:15:56 +00:00