summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-04-12 09:42:39 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:59:53 +0200
commitd67d4335f05635d06b433f7d3fa0f6a4e401ec92 (patch)
treeb5d57ea1620278f65008f8faf34648f58d04da42 /README.md
Initial commit
Change-Id: Ia434e5b4869ea19b0b78b1c586c44c15cb93c7e8 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'README.md')
-rw-r--r--README.md58
1 files changed, 58 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..155cb10
--- /dev/null
+++ b/README.md
@@ -0,0 +1,58 @@
+# agl-service-xds
+
+An AGL binding used to control collected data. Those data may come from
+`agl-low-collector` or from AGL `supervision`.
+
+**UNDER DEVELOPMENT - this binding is not fully functional, it's a proof of concept for now**
+
+## Setup
+
+```bash
+git clone --recursive https://github.com/iotbzh/agl-server-xds
+cd agl-server-xds
+```
+
+## Build for AGL
+
+```bash
+#setup your build environement
+. /xdt/sdk/environment-setup-aarch64-agl-linux
+#build your application
+./conf.d/autobuild/agl/autobuild package
+```
+
+## Build for 'native' Linux distros (Fedora, openSUSE, Debian, Ubuntu, ...)
+
+```bash
+./conf.d/autobuild/linux/autobuild package
+```
+
+You can also use binary package from OBS: [opensuse.org/LinuxAutomotive][opensuse.org/LinuxAutomotive]
+
+## Test
+
+### Native setup
+
+Here are commands used to setup some bindings in order to test on `xds-service` natively on a Linux host:
+
+```bash
+afs-supervisor --port 1712 --token HELLO --ws-server=unix:/tmp/supervisor -vv
+
+cd $ROOT_DIR/app-framework-binder
+afb-daemon -t '' -p 5555 -M --roothttp test --ws-server unix:ave --name test_server -vv
+afb-daemon -t '' -p 4444 -M --roothttp test --no-ldpaths --ws-client unix:ave --name test_client -vv
+
+cd $ROOT_DIR/agl-service-harvester
+afb-daemon --port=1234 --workdir=./build/package --ldpaths=lib --roothttp=htdocs --token= --tracereq=common -vv --ws-server unix:/tmp/harvester
+
+cd $ROOT_DIR/agl-service-xds
+./conf.d/autobuild/linux/autobuild build
+afb-daemon --port=5678 --workdir=./build/package --ldpaths=lib --roothttp=htdocs --token= --ws-client=unix:/tmp/supervisor --ws-client=unix:/tmp/harvester -vv
+
+```
+
+## Deploy
+
+### AGL
+
+TBD