Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation dispatcher FSM #77

Merged
merged 16 commits into from
Sep 10, 2024
Merged

Operation dispatcher FSM #77

merged 16 commits into from
Sep 10, 2024

Commits on Sep 6, 2024

  1. [feat] Action dispatcher state machine, naive impl

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    cfc7932 View commit details
    Browse the repository at this point in the history
  2. [feat] A simplistic approach, agnostic to extension type

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    1f7b8b3 View commit details
    Browse the repository at this point in the history
  3. [tmp] Allowing dead code

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    4ce4148 View commit details
    Browse the repository at this point in the history
  4. [refactor] Changing name to Operation instead of Action

    * Could get confusing with proxy_wasm `Actions`
    * Also with plugin configuration `Action`
    
    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    698384d View commit details
    Browse the repository at this point in the history
  5. [refactor] Configuration, adding Actions

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    94bf5d1 View commit details
    Browse the repository at this point in the history
  6. [wip, refactor] GrpcServiceHandler builds message

    * GrpcMessage type created
    
    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    63a211a View commit details
    Browse the repository at this point in the history
  7. [clean] Removing obsolete code

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    172bdbd View commit details
    Browse the repository at this point in the history
  8. [refactor] OperationDispatcher triggering procedures

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    eb8b924 View commit details
    Browse the repository at this point in the history
  9. [refactor] Wiring up altogether

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    6dc8aee View commit details
    Browse the repository at this point in the history
  10. [refactor] Implementing own Message for GrpcMessage

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    fb9ff45 View commit details
    Browse the repository at this point in the history
  11. [refactor] Inlucing Extension within Service and Operation as Rc

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    64510b0 View commit details
    Browse the repository at this point in the history
  12. [refactor] OperationDispatcher.next() returns Option<Operation>

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    f0b0648 View commit details
    Browse the repository at this point in the history
  13. [refactor] Wiring up with the new API

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    a2c69f1 View commit details
    Browse the repository at this point in the history
  14. [refactor] grpc_call function delegated to the caller

    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    159d247 View commit details
    Browse the repository at this point in the history
  15. [refactor] Operation responsible of providing hostcalls fns

    * Easier to test, mocking fn
    * Assigned fn on creation, default hostcall and mock on tests
    
    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    41b920d View commit details
    Browse the repository at this point in the history
  16. [refactor] Fix OperationDispatcher.next() behaviour

    * Bonus: Addressed review regarding testing and Fn types
    
    Signed-off-by: dd di cesare <didi@posteo.net>
    didierofrivia committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    c221036 View commit details
    Browse the repository at this point in the history