0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-16 06:41:06 +01:00
dendrite/internal
Neil Alexander 7d6461dd3c
Server key component (#1050)
* Server key API (works for monolith but not for polylith yet)

* Re-enable caching on server key API component

* Groundwork for HTTP APIs for server key API

* Hopefully implement HTTP for server key API

* Simplify public key request marshalling from map keys

* Update gomatrixserverlib

* go mod tidy

* Common -> internal

* remove keyring.go

* Update Docker Hub for server key API

* YAML is funny about indentation

* Wire in new server key API into hybrid monolith mode

* Create maps

* Route server key API endpoints on internal API mux

* Fix server key API URLs

* Add fetcher behaviour into server key API implementation

* Return error if we failed to fetch some keys

* Return results anyway

* Move things about a bit

* Remove unused code

* Fix comments, don't use federation sender URL in polylith mode

* Add server_key_api to sample config

* Review comments

* HTTP API to cache keys that have been requested

* Overwrite server_key_api listen in monolith hybrid mode
2020-05-27 10:19:24 +01:00
..
basecomponent Server key component (#1050) 2020-05-27 10:19:24 +01:00
caching Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
config Server key component (#1050) 2020-05-27 10:19:24 +01:00
http Miscellaneous fixes (#1060) 2020-05-26 14:41:16 +01:00
httpapis Define path prefixes in a package that doesn't create import cycles 2020-05-22 14:18:41 +01:00
sqlutil Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
test Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
transactions Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
consumers.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
eventcontent.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
events.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
httpapi.go Define path prefixes in a package that doesn't create import cycles 2020-05-22 14:18:41 +01:00
httpapi_test.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
log.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
partition_offset_table.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
postgres.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
postgres_wasm.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
routing.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
sql.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
types.go Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00