Commit bcd67f91 authored by Simon Pastor's avatar Simon Pastor Committed by Michel Roy
Browse files

demo app move from mec to advantedge

parent 8b52ed8e
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
# Demo1
A simple scenario used to showcase platform capabilities.

This has two applications _iperf server_ and _demo server_ deployed across multiple tiers of the network (fog/edge/cloud).
This has two applications _iperf proxy_ and _demo server_ deployed across multiple tiers of the network (fog/edge/cloud).

It has two clients (internal & external) that communicate with the servers.
Internal client traffic is iperf only and has no GUI.
@@ -73,10 +73,18 @@ cd ~/AdvantEDGE/examples/demo1/
```
> Demo Application binaries are dockerized (containerized) and the container images are stored in the local Docker registry.<br> Next time you want to use the demo scenario; demo application containers will be available

#### Source code compilation
Compiling from source code is available through the command:
```
cd ~/AdvantEDGE/examples/demo1/
./build-demo1.sh
```
> As a result, both the iperf-proxy and demo-server app are compiled and demo-server is dockerized

#### Configure demo specific dashboards
Only need to do it once, or when the demo dashboard changes

Follow the procedure described in [Configuring Monitoring](../../docs/use/monitoring.md#configure-dashboards) and import the demo specific dashboard from `AdvantEDGE/examples/demo1/demo1-dashboards.json`
Follow the procedure described in [Configuring Monitoring](../../docs/use/monitoring.md#configure-dashboards). The demo specific dashboard that is loaded can also be found at `AdvantEDGE/examples/demo1/demo1-dashboards.json`

> Demo specific dashboards are stored in Kibana.<br> Next time you want to use the demo scenario; demo specific dashboard will be available.

+17 −0
Original line number Diff line number Diff line
#!/bin/sh

# Get full path to script directory
SCRIPT=$(readlink -f "$0")
BASEDIR=$(dirname "$SCRIPT")

# Set GO env variables
GOOS=linux

# Create vendor folder
cd $BASEDIR/../../src/demo-server
go mod vendor

# Build demo App server
echo "Building Demo Service Go Server"
cd $BASEDIR/../../src/demo-server
go build -o $BASEDIR/demo-server .
+136 −136

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@
                        </div>

                        <div>
                                <img id="demo-svc-app-pic" src="xxxHTMLLINKxxx0.8942158728881140.49200954424091226xxx" alt="">
                                <img id="demo-svc-app-pic" src="xxxHTMLLINKxxx0.52067726991078960.42262496559595353xxx" alt="">
                        </div>
                    </div>
                </div>
Loading