18 Commits

Author SHA1 Message Date
Stanislav Hejny 41fbe46129 feat/#63 - cleverswarm unidirectional command
Unit test coverage / pytest (push) Has been cancelled
/ build-and-push (push) Has been cancelled
Unit test coverage / pytest (pull_request) Failing after 1m51s
2025-07-26 15:29:07 +01:00
Stanislav Hejny a6c918fe43 feat/58 - simplify complex logic
Build and Publish Docker Image / build-and-push (push) Waiting to run
Unit test coverage / pytest (push) Failing after 1m32s
Unit test coverage / pytest (pull_request) Failing after 1m38s
/ build-and-push (push) Successful in 1m46s
2025-07-17 17:51:01 +01:00
Stanislav Hejny 7fd1c62596 Feat #58 - fix backpressure logic and update tests
Unit test coverage / pytest (push) Failing after 1m17s
/ build-and-push (push) Successful in 1m29s
2025-06-28 10:20:55 +02:00
Stanislav Hejny 2f6dbd2ad8 #23 refactor to use shared code between services
Unit test coverage / pytest (pull_request) Failing after 1m9s
Unit test coverage / pytest (push) Failing after 1m11s
2025-05-11 15:06:39 +01:00
Stanislav Hejny 15da316a1f #43 - fix the issues reported by flake8
Unit test coverage / pytest (push) Failing after 56s
Unit test coverage / pytest (pull_request) Failing after 1m1s
2025-05-08 23:52:33 +01:00
hurui200320 bde74c82b5 Fix pipeline (#10)
Unit test coverage / pytest (push) Failing after 1m11s
CI for pypl publish / publish-lib (push) Successful in 1m16s
This MR fixed the pipeline so it can run on forgejo runner. Currently we have two pipelines set up:

+ One pipeline will run pytest to test the code and collect coverage data, this pipeline will run on all branches and PRs.
+ One pipeline will build the wheel file and publish it to the company's pypl repo, this pipeline will only run on the master branch and develop branch.

This RP also made the following changes to make the pipeline working:

+ Remove `setup.py` and `requirements.txt`, now the project is fully embraced `pyproject.toml`, which according to ChatGPT, is the most modern way of managing a python project.
+ Move all test files to `tests` folder, so it won't be packed into the final wheel file and affect the coverage rate.
+ Change version to `X.Y.Z-dev`, before building the wheel file, the pipeline will automatically add a UTC timestamp after it, so it becomes `X.Y.Z-devYYYYMMDDHHmmSS`. This is added due to the limitation of the pypl repo, unlike maven snapshot versions, you can't push the same version twice with our pypl repository.

Reviewed-on: #10
Reviewed-by: Stanislav Hejny <stanislav.hejny@cleverthis.com>
Co-authored-by: Rui Hu <rui.hu@cleverthis.com>
Co-committed-by: Rui Hu <rui.hu@cleverthis.com>
2025-04-30 03:38:36 +00:00
Stanislav Hejny 3dfb7a821d #15 - Implement Backpressure UPDATE & IDLE, setup AMQ handler in its own thread 2025-04-28 00:49:35 +01:00
Stanislav Hejny 88d45a9b67 #17 - review log message, standartize format and add location info 2025-04-24 02:34:11 +01:00
stanislav.hejny 1de7afe4f5 feat/#1 - applied 'black' formatting 2025-04-18 23:49:10 +01:00
stanislav.hejny 04977e5ccc feat/#1 - improve error logging and fix the file upload to support also the native multipart message 2025-04-18 22:52:34 +01:00
Stanislav Hejny 113dd38106 Added support for file download 2025-04-09 19:23:26 +01:00
Stanislav Hejny fc110c7175 Add IDLE backpressure detection 2025-04-06 01:24:51 +01:00
Stanislav Hejny 579102633c Version that runs with new file upload stream and cleverswarm 2025-04-01 02:54:21 +01:00
Stanislav Hejny a2ddce1a2e Add support for file streaming upload, update to async pika lib 2025-03-26 13:54:30 +00:00
Stanislav Hejny e861bf0f38 Remove references to cleverswarm and fix packaging 2025-02-27 21:43:46 +00:00
Stanislav Hejny eb26eec767 CleverSwarm API invocation example 2025-02-25 20:37:33 +00:00
Stanislav Hejny 286a4986b3 AMQ adapter version w/o endpints for CleverSwarm integration 2025-02-20 15:46:53 +08:00
Stanislav Hejny d2b1b59c66 Converted AMQPAdapeter Java code to Python 2025-02-20 15:45:26 +08:00