Merge remote branch 'remotes/official/next' into next
Fix bug where the serializer for Tree objects was not parsing out the "enabled"
flag. Closes #239
Change UniqueId.pending_assignments to a regular HashMap since we are syncing
on the map's monitor when calling get/put
Fix redundant cast in TestTsdbQuery
Fix TestTreeRpc unit tests where JSON ordering is in-determinant.
Naming convention fix
Fix TestSuggestRpc by removing tests for the missing "q" parameter which may
be omitted to get a list of the top names for a type
Fix TreeRpc to parse out the "definition" flag from a JSON request to delete a
tree so that the definition may be removed. Closes #241
Merge remote branch 'remotes/official/next' into next
Add tsuid as a string to the IncomingDataPoint class for use with last data
point queries

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
When printing the config file output to the log or an API call, replace the
value for any key with the string "PASS" in it with "*******" so that passwords
aren't disclosed accidentally.
Fix #240. The problem was that the TSMeta object in a TreeBuilder was
overwritten by a subsequent call to processTimeseriesMeta() before the branches
could finish processing. Thus, when it came time to store the results, the
branch replaced with data from the last TSMeta instead of the one we wanted
to process. Now we create new TreeBuilder objects for each TSMeta using one
set of Trees and it is working correctly.
Fix bug in TreeRpc where the "delete_all" field may be null.
Fixed TestTreeRpc delete definition unit test
Fix TestPutRpc unit tests to look for string in the JSON and avoid potential
problems with unknown field ordering.
Merge remote branch 'remotes/official/next' into next
Fix non-synchronized removal of pending assignments from pending map in UniqueId
Also fix a bug where errors may leave an entry in the pending assignments map
Fix missing name field set call in UIDMeta when loading an object
Avoid CAS errors in UIDMeta by simply returning the original byte array
Don't write the "name" or UID fields to storage for UIDMeta objects as the
canonical name is stored in the uid -> name mapping column. Note that this may
require a purge/resync for RC1 users.
Partial fix for millisecond timestamps where more than 32,767 data points
were stored in a single RowSeq. Larry Reeder found this bug where an assertion
was thrown because the short index rolled over. Changing it to an int will help
but only allows up to 2.1M data points in a row whereas the schema allows 4M.
TODO - figure out an efficient means of keeping the full 4M bytes in memory
with quick access for iteration.
Merge remote branch 'remotes/official/next' into next
Update MockBase to support column families