dendrite/appservice
alexfca 927238a686
Use a common way to generate CollectionName and PartitionKey (#18)
* - Create CosmosDocument as a base class
- Add CT and UT
- Refactor all tables to use the CosmosDocument

* - Add UpsertDocument method to perform updates in a generic way
- Add SetUpdateTime() to update the UT for updates
- Refactor it all

* - Add Performquery method
- Refactor appservice_events_table

* - Update naffka Topics and Messages to use the common pattern

* - Update keyserver to use the common pattern for collection and PK

* - Update mediaapi to use the common pattern for collection and pk

* - Update roomserver to use the common pattern for collectionname and pk

* - Update signingkeyserver to use the common pattern for collectionname and pk

* - Update userapi touse the common pattern for collectionname and pk

* - Update partitionOffset to use the common collectionname and pk
- Remove generic GetPartitionKey() method

Co-authored-by: alexf@example.com <alexf@example.com>
2021-09-23 09:02:37 +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 Fix ineffectual error assignment (#1976) 2021-08-16 14:19:35 +01:00
storage Use a common way to generate CollectionName and PartitionKey (#18) 2021-09-23 09:02:37 +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.