From baf240ef76a001ad4961e8124f24acaa69957381 Mon Sep 17 00:00:00 2001 From: r3w0p Date: Wed, 26 Jun 2024 11:27:43 +0100 Subject: [PATCH 1/4] update requirement versions; copyright; workflows --- .github/workflows/cicd.yml | 13 ++++++------- .github/workflows/cidev.yml | 11 +++++++++-- .github/workflows/security.yml | 2 +- .gitignore | 1 + LICENSE | 2 +- bobocep/__init__.py | 2 +- bobocep/bobocep.py | 2 +- bobocep/cep/__init__.py | 2 +- bobocep/cep/action/__init__.py | 2 +- bobocep/cep/action/action.py | 2 +- bobocep/cep/action/common/__init__.py | 2 +- bobocep/cep/action/common/multi.py | 2 +- bobocep/cep/action/handler.py | 2 +- bobocep/cep/engine/__init__.py | 2 +- bobocep/cep/engine/decider/__init__.py | 2 +- bobocep/cep/engine/decider/decider.py | 2 +- bobocep/cep/engine/decider/pubsub.py | 2 +- bobocep/cep/engine/decider/run.py | 2 +- bobocep/cep/engine/decider/runserial.py | 2 +- bobocep/cep/engine/engine.py | 2 +- bobocep/cep/engine/forwarder/__init__.py | 2 +- bobocep/cep/engine/forwarder/forwarder.py | 2 +- bobocep/cep/engine/forwarder/pubsub.py | 2 +- bobocep/cep/engine/producer/__init__.py | 2 +- bobocep/cep/engine/producer/producer.py | 2 +- bobocep/cep/engine/producer/pubsub.py | 2 +- bobocep/cep/engine/receiver/__init__.py | 2 +- bobocep/cep/engine/receiver/pubsub.py | 2 +- bobocep/cep/engine/receiver/receiver.py | 2 +- bobocep/cep/engine/receiver/validator.py | 2 +- bobocep/cep/engine/task.py | 2 +- bobocep/cep/event/__init__.py | 2 +- bobocep/cep/event/action.py | 2 +- bobocep/cep/event/complex.py | 2 +- bobocep/cep/event/event.py | 2 +- bobocep/cep/event/factory.py | 2 +- bobocep/cep/event/history.py | 2 +- bobocep/cep/event/simple.py | 2 +- bobocep/cep/gen/__init__.py | 2 +- bobocep/cep/gen/event.py | 2 +- bobocep/cep/gen/event_id.py | 2 +- bobocep/cep/gen/timestamp.py | 2 +- bobocep/cep/phenom/__init__.py | 2 +- bobocep/cep/phenom/pattern/__init__.py | 2 +- bobocep/cep/phenom/pattern/builder.py | 2 +- bobocep/cep/phenom/pattern/pattern.py | 2 +- bobocep/cep/phenom/pattern/predicate.py | 2 +- bobocep/cep/phenom/phenom.py | 2 +- bobocep/dist/__init__.py | 2 +- bobocep/dist/crypto/__init__.py | 2 +- bobocep/dist/crypto/aes.py | 2 +- bobocep/dist/crypto/crypto.py | 2 +- bobocep/dist/device.py | 2 +- bobocep/dist/devman.py | 2 +- bobocep/dist/dist.py | 2 +- bobocep/dist/pubsub.py | 2 +- bobocep/dist/tcp.py | 2 +- bobocep/setup/__init__.py | 2 +- bobocep/setup/setup.py | 2 +- bobocep/setup/simple.py | 2 +- docs/.coverage | Bin 53248 -> 0 bytes docs/conf.py | 2 +- requirements.txt | 4 ++-- setup.cfg | 2 +- tests/__init__.py | 2 +- tests/postman/__init__.py | 2 +- tests/postman/dist/__init__.py | 2 +- tests/postman/non_dist/__init__.py | 2 +- tests/test_bobocep/__init__.py | 2 +- tests/test_bobocep/test_dist/__init__.py | 2 +- tests/test_bobocep/test_dist/test_BoboDevice.py | 2 +- .../test_dist/test_BoboDeviceManager.py | 2 +- tests/test_bobocep/test_integration.py | 2 +- .../test_setup/test_BoboSetupSimple.py | 2 +- .../test_BoboSetupSimpleDistributed.py | 2 +- 75 files changed, 88 insertions(+), 81 deletions(-) delete mode 100644 docs/.coverage diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 338989cb..1f9f1ab8 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -13,7 +13,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ ubuntu-latest, macos-latest, windows-latest ] python-version: [ "3.9", "3.10", "3.11", "3.12" ] steps: - name: Checkout repository @@ -50,13 +50,12 @@ jobs: run: | interrogate -vv bobocep --fail-under 100 - - name: Upload code coverage to Code Climate - uses: paambaati/codeclimate-action@v5.0.0 - env: - CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TEST_REPORTER_ID }} + - name: Upload coverage reports to Codecov + if: matrix.os == 'ubuntu-latest' + uses: codecov/codecov-action@v4.0.1 with: - coverageCommand: coverage xml - continue-on-error: true + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true cd: name: CD diff --git a/.github/workflows/cidev.yml b/.github/workflows/cidev.yml index b611f64c..c269fdbf 100644 --- a/.github/workflows/cidev.yml +++ b/.github/workflows/cidev.yml @@ -14,8 +14,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [ "3.9", "3.10", "3.11", "3.12" ] + os: [ ubuntu-latest ] + python-version: [ "3.9" ] steps: - name: Checkout repository uses: actions/checkout@v2 @@ -47,6 +47,13 @@ jobs: coverage run -m pytest tests coverage report --fail-under=98 + - name: Upload coverage reports to Codecov + if: matrix.os == 'ubuntu-latest' + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true + - name: Documentation coverage with interrogate run: | interrogate -vv bobocep --fail-under 100 diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 3c6d180a..b47298bf 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -7,7 +7,7 @@ on: tags-ignore: - '**' schedule: - # At 06:00 on Monday. + # At 06:00 on Monday morning - cron: '0 6 * * 1' jobs: diff --git a/.gitignore b/.gitignore index 5723580b..bf4f33a4 100644 --- a/.gitignore +++ b/.gitignore @@ -32,5 +32,6 @@ __pycache__ *.pyc +.coverage docs/_build docs/source diff --git a/LICENSE b/LICENSE index 95583071..686e3229 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019-2023 r3w0p +Copyright (c) 2019-2024 r3w0p Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/bobocep/__init__.py b/bobocep/__init__.py index 89556a86..20df67e8 100644 --- a/bobocep/__init__.py +++ b/bobocep/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/bobocep.py b/bobocep/bobocep.py index de2276ed..8c49448a 100644 --- a/bobocep/bobocep.py +++ b/bobocep/bobocep.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/__init__.py b/bobocep/cep/__init__.py index ae3a3420..8afe8b60 100644 --- a/bobocep/cep/__init__.py +++ b/bobocep/cep/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/action/__init__.py b/bobocep/cep/action/__init__.py index 6f6314c8..94d66abb 100644 --- a/bobocep/cep/action/__init__.py +++ b/bobocep/cep/action/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/action/action.py b/bobocep/cep/action/action.py index cd417b93..81d3e5c9 100644 --- a/bobocep/cep/action/action.py +++ b/bobocep/cep/action/action.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/action/common/__init__.py b/bobocep/cep/action/common/__init__.py index f09d45db..047a1aac 100644 --- a/bobocep/cep/action/common/__init__.py +++ b/bobocep/cep/action/common/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/action/common/multi.py b/bobocep/cep/action/common/multi.py index 9270fb2c..0d784328 100644 --- a/bobocep/cep/action/common/multi.py +++ b/bobocep/cep/action/common/multi.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/action/handler.py b/bobocep/cep/action/handler.py index 138bd51b..2c406747 100644 --- a/bobocep/cep/action/handler.py +++ b/bobocep/cep/action/handler.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/__init__.py b/bobocep/cep/engine/__init__.py index 7f185037..fb5abf98 100644 --- a/bobocep/cep/engine/__init__.py +++ b/bobocep/cep/engine/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/decider/__init__.py b/bobocep/cep/engine/decider/__init__.py index f34e0488..29cc40f7 100644 --- a/bobocep/cep/engine/decider/__init__.py +++ b/bobocep/cep/engine/decider/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/decider/decider.py b/bobocep/cep/engine/decider/decider.py index 64062b9d..f01bd087 100644 --- a/bobocep/cep/engine/decider/decider.py +++ b/bobocep/cep/engine/decider/decider.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/decider/pubsub.py b/bobocep/cep/engine/decider/pubsub.py index 76c69aa8..403767bc 100644 --- a/bobocep/cep/engine/decider/pubsub.py +++ b/bobocep/cep/engine/decider/pubsub.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/decider/run.py b/bobocep/cep/engine/decider/run.py index 44389277..1b778107 100644 --- a/bobocep/cep/engine/decider/run.py +++ b/bobocep/cep/engine/decider/run.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/decider/runserial.py b/bobocep/cep/engine/decider/runserial.py index 192e3fbe..056801f3 100644 --- a/bobocep/cep/engine/decider/runserial.py +++ b/bobocep/cep/engine/decider/runserial.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/engine.py b/bobocep/cep/engine/engine.py index e2931c3a..2df2018d 100644 --- a/bobocep/cep/engine/engine.py +++ b/bobocep/cep/engine/engine.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/forwarder/__init__.py b/bobocep/cep/engine/forwarder/__init__.py index abdd6a53..f090e891 100644 --- a/bobocep/cep/engine/forwarder/__init__.py +++ b/bobocep/cep/engine/forwarder/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/forwarder/forwarder.py b/bobocep/cep/engine/forwarder/forwarder.py index 5e32c335..712a6b34 100644 --- a/bobocep/cep/engine/forwarder/forwarder.py +++ b/bobocep/cep/engine/forwarder/forwarder.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/forwarder/pubsub.py b/bobocep/cep/engine/forwarder/pubsub.py index ca913cc1..8885ef12 100644 --- a/bobocep/cep/engine/forwarder/pubsub.py +++ b/bobocep/cep/engine/forwarder/pubsub.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/producer/__init__.py b/bobocep/cep/engine/producer/__init__.py index ea21ddcd..5ab702b8 100644 --- a/bobocep/cep/engine/producer/__init__.py +++ b/bobocep/cep/engine/producer/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/producer/producer.py b/bobocep/cep/engine/producer/producer.py index cc77346a..32baf618 100644 --- a/bobocep/cep/engine/producer/producer.py +++ b/bobocep/cep/engine/producer/producer.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/producer/pubsub.py b/bobocep/cep/engine/producer/pubsub.py index 5f434b68..8c3fe93a 100644 --- a/bobocep/cep/engine/producer/pubsub.py +++ b/bobocep/cep/engine/producer/pubsub.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/receiver/__init__.py b/bobocep/cep/engine/receiver/__init__.py index f6539a82..16059f7e 100644 --- a/bobocep/cep/engine/receiver/__init__.py +++ b/bobocep/cep/engine/receiver/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/receiver/pubsub.py b/bobocep/cep/engine/receiver/pubsub.py index 76c90771..01588248 100644 --- a/bobocep/cep/engine/receiver/pubsub.py +++ b/bobocep/cep/engine/receiver/pubsub.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/receiver/receiver.py b/bobocep/cep/engine/receiver/receiver.py index 4163e4f6..e7a7fa35 100644 --- a/bobocep/cep/engine/receiver/receiver.py +++ b/bobocep/cep/engine/receiver/receiver.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/receiver/validator.py b/bobocep/cep/engine/receiver/validator.py index 039703e7..e0303fae 100644 --- a/bobocep/cep/engine/receiver/validator.py +++ b/bobocep/cep/engine/receiver/validator.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/engine/task.py b/bobocep/cep/engine/task.py index 932d35d2..fc114bba 100644 --- a/bobocep/cep/engine/task.py +++ b/bobocep/cep/engine/task.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/event/__init__.py b/bobocep/cep/event/__init__.py index 3755f22e..66562da9 100644 --- a/bobocep/cep/event/__init__.py +++ b/bobocep/cep/event/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/event/action.py b/bobocep/cep/event/action.py index 331bfe81..0b029888 100644 --- a/bobocep/cep/event/action.py +++ b/bobocep/cep/event/action.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/event/complex.py b/bobocep/cep/event/complex.py index 23508bc9..264cf666 100644 --- a/bobocep/cep/event/complex.py +++ b/bobocep/cep/event/complex.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/event/event.py b/bobocep/cep/event/event.py index 8a77da25..92bc2ed8 100644 --- a/bobocep/cep/event/event.py +++ b/bobocep/cep/event/event.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/event/factory.py b/bobocep/cep/event/factory.py index feae651c..d92a22fb 100644 --- a/bobocep/cep/event/factory.py +++ b/bobocep/cep/event/factory.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/event/history.py b/bobocep/cep/event/history.py index 21d8fb1e..125c1825 100644 --- a/bobocep/cep/event/history.py +++ b/bobocep/cep/event/history.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/event/simple.py b/bobocep/cep/event/simple.py index 14b4c090..3e8dc746 100644 --- a/bobocep/cep/event/simple.py +++ b/bobocep/cep/event/simple.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/gen/__init__.py b/bobocep/cep/gen/__init__.py index 18b5d5af..9d5d5c93 100644 --- a/bobocep/cep/gen/__init__.py +++ b/bobocep/cep/gen/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/gen/event.py b/bobocep/cep/gen/event.py index 3739a858..6f896cc5 100644 --- a/bobocep/cep/gen/event.py +++ b/bobocep/cep/gen/event.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/gen/event_id.py b/bobocep/cep/gen/event_id.py index 81621dab..d0aa0d5d 100644 --- a/bobocep/cep/gen/event_id.py +++ b/bobocep/cep/gen/event_id.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/gen/timestamp.py b/bobocep/cep/gen/timestamp.py index ab1660ed..bcc9cacf 100644 --- a/bobocep/cep/gen/timestamp.py +++ b/bobocep/cep/gen/timestamp.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/phenom/__init__.py b/bobocep/cep/phenom/__init__.py index 5d7ce6d1..4e74ad69 100644 --- a/bobocep/cep/phenom/__init__.py +++ b/bobocep/cep/phenom/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/phenom/pattern/__init__.py b/bobocep/cep/phenom/pattern/__init__.py index 22fdbf63..ea3fa904 100644 --- a/bobocep/cep/phenom/pattern/__init__.py +++ b/bobocep/cep/phenom/pattern/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/phenom/pattern/builder.py b/bobocep/cep/phenom/pattern/builder.py index 7604452c..f4c7802e 100644 --- a/bobocep/cep/phenom/pattern/builder.py +++ b/bobocep/cep/phenom/pattern/builder.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/phenom/pattern/pattern.py b/bobocep/cep/phenom/pattern/pattern.py index 4bae07ed..16484bd1 100644 --- a/bobocep/cep/phenom/pattern/pattern.py +++ b/bobocep/cep/phenom/pattern/pattern.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/phenom/pattern/predicate.py b/bobocep/cep/phenom/pattern/predicate.py index ccd846a3..29a90332 100644 --- a/bobocep/cep/phenom/pattern/predicate.py +++ b/bobocep/cep/phenom/pattern/predicate.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/cep/phenom/phenom.py b/bobocep/cep/phenom/phenom.py index ded9cae8..01e214b9 100644 --- a/bobocep/cep/phenom/phenom.py +++ b/bobocep/cep/phenom/phenom.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/dist/__init__.py b/bobocep/dist/__init__.py index 3110b8de..29403329 100644 --- a/bobocep/dist/__init__.py +++ b/bobocep/dist/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/dist/crypto/__init__.py b/bobocep/dist/crypto/__init__.py index 8e24c235..56b20733 100644 --- a/bobocep/dist/crypto/__init__.py +++ b/bobocep/dist/crypto/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/dist/crypto/aes.py b/bobocep/dist/crypto/aes.py index cd65cb61..7948144b 100644 --- a/bobocep/dist/crypto/aes.py +++ b/bobocep/dist/crypto/aes.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/dist/crypto/crypto.py b/bobocep/dist/crypto/crypto.py index c7d8393b..c027f1fa 100644 --- a/bobocep/dist/crypto/crypto.py +++ b/bobocep/dist/crypto/crypto.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/dist/device.py b/bobocep/dist/device.py index f070e820..975c4ddd 100644 --- a/bobocep/dist/device.py +++ b/bobocep/dist/device.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/dist/devman.py b/bobocep/dist/devman.py index 3ba3189e..7e3af1b0 100644 --- a/bobocep/dist/devman.py +++ b/bobocep/dist/devman.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/dist/dist.py b/bobocep/dist/dist.py index c62c3578..21ceaa42 100644 --- a/bobocep/dist/dist.py +++ b/bobocep/dist/dist.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/dist/pubsub.py b/bobocep/dist/pubsub.py index da58c89d..7ee64d53 100644 --- a/bobocep/dist/pubsub.py +++ b/bobocep/dist/pubsub.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/dist/tcp.py b/bobocep/dist/tcp.py index e56fb4a2..51ecad12 100644 --- a/bobocep/dist/tcp.py +++ b/bobocep/dist/tcp.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/setup/__init__.py b/bobocep/setup/__init__.py index 24f932ab..5c60f067 100644 --- a/bobocep/setup/__init__.py +++ b/bobocep/setup/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/setup/setup.py b/bobocep/setup/setup.py index 1d721c65..504d9e7b 100644 --- a/bobocep/setup/setup.py +++ b/bobocep/setup/setup.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/bobocep/setup/simple.py b/bobocep/setup/simple.py index 07d2fd6e..52146281 100644 --- a/bobocep/setup/simple.py +++ b/bobocep/setup/simple.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/docs/.coverage b/docs/.coverage deleted file mode 100644 index 17ed0b93168a6b00eaece80ba161f6735e03a275..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53248 zcmeI)?{C{g7zc1W+2STm<)Nyws%q-Jfizm0EkX!wynq6IF)^tOD&8QGU7Sm6i0#yN z`s2lfvLRJM;y*zAPy7kI+dE$IiZ?uu?TeGPnf7j4_*zZk*mvi<&pmgS)ZM;)`ov3= z7=)286Y-&O$1qLfGa(GasM2GN9(uEA=azm$ujb7DqTQ;|K6t)ne`nMyzZv!qYX|mj z{r9yGR{yN~)n8Ztuw>Px6WAaC0SG|g|1B_iTDP3dP4mU`MD~U%iKMHd?0M~rZ}#^N z_r>Af=TG)Uc1-Nl1Z}&!VoyZjnHZ@^47{NdUeNbknRvmGNRE|GJ&skM7dkpdOC2X{ zr}=rW>-8yDqK>GDQRMkDx)499i&mN-zgnWslk5N$qP(MkQ;3~Bds9SepduBxD$Z)L zb*?pZplHhD0TtwiQJ-tyi)7#)tGFfPw1sX+^*m3q z)<&U!KMBRq3({r=v6pyZAk?{X$BF9S*uWN}>5cGaTSH|%;|4v;a^}~X(J35&-8TrzbIjwUr_IpJB!v|bsm|k*A${KJ%5f5=@4M9b-3~p~ ze|c}ka<;e4%ab%vn5WzGl6bmPoeP@j;RT_?=NHEfkCOQy;ZZakig1t)8O|-T&Y@_Y z9W(behKzWii7-z{HGQkm#+9Wyh~6;l&Bt0AF|ncnLUVymHW&vk50#kP;D)Cvl1HkY zpUtL)w;f0nI-P38+239iI@1v7cBZ?v$!5iJwzkX{)ijLq-pXIBxe(GldBZfSPx(s5 z<48{=ubU)wj$)S7VjR>BX_;Gu#5qzW= z0#_D-H?RIkCdcA>-T5$8ym7nYe6q2q;#`Gpho37izb~a#zT8apeVX+7QJ$+ZA1SK* zmAcqHl|!0MM$(ID$kH5~tpI`(_9Z2jy>OhQ@yl=1@Z`0psBcz4@m||gs%Dy;hWFQD z9DB5^^0E~_(nm$(SjIdH#SPI5!=aKvwl+|X$1z>gi$z+8>#NeIMH%r0mvMC3Nb95* z7oO%1Y0&BMMLWJPgMPkV@iLs1N^?ICPQFeyiBLw-pg|ea5WP~SE;K*OGnOvDJt7k> z)tCKjxO1n>lz4Wmt`(Q9MqkQAC7!PYCrK-l2G*I3g&Qe4No#4dQGQ(*aBp=x{LJ5y zSNNmcWZSfyd-u%AI3JAJJkyP7QTL^;cK)_B7bI6s7V&aG6E1z)nT->+o8jQM*%f$l z%X+YvDd<%BXPsJ;zu=qpzXttag8&2|009U<00Izz00bZa0SG`~`2@;l$+YYnfY!H9|1Rwwb2tWV=5P$##AOHafyqf~`Qu(f}|HR{gZI-v3{Eq-WZa-*$RHIgv z>{o{U%KqowY#?e40SG_<0uX=z1Rwwb2tWV=5P*OdsF&}W`nLe3T6wFQ{}Lem2mW_- zD!f7f0uX=z1Rwwb2tWV=5P$##Ah3)AeE*;R(?4twfB*y_009U<00Izz00bZa0SGLy z0Pg=Uap$6G5P$##AOHafKmY;|fB*y_0D)Wp_x}+J5P$##AOHafKmY;|fB*y_0Db_SbsaJQ diff --git a/docs/conf.py b/docs/conf.py index 87840800..f535bba5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,7 +14,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = "BoboCEP" -copyright = "2019-2023 r3w0p" +copyright = "2019-2024 r3w0p" author = "r3w0p" version = "1.2.0" diff --git a/requirements.txt b/requirements.txt index 75df2702..702739c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -jsonschema==4.20.0 -pycryptodome==3.19.0 +jsonschema==4.22.0 +pycryptodome==3.20.0 diff --git a/setup.cfg b/setup.cfg index 798030d8..128e090d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [bumpversion] current_version = 1.2.0 -commit = True +commit = False [bumpversion:file:setup.py] search = version="{current_version}" diff --git a/tests/__init__.py b/tests/__init__.py index ceb5cd2e..3d3a528f 100755 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/tests/postman/__init__.py b/tests/postman/__init__.py index 20722296..7deea00b 100644 --- a/tests/postman/__init__.py +++ b/tests/postman/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/tests/postman/dist/__init__.py b/tests/postman/dist/__init__.py index 3926a75a..270faae0 100644 --- a/tests/postman/dist/__init__.py +++ b/tests/postman/dist/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/tests/postman/non_dist/__init__.py b/tests/postman/non_dist/__init__.py index 42e8366a..f1feac50 100644 --- a/tests/postman/non_dist/__init__.py +++ b/tests/postman/non_dist/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/tests/test_bobocep/__init__.py b/tests/test_bobocep/__init__.py index 26d23d9f..49d20438 100644 --- a/tests/test_bobocep/__init__.py +++ b/tests/test_bobocep/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/tests/test_bobocep/test_dist/__init__.py b/tests/test_bobocep/test_dist/__init__.py index 036b09a6..c6c6fc88 100644 --- a/tests/test_bobocep/test_dist/__init__.py +++ b/tests/test_bobocep/test_dist/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/tests/test_bobocep/test_dist/test_BoboDevice.py b/tests/test_bobocep/test_dist/test_BoboDevice.py index 59b53c11..cdef3dd4 100644 --- a/tests/test_bobocep/test_dist/test_BoboDevice.py +++ b/tests/test_bobocep/test_dist/test_BoboDevice.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/tests/test_bobocep/test_dist/test_BoboDeviceManager.py b/tests/test_bobocep/test_dist/test_BoboDeviceManager.py index af820832..f7eb064c 100644 --- a/tests/test_bobocep/test_dist/test_BoboDeviceManager.py +++ b/tests/test_bobocep/test_dist/test_BoboDeviceManager.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/tests/test_bobocep/test_integration.py b/tests/test_bobocep/test_integration.py index 714afe21..2d199b12 100644 --- a/tests/test_bobocep/test_integration.py +++ b/tests/test_bobocep/test_integration.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. diff --git a/tests/test_bobocep/test_setup/test_BoboSetupSimple.py b/tests/test_bobocep/test_setup/test_BoboSetupSimple.py index 4e390d0f..50e92470 100644 --- a/tests/test_bobocep/test_setup/test_BoboSetupSimple.py +++ b/tests/test_bobocep/test_setup/test_BoboSetupSimple.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. from bobocep.cep.action import BoboActionHandlerBlocking diff --git a/tests/test_bobocep/test_setup/test_BoboSetupSimpleDistributed.py b/tests/test_bobocep/test_setup/test_BoboSetupSimpleDistributed.py index 78871072..27050112 100644 --- a/tests/test_bobocep/test_setup/test_BoboSetupSimpleDistributed.py +++ b/tests/test_bobocep/test_setup/test_BoboSetupSimpleDistributed.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2023 r3w0p +# Copyright (c) 2019-2024 r3w0p # The following code can be redistributed and/or # modified under the terms of the MIT License. from bobocep.cep.action import BoboActionHandlerBlocking From c7200802165c1d1a8b6030f9278b0e99cefc8a85 Mon Sep 17 00:00:00 2001 From: r3w0p Date: Wed, 26 Jun 2024 12:08:27 +0100 Subject: [PATCH 2/4] attempt to fix docs header issue on generated pdf output --- README.md | 25 +++++++++++-------------- SECURITY.md | 10 +++++++--- docs/actions.rst | 3 ++- docs/contributing.rst | 3 ++- docs/developer_guide.rst | 3 ++- docs/distributed.rst | 3 ++- docs/examples.rst | 3 ++- docs/getting_started.rst | 4 ++-- docs/glossary.rst | 4 ++-- docs/installation.rst | 3 ++- docs/phenomena.rst | 3 ++- docs/publications.rst | 16 ++++++++-------- docs/source_code.rst | 3 ++- docs/use_cases.rst | 3 ++- requirements-dev.txt | 2 +- 15 files changed, 49 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 74e3db2b..00b0e89b 100755 --- a/README.md +++ b/README.md @@ -8,28 +8,25 @@ https://github.com/r3w0p/bobocep/actions/workflows/security.yml) https://github.com/r3w0p/bobocep/) [![Documentation Status](https://readthedocs.org/projects/bobocep/badge/?version=latest)]( https://bobocep.readthedocs.io/) -[![Donate](https://img.shields.io/badge/donate-ko--fi-red?label=donate)]( -https://ko-fi.com/r3w0p)
-[![JOSS](https://joss.theoj.org/papers/10.21105/joss.05858/status.svg)]( -https://doi.org/10.21105/joss.05858) -[![License](https://img.shields.io/github/license/r3w0p/bobocep?color=blue&label=license)]( -https://github.com/r3w0p/bobocep/blob/main/LICENSE/) [![PyPI](https://img.shields.io/pypi/v/bobocep?color=blue&label=pypi)]( https://pypi.org/project/bobocep/) -[![Python](https://img.shields.io/pypi/pyversions/bobocep?color=blue&label=python)]( -https://pypi.org/project/bobocep/) -
- +[![License](https://img.shields.io/github/license/r3w0p/bobocep?color=blue&label=license)]( +https://github.com/r3w0p/bobocep/blob/main/LICENSE/) [![Issues](https://img.shields.io/github/issues/r3w0p/bobocep?label=issues)]( https://github.com/r3w0p/bobocep/issues/) -[![Coverage](https://img.shields.io/codeclimate/coverage/r3w0p/bobocep?label=coverage)]( -https://codeclimate.com/github/r3w0p/bobocep/) -[![Maintainability](https://img.shields.io/codeclimate/maintainability/r3w0p/bobocep?label=maintainability)]( -https://codeclimate.com/github/r3w0p/bobocep/) +[![Coverage](https://codecov.io/github/r3w0p/bobocep/branch/main/graph/badge.svg?token=DltpHabb83)]( +https://app.codecov.io/github/r3w0p/bobocep) [![License Scan](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fr3w0p%2Fbobocep.svg?type=shield)]( https://app.fossa.com/projects/git%2Bgithub.com%2Fr3w0p%2Fbobocep?ref=badge_shield) +
+ +[![JOSS](https://img.shields.io/badge/10.21105/joss.05858-red?label=JOSS)]( +https://doi.org/10.21105/joss.05858) +[![Donate](https://img.shields.io/badge/ko--fi-red?label=donate)]( +https://ko-fi.com/r3w0p) +
`BoboCEP` is a [Complex Event Processing](https://en.wikipedia.org/wiki/Complex_event_processing) (CEP) engine diff --git a/SECURITY.md b/SECURITY.md index 69891a15..5f25ee0d 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,11 +1,11 @@ # Security Policy -> _Last updated: 2023-11-23_ +> _Last updated: 2024-06-26_ ## Supported Versions -Below are the versions that are tested for support. +Below are the versions that have been tested for support. ### Python @@ -32,5 +32,9 @@ from GitHub Actions Virtual Environments. ## Reporting a Vulnerability -Please report vulnerabilities using the contact information +Report general bugs using +the [Issues](https://github.com/r3w0p/bobocep/issues) system. + +For more sensitive vulnerabilities, please report them using +the contact information [here](https://r3w0p.github.io/contact/). diff --git a/docs/actions.rst b/docs/actions.rst index cc955238..cce472c0 100644 --- a/docs/actions.rst +++ b/docs/actions.rst @@ -1,5 +1,6 @@ +------- Actions -******* +------- On the completion of a pattern's run, the Producer is notified and produces a complex event in response, which represents the detection diff --git a/docs/contributing.rst b/docs/contributing.rst index 5f7c24b3..703f0a51 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -1,5 +1,6 @@ +------------ Contributing -************ +------------ If you would like to contribute to the :code:`BoboCEP` project, please consult the `CONTRIBUTING.md `_ diff --git a/docs/developer_guide.rst b/docs/developer_guide.rst index bc156b5b..2ed39891 100644 --- a/docs/developer_guide.rst +++ b/docs/developer_guide.rst @@ -1,5 +1,6 @@ +--------------- Developer Guide -*************** +--------------- Dependencies ============ diff --git a/docs/distributed.rst b/docs/distributed.rst index 6572dad7..9310acb8 100644 --- a/docs/distributed.rst +++ b/docs/distributed.rst @@ -1,5 +1,6 @@ +----------- Distributed -*********** +----------- :code:`BoboCEP` is able to be distributed over multiple devices for fault-tolerant CEP at the network edge. diff --git a/docs/examples.rst b/docs/examples.rst index 08a0bd77..7247a425 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -1,5 +1,6 @@ +-------- Examples -******** +-------- Simple ====== diff --git a/docs/getting_started.rst b/docs/getting_started.rst index 3e2e9da6..86f5bd02 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -1,6 +1,6 @@ +--------------- Getting Started -*************** - +--------------- Complex Event Processing ======================== diff --git a/docs/glossary.rst b/docs/glossary.rst index 4b9edc3a..d0f3f625 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -1,6 +1,6 @@ +-------- Glossary -******** - +-------- Contiguity ========== diff --git a/docs/installation.rst b/docs/installation.rst index c0a9d42a..54f1b7a7 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -1,5 +1,6 @@ +------------ Installation -************ +------------ Dependencies ============ diff --git a/docs/phenomena.rst b/docs/phenomena.rst index 1f21ba0e..70a3ef29 100644 --- a/docs/phenomena.rst +++ b/docs/phenomena.rst @@ -1,5 +1,6 @@ +--------- Phenomena -********* +--------- A data stream contains uncorrelated, simple events, e.g. sensor data on a room's temperature at a given point in time. diff --git a/docs/publications.rst b/docs/publications.rst index 95dcf2d6..d5d0fa7e 100644 --- a/docs/publications.rst +++ b/docs/publications.rst @@ -1,15 +1,15 @@ +------------ Publications -************ - - -.. [PK2020] - Power, A., & Kotonya, G. (2020). - `BoboCEP: Distributed Complex Event Processing for Resilient Fault-Tolerance Support in IoT - `_. - *IEEE Sixth International Conference on Big Data Computing Service and Applications (BigDataService)*. +------------ .. [P2023] Power, A. (2023). `BoboCEP: a Fault-Tolerant Complex Event Processing Engine for Edge Computing in Internet of Things `_. *Journal of Open Source Software*. + +.. [PK2020] + Power, A., & Kotonya, G. (2020). + `BoboCEP: Distributed Complex Event Processing for Resilient Fault-Tolerance Support in IoT + `_. + *IEEE Sixth International Conference on Big Data Computing Service and Applications (BigDataService)*. \ No newline at end of file diff --git a/docs/source_code.rst b/docs/source_code.rst index cb87d74d..cfe4346f 100644 --- a/docs/source_code.rst +++ b/docs/source_code.rst @@ -1,5 +1,6 @@ +----------- Source Code -*********** +----------- Explore the :code:`BoboCEP` source code below by clicking through the modules. diff --git a/docs/use_cases.rst b/docs/use_cases.rst index 3565ebfc..c39f84d3 100644 --- a/docs/use_cases.rst +++ b/docs/use_cases.rst @@ -1,5 +1,6 @@ +--------- Use Cases -********* +--------- Assisted Living =============== diff --git a/requirements-dev.txt b/requirements-dev.txt index 537145c2..9a68f31c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,6 +5,6 @@ Flask==2.3.3 interrogate==1.5.0 mypy==1.5.1 pytest==7.4.2 -sphinx==4.2.0 +sphinx==5.0.0 sphinx-mdinclude==0.5.3 sphinx-rtd-theme==1.1.1 From 713d55531636df30b1d6ad1d7ca3027a3f41df14 Mon Sep 17 00:00:00 2001 From: r3w0p Date: Wed, 26 Jun 2024 12:10:23 +0100 Subject: [PATCH 3/4] bump to 1.2.1 --- bobocep/__init__.py | 2 +- docs/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bobocep/__init__.py b/bobocep/__init__.py index 20df67e8..58579649 100644 --- a/bobocep/__init__.py +++ b/bobocep/__init__.py @@ -8,6 +8,6 @@ __author__ = """r3w0p""" __email__ = "rr33ww00pp@gmail.com" -__version__ = "1.2.0" +__version__ = "1.2.1" from bobocep.bobocep import BoboError, BoboJSONable, BoboJSONableError diff --git a/docs/conf.py b/docs/conf.py index f535bba5..71e893b2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,7 +16,7 @@ project = "BoboCEP" copyright = "2019-2024 r3w0p" author = "r3w0p" -version = "1.2.0" +version = "1.2.1" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/setup.cfg b/setup.cfg index 128e090d..53c86808 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.2.0 +current_version = 1.2.1 commit = False [bumpversion:file:setup.py] diff --git a/setup.py b/setup.py index cb257a2e..df21d46d 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name="bobocep", - version="1.2.0", + version="1.2.1", author="r3w0p", author_email="rr33ww00pp@gmail.com", description="A fault-tolerant Complex Event Processing engine " From fce0a28f9d432bb84343cffa68130b589f5a01e3 Mon Sep 17 00:00:00 2001 From: r3w0p Date: Wed, 26 Jun 2024 12:16:03 +0100 Subject: [PATCH 4/4] enforce 100% code coverage --- .github/workflows/cicd.yml | 2 +- .github/workflows/cidev.yml | 2 +- docs/developer_guide.rst | 8 ++++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 1f9f1ab8..ec0a852a 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -44,7 +44,7 @@ jobs: - name: Code coverage with coverage and pytest run: | coverage run -m pytest tests - coverage report --fail-under=98 + coverage report --fail-under=100 - name: Documentation coverage with interrogate run: | diff --git a/.github/workflows/cidev.yml b/.github/workflows/cidev.yml index c269fdbf..9551b099 100644 --- a/.github/workflows/cidev.yml +++ b/.github/workflows/cidev.yml @@ -45,7 +45,7 @@ jobs: - name: Code coverage with coverage and pytest run: | coverage run -m pytest tests - coverage report --fail-under=98 + coverage report --fail-under=100 - name: Upload coverage reports to Codecov if: matrix.os == 'ubuntu-latest' diff --git a/docs/developer_guide.rst b/docs/developer_guide.rst index 2ed39891..751e9beb 100644 --- a/docs/developer_guide.rst +++ b/docs/developer_guide.rst @@ -62,12 +62,16 @@ Run the following command to test :code:`BoboCEP`. coverage run -m pytest tests The coverage configuration can be found in :code:`.coveragerc`. -GitHub Actions additionally enforces a minimum coverage of 98%. +GitHub Actions additionally enforces a minimum coverage of 100%. You can check that this requirement has been satisfied using the following. .. code:: - coverage report --fail-under=98 + coverage report --fail-under=100 + +.. note:: + If you are unable to achieve 100% coverage with your code contribution, + you can omit code from testing in :code:`.coveragerc`. You can locally inspect the code coverage with an HTML output by running the following.