Skip to content

Conversation

@armiol
Copy link
Contributor

@armiol armiol commented Sep 26, 2016

Introducing a main read-side concept — Stand.

Stand provides query and subscription API on per-BoundedContext basis, acting as a facade for data retrieval. Being downstream with the Repositories, Stand also stores the latest Aggregate states, making the state fetch much more efficient.

Application interface has been extended with a couple of read-side oriented gRPC services:

  • QueryService — enabling synchronous state retrieval;
  • SubscriptionService — allowing to subscribe for entity state changes.

Also, the ClientService has been renamed to "CommandService"; its subscription-related methods were moved to the newly introduced SubscriptionService.

dmdashenkov and others added 30 commits September 15, 2016 17:10
…unnel-tests

# Conflicts:
#	server/src/test/java/org/spine3/server/stand/StandFunnelShould.java
* simplify naming;
* restructure subscription storage on a Stand side;
* update unit tests accordingly.
…ry-impl

# Conflicts:
#	server/src/main/java/org/spine3/server/stand/Stand.java
* Refactor Stand tests to use Queries utility class.
dmdashenkov and others added 27 commits October 12, 2016 12:10
…cks; do not ignore the result of this method and use the timestamp returned.
# Conflicts:
#	server/src/main/java/org/spine3/server/transport/GrpcContainer.java
* avoid comment-based warning suppressions;
* avoid method duplication in the public API.
* improve JavaDoc formatting and phrasing.
Copy link
Contributor

@alexander-yevsyukov alexander-yevsyukov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Good job!

@armiol armiol merged commit 6db0e02 into master Oct 14, 2016
@armiol armiol deleted the stand-in-memory branch October 14, 2016 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants