[jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3

2016-12-19 Thread Claus Ibsen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-10554:

Component/s: camel-mongodb

> camel-mongodb evolution to driver 3
> ---
>
> Key: CAMEL-10554
> URL: https://issues.apache.org/jira/browse/CAMEL-10554
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-mongodb
>Affects Versions: 2.19.0
>Reporter: Terrien Jean-Yves
>Assignee: Andrea Cosentino
>Priority: Minor
> Fix For: 2.19.0
>
> Attachments: camel-mongodb3.zip
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in 
> the driver. 
> This is the case with DBObject, which is the basis for the configuration of 
> the camel component. 
> I'm working on the evolution of this component to use the new classes of 
> version 3, like "Document". 
> I've created à patch (no completed)
> A+JYT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3

2016-12-17 Thread Andrea Cosentino (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino updated CAMEL-10554:
-
Fix Version/s: 2.19.0

> camel-mongodb evolution to driver 3
> ---
>
> Key: CAMEL-10554
> URL: https://issues.apache.org/jira/browse/CAMEL-10554
> Project: Camel
>  Issue Type: Improvement
>Affects Versions: 2.19.0
>Reporter: Terrien Jean-Yves
>Assignee: Andrea Cosentino
>Priority: Minor
> Fix For: 2.19.0
>
> Attachments: camel-mongodb3.zip
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in 
> the driver. 
> This is the case with DBObject, which is the basis for the configuration of 
> the camel component. 
> I'm working on the evolution of this component to use the new classes of 
> version 3, like "Document". 
> I've created à patch (no completed)
> A+JYT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3

2016-12-15 Thread Terrien Jean-Yves (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Terrien Jean-Yves updated CAMEL-10554:
--
Attachment: (was: mongo3.patch)

> camel-mongodb evolution to driver 3
> ---
>
> Key: CAMEL-10554
> URL: https://issues.apache.org/jira/browse/CAMEL-10554
> Project: Camel
>  Issue Type: Improvement
>Affects Versions: 2.19.0
>Reporter: Terrien Jean-Yves
>Assignee: Andrea Cosentino
>Priority: Minor
> Attachments: camel-mongodb3.zip
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in 
> the driver. 
> This is the case with DBObject, which is the basis for the configuration of 
> the camel component. 
> I'm working on the evolution of this component to use the new classes of 
> version 3, like "Document". 
> I've created à patch (no completed)
> A+JYT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3

2016-12-15 Thread Terrien Jean-Yves (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Terrien Jean-Yves updated CAMEL-10554:
--
Attachment: (was: mongo4.patch)

> camel-mongodb evolution to driver 3
> ---
>
> Key: CAMEL-10554
> URL: https://issues.apache.org/jira/browse/CAMEL-10554
> Project: Camel
>  Issue Type: Improvement
>Affects Versions: 2.19.0
>Reporter: Terrien Jean-Yves
>Assignee: Andrea Cosentino
>Priority: Minor
> Attachments: camel-mongodb3.zip
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in 
> the driver. 
> This is the case with DBObject, which is the basis for the configuration of 
> the camel component. 
> I'm working on the evolution of this component to use the new classes of 
> version 3, like "Document". 
> I've created à patch (no completed)
> A+JYT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3

2016-12-15 Thread Terrien Jean-Yves (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Terrien Jean-Yves updated CAMEL-10554:
--
Attachment: (was: mongo5.patch)

> camel-mongodb evolution to driver 3
> ---
>
> Key: CAMEL-10554
> URL: https://issues.apache.org/jira/browse/CAMEL-10554
> Project: Camel
>  Issue Type: Improvement
>Affects Versions: 2.19.0
>Reporter: Terrien Jean-Yves
>Assignee: Andrea Cosentino
>Priority: Minor
> Attachments: camel-mongodb3.zip, mongo3.patch, mongo4.patch
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in 
> the driver. 
> This is the case with DBObject, which is the basis for the configuration of 
> the camel component. 
> I'm working on the evolution of this component to use the new classes of 
> version 3, like "Document". 
> I've created à patch (no completed)
> A+JYT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3

2016-12-14 Thread Terrien Jean-Yves (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Terrien Jean-Yves updated CAMEL-10554:
--
Attachment: camel-mongodb3.zip

Good evening,
I think this version is complete enough to create the component in the 
repository.

I have a problem on my Mac
The camel-mongodb project in the master version has tests that fail.
testPersistentTailTrack
testPersistentTailTrackIncreasingDateField
testCustomTailTrackLocation
The same tests with the same errors fail in the camel-mongodb3 project
I posted on the list but it seems that the build works.

I could not fix problem on the master.
And so I can not test these cases in the new component.

cordially
PS: I'll have to get familiar with Git. I usually use SVN.

> camel-mongodb evolution to driver 3
> ---
>
> Key: CAMEL-10554
> URL: https://issues.apache.org/jira/browse/CAMEL-10554
> Project: Camel
>  Issue Type: Improvement
>Affects Versions: 2.19.0
>Reporter: Terrien Jean-Yves
>Assignee: Andrea Cosentino
>Priority: Minor
> Attachments: camel-mongodb3.zip, mongo3.patch, mongo4.patch, 
> mongo5.patch
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in 
> the driver. 
> This is the case with DBObject, which is the basis for the configuration of 
> the camel component. 
> I'm working on the evolution of this component to use the new classes of 
> version 3, like "Document". 
> I've created à patch (no completed)
> A+JYT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3

2016-12-11 Thread Terrien Jean-Yves (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Terrien Jean-Yves updated CAMEL-10554:
--
Attachment: mongo5.patch

Using Filters class
Adding FIELDS_FILTER headers on update operation
Update documentation
Change  MongoDbOutputType to
DocumentList, //List
Document, //Document
MongoIterable //MongoIterable
Using Bson class instead of Document when is possible (more generic)

Work in progress
Using more generic classes (like Bson)
Study of the use of MongoCollection where TDocument is generic 
parameter.

> camel-mongodb evolution to driver 3
> ---
>
> Key: CAMEL-10554
> URL: https://issues.apache.org/jira/browse/CAMEL-10554
> Project: Camel
>  Issue Type: Improvement
>Affects Versions: 2.19.0
>Reporter: Terrien Jean-Yves
>Assignee: Andrea Cosentino
>Priority: Minor
> Attachments: mongo3.patch, mongo4.patch, mongo5.patch
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in 
> the driver. 
> This is the case with DBObject, which is the basis for the configuration of 
> the camel component. 
> I'm working on the evolution of this component to use the new classes of 
> version 3, like "Document". 
> I've created à patch (no completed)
> A+JYT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3

2016-12-04 Thread Terrien Jean-Yves (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Terrien Jean-Yves updated CAMEL-10554:
--
Description: 
Hi, 

The mongodb driver has changed in its foundation. 
It is recommended not to use many classes of the verion 2 still present in the 
driver. 
This is the case with DBObject, which is the basis for the configuration of the 
camel component. 

I'm working on the evolution of this component to use the new classes of 
version 3, like "Document". 

I've created à patch (no completed)
A+JYT

  was:
Hi, 

The mongodb driver has changed in its foundation. 
It is recommended not to use many classes of the verion 2 still present in the 
driver. 
This is the case with DBObject, which is the basis for the configuration of the 
camel component. 

I'm working on the evolution of this component to use the new classes of 
version 3, like "Document". 

I've created à patch (no completed)
A+JYT
Ps: how I can post the patch ?


> camel-mongodb evolution to driver 3
> ---
>
> Key: CAMEL-10554
> URL: https://issues.apache.org/jira/browse/CAMEL-10554
> Project: Camel
>  Issue Type: Improvement
>Affects Versions: 2.19.0
>Reporter: Terrien Jean-Yves
>Assignee: Andrea Cosentino
>Priority: Minor
> Attachments: mongo3.patch, mongo4.patch
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in 
> the driver. 
> This is the case with DBObject, which is the basis for the configuration of 
> the camel component. 
> I'm working on the evolution of this component to use the new classes of 
> version 3, like "Document". 
> I've created à patch (no completed)
> A+JYT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3

2016-12-04 Thread Terrien Jean-Yves (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Terrien Jean-Yves updated CAMEL-10554:
--
Attachment: mongo4.patch

readPreference writeConcern


> camel-mongodb evolution to driver 3
> ---
>
> Key: CAMEL-10554
> URL: https://issues.apache.org/jira/browse/CAMEL-10554
> Project: Camel
>  Issue Type: Improvement
>Affects Versions: 2.19.0
>Reporter: Terrien Jean-Yves
>Assignee: Andrea Cosentino
>Priority: Minor
> Attachments: mongo3.patch, mongo4.patch
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in 
> the driver. 
> This is the case with DBObject, which is the basis for the configuration of 
> the camel component. 
> I'm working on the evolution of this component to use the new classes of 
> version 3, like "Document". 
> I've created à patch (no completed)
> A+JYT
> Ps: how I can post the patch ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (CAMEL-10554) camel-mongodb evolution to driver 3

2016-12-03 Thread Terrien Jean-Yves (JIRA)

 [ 
https://issues.apache.org/jira/browse/CAMEL-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Terrien Jean-Yves updated CAMEL-10554:
--
Attachment: mongo3.patch

Patch to use mongo 3 API.


> camel-mongodb evolution to driver 3
> ---
>
> Key: CAMEL-10554
> URL: https://issues.apache.org/jira/browse/CAMEL-10554
> Project: Camel
>  Issue Type: Improvement
>Affects Versions: 2.19.0
>Reporter: Terrien Jean-Yves
>Priority: Minor
> Attachments: mongo3.patch
>
>
> Hi, 
> The mongodb driver has changed in its foundation. 
> It is recommended not to use many classes of the verion 2 still present in 
> the driver. 
> This is the case with DBObject, which is the basis for the configuration of 
> the camel component. 
> I'm working on the evolution of this component to use the new classes of 
> version 3, like "Document". 
> I've created à patch (no completed)
> A+JYT
> Ps: how I can post the patch ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)