-
Notifications
You must be signed in to change notification settings - Fork 228
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
Alter where API stores/finds adhoc questions and answers #690
Conversation
Reviewed 5 of 5 files at r1. projects/batfish/src/main/java/org/batfish/main/Batfish.java, line 4480 at r1 (raw file):
what is projects/coordinator/src/main/java/org/batfish/coordinator/WorkMgrService.java, line 361 at r1 (raw file):
delete argument? (I believe that the server will accept and ignore additional form parameters, but you should confirm this.) projects/coordinator/src/test/java/org/batfish/coordinator/WorkMgrTest.java, line 112 at r1 (raw file):
this test has to go, I think. Comments from Reviewable |
Review status: 3 of 5 files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. projects/batfish/src/main/java/org/batfish/main/Batfish.java, line 4480 at r1 (raw file): Previously, dhalperi (Dan Halperin) wrote…
My understanding is that for tasks that use work items, it's easier to stash relevant parameters like question, container, testrig, etc. into settings than to carry them through function parameters, because the execution path for those tasks isn't linear. Then using projects/coordinator/src/main/java/org/batfish/coordinator/WorkMgrService.java, line 361 at r1 (raw file): Previously, dhalperi (Dan Halperin) wrote…
Done. projects/coordinator/src/test/java/org/batfish/coordinator/WorkMgrTest.java, line 112 at r1 (raw file): Previously, dhalperi (Dan Halperin) wrote…
Done, and fixed other tests that were looking for questions inside testrig directories. Comments from Reviewable |
Reviewed 2 of 2 files at r2. a discussion (no related file): Comments from Reviewable |
projects/batfish/src/main/java/org/batfish/main/Batfish.java, line 4468 at r3 (raw file):
still failing. My bet is that it's writing the log for the overall analysis as well, and then Comments from Reviewable |
Reviewed 1 of 1 files at r3. Comments from Reviewable |
Reviewed 1 of 1 files at r4. Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks pending. projects/batfish/src/main/java/org/batfish/main/Batfish.java, line 4468 at r3 (raw file): Previously, dhalperi (Dan Halperin) wrote…
Done, and it now passes the test it was failing (run-analysis in ui-focused). Comments from Reviewable |
Improved alternative to #678. No new API calls, but the existing API calls have been modified to anticipate this storage setup:
Testrig directories are no longer expected to contain a folder called
questions
, so old testrigs will lose track of their existing adhoc questions when this is merged.This change is