Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Draft of stand-alone actorstore #108

Closed
persquare opened this issue Dec 19, 2018 · 1 comment
Closed

Draft of stand-alone actorstore #108

persquare opened this issue Dec 19, 2018 · 1 comment

Comments

@persquare
Copy link
Contributor

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.

Let me know what you think.

/Per

@persquare
Copy link
Contributor Author

Functionality now in the calvin-3 branch

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

No branches or pull requests

1 participant