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

Plugin should have access to its executionId #169

Open
brollb opened this issue Sep 19, 2019 · 4 comments
Open

Plugin should have access to its executionId #169

brollb opened this issue Sep 19, 2019 · 4 comments

Comments

@brollb
Copy link
Collaborator

brollb commented Sep 19, 2019

Currently, the client has access to a plugin's execution ID but this is not available to the plugin itself. This would be really nice so the executionId could be recorded by the plugin (and enable it to be canceled from a different browser session).

@kecso
Copy link
Member

kecso commented Sep 19, 2019

I agree that it would be beneficial to have the id stored on the server side and made accessible to the initiating user so other client access would have the potential to communicate with it.
On the other hand, I do not see how allowing the plugin to know its own id would help this situation...

@brollb
Copy link
Collaborator Author

brollb commented Sep 19, 2019

I had imagined that the plugin could determine where to store the executionId. In my use-case, the execution is associated with part of the model so I have been imagining that the plugin would store the executionId with the associated part of the model.

@brollb
Copy link
Collaborator Author

brollb commented Oct 8, 2019

Does the use case make sense? Basically, I would like to associate the execution with a part of the model by storing the execution ID in a node attribute.

@brollb
Copy link
Collaborator Author

brollb commented Oct 16, 2019

@kecso Would you be open to a PR changing this? Or do you have a better recommendation for how to associate a running plugin to a part of the model?

This is currently causing some annoying forking and related issues...

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

No branches or pull requests

2 participants