-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
We need to proof the instance sending process to the websystem from our causalbench application:
Upon .submit() [name may be incorrect] function:
21* CB-end:
Create request obj:
userID(apikey)
instanceObj
Connect to the api:
if successful:
start upload
listen for [200 OK]
if exception:
[save results so that they can be uploaded later]
return exception_code
else:
return connectionerror
22* API-end: database-end should have an api that waits for upload requests from AUTHENTICATED users, ensured by the api key.
Wait
Receive upload Request
Check userAuth
if fail
Return [401 notauth]
else
Start upload
if fail
Return any exceptions
ask for retry
else if [timeout]
return [408 server timed out]
else
Upload finishes
Return [200 OK].
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels