This library contains the messages and API used in Woken ML applications.
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
Prerequisites: docker, captain
- Run the build script
./build.sh
It will build the scala project into a docker container.
- Define the environment variables to log into BinTray
BINTRAY_USER= BINTRAY_PASS=
- Run the publish script
./publish.sh
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
This work has been funded by the European Union Seventh Framework Program (FP7/20072013) under grant agreement no. 604102 (HBP)
This work is part of SP8 of the Human Brain Project (SGA1).