Giter Site home page Giter Site logo

chronicler's Introduction

Chronicler

An Event Store running on the JVM
Build Status

Build application and run all tests

./gradlew

Build and run

./build-and-run.sh

Build and run in Docker

./gradlew build buildImage && ./docker-run.sh

Custom Docker Tag

./gradlew buildImage -Ptag=x

Run unit tests

./gradlew test

Run component tests

./gradlew componentTest

Print task dependency tree

./gradlew :server:dropwizard:build :server:dropwizard:taskTree --no-repeat

Configuration

Behaviour is configured via environment variables

  • STORAGE - where to store events, values: DISK, GCS (google cloud storage)

Configuration for Disk storage:

  • SAVE_TO_DISK - boolean, default true
  • DATA_DIR - string, default data/

Configuration for Google Cloud Storage:

  • GCS_PROJECT - project name
  • GCS_BUCKET - bucket name

See docker-run.sh for examples

chronicler's People

Contributors

richodemus avatar

Stargazers

rodolfodpk avatar Andrew NS Yeow avatar

Watchers

James Cloos avatar  avatar  avatar

chronicler's Issues

Implement disk persistence

The important part here is that we need to make sure that if Chronicler responds with HTTP 200 then the event MUST be persisted to disk, no sitting in the file buffer and being lost in a power outage, I found this on Stackoverflow which seems like the right thing

Add sample values to swagger page

Currently the swagger page does not have proper sample/default values for its entities, instead they look like this:

{
  "id": "null",
  "page": "null",
  "data": "null"
}

preferably it would look something like this:

{
  "id": "0cfbef3e-a145-4cb0-b257-f4ce96bce94c",
  "page": 1,
  "data": "{"foo":"baar"}" // or however json in json would look
}

the swagger spec is located at: server/swagger/src/main/resources/api-specification.yaml

Re-enable gzip

Gzip was disabled across the board to get Server Sent Events to work, it should be re-enabled for everything except the SSE endpoints

Mocking framework

Hi,

hope find you well with this cold call.

I am an author of mocking framework for Kotlin

I see you are using mockito-kotlin.

I just want you to be aware that there is solution that fully supports Kotlin and ask to try it in your new/current projects.

I can help you if you answer to this issue.

Thanks and please star it

Upgrade Kotlin version again

Had to downgrade Kotlin to 1.0.6 to get it to work on raspberry pis, once 1.1.2 is out we should be able to upgrade again, when doing so, look at the commit ea07fd4 to make sure we don't miss any workaround that was added

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.