castore-dev/castore

Develop HTTP event storage adapter

ThomasAribart opened this issue · 2 comments

Develop HTTP event storage adapter

Implement a new HTTPEventStorageAdapter that fetches / pushes data through HTTP calls

Begin with implement the getEvents and listAggregateIds (so we can create a ReadOnlyHTTPEventStorageAdapter OR a readOnly: true option).

What are the input given to the Class so it does work ? I think it's great to re-use an existing spec such as https://www.openapis.org/

custom API extension: "x-castore-operationId": "getEvents" (look at API Gateway Extensions)
Tag each http route
for the schema, they must respect our schemas > add to doc