-
Notifications
You must be signed in to change notification settings - Fork 37
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
[#5286] Add explicit rule engine instance to irule invocation. #5287
base: develop
Are you sure you want to change the base?
[#5286] Add explicit rule engine instance to irule invocation. #5287
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this will do exactly what you are looking for.
Does it pass/run successfully?
@cbcunc looks good thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed the linting fix just to get the PR build running
@trel All the tests that invoke the rule fail with
and I am not understanding why. |
Ah, I think it expects each space-delimited argument to irule to be a separate parameter to Like this...
|
Possibly. I'll try that. I'm curious that the last three arguments aren't positional. self.session.run is a call into django_irods that Jason wrote. |
Ah, yeah, we already tried that in the very first commit. The arguments are positional. 99fa4f0 |
I will try it again, though, as it looks like it should work: hydroshare/django_irods/icommands.py Line 152 in 874d823
|
Right, there are other calls in that file that have differing number of arguments. |
@trel So now that each we're back to each space-delimited argument to irule is a separate parameter, this error on every every test involving this generated rule. @devincowan Can you confirm that this error has not been occurring to block PRs previously?
|
@cbcunc I can confirm that this error has not been blocking PRs recently |
errno 2 is so... which file doesn't exist? |
closing as no longer necessary after 2.14.1 release of hydroshare, we no longer use the irods microservice for quota tracking in the datazone |
Pull Request Checklist:
pre-existing: https://github.com/hydroshare/hydroshare/blob/master/hs_core/tests/api/native/test_bagit.py#L16
Positive Test Case