Skip to content

Commit

Permalink
Update MQTT vendor. Update changelog + bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Jun 28, 2017
1 parent 85c4e5d commit b167bb9
Show file tree
Hide file tree
Showing 17 changed files with 3,431 additions and 61 deletions.
2 changes: 1 addition & 1 deletion docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ googleAnalytics = "UA-3512995-9"
weight = 5

[params]
version = "0.10.0"
version = "0.10.1"
47 changes: 24 additions & 23 deletions docs/content/install/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,30 @@ flag. This will display:

```
GLOBAL OPTIONS:
--postgres-dsn value postgresql dsn (e.g.: postgres://user:password@hostname/database?sslmode=disable) (default: "postgres://localhost/loraserver?sslmode=disable") [$POSTGRES_DSN]
--db-automigrate automatically apply database migrations [$DB_AUTOMIGRATE]
--redis-url value redis url (e.g. redis://user:password@hostname/0) (default: "redis://localhost:6379") [$REDIS_URL]
--mqtt-server value mqtt server (e.g. scheme://host:port where scheme is tcp, ssl or ws) (default: "tcp://localhost:1883") [$MQTT_SERVER]
--mqtt-username value mqtt server username (optional) [$MQTT_USERNAME]
--mqtt-password value mqtt server password (optional) [$MQTT_PASSWORD]
--mqtt-ca-cert mqtt CA certificate file used by the gateway backend (optional) [$MQTT_CA_CERT]
--ca-cert value ca certificate used by the api server (optional) [$CA_CERT]
--tls-cert value tls certificate used by the api server (optional) [$TLS_CERT]
--tls-key value tls key used by the api server (optional) [$TLS_KEY]
--bind value ip:port to bind the api server (default: "0.0.0.0:8001") [$BIND]
--http-bind value ip:port to bind the (user facing) http server to (web-interface and REST / gRPC api) (default: "0.0.0.0:8080") [$HTTP_BIND]
--http-tls-cert value http server TLS certificate [$HTTP_TLS_CERT]
--http-tls-key value http server TLS key [$HTTP_TLS_KEY]
--jwt-secret value JWT secret used for api authentication / authorization [$JWT_SECRET]
--ns-server value hostname:port of the network-server api server (default: "127.0.0.1:8000") [$NS_SERVER]
--ns-ca-cert value ca certificate used by the network-server client (optional) [$NS_CA_CERT]
--ns-tls-cert value tls certificate used by the network-server client (optional) [$NS_TLS_CERT]
--ns-tls-key value tls key used by the network-server client (optional) [$NS_TLS_KEY]
--pw-hash-iterations value the number of iterations used to generate the password hash (default: 100000) [$PW_HASH_ITERATIONS]
--log-level value debug=5, info=4, warning=3, error=2, fatal=1, panic=0 (default: 4) [$LOG_LEVEL]
--help, -h show help
--version, -v print the version
--postgres-dsn value postgresql dsn (e.g.: postgres://user:password@hostname/database?sslmode=disable) (default: "postgres://localhost/loraserver?sslmode=disable") [$POSTGRES_DSN]
--db-automigrate automatically apply database migrations [$DB_AUTOMIGRATE]
--redis-url value redis url (e.g. redis://user:password@hostname/0) (default: "redis://localhost:6379") [$REDIS_URL]
--mqtt-server value mqtt server (e.g. scheme://host:port where scheme is tcp, ssl or ws) (default: "tcp://localhost:1883") [$MQTT_SERVER]
--mqtt-username value mqtt server username (optional) [$MQTT_USERNAME]
--mqtt-password value mqtt server password (optional) [$MQTT_PASSWORD]
--mqtt-ca-cert value mqtt CA certificate file used by the gateway backend (optional) [$MQTT_CA_CERT]
--ca-cert value ca certificate used by the api server (optional) [$CA_CERT]
--tls-cert value tls certificate used by the api server (optional) [$TLS_CERT]
--tls-key value tls key used by the api server (optional) [$TLS_KEY]
--bind value ip:port to bind the api server (default: "0.0.0.0:8001") [$BIND]
--http-bind value ip:port to bind the (user facing) http server to (web-interface and REST / gRPC api) (default: "0.0.0.0:8080") [$HTTP_BIND]
--http-tls-cert value http server TLS certificate [$HTTP_TLS_CERT]
--http-tls-key value http server TLS key [$HTTP_TLS_KEY]
--jwt-secret value JWT secret used for api authentication / authorization [$JWT_SECRET]
--ns-server value hostname:port of the network-server api server (default: "127.0.0.1:8000") [$NS_SERVER]
--ns-ca-cert value ca certificate used by the network-server client (optional) [$NS_CA_CERT]
--ns-tls-cert value tls certificate used by the network-server client (optional) [$NS_TLS_CERT]
--ns-tls-key value tls key used by the network-server client (optional) [$NS_TLS_KEY]
--pw-hash-iterations value the number of iterations used to generate the password hash (default: 100000) [$PW_HASH_ITERATIONS]
--log-level value debug=5, info=4, warning=3, error=2, fatal=1, panic=0 (default: 4) [$LOG_LEVEL]
--disable-assign-existing-users when set, existing users can't be re-assigned (to avoid exposure of all users to an organization admin) [$DISABLE_ASSIGN_EXISTING_USERS]
--help, -h show help
--version, -v print the version
```

Both cli arguments and environment-variables can be used to pass configuration
Expand Down
14 changes: 14 additions & 0 deletions docs/content/overview/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ menu:

## Changelog

### 0.10.1

**Improvements:**

* `--mqtt-ca-cert` / `MQTT_CA_CERT` configuration flag was added to
specify an optional CA certificate
(thanks [@siscia](https://github.com/siscia)).

**Bugfixes:**

* MQTT client library update which fixes an issue where during a failed
re-connect the protocol version would be downgraded
([paho.mqtt.golang#116](https://github.com/eclipse/paho.mqtt.golang/issues/116)).

### 0.10.0

**Features & changes:**
Expand Down
5 changes: 3 additions & 2 deletions vendor/github.com/eclipse/paho.mqtt.golang/README.md

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

13 changes: 5 additions & 8 deletions vendor/github.com/eclipse/paho.mqtt.golang/client.go

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

45 changes: 32 additions & 13 deletions vendor/github.com/eclipse/paho.mqtt.golang/messageids.go

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

49 changes: 41 additions & 8 deletions vendor/github.com/eclipse/paho.mqtt.golang/net.go

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

4 changes: 4 additions & 0 deletions vendor/github.com/eclipse/paho.mqtt.golang/packets/connect.go

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

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

Loading

0 comments on commit b167bb9

Please sign in to comment.