Skip to content

Commit

Permalink
Merge branch 'master' into fix/update_subscriptions_device
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega authored Feb 5, 2024
2 parents 5bf4a11 + d1586fb commit 3e045ed
Show file tree
Hide file tree
Showing 88 changed files with 5,511 additions and 3,671 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:4.2
image: mongo:6.0
ports:
- 27017:27017
strategy:
Expand All @@ -72,7 +72,7 @@ jobs:
needs: unit-test
services:
mongodb:
image: mongo:4.2
image: mongo:6.0
ports:
- 27017:27017
steps:
Expand Down
6 changes: 5 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ version: 2
mkdocs:
configuration: mkdocs.yml

build:
os: ubuntu-22.04
tools:
python: "3.8"

python:
version: 3.8
install:
- requirements: doc/requirements.txt
11 changes: 1 addition & 10 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
- Fix store device subscriptions updates
- Remove: extractVariables from jexl plugin (no needed anymore since the removal of bidireational plugin)
- Fix: ensure service and subservice in context of error handlers using req headers
- Fix: remove attribute of measures with name `id` or `type` to avoid collisions (#1485)
- Fix: ensure entity id and type are string (#1476)
- Fix: update ctxt allow nested expressions (#1493)
- Fix: change log level contextAvailable expression exception (from WARN to INFO)
- Fix: null values arithmetics in JEXL expressions (#1440)
- Fix: remove mongo `DeprecationWarning: current Server Discovery and Monitoring engine is deprecated` by setting `useUnifiedTopology = true`
- Upgrade mongodb dev dep from 4.17.0 to 4.17.1
- Fix store device subscriptions updates
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ decommission devices. [API](doc/api.md).

Contributions to development can be found [here](doc/devel/development.md) - additional contributions are welcome.

If you are whishing to test the library, or include new tests (either as part of a contribution or as a new feature or
as a bug report), you can use the functional tests suite included in the project. The tests are described using a JSON
file. You can find more information about the test suite in the [Functional Tests Guide](test/functional/README.md).

### Agent Console

A command-line client to experiment with the library is packed with it. The command-line client can be started using the
Expand Down
14 changes: 1 addition & 13 deletions doc/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@
- [providerUrl](#providerurl)
- [iotaVersion](#iotaversion)
- [dieOnUnexpectedError](#dieonunexpectederror)
- [singleConfigurationMode](#singleconfigurationmode)
- [timestamp](#timestamp)
- [defaultResource](#defaultresource)
- [defaultKey](#defaultkey)
- [componentName](#componentname)
- [pollingExpiration](#pollingexpiration)
- [pollingDaemonFrequency](#pollingdaemonfrequency)
- [autocast](#autocast)
- [multiCore](#multicore)
- [fallbackTenant](#fallbacktenant)
- [fallbackPath](#fallbackpath)
Expand Down Expand Up @@ -262,7 +260,7 @@ the `mongob` section (as described bellow). E.g.:

It configures the MongoDB driver for those repositories with 'mongodb' type. If the `host` parameter is a list of
comma-separated IPs, they will be considered to be part of a Replica Set. In that case, the optional property
`replicaSet` should contain the Replica Set name. If the database requires authentication, username (`username`),
`replicaSet` should contain the Replica Set name. If the database requires authentication, username (`user`),
password (`password`) and authSource (`authSource`) can be set. If the database requires TLS/SSL connection but any
validation of the certificate chain is not mandatory, all you need is to set the ssl (`ssl`) option as `true` to connect
the database. If you need to add more complex option(s) such as `retryWrites=true` or `w=majority` when connection
Expand Down Expand Up @@ -348,10 +346,6 @@ IoTA).

if this flag is activated, the IoTAgent will not capture global exception, thus dying upon any unexpected error.

#### `singleConfigurationMode`

enables the Single Configuration mode for backwards compatibility (see description in the Overview). Default to false.

#### `timestamp`

if this flag is activated:
Expand Down Expand Up @@ -383,10 +377,6 @@ amount of time without being collected by the device, the expiration daemon will
time between collection of expired commands in milliseconds. This attribute is optional (if this parameter doesn't exist
the polling daemon won't be started).

#### `autocast`

When enabled, the IoT Agents will try to cast attribute's values considering the JSON native type (only for NGSI v2).

#### `multiCore`

When enabled, the IoT Agents runs in multi-thread environment to take advantage of multi-core systems. It allows two
Expand Down Expand Up @@ -483,10 +473,8 @@ overrides.
| IOTA_MONGO_RETRY_TIME | `mongodb.retryTime` |
| IOTA_MONGO_SSL | `mongodb.ssl` |
| IOTA_MONGO_EXTRAARGS | `mongodb.extraArgs` |
| IOTA_SINGLE_MODE | `singleConfigurationMode` |
| IOTA_POLLING_EXPIRATION | `pollingExpiration` |
| IOTA_POLLING_DAEMON_FREQ | `pollingDaemonFrequency` |
| IOTA_AUTOCAST | `autocast` |
| IOTA_MULTI_CORE | `multiCore` |
| IOTA_JSON_LD_CONTEXT | `jsonLdContext` |
| IOTA_FALLBACK_TENANT | `fallbackTenant` |
Expand Down
Loading

0 comments on commit 3e045ed

Please sign in to comment.