Skip to content

Demo app made with Cats, Akka Typed Actors, Doobie and Oracle database.

Notifications You must be signed in to change notification settings

matejcerny/SimpleLedger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Ledger

Build Status

Demo app made with Akka Typed Actors, Cats, Doobie and Oracle database.

Sequence diagram

Usage

Download and run docker image with Oracle 12c.

$ docker run -d --name oracle \
  --privileged -v $(pwd)/oradata:/u01/app/oracle \
  -p 8080:8080 -p 1521:1521 absolutapps/oracle-12c-ee 

Run init script as SYS user.

sqlplus sys/oracle@localhost:1521/orcl as sysdba @database.sql

Set environment variables.

export ORA_USERNAME=SIMPLE_LEDGER_APP
export ORA_PASSWORD=SIMPLE_LEDGER
export ORA_CONNECTION_STRING=jdbc:oracle:thin:@localhost:1521:orcl

Create fat JAR

sbt assembly

Run application with parameter

java -jar ./target/scala-2.13/SimpleLedger.jar /application.conf

TODO

  • Unit tests with github actions
  • Scheduled transformations

About

Demo app made with Cats, Akka Typed Actors, Doobie and Oracle database.

Resources

Stars

Watchers

Forks

Languages