Skip to content

Conversation

@utnapischtim
Copy link
Contributor

@utnapischtim utnapischtim commented Feb 27, 2025

how to use

to use it start the rpc server by

invenio rpc-server start

send to the rpc-server by:

rpc-server send webpack create

what is working:

  • rpc-server send webpack clean no parameters
  • rpc-server send collect --verbose flag parameters
  • rpc-server send access allow-action-for-role --action superuser-access --role administration parameters
  • rpc-server send access allow administration-moderation role administration-moderation chained calls

invenio-cli

  • invenio-cli has to start the rpc-server within the .venv of my-site. e.g uv run invenio rpc-server start, naturally this has to be started in the background. maybe with a customizable host:port configuration, to have multiple invenio rpc-servers arround
  • to be used it should be enough to do something like uv run rpc-server send webpack create. rpc-server does not start a flask-app and should be fast.
  • should the rpc-server be started in a separate shell to provide the error log?
  • should invenio-cli start the server on every call? (performance wise, NOT)

open TODO's

  • make host:port configurable!

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

Successfully merging this pull request may close these issues.

1 participant