Commit Graph

48 Commits (master)

Author SHA1 Message Date
Tal Moran 08d9bd6217 Integrated bb-server angular frontend in gradle build 2017-07-03 03:24:00 +03:00
Tal Moran 05c7a25bb7 Renamed proto files to use standard (lowercase-underscore) naming convention); added a separate proto for bb webapp 2017-06-30 02:28:03 +03:00
Tal Moran 68e1737f22 Dependency cleaning; more spongification; use composite build to include qilin (need qilin 1.3+ now) 2017-06-26 01:59:32 +03:00
Laura Radaelli 17d7d5eca4 Merge branch 'master' of https://vcs.factcenter.org/meerkat/meerkat-java into voting-booth-gui 2017-01-25 21:45:50 +02:00
Tal Moran b360ae81bb Fix gradle build files to work without nexus repository credentials 2017-01-25 19:10:18 +02:00
Tal Moran 06526a16db Clean up build files and remove dependency on local nexus repository 2017-01-24 17:17:09 +02:00
VladimirEliTokarev d6ea9412e3 Changed the usage of json configuration
For now we use an binary file which contains all the protobuf ballot
quesitons.
However there is a problem, the jar that suppose to convert json into
binary configuraiton file doesnt work.
2016-11-05 18:00:28 +02:00
Tal Moran 267164e996 Update to Gradle 3.1 2016-09-21 16:19:45 +03:00
arbel.peled 8aada21119 Fixed some errors in the tests.
Made Threaded Client parameterized (with respect to waiting times and thread count).
2016-06-28 15:08:36 +03:00
arbel.peled 53d609bfee Removed database address from Bulletin Board Server init method (the address is given to the Query Provider).
Added integration tests for Single Server Bulletin Board Client.
Fixed subscription logic in the Single Server Bulletin Board Client.
Decoupled Single Server- and Simple- Bulletin Board Clients (Simple-... is now obsolete).
Fixed some bugs.
Threaded Bulletin Board Client now has some errors in integration.
2016-06-28 08:19:29 +03:00
Arbel Deutsch Peled cc2888483d Threaded Client integration tests passing 2016-06-26 14:32:30 +03:00
Arbel Deutsch Peled d1f7413cde Working client-side Batch changes 2016-06-26 13:06:16 +03:00
Arbel Deutsch Peled 1951db546d Changed Bulletin Board Message payload to either data or message ID
Added server-generated unique batch identifiers
Changed Client-side interfaces
Refactored Client-side code for new batch mechanisms

Not tested on client-side yet
2016-06-19 22:00:43 +03:00
Arbel Deutsch Peled b501992643 Complete overhaul of batch system on server-side
Added batch methods to BulletinBoardUtils
Related changes in BulletinBoardDigest and BulletinBoardSignature

Merge remote-tracking branch 'origin/master' into Cached-Client

Conflicts:
	bulletin-board-client/src/main/java/meerkat/bulletinboard/SimpleBulletinBoardClient.java
	bulletin-board-client/src/main/java/meerkat/bulletinboard/ThreadedBulletinBoardClient.java
	bulletin-board-server/src/main/java/meerkat/bulletinboard/sqlserver/BulletinBoardSQLServer.java
	bulletin-board-server/src/main/java/meerkat/bulletinboard/sqlserver/H2QueryProvider.java
	bulletin-board-server/src/main/java/meerkat/bulletinboard/sqlserver/MySQLQueryProvider.java
	bulletin-board-server/src/main/java/meerkat/bulletinboard/webapp/BulletinBoardWebApp.java
	bulletin-board-server/src/main/proto/meerkat/bulletin_board_server.proto
	meerkat-common/src/main/java/meerkat/bulletinboard/BulletinBoardClient.java
	meerkat-common/src/main/java/meerkat/bulletinboard/BulletinBoardServer.java
