Commit 033e7a4a authored by Yann Garcia's avatar Yann Garcia
Browse files

Bug fixed in go-apps/meep-iot-pltf/tinyiot

parent 87aa9406
Loading
Loading
Loading
Loading
+4 −0
Changes for examples/demo9/golang/go.mod: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -17,7 +17,11 @@ require (
	github.com/magiconair/properties v1.8.0 // indirect
	github.com/mitchellh/mapstructure v1.1.2 // indirect
	github.com/pelletier/go-toml v1.2.0 // indirect
	github.com/spf13/afero v1.1.2 // indirect
	github.com/spf13/cast v1.3.0 // indirect
	github.com/spf13/jwalterweatherman v1.0.0 // indirect
	github.com/spf13/pflag v1.0.3 // indirect
	golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a // indirect
	golang.org/x/text v0.3.0 // indirect
	gopkg.in/yaml.v2 v2.2.2 // indirect
)
+0 −1549

File changed.

Preview size limit exceeded, changes collapsed.

+0 −6
Changes for examples/demo9/golang/routers.go: 0 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -83,12 +83,6 @@ var routes = HttpRoutes{
		"/fed/v1/notification",
		fed_notification,
	},
	HttpRoute{
		"capif_notification",
		"POST",
		"/mec_capif_mgmt/v1/notification",
		capif_notification,
	},
	HttpRoute{
		"mec011_service_statistic_get",
		"GET",
+1 −1
Changes for go-apps/meep-iot-pltf/tinyiot/Dockerfile: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ WORKDIR /usr/src/app

RUN git clone https://github.com/seslabSJU/tinyIoT.git tinyIoT

WORKDIR /usr/src/app/ACME-tinyIoT-CSE
WORKDIR /usr/src/app/tinyIoT

# The commit is aligned wuth the changes pushed by the COPY
# The issue here is that applying patch with 
+2 −8
Changes for go-apps/meep-iot-pltf/tinyiot/entrypoint.sh: 2 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@ set -e
echo "MEEP_HOST_URL: ${MEEP_HOST_URL}"
echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}"
echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}"
echo "REGISTRAR_CSE_HOST: ${REGISTRAR_CSE_HOST}"
echo "REGISTRAR_CSE_PORT: ${REGISTRAR_CSE_PORT}"

if [[ ! -z "${MEEP_MEP_NAME}" ]]; then
    svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}"
@@ -50,14 +52,6 @@ echo "REGISTRAR_CSE_PORT: ${REGISTRAR_CSE_PORT}"

cd /usr/src/app/tinyiot

sed --in-place "s/REGISTRAR_CSE_HOST/${REGISTRAR_CSE_HOST}/g" acme.ini
sed --in-place "s/REGISTRAR_CSE_PORT/${REGISTRAR_CSE_PORT}/g" acme.ini
sed --in-place "s/HTTP_PORT/${HTTP_PORT}/g" acme.ini
sed --in-place "s/MQTT_SERVER/${MQTT_SERVER}/g" acme.ini
sed --in-place "s/MQTT_PORT/${MQTT_PORT}/g" acme.ini
sed --in-place "s/MEEP_HOST_URL/${MEEP_HOST_URL}/g" acme.ini
sed --in-place "s/MEEP_SANDBOX_NAME/${MEEP_SANDBOX_NAME}/g" acme.ini

sleep 10 # Wait for ETSI MEC Platform up and stable

source/server/server