-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed input format of the dummy datastore (#107)
- Loading branch information
Showing
3 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
# ExampleDatastore | ||
|
||
Datastore server that serves the example data. | ||
Development Datastore server that serves the example data. | ||
|
||
Also listens on stdin for changed data. | ||
This tool can be used as dropin replacement for the | ||
openslides-datastore-service. The autoupdate-service can connect to it, like to | ||
the real datastore-service. It uses the example data. | ||
|
||
It listens to stdin for changed data. Changed data has to be given as a | ||
json-object. For example: | ||
|
||
``` | ||
{"topic/10/meeting_id": 1, "topic/10/title": "ZZ", "topic/10/text": ""} | ||
``` | ||
|
||
Changed data is sent to the autoupdate-service via redis. | ||
|
||
To connect the autoupdate-service to this service, use | ||
|
||
``` | ||
DATASTORE=service MESSAGING=redis ./autoupdate | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters