-
Notifications
You must be signed in to change notification settings - Fork 71
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
Islandora Deux in Karaf #83
Conversation
Has anyone had a chance to try this out? @acoburn @ruebot @DiegoPino @daniel-dgi If it's no good I'd rather trash it then continue to let it hang. |
I will test it today since I am now free of giving presentations at camp! |
types |
@whikloj ok, testing results:
Any output from karaf or catalina you want me to drop in here? |
Nope that matches with mine, basic-image images aren't working because the camel route doesn't see the file attachment and therefore doesn't process it. I'm working on that. |
Ah, cool. |
@whikloj There's other options for you on this. The most obvious one is having micro services accept a single, standardized serialization format instead of multipart/form-data messages. I've never been a fan of multipart/form-data, but couldn't come up with a better approach at the time. Maybe it's best we talked out our options? I keep coming back to bags. Zipped bags oughta do the trick to assemble both metadata and files in a format that's acceptable. Though that may cause logistical problems if you're zipping a 2GB file on the Drupal server. Paging the other committers: @ruebot @acoburn @DiegoPino And some other folks, too :) @dmoses @ppound @rosiel @qadan Feel free to invite friends to this discussion :D |
@daniel-dgi I'm more concerned why this doesn't work though. It worked then I switched the version of camel and now it doesn't so I'm just wondering if it is something I did. But I take your point that we may want to look at how we are pushing out of Drupal. Is this of any use then? I like it because it has Karaf 4.0.1, but if your developing of something else we should probably be on the same page. |
@whikloj, i'm blaming jetty9. I like the idea of doing it without multipart, but still we should be able to use multipart so i'm for fixing first multipart, then evaluating a different route. Since i'm doing a lot of recoding i will try to debug the message headers to see what is going on. Is that a good idea? |
it's definitely jetty. @DiegoPino I'm glad you're willing to go there, because I'm not thrilled at the prospect. I was planning on a wait and see approach under the assumption the problem is upstream. But if you're feeling pro-active enough, go for it! @whikloj Not really writing anything just yet, but working through api changes to accomodate this without multipart. Also looking into how best to share code between web services through the use of OSGi registered services. Means things might get a little more java-beanish, but should be good in the long-term. |
Check this out: @Islandora-CLAW/7-x-2-x-committers -- we can tag each other now 😄 |
Switch http4 back to http
Also doesn't load on Karaf boot, load after it's up.
BooYah! This worked for me, but I think I probably need a @ruebot to try it out. |
@@ -184,7 +185,28 @@ function islandora_basic_image_node_postupdate($node) { | |||
); | |||
} | |||
|
|||
httprl_request("http://127.0.0.1:8888/islandora/rest/basic-image/?uuid={$node->uuid}", | |||
httprl_request("http://127.0.0.1:8888/cxf/islandora/image/{$node->uuid}", | |||
$options); |
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.
Port should be 8181
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.
Oops 😞
Move islandora-components to their own script. Update to ensure we use the correct version of fcrepo and blaze graph Add @ruebot's work from daniel-dgi/islandora#1
@Islandora-CLAW/7-x-2-x-committers for review por favor |
@whikloj , will fire a vagrant machine and test. But looks pretty good for me. |
@whikloj pulling down, and building. |
@whikloj I am happy to report that it works. |
W000000000t!!! |
No pretty pictures to show but it works fine here! |
My proposal for how to proceed:
@Islandora-CLAW/7-x-2-x-committers - thoughts? |
👍 on @ruebot's proposal. Step 3 will probably require some significant work on the |
@DiegoPino #65 is still open, and will need to be rebased/merged at some point soon. We should get rid of the dev branch as soon as possible because it really complicates things IMO. |
@DiegoPino it's really not a problem to recreate the tests. |
@daniel-dgi are you cool with my proposal? If so, I'll go ahead and merge this one. Then we'll need somebody to merge #111, and then we begin the big job merging dev with master 😱 |
Go for it. On Nov 23, 2015, at 2:21 PM, Nick Ruest [email protected] wrote:
|
This branch builds on @acoburn's work to have a common features.xml file for the islandora camel services and load them in a Karaf container.
It
mvn build install
's them, loads them at start up in the karaf 4.0.1 container.It also implements @ruebot's PRs #80 and #82.