Git Product home page Git Product logo

Comments (11)

tonit avatar tonit commented on August 27, 2024

See http://github.com/tonit/jedis/compare/master...osgi-metadata-added

from jedis.

xetorthio avatar xetorthio commented on August 27, 2024

Hi! thanks for this! Seem OK. although I'm not sure if changing the packaging from jar to bundle can affect anyone. Don't have lots of experience with OSGi.

from jedis.

xetorthio avatar xetorthio commented on August 27, 2024

It has been a while since this. I will close this for now as it seems no one need this. Will glad to reopen this if people ask for this.
Thanks!

from jedis.

sneakybeaky avatar sneakybeaky commented on August 27, 2024

Hi,
I'm also now looking at using Jedis in an OSGi container. It would be great if you can add this patch. The packaging won't affect normal use - the bundle produced is a jar that can be used as normal in non OSGi environments

from jedis.

stibi avatar stibi commented on August 27, 2024

Hi!
I'd also appreciate the OSGI compatibility, as I'm going to use Jedis in my Apache Camel project (Karaf server).
It seems, that for now is possible to use this: https://github.com/sneakybeaky/jedis-osgi
But "official support" for OSGI sounds better :-)

from jedis.

sneakybeaky avatar sneakybeaky commented on August 27, 2024

@stibi I created that as a result of this issue. I'd be happy to push to maven central but just need to agree how to credit Jedis in the release notes. You've also seen the Jedis Karaf / Gogo shell commands bundle in my repo too I guess ?

from jedis.

stibi avatar stibi commented on August 27, 2024

@sneakybeaky Hi! Yes I noticed Jedis Karaf shell too, nice! I'll definitely check it out! Thanks!

from jedis.

stibi avatar stibi commented on August 27, 2024

@sneakybeaky This is not the best place for such discussion, but I need to ask you for help, with quite basic problem I have, right from the start…
How to install jedis-osgi bundle in Karaf? Looking on "distributionManagement" configuration in jedis-osgi pom file, there I can see that artifacts are stored on Amazon S3. My Maven doesn't know "s3" protocol. After quick googling, I'd say I have to enable something…
Could you give me a hint?

from jedis.

sneakybeaky avatar sneakybeaky commented on August 27, 2024

@stibi look at https://github.com/sneakybeaky/osgi-leaderboards#getting-started, specifically the part about editing the org.ops4j.pax.url.mvn.cfg file. Once done you can add the jedis feature :

karaf@root> features:install jedis

An example of using blueprint to define a local redis datasource can be found at https://github.com/sneakybeaky/jedis-osgi/blob/master/example-datasource/src/main/resources/OSGI-INF/blueprint/local-redis-datasource.xml

from jedis.

stibi avatar stibi commented on August 27, 2024

ok, thanks for the repository url…
To install jedis-osgi,

karaf@root> install -s mvn:redis.clients/com.ninedemons.jedis/2.1.0-SNAPSHOT

was working for me.

from jedis.

sneakybeaky avatar sneakybeaky commented on August 27, 2024

You'll need apache commons pool too:

karaf@root> install -s mvn:org.apache.commons/com.springsource.org.apache.commons.pool/[1.5,2)

from jedis.

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.