dendrite/appservice
alexfca af4219f38e
Implement Cosmos DB for the AppService (#7)
* - Implement Cosmos for the devices_table
- Use the ConnectionString in the YAML to include the Tenant
- Revert all other non implemented tables back to use SQLLite3

* - Change the Config to use "test.criticicalarc.com" Container
- Add generic function GetDocumentOrNil to standardize GetDocument
- Add func to return CrossPartition queries for Aggregates
- Add func GetNextSequence() as generic seq generator for AutoIncrement
- Add cosmosdbutil.ErrNoRows to return (emulate) sql.ErrNoRows
- Add a "fake" ExclusiveWriterFake
- Add standard "getXX", "setXX" and "queryXX" to all TABLE class files
- Add specific Table SEQ for the Events table
- Add specific Table SEQ for the Rooms table
- Add specific Table SEQ for the StateSnapshot table

* - Use CosmosDB for the KeyServer
- Replace the ConnString in the YAML to Cosmos
- Update the 4 tables to use Cosmos

* - Add SEQ for Event and Counters
- Replace SQLLite with Cosmos in Config and Code

* - Fix typo
2021-05-21 10:12:39 +10:00
..
api Fix #1655 by re-adding the appservice alias query (#1660) 2020-12-18 13:33:28 +00:00
consumers Send events to appservice based on room membership (#1680) 2021-03-03 16:27:44 +00:00
inthttp Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
query Use default transport for AS traffic (#1789) 2021-03-05 16:40:32 +00:00
storage Implement Cosmos DB for the AppService (#7) 2021-05-21 10:12:39 +10:00
types Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
workers Use default transport for AS traffic (#1789) 2021-03-05 16:40:32 +00:00
appservice.go Use default transport for AS traffic (#1789) 2021-03-05 16:40:32 +00:00
README.md use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00

Application Service

This component interfaces with external Application Services. This includes any HTTP endpoints that application services call, as well as talking to any HTTP endpoints that application services provide themselves.

Consumers

This component consumes and filters events from the Roomserver Kafka stream, passing on any necessary events to subscribing application services.