-
Notifications
You must be signed in to change notification settings - Fork 6
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
Minimize and proof SciJava Ops API & SPI #90
Minimize and proof SciJava Ops API & SPI #90
Conversation
To add some context, here's what happens - in the tests, we use therapi to discover |
TODO: Make changes described in this comment |
It's not used anywhere
This gives users something to catch in the API without invoking SciJava Ops Engine terminology in the API
4deeb83
to
af70fa1
Compare
fdd597d
to
9c507a0
Compare
I added some new API that might make skipping logging history nicer. But we should replace the hint, if we like it
More accurate description of what the object is
Was tired of seeing warnings, so I got rid of (a lot) of them
9c507a0
to
b3599a3
Compare
The lambdaizer functions are useful, so I moved them to a separate class
I thought I did it before...
Because we have an InfoTree, infoChain is wrong
390e596
to
436fa5a
Compare
This PR reduces the footprint of the SciJava Ops API, moving implementation-specific classes to other components (mostly to SciJava Ops Engine) - this reduces the burden of maintaining our exposed API.
To enable testing API functionality, I've created a module
scijava-ops-test
, which allows runtime access toDefaultOpEnvironment
, but only a compile-time dependency onscijava-ops-api
. This module will prove that the API is powerful enough to access all functionality housed in the incubator.To ensure that the SPI is suitable, I've tried to remove the engine dependency from ImageJ Ops2 - unfortunately, it still requires an API dependency, although maybe we can fix this later!
TODO:
scijava-ops-test
- do we really need a separate module? We might want to consider making this an integration test package in the engine...open
thenet.imagej.ops2
module to get the tests to pass... is this something that rebasing over Scijava/scijava javadoc parser/javadoc to yaml #79 might fix?net.imagej.ops2.OpRegressionTest
reports finding 2 fewer Ops - did we actually remove some Ops?org.scijava.ops.api
dependency from imagej ops2? It looks like only themap
Ops use it to avoid recording the history of dependencies - relevant topics may include Initialize SciJava Concurrent module #33, Scijava/scijava ops engine/skip map history #64 - EDIT: No, we can't, right now, without removing functionality. Skipping this...DefaultMatchingErrorTest
toOpMatchingExceptionTest
Closes scijava/scijava#73