GitHub user michaelarusso opened a pull request:
https://github.com/apache/usergrid/pull/521
Introducing Datastax driver.
The following serialization classes/strategies already converted in this PR:
`MapSerializationImpl`
`ScopedCacheSerializationImpl`
`UniqueValueSerializationStrategyImpl`
For `UniqueValueSerializationStrategyImpl`, it is an example of how to work
with existing DynamicComposite types from Astyanax using CQL. Not easy, but
possible. This is temporary until we re-write the Usergrid schema into
something more CQL-friendly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/usergrid datastax-cass-driver
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/usergrid/pull/521.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 #521
----
commit a6319750e65d0b04aaa211e83ac220875120d9a5
Author: Michael Russo <[email protected]>
Date: 2016-02-09T02:04:36Z
Initial commit introducing Datastax cassandra driver.
commit 01c4970a80fa080f7deccf3f004112d9112f624d
Author: Michael Russo <[email protected]>
Date: 2016-02-09T18:18:27Z
Integrate datastax cluster into migration manager for creation of keyspaces
using database/setup.
commit a62fb0a0c95ece13c84a563e58802230bdcff1cb
Author: Michael Russo <[email protected]>
Date: 2016-02-10T01:14:38Z
Create object for defining our table schema and provide utilities for
generating CQL to create or ALTER the table schema.
commit ad4a33713e8280a4d3637bf1395937bd32aa5fca
Author: Michael Russo <[email protected]>
Date: 2016-02-10T01:36:49Z
Add null checks and tests confirming NPEs are thrown.
commit 2203f43336ae86ebcad823fb740207b4eecc36bb
Author: Michael Russo <[email protected]>
Date: 2016-02-11T22:49:44Z
Convert map manager serialization to read and write using CQL using the
original Astyanax data modeling in Cassandra (aka no migration required).
commit 3f8e7cbaf4a7f8351185e803e7bd43dafc49a9a9
Author: Michael Russo <[email protected]>
Date: 2016-02-12T01:11:59Z
Reduce number of connections in core tests and ensure the datastax provider
is a singleton.
commit 3066ab4a59f5fff25f516e6869ea846a48000081
Author: Michael Russo <[email protected]>
Date: 2016-02-12T02:04:35Z
Standardizing test properties.
commit 25454f950f9b16eb0ede1905dfa6cc64b1530c3a
Author: Michael Russo <[email protected]>
Date: 2016-02-12T02:23:55Z
Fix header in TableDefinition.
commit c0f8a4a28576ab58b1eb0b173a73966655a863c1
Author: Michael Russo <[email protected]>
Date: 2016-02-13T00:34:04Z
MapSerialization schema now created by DataStax driver. Add getTables into
Migration interface for creating schema via DataStax driver and CQL.
commit df7d2ff856d71b1f1b999319c9865ea540d4412a
Author: Michael Russo <[email protected]>
Date: 2016-02-13T00:35:36Z
Remove unused import.
commit 29814ef50f47254e45371f355c1c1065ebf1aac4
Author: Michael Russo <[email protected]>
Date: 2016-02-13T03:15:33Z
Fix issues with adding getTables() to Migration interface.
commit 7ff31ebff0cb431c9655764e922d94d7f215a673
Author: Michael Russo <[email protected]>
Date: 2016-02-13T05:45:08Z
Add tests for DataStaxCluster and improve cluster/connection handling to
ensure the cluster is always available through the interface.
commit ecbd495970b73e0c1ed85fa6491c906cac33de6e
Author: Michael Russo <[email protected]>
Date: 2016-02-13T06:48:09Z
Expose creation of keyspace via the interface so other classes can use that
method to create the keyspace if for some reason it does not already exist.
commit 65e873e0ddae370f07af84824225b1a59f7c1a19
Author: Michael Russo <[email protected]>
Date: 2016-02-13T18:23:33Z
Let the keyspace be created only if database/setup is called. Maybe later
add option for auto-keyspace creation.
commit 6ef4c32114044d22d9d74e42033a0cccdd2069ab
Author: Michael Russo <[email protected]>
Date: 2016-02-14T05:23:52Z
Ensure that when specific apps are re-indexed, their index is initialized.
commit bb225e8a37cfbe1419d98e61247af45a53f39733
Author: Michael Russo <[email protected]>
Date: 2016-02-15T01:24:52Z
Add caching options to the table creation, supporting pre 2.1 and 2.1 table
properties in Cassandra. Don't default the Cassandra version in the tests.
commit 75cc3a43edf3bb6efe32b715823a30872453358b
Author: Michael Russo <[email protected]>
Date: 2016-02-15T02:36:03Z
Move CassandraFig outside of Astyanax package. Update handling of protocol
version for datastax cluster.
commit 3c6fcdc7452a1eead0c5e28e32bc12bedd142028
Author: Michael Russo <[email protected]>
Date: 2016-03-27T17:47:24Z
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/usergrid
into datastax--cass-driver
# Conflicts:
# stack/core/pom.xml
commit 70ff8fdb44daeb81e24b1f7218aba791e2d59cc5
Author: Michael Russo <[email protected]>
Date: 2016-04-28T10:57:45Z
Merge branch 'master' into datastax--cass-driver
commit c3566713b30cc99bb7541f0069bf396008c2fe50
Author: Michael Russo <[email protected]>
Date: 2016-05-01T06:32:05Z
Update Usergrid dependencies to 2.2.0-SNAPSHOT.
commit 6a1fd223b3e0f1a677af1d6b0d0c87b25d525da7
Author: Michael Russo <[email protected]>
Date: 2016-05-01T06:37:08Z
Fix compile issue post-merge with master to get current.
commit 4475158f1b48aa485d6af7d90caa91948ac2f46f
Author: Michael Russo <[email protected]>
Date: 2016-05-01T08:56:56Z
Re-write SCOPED_CACHE serialization to use Datastax driver and CQL.
commit f9a29e803cab3940d5e3521b16201cd95067c460
Author: Michael Russo <[email protected]>
Date: 2016-05-01T08:57:45Z
Remove Astyanax dependencies for Scoped Cache serialization.
commit 190e51992c97da7e863d399eafa9cc7455d8121c
Author: Michael Russo <[email protected]>
Date: 2016-05-01T09:37:22Z
Fix file naming issues ( had to use git mv for git to pickup case changes
in filenames).
commit f28abda041378884999e665e1af073e24557f953
Author: Michael Russo <[email protected]>
Date: 2016-05-01T09:43:20Z
Move CassandraConfig out of astyanax package.
commit ff3f7e899d81d636eddaa203141ee31ef2da097c
Author: Michael Russo <[email protected]>
Date: 2016-05-01T09:48:43Z
Add consistent read CL for datastax driver implementations.
commit 0c609878e1eccd35f31bc4fdc86bd3fe9da21593
Author: Michael Russo <[email protected]>
Date: 2016-05-06T14:36:37Z
Initial UniqueValueSerialization conversion to CQL.
commit 866d11bf3ecf909682f9fbc91195323f26a1e2ad
Author: Michael Russo <[email protected]>
Date: 2016-05-08T07:45:28Z
Unique value serialization completely converted to use CQL. Complete
Astyanax removal still needs to be completed.
commit 24b42856293470f87bba701e01359a2f56a0850a
Author: Michael Russo <[email protected]>
Date: 2016-05-08T14:16:37Z
Unique Value serialization table creation now via CQL instead of
Astyanax/Thrift.
commit eccb4d546f548cc66c14b7bef6f6b5272c2f4ab4
Author: Michael Russo <[email protected]>
Date: 2016-05-08T14:21:09Z
Merge branch 'master' into datastax-cass-driver
----
---
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.
---