Hu
I plan to include shield bundle in the end of this month bundles release.
Regards JB 

-------- Original message --------
From: frankc <[email protected]> 
Date: 20/04/2016  16:53  (GMT+00:00) 
To: [email protected] 
Subject: Re: ElasticSearch Shield for ServiceMix Bundle 

Hi JB,

Thanks for your feedback!  That would be great if having a shield specific
bundle in the pipeline 
Wonder if you have any estimate timeframe?

In fact, I have been trying with this in features.xml:

...
<bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch/1.7.4_1</bundle>
<bundle>wrap:mvn:org.elasticsearch/elasticsearch-shield/1.3.3</bundle>
...

But when loading up the features in OSGI, it complains:
Reason: Package uses conflict: Import-Package: org.elasticsearch.shield;
version="0.0.0"

Interestingly, in MNAIFEST.MF of the bundle using ES+Shield, there is no
version for shield package specified:

Import-Package:
...
 org.elasticsearch.action;version="[1.7,2)",
 org.elasticsearch.action.admin.indices.create;version="[1.7,2)",
 org.elasticsearch.action.admin.indices.delete;version="[1.7,2)",
 org.elasticsearch.action.admin.indices.exists.indices;version="[1.7,2)"
 ,
 org.elasticsearch.action.admin.indices.mapping.put;version="[1.7,2)",
 org.elasticsearch.action.bulk;version="[1.7,2)",
 org.elasticsearch.action.index;version="[1.7,2)",
 org.elasticsearch.action.search;version="[1.7,2)",
 org.elasticsearch.client;version="[1.7,2)",
 org.elasticsearch.client.transport;version="[1.7,2)",
 org.elasticsearch.common.settings;version="[1.7,2)",
 org.elasticsearch.common.transport;version="[1.7,2)",
 org.elasticsearch.common.unit;version="[1.7,2)",
 org.elasticsearch.common.xcontent;version="[1.7,2)",
 org.elasticsearch.index.query;version="[1.7,2)",
 org.elasticsearch.search;version="[1.7,2)",
 org.elasticsearch.shield,
...

Not sure if this indicate anything. I'm sure I must be missing something
basic.

Under non-OSGI environment (like Junit), the function using Shield works
fine.

Thanks for your time.

Best Regards,
Frank




Jean-Baptiste Onofré wrote
> Hi Frank,
> 
> I plan to create a shield specific bundle. I don't think it's a good 
> idea to embed shield directly in the elasticsearch.
> 
> As a workaround you can try wrap on the shield artifact.
> 
> Regards
> JB
> 
> On 04/20/2016 07:16 AM, frankc wrote:
>> Hi all, wonder if any plan on having ElasticSearch-Shield as part of the
>> ElasticSearch servicemix bundle?  Currently I'm using 1.7.0_1 and trying
>> to
>> integrate with Shield 1.3.3 (from ElasticSearch repo directly) but it
>> seems
>> fails to load the bundle (ClassNotFoundException) on any reference to
>> com.elasticsearch.shield.xyz.
>>
>> Thanks for your time.
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://servicemix.396122.n5.nabble.com/ElasticSearch-Shield-for-ServiceMix-Bundle-tp5723618.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
> 
> -- 
> Jean-Baptiste Onofré

> jbonofre@

> http://blog.nanthrax.net
> Talend - http://www.talend.com





--
View this message in context: 
http://servicemix.396122.n5.nabble.com/ElasticSearch-Shield-for-ServiceMix-Bundle-tp5723618p5723620.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to