storj/pkg/pb
JT Olio 946ec201e2
metainfo: move api keys to part of the request (#3069)
What: we move api keys out of the grpc connection-level metadata on the client side and into the request protobufs directly. the server side still supports both mechanisms for backwards compatibility.

Why: dRPC won't support connection-level metadata. the only thing we currently use connection-level metadata for is api keys. we need to move all information needed by a request into the request protobuf itself for drpc support. check out the .proto changes for the main details.

One fun side-fact: Did you know that protobuf fields 1-15 are special and only use one byte for both the field number and type? Additionally did you know we don't use field 15 anywhere yet? So the new request header will use field 15, and should use field 15 on all protobufs going forward.

Please describe the tests: all existing tests should pass

Please describe the performance impact: none
2019-09-19 10:19:29 -06:00
..
certificate.pb.go bootstrap/satellite/certificate/storagenode: register drpc services 2019-09-12 15:09:46 -06:00
certificate.proto pkg/certificates: add authorization endpoint and refactor (#2971) 2019-09-11 10:36:44 +02:00
compatibility_test.go signing: ensure we don't break signatures (#2542) 2019-07-12 16:41:19 -04:00
contact.pb.go pkg/pb: minor changes to contact.proto (#3048) 2019-09-13 19:37:32 -05:00
contact.proto pkg/pb: minor changes to contact.proto (#3048) 2019-09-13 19:37:32 -05:00
datarepair.pb.go Replace base64 encoding for path segments (#2345) 2019-07-11 13:26:07 -04:00
datarepair.proto Replace base64 encoding for path segments (#2345) 2019-07-11 13:26:07 -04:00
encryption_access.pb.go rename EncryptionCtx back to EncryptionAccess (#2368) 2019-06-27 23:18:24 -06:00
encryption_access.proto rename EncryptionCtx back to EncryptionAccess (#2368) 2019-06-27 23:18:24 -06:00
encryption.pb.go satellite/metainfo: add buckets RPC and database (#2460) 2019-07-08 15:32:18 -07:00
encryption.proto satellite/metainfo: add buckets RPC and database (#2460) 2019-07-08 15:32:18 -07:00
gen.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
gogo.proto preparing for use of customtype gogo extension with NodeID type (#693) 2018-11-29 19:39:27 +01:00
inspector.pb.go bootstrap/satellite/certificate/storagenode: register drpc services 2019-09-12 15:09:46 -06:00
inspector.proto storagenode/console: remove kademlia (#2942) 2019-09-11 16:41:43 -04:00
meta.pb.go Add ability to view irreparable segments on satellite (#1448) 2019-03-15 16:21:52 -04:00
meta.proto updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
metainfo.pb.go metainfo: move api keys to part of the request (#3069) 2019-09-19 10:19:29 -06:00
metainfo.proto metainfo: move api keys to part of the request (#3069) 2019-09-19 10:19:29 -06:00
node.pb.go Update node.proto to use time.Time instead of timestamp (#2482) 2019-07-08 14:24:42 -04:00
node.proto Update node.proto to use time.Time instead of timestamp (#2482) 2019-07-08 14:24:42 -04:00
nodestats.pb.go bootstrap/satellite/certificate/storagenode: register drpc services 2019-09-12 15:09:46 -06:00
nodestats.proto satellite/nodestats: add disqualified flag #2856 2019-08-23 13:58:20 +03:00
orders.pb.go bootstrap/satellite/certificate/storagenode: register drpc services 2019-09-12 15:09:46 -06:00
orders.proto satellite/orders: document protocol and fix typos (#2813) 2019-08-19 09:36:11 -04:00
overlay.pb.go bootstrap/satellite/certificate/storagenode: register drpc services 2019-09-12 15:09:46 -06:00
overlay.proto add vouchers to QueryRequest (#2559) 2019-07-15 18:02:22 -04:00
piecestore2.pb.go bootstrap/satellite/certificate/storagenode: register drpc services 2019-09-12 15:09:46 -06:00
piecestore2.proto storagenode/piecestore + uplink/piecestore: return PieceHash and original OrderLimit during GET_REPAIR (#2775) 2019-08-26 14:57:41 -04:00
pointerdb.pb.go satellite/metainfo: Verify storagenode signature on satellite upload (#2985) 2019-09-18 09:50:33 -04:00
pointerdb.proto satellite/metainfo: Verify storagenode signature on satellite upload (#2985) 2019-09-18 09:50:33 -04:00
scannerValuer.go Remove bwagreement leftovers (#2140) 2019-06-06 18:16:14 +03:00
scope.pb.go libuplink scope type (#2382) 2019-07-02 09:45:23 -06:00
scope.proto libuplink scope type (#2382) 2019-07-02 09:45:23 -06:00
streams.pb.go streams: don't encrypt segment count (#2859) 2019-08-22 15:15:58 -06:00
streams.proto streams: don't encrypt segment count (#2859) 2019-08-22 15:15:58 -06:00
types.go Metainfo RPC segment methods (part 1) (#2567) 2019-07-22 16:45:18 +02:00
utils.go all: enable staticcheck (#2849) 2019-08-22 13:40:15 +02:00
vouchers.pb.go bootstrap/satellite/certificate/storagenode: register drpc services 2019-09-12 15:09:46 -06:00
vouchers.proto Update vouchers to use time.Time instead of timestamp (#2478) 2019-07-08 13:07:30 -04:00