Skip to content
Shared library containing the API and messages used in Woken applications
Branch: master
Clone or download
Pull request Compare This branch is even with LREN-CHUV:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
project
src
.bumpversion.cfg
.dockerignore
.gitignore
.pre-commit-config.yaml
.scalafmt.conf
CHANGELOG.md
Dockerfile
LICENSE
README.md
after-git-clone.sh
after-update.sh
build.sbt
build.sh
publish.sh
slack.json

README.md

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).

You can’t perform that action at this time.