storj/private
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
..
api satellite/console: integrate sessions into satellite UI 2022-06-13 08:02:02 +00:00
apigen private/apigen: Support basic doc generation 2023-06-13 08:48:06 +00:00
blockchain private/blockchain: address checksum hex 2022-11-08 18:19:07 +00:00
compensation multinode/console: storage usage and total storage usage 2021-06-10 16:01:41 +00:00
crashreportpb all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
cui all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
currency private/currency: add strictcsv support to microunit 2020-03-31 14:57:04 -06:00
date Fix monthly earning estimation (#4282) 2021-11-17 18:26:21 -05:00
debugging all: fix dots 2020-07-16 14:58:28 +00:00
kvstore private/kvstore: move storage package 2023-04-06 17:26:29 +03:00
lifecycle satellite: more detailed goroutine labels 2022-05-11 17:50:55 +00:00
migrate go.mod: bump to pgx/v5 2023-06-14 18:32:54 +03:00
multinodeauth {storagenode,multinode/nodes}: use multinodeauth.Secret instead of []byte for APISecret 2022-08-23 11:04:04 +00:00
multinodepb web/multinode: fix wrong free disk space in allocation on dashboard 2023-07-05 11:24:24 +00:00
nodeoperator all: fix error naming 2021-04-29 15:38:21 +03:00
post all: fix nolint directives 2022-10-11 18:31:20 +00:00
prompt private/prompt: remove dependency to go-prompt 2020-02-25 13:09:41 +02:00
revocation private/kvstore: move storage package 2023-04-06 17:26:29 +03:00
server storagenode: report fastopen support 2023-06-05 15:20:13 +00:00
testmonkit all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
testplanet satellite: switch to use nodefilters instead of old placement.AllowedCountry 2023-07-07 16:55:45 +00:00
testredis satellite/accounting/live: replace address parsing with redis util 2023-04-05 13:20:11 +00:00
testrevocation private/kvstore: move storage package 2023-04-06 17:26:29 +03:00
teststorj all: fix dots 2020-07-16 14:58:28 +00:00
testuplink all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
version all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
web private/web,satellite/console/.../consoleapi: serve rate limiting errors as JSON 2022-11-23 17:56:07 +00:00