2016-06-16 11:21:58 +03:00
Arbel Deutsch Peled 337a135151 Started removing dependency on CompleteBatch.
Tags of batches are now stored as a blob until the batch is complete.
2016-06-15 10:34:46 +03:00
arbel.peled ffac7c1e34 Fixed all of Tal's remarks.
Switched to using the predefined BoolValue Protobuf.
2016-06-02 14:48:48 +03:00
arbel.peled 229cbfd48f Fixed some subscription functionality of the CachedClient 2016-06-02 13:01:41 +03:00
arbel.peled fe209f6b5a Removed default testing for the Bulletin Board Client. 2016-06-02 10:39:29 +03:00
arbel.peled e2f3dbe6b2 Fixed some more issues (most have to do with concurrency).
Implemented close method for the SQLServer which renders it unusable until reinitialization.
Added test for Synchronizer for the case when the remote server is unavailable (test passes).
Still need to fix Batch digest and sign issue.
2016-06-02 10:38:31 +03:00
Arbel Deutsch Peled e91a48b5e1 Fixed a few bugs.
Changed H2 Query Provider to run in-memory.
2016-06-01 22:46:51 +03:00
arbel.peled 7c60e487cc Created a test for the Synchronizer.
Not passing yet.
2016-06-01 21:34:17 +03:00
arbel.peled 347e826f73 Working integrated version of Scanner WebApp
Fully testsed
Moved BoolMsg and IntMsg to Comm package (from BulletinBoardAPI)
2016-05-31 15:26:56 +03:00
arbel.peled 4c33e923b2 Implemented Synchronizer and Cached Client
Not tested yet
2016-04-16 19:50:09 +03:00
arbel.peled 9ed728fca7 Added message counting ability to the server (but not to the client)
Added synchronous CompleteBatch read by the client
Started implementing the synchronizer
Added support for null callbacks
2016-04-14 09:20:11 +03:00
Arbel Deutsch Peled c806e7b32a Added Deletion to Bulletin Board Server and Local Client 2016-04-13 09:46:24 +03:00
Tal Moran d2373c09f2 Merge with master 2016-04-11 20:14:18 +03:00
Tal Moran 1ec02173e7 package renaming and protobuf moves 2016-04-11 19:48:36 +03:00
Arbel Deutsch Peled 857821c0e4 Adding one more file to version control 2016-04-11 12:17:05 +03:00
tzlil.gon d0951f8644 stop 2016-04-08 21:48:08 +03:00
Tal Moran 4f608e813d Code review comments and channges 2016-04-05 15:36:00 +03:00
Arbel Deutsch Peled 49c1e2c178 Added missing files to version control 2016-03-27 20:11:09 +03:00
Arbel Deutsch Peled e56312d38b Local Client supports subsrciptions 2016-03-22 10:16:46 +02:00
Arbel Deutsch Peled a7699086d8 Local Client for testing (without subscription yet)
Partial implementation of subscriptions.
Some bug fixes.
2016-03-21 20:32: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 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
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
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
Arbel Deutsch Peled b5237d6c9f Implemented (untested) batch messages in Bulletin Board Server (MySQL implementation only).
Implemented generic batch message signatures and digests.
Created new interface for Bulletin Board constants.
2015-12-21 23:16:06 +02:00
Arbel Deutsch Peled 37f962d520 Defined semi-final versions of the batch interfaces.
Implemented in part extended BB Server interface.
Added Digest support for Batch messages.
Made GlobalCryptoSetup a final singleton.
2015-12-19 19:54:50 +02:00
Arbel Deutsch Peled 37fdc0bb83 Fixed minor H2 bug.
Fixed dbTest gradle task (now tests all 3 supported DB engines).
2015-12-18 14:39:40 +02:00
Arbel Deutsch Peled b17954adc2 Split interface into BulletinBoardClient and AsyncBulletinBoardClient.
Added Batch Messages Bulletin Board Client interface and associated ProtoBufs.
Returned simple implementation of BulletinBoardClient.
Made ThreadedBulletinBoardClient extend SimpleBulletinBoardClient.
Fixed an issue in SQLite where identical Signatures could be added to the same message.
2015-12-14 23:14:52 +02:00
Arbel Deutsch Peled 79d29a05d3 Working version of ThreadedBulletinBoardClient.
The integration test also passes with SQLite and MySQL engines.
2015-12-14 09:45:40 +02:00
Arbel Deutsch Peled 4f2d0e7738 First working version of Threaded Bulletin Board Client.
Tests do not report well.
2015-12-12 22:45:31 +02:00
Arbel Deutsch Peled 13733e6610 Successful full-project build.
Still untested Bulletin Board Client.
2015-12-12 13:12:35 +02:00
Arbel Deutsch Peled 3de54f16a2 Created (untested version of) a Threaded Bulletin Board Client.
Overhauled Bulletin Board Client interface to accommodate this.
Deprecated the Simple Bulletin Board Client.
Made the path to the server methods generic (defined in the Constants class of the rest package).
2015-12-10 15:08:41 +02:00
Arbel Deutsch Peled 679d18f4a2 Added BB client intergration test (broken)
Fixed MsgID retrieval in BB server
2015-12-06 20:33:45 +02:00
Arbel Deutsch Peled a31d88bd12 First implementation of simple BB Client 2015-12-05 14:25:02 +02:00