https://github.com/lren-chuv/woken-messages
Shared library containing the API and messages used in Woken applications
https://github.com/lren-chuv/woken-messages
algorithm-factory data-mining scala
Last synced: 5 months ago
JSON representation
Shared library containing the API and messages used in Woken applications
- Host: GitHub
- URL: https://github.com/lren-chuv/woken-messages
- Owner: LREN-CHUV
- License: other
- Created: 2016-12-16T08:39:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T23:19:06.000Z (about 1 year ago)
- Last Synced: 2025-04-01T19:59:18.559Z (6 months ago)
- Topics: algorithm-factory, data-mining, scala
- Language: Scala
- Homepage:
- Size: 403 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 71
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.unil.ch/lren/en/home.html) [](https://github.com/LREN-CHUV/woken-messages/blob/master/LICENSE) [](https://bintray.com/hbpmedical/maven/woken-messages/_latestVersion)
[](https://www.codacy.com/app/hbp-mip/woken-messages?utm_source=github.com&utm_medium=referral&utm_content=HBPMedical/woken-messages&utm_campaign=Badge_Grade) [](https://circleci.com/gh/HBPMedical/woken-messages)# 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](Bintray.com), follow the instructions from Bintray to configure Maven or sbt.
Maven dependency:
```xml
ch.chuv.lren.woken
woken-messages_2.11
3.0.14
```
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
```sh
./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=2. 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/20072013) under grant agreement no. 604102 (HBP)
This work is part of SP8 of the Human Brain Project (SGA1).