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

Investigate re-using islandora-connector-houdini #957

Closed
dannylamb opened this issue Oct 10, 2018 · 5 comments
Closed

Investigate re-using islandora-connector-houdini #957

dannylamb opened this issue Oct 10, 2018 · 5 comments
Assignees

Comments

@dannylamb
Copy link
Contributor

We should be able to re-use islandora-connector-houdini from Alpaca and deploy another copy of it by placing a config file in /opt/karaf/etc. By chaning the input stream and houdini URLs, we could conceivably point at a wide variety of microservices that follow Houdini's pattern. For example, a microservice built around ffmpeg could use the same Accept and Apix-Ldp-Resource headers, and the Camel listener wouldn't have to change. Just config!

It's a promise of OSGi that's enticing, but I'd like to investigate it to be 100% sure it's possible before making a ticket to do it.

@whikloj
Copy link
Member

whikloj commented Oct 10, 2018

So I don't think I understand this. You can't get a whole new service by adding a new configuration file, can you?

@ajs6f
Copy link

ajs6f commented Oct 10, 2018

Actually, you totally can. OSGi services need code and (possibly some) configuration, but there's no reason they would need fresh code for every service.

@whikloj
Copy link
Member

whikloj commented Oct 11, 2018

I've made simple route just dropping the XML into a Karaf deploy directory, but I had not heard of this and will now watch patiently and learn.

@dannylamb
Copy link
Contributor Author

So this works fine dropping an XML into the deploy directory, but I'm having a heckuva time getting it wrapped up as a bundle and made into a feature. I need some time to wrestle the OSGi bear a bit. Right now it builds, but does not deploy because it can't find code that I know I'm exporting correctly 😭

@dannylamb dannylamb reopened this Nov 19, 2018
@dannylamb
Copy link
Contributor Author

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

3 participants