GitHub user gilfernandes opened a pull request:
https://github.com/apache/camel/pull/1383
Different tracking strategies for MongoDB
This pull request adds an MongoDBTailTrackingStrategy interface which
allows to flexibly extend the way the tracking field data is extracted.
We introduced this change so that we can perform oplog tracking which uses
as id a MongoDB Timestamp object. The current implementation did not allow to
track using this specific data type. The oplog table can be used to implement
database like triggers in MongoDB.
With this patch you can track the oplog table and implement routes that act
as triggers on MongoDB tables.
I am a beginner with little experience in Mongo and Camel, so it might well
be that I did something wrong. Please let me know your thoughts on this
implementation.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gilfernandes/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1383.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1383
----
commit 013e19f4c0d8194419ff66f0e36c7fd2cc146bb2
Author: gilfernandes <[email protected]>
Date: 2016-11-18T15:57:33Z
Added first version of the Camel Firebase component.
commit 410d771821b1daf7e3de3b02671980e7db0b93f0
Author: gilfernandes <[email protected]>
Date: 2016-11-18T16:10:46Z
Added first version of the Camel Firebase component.
commit 9fedbbb4eae13efca03f6dfaf60cf1ec2b27be79
Author: gilfernandes <[email protected]>
Date: 2016-11-18T16:14:15Z
Committed renamed firebase connection file.
commit c86c7423b8a1cee94bbc846ef24b56e09023e35b
Author: gilfernandes <[email protected]>
Date: 2016-11-18T16:19:44Z
Renamed the Firebase admin configuration file.
commit 95800318c1224a92b9657da5c2f925c0c704245f
Author: gilfernandes <[email protected]>
Date: 2016-11-18T16:21:51Z
Removed sensitive data.
commit 73b6ccc7c10591eaaf10d1f357d59dcb01ecaa1f
Author: gilfernandes <[email protected]>
Date: 2016-11-18T17:59:58Z
Fixed style and documentation issues. The documentation is not yet complete.
commit 917b86a22141ad813cb1dd6ee8a1e4a14aecca2a
Author: gilfernandes <[email protected]>
Date: 2016-11-22T11:51:29Z
Added profile which executed all integration tests.
commit 5ae7f871e01cce67872a4c14e2987fc749daf1d1
Author: gilfernandes <[email protected]>
Date: 2016-11-22T12:59:13Z
Removed FirebaseException.
commit f15f0dffbec12215e0af14f18a640b78306e404b
Author: gilfernandes <[email protected]>
Date: 2016-11-22T13:10:02Z
Using the ootb methods for parameter retrieval.
commit 04f0118398924a4ffccf484b941c98bc45664937
Author: gilfernandes <[email protected]>
Date: 2016-11-22T13:15:04Z
Changed the UriEndpoint annotation with the values suggested by davsclaus.
commit 3de8020cd747194a2626185346d3b17d4c2bbaca
Author: gilfernandes <[email protected]>
Date: 2016-11-22T13:27:07Z
Moved Firebase version to parent pom.xml
commit 099e487e8b8fada246f932e50f83dea9a930b69d
Author: gilfernandes <[email protected]>
Date: 2016-11-22T13:33:02Z
Moved assertj version to parent pom.xml
commit b1679887699b3eaa591c51dad1a631a2c8281ed7
Author: gilfernandes <[email protected]>
Date: 2016-11-22T13:51:06Z
Moved the child event listener to a separate class and also fixed the
comment styles.
commit 4f517a5ad4cd7101460301ea9f06e91ae8c4bfe8
Author: gilfernandes <[email protected]>
Date: 2016-11-22T15:04:17Z
Fixed the producer which now should be handling the async and sync flows in
an improved way.
commit dceee41f594499e11844fd16784005dcb42ec343
Author: gilfernandes <[email protected]>
Date: 2016-11-22T15:15:27Z
Removed toString method.
commit 04c66c1f3d67feb8274271a825d7ca138d8e2c2f
Author: gilfernandes <[email protected]>
Date: 2016-11-22T15:16:35Z
Added ASF header.
commit 0932c05c6426503206176e958f2ed41406dd859c
Author: gilfernandes <[email protected]>
Date: 2016-11-22T15:26:59Z
Logging now to a file in the target folder.
commit 10537f9f22cd618a0e5adf2a7bdf9adf34c4ce78
Author: gilfernandes <[email protected]>
Date: 2016-11-22T17:54:22Z
Added first version of the documentation which should be complete.
commit 2ea8ff5f715b100751bb982bc019465b7b7984f3
Author: gilfernandes <[email protected]>
Date: 2016-11-24T19:56:30Z
Changed the version in which the component is going to be available.
commit 0a5a536ce9190510d3c88f7e0434950ddd7f5036
Author: gilfernandes <[email protected]>
Date: 2016-11-24T20:07:31Z
Added the ASF license header.
commit 7c664278337c11aa48ac185398ac453ca53479bc
Author: gilfernandes <[email protected]>
Date: 2016-11-24T20:12:01Z
Copied the license text from the Apache Flink component.
commit a6dc8ead93e0f342c7f5af37236920e10f42d8d7
Author: gilfernandes <[email protected]>
Date: 2016-11-24T20:17:06Z
Changed the alphabetical order of the modules.
commit b772cc6a3dd13e6cd2c6e71ddf86878756f1618a
Author: gilfernandes <[email protected]>
Date: 2016-11-24T21:02:38Z
Improved the endpoint and the general documentation.
commit 8f0568fd7cefcb68980446e0656ad0812a85287b
Author: gilfernandes <[email protected]>
Date: 2017-01-06T13:29:11Z
Added first version of the modified mongodb component with proper
parameterisation.
commit 9dfc059f61ee39570af5607b68a413e6f4e62514
Author: gilfernandes <[email protected]>
Date: 2017-01-06T13:29:11Z
Added first version of the modified mongodb component with proper
parameterisation.
commit 05d0227424a37c6f16c0e1977e75a61a085d7330
Author: gilfernandes <[email protected]>
Date: 2017-01-06T14:28:18Z
Added logic to allow persistence to be turned off.
commit d3a73d2ca9dc21f2c2986d3671ee210d3620b62d
Author: gilfernandes <[email protected]>
Date: 2017-01-06T14:33:41Z
Merge remote-tracking branch 'origin/master'
Conflicts:
components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java
components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingProcess.java
commit 7d8b95c26d5196ca16354d9e0533b4aa4f7f16d1
Author: gilfernandes <[email protected]>
Date: 2017-01-06T15:04:15Z
Removed Firebase
commit 1de5595b793c027e8a12ea17c63488f25fb69db1
Author: gilfernandes <[email protected]>
Date: 2017-01-06T15:42:48Z
Copied the license text from the Apache Flink compone
commit 030a2f8e6f11661226bf557914cf9629e67ca44e
Author: gilfernandes <[email protected]>
Date: 2017-01-06T15:48:33Z
Improved the documentation file with some extra documentation about oplog
tracking.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---