Skip to content

Latest commit

 

History

History
92 lines (69 loc) · 2.65 KB

README.md

File metadata and controls

92 lines (69 loc) · 2.65 KB

CHUV License Download Codacy Badge CircleCI

woken-messages library

This library contains the messages and API used in Woken ML applications.

Usage

The library is hosted on https://bintray.com/hbpmedical/maven/woken-messages, follow the instructions from Bintray to configure Maven or sbt.

Maven dependency:

  <dependency>
     <groupId>ch.chuv.lren.woken</groupId>
     <artifactId>woken-messages_2.11</artifactId>
     <version>3.0.14</version>
  </dependency>

sbt dependency:

  "ch.chuv.lren.woken" %% "woken-messages" % 3.0.14

Woken-messages is provided for Scala 2.11 and Scala 2.12

How to build

Prerequisites: docker, captain

  1. Run the build script
./build.sh

It will build the scala project into a docker container.

How to publish to MIP's binaries repository

  1. Define the environment variables to log into BinTray

BINTRAY_USER= BINTRAY_PASS=

  1. Run the publish script
  ./publish.sh

Configuration

The common configuration stored in Woken-messages for Akka clustering can be adjusted with the following environment variables:

  • APP_NAME
  • APP_TYPE
  • VERSION
  • BUILD_DATE
  • DATA_CENTER_LOCATION
  • HOST or DATA_CENTER_SERVER
  • CONTAINER_ORCHESTRATION
  • MESOS_CONTAINER_NAME
  • MARATHON_APP_DOCKER_IMAGE
  • MARATHON_APP_RESOURCE_CPUS
  • MARATHON_APP_RESOURCE_MEM
  • MARATHON_APP_LABELS
  • MARATHON_APP_ID
  • MARATHON_APP_VERSION
  • BUGSNAG_KEY
  • RELEASE_STAGE
  • AKKA_LOG_LEVEL
  • AKKA_LOG_CONFIG
  • AKKA_REMOTING
  • AKKA_REMOTE_LOG_SENT
  • AKKA_REMOTE_LOG_RECEIVED
  • AKKA_REMOTE_LOG_LIFECYCLE
  • CLUSTER_IP
  • CLUSTER_PORT
  • CLUSTER_IP
  • CLUSTER_NAME
  • WOKEN_PORT_8088_TCP_ADDR
  • WOKEN_PORT_8088_TCP_PORT
  • VALIDATION_MIN_SERVERS
  • SCORING_MIN_SERVERS

Acknowledgements

This work has been funded by the European Union Seventh Framework Program (FP7/2007­2013) under grant agreement no. 604102 (HBP)

This work is part of SP8 of the Human Brain Project (SGA1).