Coder Social home page Coder Social logo

update karaf to 4.0.3 about documentation HOT 9 CLOSED

islandora avatar islandora commented on August 19, 2024
update karaf to 4.0.3

from documentation.

Comments (9)

acoburn avatar acoburn commented on August 19, 2024

Just as a note, the latest Karaf release is now 4.0.2

from documentation.

ruebot avatar ruebot commented on August 19, 2024

I'll update the ticket 😄

from documentation.

daniel-dgi avatar daniel-dgi commented on August 19, 2024

now it's 4.03 :D

from documentation.

daniel-dgi avatar daniel-dgi commented on August 19, 2024

Heads up, this will break the basic image service because karaf 4's jetty component has issues with multipart/form-data. So we have two options: wait, or figure out a better services API :P

I say we should have a big long talk about our services API, and if we can do it differently. We could expose transactionality in Fedora and just have multiple calls within a transaction as opposed to accepting multipart/form-data. That is, open a transaction, ingest a basic image, add its OBJ, close transaction.

It may be best we take an approach like that. There's also the option of providing a single file for ingest/update, like a zipped bag or something.

from documentation.

DiegoPino avatar DiegoPino commented on August 19, 2024

@daniel-dgi, true. Let's figure it out (or start) during the Sprint. I'm still trying to understand what is missing in jetty9 to make multipart happen, if not a bug.

from documentation.

ruebot avatar ruebot commented on August 19, 2024

Sounds like a good topic for our Wednesday call! I'll add it to the agenda 😄

https://github.com/Islandora-Labs/islandora/wiki/November-4,-2015

from documentation.

daniel-dgi avatar daniel-dgi commented on August 19, 2024

Ok, looks like if I throw in a JAXRS annotated interface into the collection and image services, we can hijack the route using camel-cxfrs. This will use karaf's internal jetty server (the one hawt is running on) instead of trying to have the camel context fire up its own. Will also give us more solid multipart support. Plus swagger :D

The intended use of something like this is to provide middleware services around cxf web services that are already defined in service beans. Ideally, I'd have more done in code in service beans or processors for a bit better code re-use. But that's out of scope for this issue. For now, this approach will get us what we need to upgrade to newer to unblock all the other issues that are waiting for this.

from documentation.

ruebot avatar ruebot commented on August 19, 2024

EXCELLENT.

from documentation.

ruebot avatar ruebot commented on August 19, 2024

Resolved with: fa60702

from documentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.