memgraph/tests
Teon Banek b15eeffd48 Extract communication to static library
Summary:
Session specifics have been move out of the Bolt `executing` state, and
are accessed via pure virtual Session type. Our server is templated on
the session and we are setting the concrete type, so there should be no
virtual call overhead. Abstract Session is used to indicate the
interface, this could have also been templated, but the explicit
interface definition makes it clearer.

Specific session implementation for running Memgraph is now implemented
in memgraph_bolt, which instantiates the concrete session type. This may
not be 100% appropriate place, but Memgraph specific session isn't
needed anywhere else.

Bolt/communication tests now use a dummy session and depend only on
communication, which significantly improves test run times.

All these changes make the communication a library which doesn't depend
on storage nor the database. Only shared connection points, which aren't
part of the base communication library are:

  * glue/conversion -- which converts between storage and bolt types, and
  * communication/result_stream_faker -- templated, but used in tests and query/repl

Depends on D1453

Reviewers: mferencevic, buda, mtomic, msantl

Reviewed By: mferencevic, mtomic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1456
2018-07-11 12:52:41 +02:00
..
benchmark Extract TypedValue/DecodedValue conversion to higher component 2018-07-11 12:51:31 +02:00
concurrent Implement SSL support for servers and clients 2018-06-20 17:56:47 +02:00
distributed POD serialization, rocksdb integration and Gleich's optimization 2018-06-12 13:54:41 +02:00
drivers Add C# driver test examples 2017-11-10 15:46:56 +01:00
integration Implement SSL support for servers and clients 2018-06-20 17:56:47 +02:00
macro_benchmark Extract TypedValue/DecodedValue conversion to higher component 2018-07-11 12:51:31 +02:00
manual Extract communication to static library 2018-07-11 12:52:41 +02:00
property_based POD serialization, rocksdb integration and Gleich's optimization 2018-06-12 13:54:41 +02:00
public_benchmark Update LDBC query implementation 2018-07-10 10:08:21 +02:00
qa Add kafka openCypher clauses 2018-07-06 15:29:28 +02:00
stress Extract TypedValue/DecodedValue conversion to higher component 2018-07-11 12:51:31 +02:00
unit Extract communication to static library 2018-07-11 12:52:41 +02:00
apollo_runs.py Optimize Apollo build process 2018-05-16 14:52:27 +02:00
client-stress.sh Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00
CMakeLists.txt Initial implementation of telemetry 2018-06-20 14:49:07 +02:00