Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1181 commits
Select commit Hold shift + click to select a range
74082fa
restart the pipeline
djs0109 Jun 4, 2025
6952c5a
start ci pipeline
djs0109 Jun 4, 2025
d4e5de9
trigger gitlab ci
djs0109 Jun 4, 2025
0271d9d
trigger ci
djs0109 Jun 4, 2025
caee224
trigger ci
djs0109 Jun 4, 2025
b248bbc
chore: use LD CB URL from config and formating
djs0109 Jun 4, 2025
a03c094
chore: add MAX_ATTEMPTS in vars
djs0109 Jun 4, 2025
e8d585c
run test CI
djs0109 Jun 4, 2025
ac29943
chore: revise till e03
djs0109 Jun 4, 2025
bc54b55
feat: remove gitlab unittest and add coverage
djs0109 Jun 5, 2025
4c13d24
Update .gitlab-ci.yml
djs0109 Jun 5, 2025
e0a1b9f
add unitetst gitlab back
djs0109 Jun 5, 2025
2f85311
remove gitlab unittest
djs0109 Jun 5, 2025
7252d06
add variables
djs0109 Jun 5, 2025
c5c7005
add coverage after github unittest
djs0109 Jun 5, 2025
7baa70b
Merge pull request #430 from RWTH-EBC/427-Local-installation-fails
djs0109 Jun 10, 2025
6170faa
test with branch 425
djs0109 Jun 10, 2025
cd1a571
upload all artifacts
djs0109 Jun 10, 2025
e6b466c
chore: change deployment branch back to main
djs0109 Jun 10, 2025
8d0d9e9
fix: fixed key override_metadata and doc complete
sbanoeon Jun 17, 2025
c5007f5
chore: remove commented code block
djs0109 Jun 17, 2025
bfa0b85
fix: adjust tests
sbanoeon Jun 18, 2025
3df74bb
fix: error in the entities info for subscription
djs0109 Jun 18, 2025
bc763ec
chore: update till e06
djs0109 Jun 18, 2025
ac5fc65
fix: make e08 work
djs0109 Jun 18, 2025
d5845ce
feat: add support for keyvalues in LD api
djs0109 Jun 18, 2025
51b5d50
chore: revise e06 to work with LD
djs0109 Jun 18, 2025
99287e7
fix: check context provision in entity batch operation of cb ld
SystemsPurge Jun 23, 2025
b025c85
Merge pull request #433 from RWTH-EBC/425-Problem-of-the-gitlab-pipeline
djs0109 Jun 23, 2025
26ffd2a
fix: entity kv context
djs0109 Jun 24, 2025
f08c916
fix: all tests for iota base functionality added.
mwr-ebc Jun 24, 2025
be2c66a
chore: rename override_metadata consistently
djs0109 Jun 24, 2025
bb38deb
chore: use override entity to sync device with cb
djs0109 Jun 24, 2025
b4f8ba7
Merge branch 'master' into 413-Adapt-the-patch_entity-function-in-V2-…
djs0109 Jun 25, 2025
c30332f
chore: allow utf-8 for attribute value
djs0109 Jul 1, 2025
d46a70f
docs: update changelog
djs0109 Jul 1, 2025
c1c54d8
fix: test_optional_entity_type raised errortype adjusted.
mwr-ebc Jul 2, 2025
0544102
Merge remote-tracking branch 'origin/master' into 305-Detailed-Except…
mwr-ebc Jul 3, 2025
11f5184
fix: test_optional_entity_type raised errortype adjusted.
mwr-ebc Jul 3, 2025
f2fd95e
fix ngsi ld example commentary
Jul 7, 2025
6d78808
chore: fix typo
djs0109 Jul 8, 2025
8a4ff4a
feat: add timeout
djs0109 Jul 8, 2025
f97e470
Merge remote-tracking branch 'origin/436-AttributeValues-raise-valida…
djs0109 Jul 8, 2025
57253f3
chore: replaced depreciated pkg_resources with packaging library
sbanoeon Jul 8, 2025
548c6ca
chore: add debug code line
djs0109 Jul 8, 2025
428348c
fix: try catch in cb patch_entity added
mwr-ebc Jul 8, 2025
4eb11de
docs: test pipline
djs0109 Jul 8, 2025
626c694
chore: restructure mqtt test agent
djs0109 Jul 8, 2025
78221d4
feat: add system params for notification
djs0109 Jul 8, 2025
8662ff1
add debug steps after running the tests
djs0109 Jul 8, 2025
669887e
chore: add unittest for batch operation with different formats
djs0109 Jul 8, 2025
c9deee8
chore: activate force update
djs0109 Jul 8, 2025
8b97364
chore: send values multiple times
djs0109 Jul 8, 2025
459f384
docs: changelog
djs0109 Jul 8, 2025
52029aa
Merge remote-tracking branch 'origin/413-Adapt-the-patch_entity-funct…
djs0109 Jul 8, 2025
356e859
Merge pull request #429 from RWTH-EBC/413-Adapt-the-patch_entity-func…
djs0109 Jul 8, 2025
4808223
chore: remove resending code
djs0109 Jul 8, 2025
aaacec1
chore: remove 3.8 test
djs0109 Jul 8, 2025
5ffe95d
chore: continue workflow when unittest fail
djs0109 Jul 8, 2025
f0121c0
chore: increase tread pool size
djs0109 Jul 9, 2025
85bcd74
docs: changelog
djs0109 Jul 9, 2025
093389e
chore: remove temp codes
djs0109 Jul 9, 2025
9def806
fix: typo
djs0109 Jul 9, 2025
0c06b69
Merge branch 'master' into 440-add-lastfailure-and-lastsuccess-to-sub…
djs0109 Jul 15, 2025
254a2a1
Merge branch 'master' into 436-AttributeValues-raise-validation-error…
mwr-ebc Jul 15, 2025
3bb5bdb
Merge pull request #437 from RWTH-EBC/436-AttributeValues-raise-valid…
djs0109 Jul 15, 2025
976e685
Merge pull request #438 from RWTH-EBC/431-Default-uplink-content-not-…
djs0109 Jul 15, 2025
65cf32c
Merge branch 'master' into 401-NGSI-LD-Examples
djs0109 Jul 15, 2025
22b1708
docs: update CHANGELOG
djs0109 Jul 15, 2025
dcc3b28
Merge pull request #432 from RWTH-EBC/401-NGSI-LD-Examples
djs0109 Jul 15, 2025
91548b2
Merge branch 'master' into 305-Detailed-Exception-Handling-inside-dif…
djs0109 Jul 15, 2025
9ba9c96
chore: remove debug code
djs0109 Jul 15, 2025
459d342
Merge branch 'master' into 440-add-lastfailure-and-lastsuccess-to-sub…
mwr-ebc Jul 15, 2025
f2d5371
fix: ld batch operation tests
djs0109 Jul 15, 2025
c1f8118
Merge pull request #441 from RWTH-EBC/440-add-lastfailure-and-lastsuc…
djs0109 Jul 16, 2025
3618061
fix: test adjusted after fix of ci/cd pipeline
mwr-ebc Jul 16, 2025
58bc222
Merge remote-tracking branch 'origin/master' into 305-Detailed-Except…
mwr-ebc Jul 16, 2025
c0ada7b
Merge pull request #335 from RWTH-EBC/305-Detailed-Exception-Handling…
djs0109 Jul 17, 2025
8763c53
add entityld/keyvalue conversion and tests, relationship validation a…
SystemsPurge Jul 21, 2025
ac17e96
Merge branch 'master' into 435-NGSI-LD-support-convertion-between-key…
djs0109 Jul 22, 2025
eba7f04
fix: kv/entity test error
djs0109 Jul 22, 2025
3647cd3
chore: remove duplicated code block
djs0109 Jul 22, 2025
9132919
docs: update changelog
djs0109 Jul 22, 2025
010453e
Merge branch 'master' into 434-Pkg_resources-is-deprecated-warning
djs0109 Jul 22, 2025
c69495d
fix: change main to master in unittest workflow
djs0109 Jul 22, 2025
91534b9
fix: run only for PR branch and push on master branch
djs0109 Jul 22, 2025
1a6d571
Merge pull request #439 from RWTH-EBC/434-Pkg_resources-is-deprecated…
djs0109 Jul 22, 2025
81453d9
Merge pull request #443 from RWTH-EBC/435-NGSI-LD-support-convertion-…
djs0109 Jul 23, 2025
f7a35c9
deubg condition
djs0109 Jul 23, 2025
028656d
debug github ref condition
djs0109 Jul 23, 2025
55ef01e
fix: if condition in github workflow
djs0109 Jul 23, 2025
68c25d9
try remove artifact
djs0109 Jul 23, 2025
9d5a472
add back artifact and change coverage path
djs0109 Jul 23, 2025
99da196
chore: use PAT for workflow
djs0109 Jul 23, 2025
9ca0389
debug coverage folder
djs0109 Jul 23, 2025
ca39f01
remove gitignore from coverage folder
djs0109 Jul 23, 2025
6612367
docs: update coverage link
djs0109 Jul 23, 2025
c503d33
docs: add JOSS paper in reference
djs0109 Jul 24, 2025
30dc892
chore: update sphinx-doc config
djs0109 Jul 24, 2025
503c4a1
docs: prepare release
djs0109 Jul 24, 2025
f23a097
docs: fix typo release template
djs0109 Jul 24, 2025
3ac4fdd
docs: typo
djs0109 Jul 24, 2025
9053f22
docs: remove duplicates
djs0109 Jul 24, 2025
8546a18
Merge remote-tracking branch 'origin/362-Release-0-7-0' into 362-Rele…
djs0109 Jul 24, 2025
329bdde
[PYPI-RELEASE] release 0.7.0
djs0109 Jul 24, 2025
578ca40
[pip dependency]: update pandas requirement
dependabot[bot] Aug 1, 2025
2d48f7b
Merge pull request #445 from RWTH-EBC/dependabot/pip/pandas-gte-1.3.5…
djs0109 Aug 5, 2025
906359d
Merge remote-tracking branch 'origin/master' into 190-Warn-about-wron…
sbanoeon Aug 6, 2025
04723e9
chore: adapt changes to latest code
sbanoeon Aug 6, 2025
870bd28
fix: setting name to uppercase
sbanoeon Aug 6, 2025
204106c
docs: include explanation in README.md
sbanoeon Aug 6, 2025
5b965e9
chore: minor change
djs0109 Aug 6, 2025
469939c
fix: ssl test
djs0109 Aug 6, 2025
2145100
chore: relax rdflib
djs0109 Aug 10, 2025
64d1af6
docs: update changelog
djs0109 Aug 10, 2025
ca27c8e
feat: import version from __init__.py to setup.py
djs0109 Aug 10, 2025
9bf42cf
[PYPI-RELEASE] relax rdflib dependency and release 0.7.1
djs0109 Aug 10, 2025
4bccfcf
[PYPI-RELEASE] fix unchanged version
djs0109 Aug 10, 2025
81aaa8a
chore: move rdflib to semantics group
djs0109 Aug 11, 2025
8c8b355
chore: move rdflib to semantics group
djs0109 Aug 11, 2025
906e15e
[PYPI-RELEASE] v0.7.1
djs0109 Aug 11, 2025
a89db57
[PYPI-RELEASE] 0.7.2
djs0109 Aug 11, 2025
16ac3bd
[PYPI-RELEASE] v0.7.2 fix unchanged version
djs0109 Aug 11, 2025
32ba133
Merge branch 'master' into 190-Warn-about-wrong-orion-version
djs0109 Aug 12, 2025
a880250
Merge pull request #200 from RWTH-EBC/190-Warn-about-wrong-orion-version
djs0109 Aug 12, 2025
50f2c0a
feat: add basic structure for existing dataset example
djs0109 Aug 12, 2025
65663b2
chore: error handling for get devices list
sbanoeon Aug 12, 2025
6fcc2a0
docs: update CHANGELOG.md
sbanoeon Aug 12, 2025
637c6f7
feat: example for uploading dataset through quantumleap added. Matplo…
mwr-ebc Aug 26, 2025
04bb319
test: test pre-commit
mwr-ebc Aug 26, 2025
fbce777
fix: falsy value handling on update_entity_attribute
SystemsPurge Aug 26, 2025
6ebd544
test: test pre-commit
mwr-ebc Aug 26, 2025
4730a6c
test: add test for invalid device list
djs0109 Aug 26, 2025
7b5df8c
Merge branch 'master' into 442-Error-handling-for-devices-list
djs0109 Aug 26, 2025
9c78f3d
fix: add missing filter function
djs0109 Aug 26, 2025
abfd594
Merge remote-tracking branch 'origin/442-Error-handling-for-devices-l…
djs0109 Aug 26, 2025
669317b
Merge pull request #451 from RWTH-EBC/442-Error-handling-for-devices-…
djs0109 Aug 26, 2025
8f06b07
chore: rearrange plotting
djs0109 Aug 27, 2025
19be278
chore: remove unused comment
djs0109 Aug 27, 2025
29c86e4
fix: adjust create_notifications declaration for python 3.9 usage
mwr-ebc Aug 27, 2025
7f1da08
add: update entity attribute with falsy values test
SystemsPurge Sep 2, 2025
bbd0aa5
feat: add pagination for get entity list
djs0109 Sep 11, 2025
5fc346c
chore: minor code update
djs0109 Sep 11, 2025
b6aa088
feat: add batch upload to example.
mwr-ebc Sep 11, 2025
207fcc0
docs: update changelog
djs0109 Sep 12, 2025
e36121a
Merge pull request #457 from RWTH-EBC/456-Add-offset-to-get-requests
djs0109 Oct 7, 2025
5bc895b
Merge pull request #453 from RWTH-EBC/449-Example-for-uploading-exist…
djs0109 Oct 7, 2025
0504742
Merge pull request #454 from RWTH-EBC/450-Update-entity-with-property…
djs0109 Oct 7, 2025
d261283
docs: added reference to the filtering section
sbanoeon Oct 10, 2025
56f0984
docs: CHANGELOG.md
sbanoeon Oct 10, 2025
ae89328
Merge branch 'master' into 455-Undefined-Reference
djs0109 Oct 10, 2025
d0d349b
Merge pull request #462 from RWTH-EBC/455-Undefined-Reference
djs0109 Oct 10, 2025
31d4315
Add FIWARE Badges
jason-fox Oct 13, 2025
49556cd
Merge pull request #463 from jason-fox/patch-1
djs0109 Oct 15, 2025
ad6fbc5
docs: prepare release
djs0109 Oct 16, 2025
ec7022f
Merge branch 'master' into 464-Release-Preparation-v0-7-3
djs0109 Oct 16, 2025
b651b84
[PYPI-RELEASE] v0 7 3
djs0109 Oct 16, 2025
1ac5eb6
chore: update project architecture diagram
djs0109 Oct 28, 2025
4beb257
Update docs/diagrams/src/README.md
djs0109 Oct 29, 2025
777f7c7
chore: include support for single quotes
sbanoeon Oct 31, 2025
33d2f1e
fix: avoid to create duplicate subscriptions. Test also created.
mwr-ebc Nov 10, 2025
10b354c
chore: small fix on naming
djs0109 Nov 11, 2025
2d19cea
docs: update changelog
djs0109 Nov 11, 2025
031f2bf
Merge pull request #471 from RWTH-EBC/468-MQTT-Subscriptions-with-sam…
djs0109 Nov 11, 2025
4a62c5f
test: include string parsing test for entities filtering
sbanoeon Nov 11, 2025
5bb4d7a
chore: add tests for ql
djs0109 Nov 14, 2025
005eeaf
fix: regex in ql
djs0109 Nov 14, 2025
b827c8d
fix: remove too strict validation and add more test cases
djs0109 Nov 14, 2025
cb6a4ef
fix: added Changelog entry
sbanoeon Nov 18, 2025
67a73f4
Merge branch 'master' into 466-Outdated-module-overview-of-FiLiP
sbanoeon Nov 18, 2025
5dc2743
test: add test for duplicated subs with different order in list
djs0109 Nov 18, 2025
3f927bd
feat: ignore difference in order of list while comparing subs
djs0109 Nov 18, 2025
710cf39
docs: update changelog
djs0109 Nov 18, 2025
720d4d3
Merge pull request #467 from RWTH-EBC/466-Outdated-module-overview-of…
sbanoeon Nov 18, 2025
1c74cba
fix: typo
djs0109 Nov 18, 2025
e55e395
docs: update changelog
djs0109 Nov 18, 2025
2458ab7
Merge remote-tracking branch 'origin/460-Issues-with-parsing-queries'…
djs0109 Nov 18, 2025
8cb9da9
Merge branch 'master' into 460-Issues-with-parsing-queries
djs0109 Nov 18, 2025
f9398ec
Merge pull request #469 from RWTH-EBC/460-Issues-with-parsing-queries
djs0109 Nov 27, 2025
5eaa650
Merge pull request #474 from RWTH-EBC/472-Subscription-condition-Shou…
sbanoeon Dec 2, 2025
65b45ea
feat: ci-yaml created.
mwr-ebc Dec 11, 2025
5900fca
feat: ci-yaml created.
mwr-ebc Dec 11, 2025
0211fb8
feat: ci-yaml secret added.
mwr-ebc Dec 11, 2025
59991a6
feat: ci-yaml TEST and COVERAGE added.
mwr-ebc Dec 11, 2025
c86e0f2
feat: ci-yaml rename.
mwr-ebc Dec 11, 2025
8628bba
feat: ci-yaml package name adjusted.
mwr-ebc Dec 11, 2025
ce50d84
feat: ci-yaml rdflib added.
mwr-ebc Dec 11, 2025
e7ed0d3
Merge branch 'master' into 186-make-unit-model-hashable
djs0109 Jan 28, 2026
b56b501
feat: fiware path in ci.yml changed.
mwr-ebc Jan 28, 2026
cc69fa6
chore: test_statements use "with" code block
djs0109 Jan 28, 2026
5e3fc4f
chore: remove invalid test_statements
djs0109 Jan 28, 2026
d0d75f4
fix: ld env variable added in test_config.env.
mwr-ebc Jan 28, 2026
8446dca
fix: default value changed in config.py for ld broker to 1027.
mwr-ebc Jan 28, 2026
f8e4519
fix: default value changed in config.py for ld mqtt broker to 1883.
mwr-ebc Jan 28, 2026
6de563a
fix: default ip changed in config.py localhost.
mwr-ebc Jan 28, 2026
45037d8
[pip dependency]: Update pandas requirement from ~=1.3.5 to ~=2.1.4
dependabot[bot] Feb 1, 2026
33c3e2d
fix: add env vars
djs0109 Feb 3, 2026
03186af
chore: remove gitlab ci and add test path
djs0109 Feb 3, 2026
ea9f644
chore: change the trigger condition
djs0109 Feb 3, 2026
854733e
chore: change the updated default value for two env-vars
djs0109 Feb 4, 2026
f89095a
chore: remove optional dependency in default requirement
djs0109 Feb 4, 2026
dc3421b
chore: remove tests for semantics module
djs0109 Feb 4, 2026
20520a1
Merge pull request #482 from RWTH-EBC/475-Migrate-all-pipline-to-github
djs0109 Feb 5, 2026
bcaee67
Merge branch 'master' into 186-make-unit-model-hashable-2
djs0109 Feb 5, 2026
7f40e26
chore: revise review comments
djs0109 Feb 5, 2026
16860e5
docs: update changelog
djs0109 Feb 5, 2026
4f63172
docs: prepare release
djs0109 Feb 10, 2026
3095d2c
Merge pull request #480 from RWTH-EBC/dependabot/pip/pandas-approx-eq…
djs0109 Feb 11, 2026
137fbd6
Merge pull request #479 from RWTH-EBC/186-make-unit-model-hashable-2
djs0109 Feb 18, 2026
4eabfe1
TEMPORARY: test with updated fiware CI
djs0109 Feb 18, 2026
39ffd2c
chore: add HEALTHCHECK_URLS
djs0109 Feb 18, 2026
8cb5912
fix: HEALTHCHECK_URLS format
djs0109 Feb 18, 2026
c7bb3ff
chore: remove HEALTHCHECK_URLS for now
djs0109 Feb 18, 2026
ef83372
chore: use another ql version
djs0109 Feb 18, 2026
47d4293
chore: reverse ql version as it does not help
djs0109 Feb 18, 2026
cbfd604
TEMPORARY: remove timeseries test
djs0109 Feb 18, 2026
70ed66d
reverse: add back timeseries test
djs0109 Feb 19, 2026
a14c0c8
[PYPI-RELEASE] 0.7.4
djs0109 Feb 19, 2026
53ee840
[PYPI-RELEASE] 0.7.4
djs0109 Feb 19, 2026
d41385e
[PYPI-RELEASE] 0.7.4
djs0109 Feb 19, 2026
6c7a56e
chore: add HEALTHCHECK_URLS to ci
djs0109 Feb 25, 2026
e8b4bf8
chore: flag for creation of tenant
sbanoeon Mar 10, 2026
8e3658d
Merge pull request #486 from RWTH-EBC/484-QL-falls-in-current-workflo…
djs0109 Mar 11, 2026
f284c44
fix: remove slash from url composition in ld version check
djs0109 Mar 17, 2026
9a5e711
chore: check crate db in health check
djs0109 Mar 18, 2026
0b0d571
chore: test crate settings
djs0109 Mar 18, 2026
c796ce4
chore: test crate settings
djs0109 Mar 18, 2026
7d603db
fix: changed default value to True
mwr-ebc Mar 18, 2026
b3f4839
Merge pull request #490 from RWTH-EBC/478-NGSI-LD-error-of-concatenat…
sbanoeon Mar 26, 2026
284f9cf
fix: allow dynamic header composition
djs0109 Mar 31, 2026
e573c34
chore: check all request verbs in test
djs0109 Mar 31, 2026
e908f61
docs: update readme
djs0109 Mar 31, 2026
d9821f4
chore: update example for secure header
djs0109 Mar 31, 2026
39c20c5
feat: override request method in requests
djs0109 Mar 31, 2026
0340dc5
fix: service and service path in iota
djs0109 Mar 31, 2026
fa9c712
Merge pull request #487 from RWTH-EBC/477-NGSI-LD-make-the-make-tenan…
djs0109 Apr 1, 2026
188ee63
chore: non-strict attribute types when updating ContextEntity
sbanoeon Apr 20, 2026
525608d
chore: non-strict attribute types when updating ContextEntity
sbanoeon Apr 20, 2026
9f7202b
docs: updated CHANGELOG.md
sbanoeon Apr 20, 2026
c060587
fix: get_attrs for entity keyvalues in override
djs0109 Apr 20, 2026
e884af6
chore: use temp session for pagination v2
djs0109 Apr 22, 2026
e99e2c0
chore: use temp session for pagination ld
djs0109 Apr 22, 2026
b49735f
fix: typo and add missing requirements for tutorial
djs0109 Apr 22, 2026
0495683
fix: ld pagination seesion
djs0109 Apr 22, 2026
9f10306
Merge pull request #493 from RWTH-EBC/492-FIWARE-secure-header-does-n…
djs0109 Apr 22, 2026
fba9595
Merge branch 'master' into 494-attributes-with-custom-attribute-type-…
djs0109 Apr 22, 2026
e91210b
Merge pull request #498 from RWTH-EBC/494-attributes-with-custom-attr…
djs0109 Apr 22, 2026
9586f4c
chore: prepare release 075
djs0109 Apr 24, 2026
61818be
chore: remove 3.8 from setup.py
djs0109 Apr 24, 2026
9d50ad8
[PYPI-RELEASE] v0.7.5
djs0109 Apr 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ omit =
*/test*
# omit deprecated code
*/deprecated*
# omit semantics module
filip/semantics/*
source =
filip
[report]
Expand Down
9 changes: 9 additions & 0 deletions .env.filip.EXAMPLE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Global settings for filip
# If needed (for example for running examples) copy the content to another
# local file `.env.filip` in the root folder, i.e., ".../FiLiP/.env.filip"
# Do not add the created `.env.filip` to the git
CB_URL="http://localhost:1026"
LD_CB_URL="http://localhost:1027"
IOTA_URL="http://localhost:4041/"
QL_URL="http://localhost:8668"
MQTT_BROKER_URL="mqtt://localhost:1883"
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/release_prepare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Release Preparation
about: Track tasks for preparing a new release
title: 'Release Preparation: vX.X.X'
labels: release
assignees: ''

---

**Release Version**
Specify the version number for the release (e.g., v0.7.1):

**What is changed?**
TODO: please at least copy the release note here, afterwards

**Checklist**
Following steps will be checked:
- [ ] Revise the changelog if necessary
- [ ] Update the version tag in:
- [ ] `filip/__init__.py`
- [ ] `Changelog`
- [ ] Check dependencies in `setup.py`, especially when a new library is introduced
- [ ] Check other information in `setup.py`

After that, create a pull request and merge it (merge commit) to `master` branch with a commit message containing `[PYPI-RELEASE]`.


**Additional Context**
Add any other context or notes related to the release preparation here.
29 changes: 29 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
# Enable version updates for Python dependencies
- package-ecosystem: "pip"
directory: "/" # location of the setup.py
schedule:
interval: "monthly"
allow:
# Allow updates on explicit dependency
- dependency-type: "direct"
ignore:
# Ignore updates for specific dependencies
- dependency-name: "sphinx"
- dependency-name: "autodoc-pydantic"
- dependency-name: "sphinx-autobuild"
- dependency-name: "m2r2"
- dependency-name: "sphinx-rtd-theme"
- dependency-name: "igraph"
- dependency-name: "plotly"
- dependency-name: "matplotlib"
- dependency-name: "pre-commit"
commit-message:
prefix: "[pip dependency]"
open-pull-requests-limit: 5
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Python CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
ci:
uses: RWTH-EBC/ci_templates/.github/workflows/ci_pipeline.yml@main
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
PYPI_PASSWORD: ${{ secrets.PYPI_TOKEN }}
with:
PYTHON_VERSION: "3.10"
USE_PYLINT: true
BUILD_PACKAGE: true
GENERATE_DOCUMENTATION: true
GH_PAGES: true
FIWARE_TESTS: true
FIWARE_COVERAGE: true
FIWARE_DIRECTORY: './filip_unittest/docker'
PYTHON_PACKAGE_NAME: 'filip'
PYPI_RELEASE: true
TEST_PATH: './tests'
TEST_ENV_VARS: '["CB_URL=http://localhost:1026","ORION_LD_URL=http://localhost:1027","IOTA_URL=http://localhost:4041","IOTA_JSON_URL=http://localhost:4041","IOTA_UL_URL=http://localhost:4061","QL_URL=http://localhost:8668","MQTT_BROKER_URL=mqtt://localhost:1883","MQTT_BROKER_URL_INTERNAL=mqtt://mqtt-broker:1883","LD_MQTT_BROKER_URL=mqtt://localhost:1883","LD_MQTT_BROKER_URL_INTERNAL=mqtt://mqtt-broker:1883","FIWARE_SERVICE=filip","FIWARE_SERVICEPATH=/"]'
PYTHON_TEST_MATRIX: '["3.9", "3.10", "3.11", "3.12"]' #List of Python versions to run tests against as a matrix
HEALTHCHECK_URLS: "http://localhost:1026/version http://localhost:1027/version http://localhost:4041/version http://localhost:4061/version http://localhost:8668/version http://localhost:4200"
99 changes: 99 additions & 0 deletions .github/workflows/compatibility-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: Matrix Tests for Orion and IoT-Agent-JSON

on:
push:
branches:
- "418-update-versions-for-fiware-ges"
workflow_dispatch:

jobs:
matrix-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
orion_version: ["4.1.0", "4.0.0", "3.12.0", "3.11.0", "3.10.0", "3.9.0", "3.8.0", "3.7.0", "3.6.0"]
iot_json_version: ["3.7.0", "3.6.0", "3.5.0", "3.4.0", "3.3.0", "3.2.0", "3.1.0", "3.0.2", "2.4.2", "2.3.0",
"1.26.0", "1.25.0"]

steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- name: Debug - Verify Repository Structure
run: |
pwd
ls -la

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Create .env file
run: |
cat <<EOF > .env
LOG_LEVEL="INFO"
CB_URL=http://localhost:1026
ORION_LD_URL=http://localhost:1027
IOTA_JSON_URL=http://localhost:4041
IOTA_UL_URL=http://localhost:4061
QL_URL=http://localhost:8668
MQTT_BROKER_URL=mqtt://localhost:1883
MQTT_BROKER_URL_INTERNAL=mqtt://mqtt-broker:1883
LD_MQTT_BROKER_URL=mqtt://localhost:1883
LD_MQTT_BROKER_URL_INTERNAL=mqtt://mqtt-broker:1883
FIWARE_SERVICE=filip
FIWARE_SERVICEPATH=/
STATIC_RECORDS=1000
EOF

- name: Verify .env file
run: cat .env

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
pip install .
pip install jinja2 pytest

- name: Generate docker-compose.yml
run: |
cd filip_unittest/docker
python generate-compose.py ${{ matrix.orion_version }} ${{ matrix.iot_json_version }}

- name: Start containers
run: |
cd filip_unittest/docker
docker compose up -d

- name: Wait for FIWARE Services
run: |
for i in {1..30}; do
curl -s http://localhost:1026/version && \
curl -s http://localhost:1027/version && \
curl -s http://localhost:4061/version && \
curl -s http://localhost:4041/version && \
curl -s http://localhost:8668/version && break || sleep 5
done

- name: Debug - Show Running Docker Containers
run: docker ps -a

- name: Navigate to Tests Folder
run: |
cd $GITHUB_WORKSPACE
ls -la

- name: Run Pytest
run: |
python -m unittest tests/clients/test_ngsi_v2_cb.py
python -m pytest tests

- name: Tear down containers
if: always()
run: |
cd filip_unittest/docker
docker compose down -v
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ __pycache__
# include issue branch workflows
!.github/workflows/issue-tracker.yml
!.github/issue-branch.yml
!.github/workflows/unittest.yml
!filip_unittest/docker/docker-compose.yml

*.yaml
!.pre-commit-config.yaml

# pip install #
#####################
Expand All @@ -23,13 +26,14 @@ __pycache__
dist
*.pypirc
build
requirements.txt

# PyCharm #
#####################
.idea
.cache
venv

.venv
# Unittest #
#####################
.pytest_cache
Expand All @@ -43,3 +47,4 @@ venv
/examples/ngsi_v2/data_models/
/tests/semantics/models.py
/tests/semantics/models2.py
/.env.filip
31 changes: 0 additions & 31 deletions .gitlab-ci.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
# Using black mirror since it's 2x faster https://black.readthedocs.io/en/stable/integrations/source_version_control.html
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
hooks:
- id: black
# Specifying the latest version of Python supported by Filip
language_version: python
94 changes: 93 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,98 @@
### v0.4.2
### v0.7.5
- fix: allow dynamic header composition in v2 http client ([#493](https://github.com/RWTH-EBC/FiLiP/pull/493))
- fix: allow non-standard attribute types when updating ContextEntity ([#497](https://github.com/RWTH-EBC/FiLiP/pull/497))

### v0.7.4
- fix: various bug fixes regarding query string and its regex ([#469](https://github.com/RWTH-EBC/FiLiP/pull/469))
- fix: fixed outdated module overview diagram ([#467](https://github.com/RWTH-EBC/FiLiP/pull/467))
- fix: ignore password field while checking duplicated subscription ([#471](https://github.com/RWTH-EBC/FiLiP/pull/471))
- fix: make unit model hashable ([#479](https://github.com/RWTH-EBC/FiLiP/pull/479))
- update: ignore difference of the order of list elements while checking duplicated subscription ([#474](https://github.com/RWTH-EBC/FiLiP/pull/474))

### v0.7.3
- update: error handling for get devices list ([#451](https://github.com/RWTH-EBC/FiLiP/pull/451))
- update: link FIWARE badges in README.md ([#463](https://github.com/RWTH-EBC/FiLiP/pull/463))
- fix: falsy value handling on update_entity_attribute ([#454](https://github.com/RWTH-EBC/FiLiP/pull/454))
- add: warning if ``Orion`` version is not supported ([#200](https://github.com/RWTH-EBC/FiLiP/issues/200))
- add: support pagination for get_entity_list of NGSI-LD ([#456](https://github.com/RWTH-EBC/FiLiP/pull/457))
- add: version checker for correct cb version ([#200](https://github.com/RWTH-EBC/FiLiP/pull/200))
- add: pagination for get entity list in NGSI-LD client ([#457](https://github.com/RWTH-EBC/FiLiP/pull/457))
- add: new example for uploading existing dataset ([#453](https://github.com/RWTH-EBC/FiLiP/pull/453))

### v0.7.2
- update: move rdflib requirement to ``semantics`` extras

### v0.7.1
- update: relax rdflib requirements to allow rdflib<=6.1.1 ([#446](https://github.com/RWTH-EBC/FiLiP/issues/446))

### v0.7.0
- add: flag to decide on whether ignore invalid entities in get_entity_list ([#416](https://github.com/RWTH-EBC/FiLiP/pull/416))
- add: system params like ``lastSuccess`` to notification model ([#441](https://github.com/RWTH-EBC/FiLiP/pull/441))
- add: NGSI-LD convertion functions between keyvalues and normal entity format ([#443](https://github.com/RWTH-EBC/FiLiP/pull/443))
- add: flag to decide on whether ignore invalid entities in get_entity_list ([#416](https://github.com/RWTH-EBC/FiLiP/pull/416))
- add: NGSI-LD examples ([#432](https://github.com/RWTH-EBC/FiLiP/pull/432))
- fix: handle large amount of data in clear context broker ([#419](https://github.com/RWTH-EBC/FiLiP/pull/419))
- update: allow UTF-8 characters in attribute values ([#437](https://github.com/RWTH-EBC/FiLiP/pull/437))
- update: stop testing python 3.8 in workflow ([#441](https://github.com/RWTH-EBC/FiLiP/pull/441))
- update: adapt the behavior of `patch_entity` to align with the API specification ([#429](https://github.com/RWTH-EBC/FiLiP/pull/429))

### v0.6.3
- add: Unittest workflow via Github actions ([#388](https://github.com/RWTH-EBC/FiLiP/pull/388))
- add: Context conversion methods to_keyvalues() and to_normalized() ([#393](https://github.com/RWTH-EBC/FiLiP/pull/393))
- fix: relationship validation can not handle empty attributes ([#411](https://github.com/RWTH-EBC/FiLiP/pull/411))
- fix:relationship and properties cannot be created via predefined models ([#412](https://github.com/RWTH-EBC/FiLiP/pull/412))
- fix: LD entity model ignore unset properties ([#402](https://github.com/RWTH-EBC/FiLiP/pull/402))

### v0.6.2
- add: New features to validate and update relationships for V2 entities ([#380](https://github.com/RWTH-EBC/FiLiP/pull/380))
- add: ngsi-ld support for entity creation and update with keyvalues format ([#394](https://github.com/RWTH-EBC/FiLiP/pull/394))
- fix: exception handling for special characters in attribute value ([#381](https://github.com/RWTH-EBC/FiLiP/pull/381))
- update: relax pydantic requirements ([#390](https://github.com/RWTH-EBC/FiLiP/pull/390))
- update: pandas requirement from ~=1.3.5 to >=1.3.5,<2.3.0 ([#396](https://github.com/RWTH-EBC/FiLiP/pull/396))

### v0.6.1
- add: Tutorial for saving live timeseries data (e.g., forecast) in context broker and timeseries database ([#363](https://github.com/RWTH-EBC/FiLiP/pull/363))
- add: Tutorial for using session object ([#370](https://github.com/RWTH-EBC/FiLiP/pull/370))
- add: Validation of quotation mark in ``q`` strings for NGSI-LD ``get_entities_list`` ([#383](https://github.com/RWTH-EBC/FiLiP/pull/383/files))
- fix: Addition of trailing slash if missing from base url ([#371](https://github.com/RWTH-EBC/FiLiP/pull/371))
- fix: Serialization error for custom datamodels during batch operation ([#376](https://github.com/RWTH-EBC/FiLiP/pull/376))
- update: omit invalid entities in `get_entity_list` ([#375](https://github.com/RWTH-EBC/FiLiP/pull/375))

### v0.6.0
- add: Tutorial for connecting with secured endpoints ([#319](https://github.com/RWTH-EBC/FiLiP/pull/319))
- add: Example for notification based command ([#332](https://github.com/RWTH-EBC/FiLiP/pull/332))
- add: tests for clear functions ([#336](https://github.com/RWTH-EBC/FiLiP/pull/336))
- 🚀 **add: API client for NGSI-LD context broker** ([#338](https://github.com/RWTH-EBC/FiLiP/pull/338)
,[#356](https://github.com/RWTH-EBC/FiLiP/pull/356)
,[#327](https://github.com/RWTH-EBC/FiLiP/pull/327)
,[#300](https://github.com/RWTH-EBC/FiLiP/pull/300)
,[#301](https://github.com/RWTH-EBC/FiLiP/pull/301)
,[#212](https://github.com/RWTH-EBC/FiLiP/pull/212)
,[#222](https://github.com/RWTH-EBC/FiLiP/pull/222)
,[#221](https://github.com/RWTH-EBC/FiLiP/pull/221)
)
- fix: clear functions for context broker ([#336](https://github.com/RWTH-EBC/FiLiP/pull/336))
- fix: validation error of ``ngsipayloadattr`` when the attribute substitution is used([#351](https://github.com/RWTH-EBC/FiLiP/pull/351))
- update: integrate the key-values endpoints with normalized endpoints ([#318](https://github.com/RWTH-EBC/FiLiP/pull/318))
- remove: ``update_entity_attributes_key_values`` and ``update_entity_key_values`` are removed ([#318](https://github.com/RWTH-EBC/FiLiP/pull/318))


### v0.5.0
- update: allow duplicated name in device, check uniqueness of object_id ([#279](https://github.com/RWTH-EBC/FiLiP/pull/279))
- update: upgrade dependency of `paho-mqtt` to v2 ([#273](https://github.com/RWTH-EBC/FiLiP/pull/273/))
- add: `json` and `ngsi` as payload format in custom notification model ([#296](https://github.com/RWTH-EBC/FiLiP/pull/296))
- add: support alterationTypes in subscription model ([#293](https://github.com/RWTH-EBC/FiLiP/pull/293))
- add: validation for JEXL based expression ([#260](https://github.com/RWTH-EBC/FiLiP/pull/260))
- add: tutorials for multi-entity ([#260](https://github.com/RWTH-EBC/FiLiP/pull/260))
- add: add ``update_entity_relationships`` to allow relationship update ([#271](https://github.com/RWTH-EBC/FiLiP/pull/271))
- add: timeseries query with all attrs and specific attr name ([#16](https://github.com/RWTH-EBC/FiLiP/pull/16))
- add: flag to determine the deletion of registration when clearing the CB ([#267](https://github.com/RWTH-EBC/FiLiP/pull/267))
- add: ``covered`` flag in notification model ([#310](https://github.com/RWTH-EBC/FiLiP/pull/310))
- fix: rework tutorials for pydantic v2 ([#259](https://github.com/RWTH-EBC/FiLiP/pull/259))
- fix: inconsistency of `entity_type` as required argument ([#188](https://github.com/RWTH-EBC/FiLiP/pull/188))
- fix: allow empty string in attribute value validation ([#311](https://github.com/RWTH-EBC/FiLiP/pull/311))

BREAKING CHANGE: upgrade dependency of `paho-mqtt` to v2 ([#273](https://github.com/RWTH-EBC/FiLiP/pull/273/))

### v0.4.1
- fix: Session added as optional parameter to enable tls communication with clients ([#249](https://github.com/RWTH-EBC/FiLiP/pull/249))
Expand Down
Loading