Skip to content

The vlingo/PLATFORM implementation of vlingo/symbio for JDBC.

License

Notifications You must be signed in to change notification settings

nwoike/vlingo-symbio-jdbc

 
 

Repository files navigation

vlingo-symbio-jdbc

Javadocs Build Status Download Gitter chat

The vlingo/PLATFORM implementation of vlingo/symbio for JDBC.

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.8</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>io.vlingo</groupId>
      <artifactId>vlingo-symbio-jdbc</artifactId>
      <version>0.8.8</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
dependencies {
    compile 'io.vlingo:vlingo-symbio:0.8.8'
    compile 'io.vlingo:vlingo-symbio-jdbc:0.8.8'
}

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/.

About

The vlingo/PLATFORM implementation of vlingo/symbio for JDBC.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%