Skip to content

Commit

Permalink
Fix/dependabot alerts (#30)
Browse files Browse the repository at this point in the history
* Update path-parse from 1.0.6 to 1.0.7

* Change README run command env. variable MQTT_HOST to MQTT_URL

* Bump Revision
  • Loading branch information
tomhollingworth authored Aug 12, 2021
1 parent 82ffc66 commit d69f4d9
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.authors="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/Spruik/PackML-MQTT-Simulator"
LABEL org.opencontainers.image.url="https://spruiktec.com/"
LABEL org.opencontainers.image.vendor="Spruik Technologies LLC"
LABEL org.opencontainers.image.version="2.0.2"
LABEL org.opencontainers.image.version="2.0.3"

WORKDIR /machine

Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Start your container with environmental variables.
#### Basic MQTT Structure

```shell
$ docker run -it -e SITE=Site -e AREA=Area -e LINE=Line -e MQTT_HOST=mqtt://broker.hivemq.com -m 30m spruiktec/packml-simulator
$ docker run -it -e SITE=Site -e AREA=Area -e LINE=Line -e MQTT_URL=mqtt://broker.hivemq.com -m 30m spruiktec/packml-simulator
2020-06-22T03:13:49.301Z | info: Initializing
2020-06-22T03:13:49.817Z | info: Connected to mqtt://broker.hivemq.com:1883
2020-06-22T03:13:49.819Z | info: Site/Area/Line/Status/UnitModeCurrent : Production
Expand All @@ -33,7 +33,7 @@ Once up and running, use an MQTT client to publish to .../Command/Reset and .../
#### SparkPlugB

```shell
$ docker run -it -e CLIENT_TYPE=sparkplugb -e SITE=Site -e AREA=Area -e LINE=Line -e MQTT_HOST=mqtt://broker.hivemq.com -m 30m spruiktec/packml-simulator
$ docker run -it -e CLIENT_TYPE=sparkplugb -e SITE=Site -e AREA=Area -e LINE=Line -e MQTT_URL=mqtt://broker.hivemq.com -m 30m spruiktec/packml-simulator
2020-06-22T03:13:49.301Z | info: Initializing
2020-06-22T03:13:49.817Z | info: Connected to mqtt://broker.hivemq.com:1883
2020-06-22T03:13:49.819Z | info: Site/Area/Line/Status/UnitModeCurrent : Production
Expand Down Expand Up @@ -295,6 +295,11 @@ For any issue, there are fundamentally three ways an individual can contribute:

## Changelog

- 2.0.3
- Update path-parse from 1.0.6 to 1.0.7
- Change README run command env. variable MQTT_HOST to MQTT_URL
- Bump Revision

- 2.0.2
- Update mqtt libary from 4.2.1 to 4.2.8
- Update sonarqube-scanner libary from 2.7.0 to 2.8.1
Expand Down
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name: packml-sim
description: PackML Machine Simulator
type: application
version: 0.0.2
appVersion: 2.0.2
appVersion: 2.0.3
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "packaging-machine-language-mqtt-simulator",
"version": "2.0.2",
"version": "2.0.3",
"description": "Manufacturing line simulator interfaced using PackML over MQTT.",
"keywords": [
"packml",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sonar.projectKey=PackagingMachineLanguageSimulator
sonar.projectName=Packaging Machine Language Simulator
sonar.projectVersion=2.0.2
sonar.projectVersion=2.0.3
sonar.language=js
sonar.sources=src
sonar.sourceEncoding=UTF-8
Expand Down
2 changes: 1 addition & 1 deletion src/clients/sparkplug.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class Client extends events.EventEmitter {
{
name: "Properties/OS Version",
timestamp: timestamp,
value: "2.0.2",
value: "2.0.3",
type: "String"
},
{
Expand Down

0 comments on commit d69f4d9

Please sign in to comment.