-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
SPI for ContainerProxy and ContainerPool #3662
Comments
closing as #4453 is merged. Now we have SPI for |
Hiho! Can we reopen this? I am currently looking for a way to run some custom code whenever a container is provisioned with an actual action (both for stem cells and completely new containers). We are providing some extra services as part of our platform that need to be configured with some action-specific data which are however not part of the action itself. In order to achieve this I would like to SPI ContainerProxy; we could simply subclass it, intercepting the state transitions… Thanks for your great work on openwhisk! |
Oh and I realize this could be implemented using the InvokerReactive; however we would have to basically copy and paste it just changing the |
@koraa Hi. I am not quite sure which logic do you need to execute, but if you just want to add some custom logic in |
We just need to intercept the state transitions; not change the actual behavior.
You mean an event listener? |
As of now, SPI concept is applied in many parts of OpenWhisk.
If same concept is applied to
ContainerProxy
andContainerPool
, it would give users more options and make OW more flexible.The text was updated successfully, but these errors were encountered: