I've pushed a new branch (newstore) as a proof-of-concept how the ActorStore could be made into a completely stand-alone service.
The store is in newstore.py and a small REST service is in store_app.py. To use, start the service using FLASK_APP=store_app.py flask run --port 4999.
When requested, the store responds with source and metadata for actors.
The actor instantiation is completely different, see actormanager.py.
Actor docstrings needs to be changed, see std.Identity, std.CountTimer, and io.Print, to use YAML syntax.
Only apps using the above actors can run at present ;)
No support for default argument values in actors, need to supply them all.
Port property statements are ignored at present.
Requirements should probably also move to the actor docstring.
I've pushed a new branch (newstore) as a proof-of-concept how the ActorStore could be made into a completely stand-alone service. The store is in
newstore.py
and a small REST service is instore_app.py
. To use, start the service usingFLASK_APP=store_app.py flask run --port 4999
.actormanager.py
.Let me know what you think.
/Per