Skip to content

Commit

Permalink
Merge pull request #14 from r3w0p/1.2.1
Browse files Browse the repository at this point in the history
1.2.1
  • Loading branch information
r3w0p authored Jun 26, 2024
2 parents 5c47bdb + fce0a28 commit e86902f
Show file tree
Hide file tree
Showing 91 changed files with 149 additions and 128 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -44,19 +44,18 @@ 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: |
interrogate -vv bobocep --fail-under 100
- name: Upload code coverage to Code Climate
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TEST_REPORTER_ID }}
- name: Upload coverage reports to Codecov
if: matrix.os == 'ubuntu-latest'
uses: codecov/[email protected]
with:
coverageCommand: coverage xml
continue-on-error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

cd:
name: CD
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/cidev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -45,7 +45,14 @@ 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'
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

- name: Documentation coverage with interrogate
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
tags-ignore:
- '**'
schedule:
# At 06:00 on Monday.
# At 06:00 on Monday morning
- cron: '0 6 * * 1'

jobs:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@

__pycache__
*.pyc
.coverage
docs/_build
docs/source
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2023 r3w0p <[email protected]>
Copyright (c) 2019-2024 r3w0p <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
25 changes: 11 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
<br/>

[![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/)
<br/>

[![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)
<br/>

[![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)
<br/>


`BoboCEP` is a [Complex Event Processing](https://en.wikipedia.org/wiki/Complex_event_processing) (CEP) engine
Expand Down
10 changes: 7 additions & 3 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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/).
4 changes: 2 additions & 2 deletions bobocep/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -8,6 +8,6 @@

__author__ = """r3w0p"""
__email__ = "[email protected]"
__version__ = "1.2.0"
__version__ = "1.2.1"

from bobocep.bobocep import BoboError, BoboJSONable, BoboJSONableError
2 changes: 1 addition & 1 deletion bobocep/bobocep.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/action/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/action/action.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/action/common/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/action/common/multi.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/action/handler.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/decider/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/decider/decider.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/decider/pubsub.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/decider/run.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/decider/runserial.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/engine.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/forwarder/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/forwarder/forwarder.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/forwarder/pubsub.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/producer/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/producer/producer.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/producer/pubsub.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/receiver/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/receiver/pubsub.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/receiver/receiver.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/receiver/validator.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/task.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/action.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/complex.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/event.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/factory.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/history.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/simple.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/gen/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/gen/event.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/gen/event_id.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/gen/timestamp.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/phenom/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/phenom/pattern/__init__.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/phenom/pattern/builder.py
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
Loading

0 comments on commit e86902f

Please sign in to comment.