GitHub user michaelarusso opened a pull request:
https://github.com/apache/usergrid/pull/573
Convert TokenServiceImpl from Hector to Datastax
Added new serialization classes to corepersistence for Usergrid's token
storage. This is an in-place conversion with no change to the underlying
schema in Cassandra.
A random fix for push notifications here as well where it was using an
duplicate (but invalid) query missing single quotes.
A random optimization for using a batch statement for some map
serialization inserts to save an I/O trip to cassandra.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/usergrid token-service-to-dstax
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/usergrid/pull/573.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 #573
----
commit 179f12db0ef55cf9c28936678a933e2de04034eb
Author: Michael Russo <[email protected]>
Date: 2017-06-16T07:15:14Z
Initial commit of new token module to replace Hector for access token
storage.
commit 146e47d668788d72c4fc54a61b7155eeeef508b6
Author: Michael Russo <[email protected]>
Date: 2017-06-18T06:47:47Z
Finish convert token service persistence to Datastax. Add tests, and rename
the package for TokenServiceImpl to impl from cassandra.
commit bea9a4180ebadb79e7f101cfc6d0d06efc39b359
Author: Michael Russo <[email protected]>
Date: 2017-06-18T19:36:56Z
Fix issue where tokenInfo was not being updated with latest inactive value.
Add trace logging to TokenSerializationImpl. Fix issue with push notifications
where the InactiveDeviceManager was making a duplicate (yet incorrect) query
for devices.
----
---
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.
---