storj/satellite
Ethan 21a5d70a83 satellite/metainfo: Rate limiting - API requests
Limits how many times metainfo APIs can be called per second by project ID. If limit is exceeded, the API will return Unauthorized/Too Many requests.

Limit per second and the size of the limiter cache per project are configurable, as well as whether the limiter is enabled.

Tests added/updated for the new rate_limit field in projects table.
Tests added for exceeding limits and disableing limiter.

Change-Id: Ic8ad102de3b690a475809d4f684156d5715f20fa
2020-01-21 14:25:04 +00:00
..
accounting satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
attribution satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
audit satellite: remove UptimeReputation configs from codebase 2020-01-08 18:54:15 +00:00
console satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
contact satellite/contact; storagenode/preflight: add clock check on startup for storagenode 2020-01-15 15:35:26 +00:00
dbcleanup common: separate repository 2019-12-27 14:11:15 +02:00
downtime all: fix import groupings 2020-01-20 17:47:44 +00:00
gc lib/uplinkc: fix test flakiness by setting MaxTimeSkew 2020-01-20 12:44:42 +00:00
gracefulexit satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
inspector uplink: move to storj.io/uplink (#3746) 2020-01-08 15:40:19 +02:00
mailservice satellite/mailservice: move logging to send rendered async to cover template parsing (#3654) 2019-11-28 12:29:48 +02:00
marketingweb common: separate repository 2019-12-27 14:11:15 +02:00
metainfo satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
metrics private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
nodestats satellite: remove UptimeReputation configs from codebase 2020-01-08 18:54:15 +00:00
orders satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
overlay satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
payments satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
referrals common: separate repository 2019-12-27 14:11:15 +02:00
repair satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
rewards common: separate repository 2019-12-27 14:11:15 +02:00
satellitedb satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
vouchers common: separate repository 2019-12-27 14:11:15 +02:00
api.go satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
core.go satellite: reduce logging of node status 2020-01-18 17:47:59 +00:00
peer.go satellite/satellitedb: reported_serials table for processing orders 2020-01-15 19:21:21 -07:00
repairer.go satellite: reduce logging of node status 2020-01-18 17:47:59 +00:00