You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/03/31 06:45:11 UTC

[GitHub] [openwhisk-wskdebug] alexkli opened a new issue #31: [refactor] better agent abstraction

alexkli opened a new issue #31: [refactor] better agent abstraction
URL: https://github.com/apache/openwhisk-wskdebug/issues/31
 
 
   It would be good to abstract the 3 different (client side) agents (concurrency, activation db and ngrok) using an `Agent` class, and fully encapsulating the logic inside Agent. For example, that ngrok is working very different from the others and does not use a polling loop. That loop is currently in `Debugger.run()`, but it should not have to know about these details.
   
   Requirements:
   - `Agent` base class
   - 3 different implementations in `src/agents/`
   - move logic how to install agent specific things from `AgentMgr` into agent (exception: if installing concurrency fails, install activation db agent)
   - run loop in agent, gets callback for invoker.run() passed in

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services