Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit 142a88c

Browse files
committed
removed builtin mqtt broker
1 parent 099350d commit 142a88c

File tree

5 files changed

+20
-1224
lines changed

5 files changed

+20
-1224
lines changed

dev.mjs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,6 @@ else if (!azure) {
4949
process.env.WEBSITE_HOSTNAME = `${address}:${port}`
5050
}
5151

52-
if (process.env.DEVS_MQTT_SERVER_DEV) {
53-
process.env.DEVS_MQTT_SERVER = `mqtt://${process.env.WEBSITE_HOSTNAME}:1883`
54-
process.env.DEVS_MQTT_USER_NAME = process.env.DEVS_LOCAL_USER_NAME
55-
process.env.DEVS_MQTT_USER_PASSWORD = process.env.DEVS_LOCAL_USER_PASSWORD
56-
//$`yarn aedes --credentials ./local.credentials.json adduser $DEVS_LOCAL_USER_NAME $DEVS_LOCAL_USER_PASSWORD`
57-
$`yarn aedes start --protos tcp ws --host 0.0.0.0 --broker-id devicescript-gateway --credentials ./local.credentials.json`
58-
console.log(`started development MQTT server`)
59-
console.warn(
60-
`- make sure to change the visibility of port '1883', '3000' to 'Public'`
61-
)
62-
}
63-
6452
expand(out)
6553

6654
if (!azure) {

local.credentials.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

local.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ DEVS_LOCAL_USER_PASSWORD="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVE
77
DEVS_STORAGE_CONNECTION_STRING="DefaultEndpointsProtocol=http;AccountName=$DEVS_LOCAL_USER_NAME;AccountKey=$DEVS_LOCAL_USER_PASSWORD;BlobEndpoint=http://127.0.0.1:10000/$DEVS_LOCAL_USER_NAME;QueueEndpoint=http://127.0.0.1:10001/$DEVS_LOCAL_USER_NAME;TableEndpoint=http://127.0.0.1:10002/$DEVS_LOCAL_USER_NAME;"
88
DEVS_PASSWORDS="$DEVS_LOCAL_USER_NAME:$DEVS_LOCAL_USER_PASSWORD"
99
DEVS_CONNECTION_STRING="AccountName=$DEVS_LOCAL_USER_NAME;AccountKey=$DEVS_LOCAL_USER_PASSWORD;ApiRoot=$WEBSITE_PROTOCOL://$WEBSITE_HOSTNAME"
10-
DEVS_MQTT_SERVER="mqtt://public.mqtthq.com:1883"

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"@fastify/static": "^6.5.0",
3737
"@fastify/websocket": "^7.1.0",
3838
"aedes": "^0.48.0",
39-
"aedes-cli": "^0.6.1",
4039
"applicationinsights": "^2.5.0",
4140
"dotenv-expand": "^10.0.0",
4241
"fastify": "^4.9.2",
@@ -63,4 +62,4 @@
6362
"xmlbuilder2": "^3.0.2",
6463
"zx": "^7.2.0"
6564
}
66-
}
65+
}

0 commit comments

Comments
 (0)