Skip to content
Implementation of vlingo-symbio for JDBC
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
bintray.json
docker-compose.yaml
pgbounce.sh
pom.xml

README.md

vlingo-symbio-jdbc

Implementation of vlingo-symbio for JDBC.

Javadocs Build Status Download Gitter chat

State Storage

The StateStore is a simple object storage mechanism that can be run against a number of persistence engines. Available JDBC storage implementations:

  • General-purpose JDBC: JDBCStateStoreActor

The JDBCTextStateStoreActor has these database delegate implementations:

  • HSQLDB: HSQLDBStorageDelegate
  • PostgresSQL: PostgresStorageDelegate

Adding additional JDBC storage delegates is a straightforward process requiring a few hours of work.

We welcome you to add support for your favorite database!

Docker and Bouncing the Server Volume

Postrgres must be run for some tests. See the pgbounce.sh. This shell script can be used to bounce the Postgres volume named in docker-compose.yml:

vlingo-symbio-jdbc-postgres

Run the server using the following, which both stops the current instance and then starts a new instance.

$ ./pgbounce.sh

Bintray

  <repositories>
    <repository>
      <id>jcenter</id>
      <url>https://jcenter.bintray.com/</url>
    </repository>
  </repositories>
  <dependencies>
    <dependency>
      <groupId>io.vlingo</groupId>
      <artifactId>vlingo-symbio</artifactId>
      <version>0.8.7</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>io.vlingo</groupId>
      <artifactId>vlingo-symbio-jdbc</artifactId>
      <version>0.8.7</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
dependencies {
    compile 'io.vlingo:vlingo-symbio:0.8.7'
    compile 'io.vlingo:vlingo-symbio-jdbc:0.8.7'
}

repositories {
    jcenter()
}

License (See LICENSE file for full license)

Copyright © 2012-2018 Vaughn Vernon. All rights reserved.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

You can’t perform that action at this time.