This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
REST API and Documentation for APIs #15
Labels
Comments
achimnol
added a commit
that referenced
this issue
Aug 30, 2016
achimnol
added a commit
that referenced
this issue
Aug 30, 2016
achimnol
added a commit
that referenced
this issue
Sep 2, 2016
achimnol
added a commit
that referenced
this issue
Sep 19, 2016
achimnol
added a commit
that referenced
this issue
Sep 20, 2016
achimnol
added a commit
that referenced
this issue
Sep 20, 2016
achimnol
added a commit
that referenced
this issue
Oct 11, 2016
* TODO: We need to refactor sorna-side session mgmt (user_id + entry_id) since this CodeOnWeb-specific session ID may not be applicable to other API clients.
achimnol
added a commit
that referenced
this issue
Nov 16, 2016
* Implement graceful shutdown for the REST API server. * Separate main-specific config arguments.
achimnol
added a commit
that referenced
this issue
Nov 22, 2016
achimnol
added a commit
that referenced
this issue
Nov 23, 2016
* Client-side session token is a generalized concept for the composite primary key to indentify a kernel: (user_id, entry_id, lang)
achimnol
added a commit
that referenced
this issue
Nov 23, 2016
achimnol
added a commit
that referenced
this issue
Nov 23, 2016
* Also fortify handling of JSON decode errors with malformed request bodies.
achimnol
added a commit
that referenced
this issue
Nov 23, 2016
achimnol
added a commit
that referenced
this issue
Nov 24, 2016
achimnol
added a commit
that referenced
this issue
Nov 24, 2016
* Also apply sorna.exceptions name refactoring.
achimnol
added a commit
that referenced
this issue
Nov 24, 2016
* Checked that it is working as expected by client-side integration tests and printing response headers.
achimnol
added a commit
that referenced
this issue
Nov 24, 2016
* Now it bubbles agent-side errors with full details (type & title) in RFC7807 style.
achimnol
added a commit
that referenced
this issue
Dec 3, 2016
achimnol
added a commit
that referenced
this issue
Dec 4, 2016
* It is a generalized event dispatcher for the gateway/manager server. Now the gateway can add appropriate handlers when asynchronous events such as kernel termination occur. Like manager-agent interaction, this also uses aiozmq.rpc facilities. * Implemented concurrency usage check further. - Now it is decremented when the kernel is actually destroyed. - TODO: decrement as well when the agent instance is destroyed or failed to deliver heartbeats due to HW/network failure. We need to reviv Redis subscription in sorna.gateway and dispatch "instance_terminated" event when shadow keys expires.
achimnol
added a commit
that referenced
this issue
Dec 5, 2016
achimnol
added a commit
that referenced
this issue
Dec 20, 2016
* Run `python -m sorna.gateway.auth --generate-keypair` to create one. * For programmatic uses, use sorna.gateway.auth.generate_keypair function.
achimnol
added a commit
that referenced
this issue
Dec 20, 2016
achimnol
added a commit
that referenced
this issue
Dec 21, 2016
achimnol
added a commit
that referenced
this issue
Dec 23, 2016
* Imported most functionality from an interal front-end proxy. * TODO: stabilization (unclean termination often makes the event loop to hang indefinitely without explicit errors.)
achimnol
added a commit
that referenced
this issue
Jan 11, 2017
* Various bug fixes. - Don't forget_instance() when agent is lost. Required to check revival and resetting. - Fix wrong return value checks for HGETALL redis API: it returns an empty dict instead of None when the key does not exist. - update_kernel_usage() and update_instance_usage() needs to be able to access "stale" kernel information. * Shorten the range of connection leases from the redis pool. * Improve code styles. - Use parenthesis to long-hanging lines if possible. - Use .execute() instead of .fetchval() when the SQL query is doing insertion or updates. - Use more f-strings for brevity.
Billing is now moved to internal project. Closing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Let's add an API to Sorna so that external services can easily integrate with this code execution service.
The text was updated successfully, but these errors were encountered: