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

REST API can't run custom Operations and Functions #68

Closed
d47853 opened this issue Apr 23, 2020 · 2 comments
Closed

REST API can't run custom Operations and Functions #68

d47853 opened this issue Apr 23, 2020 · 2 comments

Comments

@d47853
Copy link
Member

d47853 commented Apr 23, 2020

Sometimes Graph owners have custom operations or operations from different libraries that they want to run through their REST API. In order to add these operations / functions, the jar files will need to be added to the classpath of the REST service, as well as the Accumulo lib/ext directory.

Operations have a further complication in that they need to be added to the REST api using an operation declarations file. See the bottom of this page for an example

@d47853 d47853 added enhancement Improvement to existing functionality/feature headliner Used to tag major items for release notes labels Apr 23, 2020
@d47853 d47853 added this to the v0.6.0 milestone Apr 23, 2020
@ctas582
Copy link
Member

ctas582 commented Apr 23, 2020

This duplicates #33 and #34.

The way this is supported is for users to build their own container images, containing their custom JARs, using our containers as the base e.g.

FROM gchq/gaffer:1.11.0
COPY <jar> /opt/accumulo/lib/ext

This probably just needs documenting.

@d47853 d47853 added duplicate and removed enhancement Improvement to existing functionality/feature headliner Used to tag major items for release notes labels Apr 23, 2020
@d47853 d47853 removed this from the v0.6.0 milestone Apr 23, 2020
@d47853
Copy link
Member Author

d47853 commented Apr 23, 2020

Oh yeah of course it does. i'll close this as a duplicate

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

No branches or pull requests

2 participants