manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irindu Nugawela (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1490) GSOC: MongoDB Output Connector
Date Wed, 06 Jun 2018 04:23:00 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502812#comment-16502812
] 

Irindu Nugawela commented on CONNECTORS-1490:
---------------------------------------------

Hi All, I faced an issue during development, the MongodbOutputConnector, and GridFSRepository
Connector both share a common dependency mongo-java-driver and GridFSRepositoryConnector uses mongo-java-driver
version 2.11.3 while the latest stable is version 3.7, add to that mongo-java-driver version
2.x does not support mongod server versions 3.x  methods like {color:#353833}[authenticate|http://api.mongodb.com/java/2.13/com/mongodb/DB.html#authenticate-java.lang.String-char:A-]([String|http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true] username,
char[] password) works only against mongod server versions 2.x and they are deprecated on
mongo-java-driver version 3.x {color}

{color:#353833}I cannot use the latest stable mongo-java-driver version 3.7 for development
because GridFS Connector uses the older version and the older mongo-java-driver version 2.11.3
is already in classpath. I can continue development mongo-java-driver version 2.11.3 but
the MongodbOutputConnector would not support the newer mongodb servers (version 3.x).{color}

{color:#353833}Also I've noticed that GridFS Connector uses [authenticate|http://api.mongodb.com/java/2.13/com/mongodb/DB.html#authenticate-java.lang.String-char:A-]([String|http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true] username,
char[] password) method also classes DBTCPConnector which are deprecated from mongo-java-driver
version 3.x which would also make GridFS connector not work as expected with newer mongodb servers
(version 3.x).{color}

{color:#353833}There are significant differences with mongo-java-driver version 2.X and version
3.X{color}

{color:#353833} {color}

 

 

> GSOC: MongoDB Output Connector
> ------------------------------
>
>                 Key: CONNECTORS-1490
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1490
>             Project: ManifoldCF
>          Issue Type: New Feature
>          Components: MongoDB Output Connector
>            Reporter: Piergiorgio Lucidi
>            Assignee: Piergiorgio Lucidi
>            Priority: Major
>              Labels: MongoDB, gsoc2018, java, junit
>   Original Estimate: 480h
>  Remaining Estimate: 480h
>
> This is a project idea for [Google Summer of Code|https://summerofcode.withgoogle.com/]
(GSOC).
> To discuss this or other ideas with your potential mentor from the Apache ManifoldCF
project, sign up and post to the dev@manifoldcf.apache.org list, including "[GSOC]" in the
subject. You may also comment on this Jira issue if you have created an account. 
> We would like to extend the Content Migration capabilities adding MongoDB / GridFS as
a new output connector for importing contents from one or more repositories supported by
ManifoldCF. In this way we will help developers on migrating contents from different data
sources on MongoDB.
> You will be involved in the development of the following tasks, you will learn how
to:
>  * Write the connector implementation
>  * Implement unit tests
>  * Build all the integration tests for testing the connector inside the framework
>  * Write the documentation for this connector
> We have a complete documentation on how to implement an Output Connector:
> [https://manifoldcf.apache.org/release/release-2.9.1/en_US/writing-output-connectors.html]
> Take a look also at our book to understand better the framework and how to implement
connectors:
> [https://github.com/DaddyWri/manifoldcfinaction/tree/master/pdfs]
>  
> Prospective GSOC mentor: [piergiorgio@apache.org|mailto:piergiorgio@apache.org]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message