Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create SyncService to handle EventUploading to Paco Server - Umbrella #7

Closed
taqo-issues-bot opened this issue May 4, 2021 · 2 comments

Comments

@taqo-issues-bot
Copy link

Issue by BobEvans
Wed Aug 28 22:46:57 2019


The SyncService is responsible for uploading Event data from an EventStore to the Paco server whenever Event data should be uploaded. It should try to run whenever there is a need to upload (experiments may decide to not upload data at all). Typically, uploading is used whenever a new event is recorded. The saving of data into the EventStore should alert the sync service. Also, relevant system events, such as network becoming available, should wake the sync service so that it can upload any data recorded while offline. The Android SyncService is a working version of a SyncService.

The Paco Server protocol for event uploading is located in the https://github.com/google/paco/blob/develop/Paco-Server/src/com/google/sampling/experiential/server/EventServlet.java

It receives an array of Events and tries to save each one to its respective Experiment's data set.

It then produces a return object which is a JSON array in order with result objects for each corresponding uploaded Event.

@taqo-issues-bot
Copy link
Author

Comment by BobEvans
Wed Dec 18 19:31:59 2019


This should be an umbrella bug due to the potentially non-trivial amount of work on each platform.

@taqo-issues-bot
Copy link
Author

Comment by BobEvans
Wed Dec 18 19:48:26 2019


iOS
macOS
Android
Linux
Fuchsia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants