Commit Graph

147 Commits (da614c13abd124ad7e40ded3ee7db1e8fa52b3fb)

Author SHA1 Message Date
Vladimir Eliezer Tokarev da614c13ab Changed the signatures of methods according to java standarts (camelCaseConvention). 2016-03-05 02:36:35 -08:00
Vladimir Eliezer Tokarev 4b31e87d07 Changed the code according to Arbel Peled CR. 2016-03-04 08:53:42 -08:00
Vladimir Eliezer Tokarev 2d72822405 Changed the MessageCollectionUtils file and the files that affacted by this change. 2016-03-04 08:26:55 -08:00
Vladimir Eliezer Tokarev 9828832553 Changed the type of the message validator and reformated the classes in an appropriate way. 2016-03-04 07:22:34 -08:00
Vladimir Eliezer Tokarev d9272c9f94 Renamed SimpleRegistry to Registry. 2016-03-04 06:06:37 -08:00
Vladimir Eliezer Tokarev 9c52eff109 Updated the VoterRegistry.proto file according to the new timestamp of the unsingedBulletinBoardMessage. 2016-03-04 06:05:06 -08:00
Vladimir Eliezer Tokarev 6359f74a7b Updated the VoterRegistry.proto file according to the new timestamp of the unsingedBulletinBoardMessage. 2016-03-04 06:02:53 -08:00
Vladimir Eliezer Tokarev fea0e8880f changed the files according to the new futureInterface. 2016-03-04 05:43:43 -08:00
Vladimir Eliezer Tokarev 843d50c276 changed the files according to the new futureInterface. 2016-03-04 05:36:48 -08:00
Vladimir Eliezer Tokarev 5c4b5a2150 mereging with master for getting the new timestamp uasge 2016-03-04 04:56:14 -08:00
Vladimir Eliezer Tokarev 687c2c6d7e Pulled the first version of the BulletinBoardClientIntegretionTest file 2016-03-04 04:50:33 -08:00
Arbel Deutsch Peled 50bcca8da3 Merge branch 'Bulletin-Board-Batch' 2016-03-01 13:57:57 +02:00
Arbel Deutsch Peled 1cf14a60a8 Bulletin Board Client support for streaming and Timestamps
Created standard Checksum interface and implementation for Sync Query mechanism
Added the Timestamp into the Batch Digest and Signature logic
2016-03-01 13:56:18 +02:00
Arbel Deutsch Peled 71191e05b9 Added Sync Query tests on Bulletin Board Server 2016-02-29 08:36:35 +02:00
Arbel Deutsch Peled ca31d5a177 Merge branch 'Bulletin-Board-Batch' 2016-02-27 16:57:36 +02:00
Vladimir Eliezer Tokarev 311d1e8e8e Removed the voterRegistryMessage and swaped the usage of it to BulletinBoardMessage 2016-02-27 03:55:45 -08:00
Vladimir Eliezer Tokarev 87420a9d7d Removed the voterRegistryMessage and swaped the usage of it to BulletinBoardMessage 2016-02-27 03:48:51 -08:00
Vladimir Eliezer Tokarev 5169c935bf Changed the usage of timestamp to miliseconds and removed the aqurate timestamp 2016-02-27 03:00:14 -08:00
Vladimir Eliezer Tokarev 097aad4e7b Changed the enumartion of RegistryTags to abstract class with static final strings as tags 2016-02-27 01:27:19 -08:00
Vladimir Eliezer Tokarev 64a9356dc2 Change part of the code (java 8 usage) for gralde to be able to run the test and not fail. 2016-02-26 05:52:03 -08:00
Vladimir Eliezer Tokarev 230dfe6d3f Realocated the VoterRegistry.proto file and changed the usage of it 2016-02-26 05:17:29 -08:00
Vladimir Eliezer Tokarev c8e747285c Added the verefication process to the receiving of messages from voter registry 2016-02-26 04:54:39 -08:00
Vladimir Eliezer Tokarev 16a3102ca4 Replaced part of the files according to Arbel Peled CR and remove unnessesry files 2016-02-25 21:56:46 -08:00
Vladimir Eliezer Tokarev 20d2b3e68c Ended the refactoring of the code acording to Arbel Peled first CR commit 2016-02-25 21:45:52 -08:00
Arbel Deutsch Peled aeb7c13436 Made read operations stream the results.
Removed dependency on large Protobufs (BulletinBoardMessageList and BatchDataList).
Partial implementation of Sync Query.
Current version supports only H2 and MySQL (no SQLite support).
2016-02-22 08:04:01 +02:00
Vladimir Eliezer Tokarev 6ec0d4a668 Changed the simple voter registry tests (all passes) to the new strcutrue of the registry 2016-02-20 08:54:22 -08:00
Vladimir Eliezer Tokarev 3347a6c42d Refactoring the code of voter-registry tests according to Arbel Peled CR 2016-02-20 07:48:10 -08:00
Vladimir Eliezer Tokarev 8c0e7f57bb Refactoring the code of voter-registry tests according to Arbel Peled CR 2016-02-19 08:41:02 -08:00
Vladimir Eliezer Tokarev 64ccaff508 Refactoring the code of voter-registry according to Arbel Peled CR 2016-02-19 06:33:32 -08:00
Vladimir Eliezer Tokarev 298dd5bf6e Refactoring the code of voter-registry according to Arbel Peled CR 2016-02-19 06:18:28 -08:00
Vladimir Eliezer Tokarev bb4cc5b087 Refactoring the code of voter-registry according to Arbel Peled CR 2016-02-19 06:17:43 -08:00
Vladimir Eliezer Tokarev 91e41af7a0 Merge branch 'Voter-Registry' of http://cs.idc.ac.il/rhodecode/meerkat/meerkat-java into Voter-Registry
Need to correct the data according to Arbel-peled CR
2016-02-19 03:11:26 -08:00
Arbel Deutsch Peled 9a78330e29 Working Integration test for Threaded BB Client supporting Batches.
Haven't tested subscriptions yet.
2016-02-16 22:33:52 +02:00
Vladimir Eliezer Tokarev 414452db84 Added The protobufs file and its java representation Those protobufs are representing the messages that the registry will use when communicating with the bulletin-board
Summary:
D:/Work/Wombat Working/voter-registry/comment-info.txt

Changed the location of the protobufs file The location have been changed to create order in the packages

Changed the location of the  ProtobufsMessages file so that the Registry file could use it freely

Changed the location of the Protobufs file and added the Registry class The protobufs files location was changed for the right location of the packages for Registry class be able to use the protobufs files

Changed the location of the ProtobufsMessages file for creating more organized project

Created the SimpleRegistry file SimpleRegistry expose the ability of manging voters information (their groups, and personal data)

Created RegistryTagTypes file this file have the different tags for registry messages

Changed the SimpleRegistry file started to implement the different methods of this class (such as created basic messages)

Changed the ProtobufMessages file now using only the basic registry messages

Changed the SimpleRegistry file Managed to create the signatory and add empty builder

Added the AccurateTimestamp file This file converts string timestamp to timestamp and the other way , its used for the SimpleRegistry tags

Moved the AccurateTimeStamp and the RegistryTagTypes to package called util This way the project files are more organized

Add the MessagesUtil file This file contain helpfull methods for working with messages (such as basicMessage and BulletinBoardMessage)

Created VoterRegistryMessage VoterRegistryMessage extending the abilities of the basic message also changed the name of  MessagesUtils  to CollectionMessagesUtils because its suits more this class destination

Changed the simpleRegistry file Edited the GetPersonIDDetails method , and refactored the basic methods of upload data to BulletinBoardServer

Added the SimpleRegistryTest This object tests the simple registry functionality

Added the SimpleRegistryTest This object tests the simple registry functionality

Changed the RegistryTagsType to RegistryTags The Name RegistryTags more indicative

Added The Wombat Code And Documentation This file describes the conventions of the wombat project

Changed the SimpleRegistry and VoterRegistryMessage Documentation The documentation was partial in part of the methods

Changed the SimpleRegistry to work with UnsignedBulletinBoardMessage The basicMessage is not needed

Changed the SimpleRegistry to work with UnsignedBulletinBoardMessage The basicMessage is not needed

Changed the VoterRegistryMessage to wrap UnsignedBulletinBoardMessage there is no need to wrap unused basic message when using UnsignedBulletinBoardMessage

Re-organized the voter-registry Since there no need for basicMessage i have removed it, and changed few methods to be in language level 7

Re-organized the voter-registry Since there no need for basicMessage i have removed it, and changed few methods to be in language level 7

added the RegistryInstance interface Which gives the basic registry functionality (because there going to be at least two registries)

Changed the SimpleRegistry The new Simple Registry works according to the RegistryInstance interface

Changed the SimpleRegistry The new Simple Registry works according to the RegistryInstance interface

Changed the SimpleRegistry The new Simple Registry works according to the RegistryInstance interface

Added testing to the SimpleRegistryTest class The Test checking that SetVoter AddVoter AddToGroup RemoveFromGroup methods working.

Added testing to the SimpleRegistryTest class The Test checking that SetVoter AddVoter AddToGroup RemoveFromGroup methods working.

Test Plan: The idea is to create number of BulletinBoardMessage's that and post them, then ask from the server for message with relevant filter and check that all the messages that have been posted there.

Reviewers: arbel.peled

Differential Revision: https://proj-cs.idc.ac.il/D1
2016-02-12 07:37:32 -08:00
Vladimir Eliezer Tokarev c4177cf487 Added testing to the SimpleRegistryTest class
The Test checking that SetVoter AddVoter AddToGroup RemoveFromGroup methods working.
2016-01-30 09:19:25 -08:00
Vladimir Eliezer Tokarev 003720839c Added testing to the SimpleRegistryTest class
The Test checking that SetVoter AddVoter AddToGroup RemoveFromGroup methods working.
2016-01-30 02:30:12 -08:00
Vladimir Eliezer Tokarev 6020ed3ab8 Changed the SimpleRegistry
The new Simple Registry works according to the RegistryInstance interface
2016-01-23 09:16:57 -08:00
Vladimir Eliezer Tokarev 68caeee114 Changed the SimpleRegistry
The new Simple Registry works according to the RegistryInstance interface
2016-01-23 05:51:41 -08:00
Vladimir Eliezer Tokarev c30ea072f2 Changed the SimpleRegistry
The new Simple Registry works according to the RegistryInstance interface
2016-01-23 03:31:04 -08:00
Vladimir Eliezer Tokarev 7a167639db added the RegistryInstance interface
Which gives the basic registry functionality (because there going to be at least two registries)
2016-01-23 03:29:29 -08:00
Vladimir Eliezer Tokarev 01604d1acb Re-organized the voter-registry
Since there no need for basicMessage i have removed it,
and changed few methods to be in language level 7
2016-01-22 10:22:36 -08:00
Vladimir Eliezer Tokarev 89bac8d346 Re-organized the voter-registry
Since there no need for basicMessage i have removed it,
and changed few methods to be in language level 7
2016-01-22 08:14:13 -08:00
Vladimir Eliezer Tokarev dfc5bf4b24 Changed the VoterRegistryMessage to wrap UnsignedBulletinBoardMessage
there is no need to wrap unused basic message when using UnsignedBulletinBoardMessage
2016-01-22 08:03:52 -08:00
Vladimir Eliezer Tokarev 1815863746 Changed the SimpleRegistry to work with UnsignedBulletinBoardMessage
The basicMessage is not needed
2016-01-22 07:47:39 -08:00
Vladimir Eliezer Tokarev 0d8e522e93 Changed the SimpleRegistry to work with UnsignedBulletinBoardMessage
The basicMessage is not needed
2016-01-22 07:35:30 -08:00
Vladimir Eliezer Tokarev 4324bdeecd Changed the SimpleRegistry and VoterRegistryMessage Documentation
The documentation was partial in part of the methods
2016-01-22 06:23:25 -08:00
Vladimir Eliezer Tokarev d4d2d2f5b6 Added The Wombat Code And Documentation
This file describes the conventions of the wombat project
2016-01-22 06:10:13 -08:00
Vladimir Eliezer Tokarev e75317efa9 Changed the RegistryTagsType to RegistryTags
The Name RegistryTags more indicative
2016-01-22 05:13:32 -08:00
Arbel Deutsch Peled 3fed32f9e6 First (untested) version of BB Client with full batch support 2016-01-17 19:57:45 +02:00
Arbel Deutsch Peled 141d286af2 Dual-layered threaded BB Client.
Supports basic functionality.
Does not support Batch Messages yet.
2016-01-17 10:59:05 +02:00