storj/private/testplanet
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
..
dir.go private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
doc.go all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
log.go private/testplanet: use info level logs in jenkins 2022-02-10 11:47:06 -06:00
multinode.go private/testplanet: add some more error wrapping 2023-01-31 15:44:59 +02:00
planet_test.go private/testplanet: extend testplanet with multinode instance 2021-10-13 10:19:45 +00:00
planet.go satellite/overlay: configurable meaning of last_net 2023-03-09 02:20:12 +00:00
reconfigure.go private/testplanet: add uplink config to use different path cipher 2023-02-22 10:28:25 +00:00
rpc_test.go mod: bump dependencies 2022-10-19 17:01:53 +00:00
run_test.go Makefile: disable postgres fsync in the test container 2022-12-01 22:03:31 +00:00
run.go private/testplanet: add uplink config to use different path cipher 2023-02-22 10:28:25 +00:00
satellite_test.go integration/ui: add UI integration tests 2021-06-09 14:39:38 +03:00
satellite.go satellite: switch to use nodefilters instead of old placement.AllowedCountry 2023-07-07 16:55:45 +00:00
storagenode-wait.go private/testplanet: support writing monitoring spans 2021-09-30 09:03:35 +03:00
storagenode.go storagenode/blobstore: move blob store logic 2023-04-05 18:06:20 +00:00
tlsopts_test.go all: use DialNodeURL throughout the codebase 2020-05-20 10:36:30 +00:00
uplink_test.go satellite/overlay: refactor Reliable to be used with repair checker 2023-07-05 10:56:31 +02:00
uplink.go private/testplanet: add uplink config to use different path cipher 2023-02-22 10:28:25 +00:00
versioning.go private/testplanet: try using multiple localhosts 2022-03-29 05:24:35 +00:00