dendrite/appservice/storage/cosmosdb
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
..
appservice_events_table.go Implement Cosmos DB for the AppService (#7) 2021-05-21 10:12:39 +10:00
appservice_events_table_id_seq.go Implement Cosmos DB for the AppService (#7) 2021-05-21 10:12:39 +10:00
storage.go Implement Cosmos DB for the AppService (#7) 2021-05-21 10:12:39 +10:00
txn_id_counter_table.go Implement Cosmos DB for the AppService (#7) 2021-05-21 10:12:39 +10:00
txn_id_counter_table_txn_id_seq.go Implement Cosmos DB for the AppService (#7) 2021-05-21 10:12:39 +10:00