a microservice based on tesla-microservice which uses mount instead of component
Clone or download
Pull request Compare This branch is 14 commits ahead, 235 commits behind otto-de:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dev-resources
resources
src
test-resources
test-utils/test/kaibra
test/kaibra
.gitignore
.travis.yml
CHANGES.md
LICENSE
README.md
project.clj

README.md

#mount-ms

Clojars Project

Build Status

This project is derived from tesla-microservice.
Main differences to the tesla-microservice: mount-ms uses MOUNT instead of component (surprise) :)
Current available components are:

* [ms-httpkit](https://github.com/kaibra/ms-httpkit)

Usage

(ns kaibra.ms-example
  (:require
    [kaibra.system :as mount-ms]
    [clojure.tools.logging :as log]
    [kaibra.stateful.server :as server])
  (:gen-class))

(defn -main [& args]
  (log/info "Starting MS-EXAMPLE")
  (mount-ms/start-with-states
    #'server/server ;see ms-httpkit
    ;put your custom states you want to start with the mount-ms states here
    ))

Example

To see a working example of this microservice which includes a server look at ms-example

kaibra