Commit Graph

73 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 173b952e09 Added proxy to bb frontend (no need for cross-origin headers); support periodic status calls 2017-07-02 17:54:36 +03:00
Tal Moran c0b21f82ee Added toy angular application (for bulletin-board frontend) 2017-07-02 16:42:45 +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
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
Tal Moran 267164e996 Update to Gradle 3.1 2016-09-21 16:19:45 +03:00
Hai Brenner 88c4e0e644 Merge branch 'master' of https://cs.idc.ac.il/rhodecode/meerkat/meerkat-java 2016-07-06 21:45:35 +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
Hai Brenner 06d69554d9 fixed some merge conflicts which appeared for some unknown reason 2016-06-26 17:07:03 +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 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 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 edfd47a98d Fixed H2 test time (by using a connection pool)
Added same fix to MySQL
Fixed and tested H2 SyncQuery
2016-04-11 14:13:26 +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 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 71191e05b9 Added Sync Query tests on Bulletin Board Server 2016-02-29 08:36:35 +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 7e542a804c Fixed MySQL exclusion from standard test 2016-01-02 12:38:53 +02:00
Arbel Deutsch Peled d643932ef9 Added H2 support for Batch messages 2015-12-27 12:04:37 +02:00
Arbel Deutsch Peled 88b8f6d8ea Working version of Batch messages on Server-Side 2015-12-27 11:21:17 +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 bfc62cd77c Slight enhancement to Server performance. 2015-12-12 23:18:32 +02:00
Arbel Deutsch Peled 975ad340be Bulletin Board Server WebApp support for MySQL and H2 engines. 2015-12-12 12:36:00 +02:00
Arbel Deutsch Peled 520697d121 Added named parameters to the BulletinBoardSQLServer.
Added support for H2 SQL engine.
Further generalization of the BulletinBoardSQLServer.
2015-12-12 11:54:52 +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 76c5e6681f Made SQL Servers generic.
Added MySQL Server and test.
Added partial H2 Server code.
2015-12-09 14:47:18 +02:00
Arbel Deutsch Peled 3f21f30f35 Added getSignerID method to signatures.
Added timing output for Server tests.
2015-12-08 09:11:22 +02:00
Arbel Deutsch Peled 0b847dcaf4 Added a new version of the BB Server that allows for search of messages containing multiple tags and/or signatures.
Added tests for both Server types.
2015-12-08 08:17:30 +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