-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into remove/ngsiv1-location-metadata
- Loading branch information
Showing
2,062 changed files
with
194,405 additions
and
142,676 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Same as valgrind.yml but with CB_NO_CACHE=ON activated | ||
# We use a separate .yml file because it is better in the case of re-launching due to glitches | ||
|
||
# Valgrind action is a heavy process that can take arround 50 minutes to finish. Thus, we don't want | ||
# this to be executed in every pull request but only intentionally on specific branches. In particular, | ||
# the action is configured so it will run in branches starting with 'checkvalgrind' | ||
|
||
name: Valgrind Tests Nocache | ||
|
||
on: | ||
push: | ||
branches: | ||
- checkvalgrind** | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
TEST_IMAGE_NAME: telefonicaiot/fiware-orion:ci | ||
|
||
jobs: | ||
valgrind: | ||
runs-on: ubuntu-22.04 | ||
continue-on-error: true | ||
|
||
services: | ||
mongodb: | ||
image: mongo:6.0 | ||
ports: | ||
- 27017:27017 | ||
|
||
mosquitto: | ||
# Needed by MQTT notification tests | ||
image: eclipse-mosquitto:1.6.15 | ||
ports: | ||
- 1883:1883 | ||
|
||
mosquitto-extra: | ||
# Needed by MQTT notification tests (multi broker) | ||
image: eclipse-mosquitto:1.6.15 | ||
ports: | ||
- 1884:1883 | ||
|
||
name: valgrind - ${{ matrix.payload.name }} | ||
|
||
strategy: | ||
matrix: | ||
payload: | ||
- { name: 'batch 1 - no cache', range: '-e CB_NO_CACHE=ON -e FT_FROM_IX=0 -e FT_TO_IX=300'} | ||
- { name: 'batch 2 - no cache', range: '-e CB_NO_CACHE=ON -e FT_FROM_IX=301 -e FT_TO_IX=600'} | ||
- { name: 'batch 3 - no cache', range: '-e CB_NO_CACHE=ON -e FT_FROM_IX=601 -e FT_TO_IX=900'} | ||
- { name: 'batch 4 - no cache', range: '-e CB_NO_CACHE=ON -e FT_FROM_IX=901 -e FT_TO_IX=1200'} | ||
- { name: 'batch 5 - no cache', range: '-e CB_NO_CACHE=ON -e FT_FROM_IX=1201'} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Run valgrind test | ||
run: | | ||
docker run --privileged --network host -t --rm ${{ matrix.payload.range }} -v $(pwd):/opt/fiware-orion ${{ env.TEST_IMAGE_NAME }} build -miqts valgrind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Valgrind action is a heavy process that can take arround 50 minutes to finish. Thus, we don't want | ||
# this to be executed in every pull request but only intentionally on specific branches. In particular, | ||
# the action is configured so it will run in branches starting with 'checkvalgrind' | ||
|
||
name: Valgrind Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- checkvalgrind** | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
TEST_IMAGE_NAME: telefonicaiot/fiware-orion:ci | ||
|
||
jobs: | ||
valgrind: | ||
runs-on: ubuntu-22.04 | ||
continue-on-error: true | ||
|
||
services: | ||
mongodb: | ||
image: mongo:6.0 | ||
ports: | ||
- 27017:27017 | ||
|
||
mosquitto: | ||
# Needed by MQTT notification tests | ||
image: eclipse-mosquitto:1.6.15 | ||
ports: | ||
- 1883:1883 | ||
|
||
mosquitto-extra: | ||
# Needed by MQTT notification tests (multi broker) | ||
image: eclipse-mosquitto:1.6.15 | ||
ports: | ||
- 1884:1883 | ||
|
||
name: valgrind - ${{ matrix.payload.name }} | ||
|
||
strategy: | ||
matrix: | ||
payload: | ||
- { name: 'batch 1 - cache', range: '-e FT_FROM_IX=0 -e FT_TO_IX=300'} | ||
- { name: 'batch 2 - cache', range: '-e FT_FROM_IX=301 -e FT_TO_IX=600'} | ||
- { name: 'batch 3 - cache', range: '-e FT_FROM_IX=601 -e FT_TO_IX=900'} | ||
- { name: 'batch 4 - cache', range: '-e FT_FROM_IX=901 -e FT_TO_IX=1200'} | ||
- { name: 'batch 5 - cache', range: '-e FT_FROM_IX=1201'} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Run valgrind test | ||
run: | | ||
docker run --privileged --network host -t --rm ${{ matrix.payload.range }} -v $(pwd):/opt/fiware-orion ${{ env.TEST_IMAGE_NAME }} build -miqts valgrind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
- Add: json field in httpCustom and mqttCustom subscriptions (#2560) | ||
- Add: ${service}, ${servicePath} and ${authToken} macros in custom notifications (#4159) | ||
- Fix: conditions.alterationTypes not working properly when conditions.attributes is used in entityUpdate case (#1494, reopened) | ||
- Fix: GET /v2/types and GET /v2/types/{type} wrong attribute types result (#4216) | ||
- Upgrade Debian version from 11.2 to 11.3 in Dockerfile | ||
- Deprecated: GET /v2 operation | ||
- Add: servicePath field to builtin attributes (#2877) | ||
- Add: notification.mqtt.retain and notification.mqttCustom.retain flag for MQTT retain in notifications (#4388) | ||
- Fix: correctly detect JSON attribute and metadata value changes in subscription triggering logic (#4211, #4434, #643) | ||
- Fix: DateTime and geo:json types were not supported in custom notifications using ngsi patching (#4435) | ||
- Fix: logDeprecate not working correctly (`geo:json` wrongly considered as deprecated) | ||
- Fix: improve error traces (#4387) | ||
- Add: CLI parameter -dbUri / env var ORION_MONGO_URI (#3794) | ||
- Fix: improve logs in MongoDB query logic | ||
- Remove: deprecated NGSIv1 location metadata to specify entity geo-location | ||
- Remove: RPM package stuff | ||
- Upgrade Debian version from 11.6 to 12.1 in Dockerfile | ||
- Hardening: upgrade libmongoc dependency from 1.23.1 to 1.24.3 | ||
- Reference MongoDB version changed from 4.4 to 6.0 | ||
- Reference distribution changed from Debian 11 to Debian 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.