OpenOrchestrator 2.0.0rc2__tar.gz → 2.0.0rc3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/application.py +5 -13
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/runner.py +1 -1
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator.egg-info/PKG-INFO +1 -1
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/PKG-INFO +1 -1
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/changelog.md +2 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.Illustrations/Architecture.drawio +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.Illustrations/OpenOrchestrator Logo.svg +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.Illustrations/Scheduler.drawio +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.github/workflows/Changelog.yml +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.github/workflows/Linting.yml +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.github/workflows/Run-Tests.yml +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.github/workflows/python-publish.yml +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.gitignore +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.pylintrc +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/LICENSE +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/__main__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/common/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/common/connection_frame.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/common/crypto_util.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/common/datetime_util.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/base.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/constants.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/db_util.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/logs.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/queues.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/schedulers.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/triggers.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/truncated_string.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/datetime_input.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/popups/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/popups/constant_popup.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/popups/credential_popup.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/popups/generic_popups.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/popups/trigger_popup.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/tabs/constants_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/tabs/logging_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/tabs/queue_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/tabs/schedulers_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/tabs/settings_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/tabs/trigger_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/test_helper.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator_connection/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator_connection/connection.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/application.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/run_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/settings_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/util.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/db_test_util.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/test_db_util.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/test_orchestrator_connection.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/test_trigger_polling.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/ui_tests/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/ui_tests/test_constants_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/ui_tests/test_logging_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/ui_tests/test_queues_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/ui_tests/test_schedulers_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/ui_tests/test_trigger_tab.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/ui_tests/ui_util.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator.egg-info/SOURCES.txt +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator.egg-info/dependency_links.txt +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator.egg-info/requires.txt +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator.egg-info/top_level.txt +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/README.md +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/alembic/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/alembic/env.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/alembic/script.py.mako +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/alembic/versions/__init__.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/alembic/versions/rev_526b6edac328_add_schedulers_table.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/alembic/versions/rev_90d46abd44a3_added_trigger_priority.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/alembic/versions/rev_b67b7649b282_initial.py +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/alembic.ini +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/manual_tests.txt +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/pyproject.toml +0 -0
- {openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/setup.cfg +0 -0
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/application.py
RENAMED
@@ -41,10 +41,9 @@ class Application():
|
|
41
41
|
|
42
42
|
self._define_on_close()
|
43
43
|
|
44
|
-
app.
|
45
|
-
app.on_disconnect(app.shutdown)
|
44
|
+
app.on_startup(self.update_loop)
|
46
45
|
app.on_exception(lambda exc: ui.notify(exc, type='negative'))
|
47
|
-
ui.run(title="Orchestrator", favicon='
|
46
|
+
ui.run(title="Orchestrator", favicon='🐵', native=False, port=port or get_free_port(), reload=False, show=show)
|
48
47
|
|
49
48
|
def update_tab(self):
|
50
49
|
"""Update the date in the currently selected tab."""
|
@@ -60,16 +59,9 @@ class Application():
|
|
60
59
|
case 'Queues':
|
61
60
|
self.q_tab.update()
|
62
61
|
|
63
|
-
|
64
|
-
"""Update the selected tab on a timer
|
65
|
-
|
66
|
-
in_focus = await ui.run_javascript("document.hasFocus()")
|
67
|
-
if in_focus:
|
68
|
-
self.update_tab()
|
69
|
-
except TimeoutError:
|
70
|
-
pass
|
71
|
-
|
72
|
-
ui.timer(10, self.update_loop, once=True)
|
62
|
+
def update_loop(self):
|
63
|
+
"""Update the selected tab on a timer."""
|
64
|
+
ui.timer(10, self.update_tab)
|
73
65
|
|
74
66
|
def _define_on_close(self) -> None:
|
75
67
|
"""Tell the browser to ask for confirmation before leaving the page."""
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/runner.py
RENAMED
@@ -236,7 +236,7 @@ def run_process(trigger: Trigger) -> Job | None:
|
|
236
236
|
conn_string = db_util.get_conn_string()
|
237
237
|
crypto_key = crypto_util.get_key()
|
238
238
|
|
239
|
-
command_args = ['python', process_path, trigger.process_name, conn_string, crypto_key, trigger.process_args, trigger.id]
|
239
|
+
command_args = ['python', process_path, trigger.process_name, conn_string, crypto_key, trigger.process_args, str(trigger.id)]
|
240
240
|
|
241
241
|
process = subprocess.Popen(command_args, stderr=subprocess.PIPE, text=True) # pylint: disable=consider-using-with
|
242
242
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: OpenOrchestrator
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.0rc3
|
4
4
|
Summary: A package containing OpenOrchestrator and OpenOrchestrator Scheduler
|
5
5
|
Author-email: ITK Development <itk-rpa@mkb.aarhus.dk>
|
6
6
|
Project-URL: Homepage, https://github.com/itk-dev-rpa/OpenOrchestrator
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: OpenOrchestrator
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.0rc3
|
4
4
|
Summary: A package containing OpenOrchestrator and OpenOrchestrator Scheduler
|
5
5
|
Author-email: ITK Development <itk-rpa@mkb.aarhus.dk>
|
6
6
|
Project-URL: Homepage, https://github.com/itk-dev-rpa/OpenOrchestrator
|
@@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
18
18
|
|
19
19
|
### Changed
|
20
20
|
|
21
|
+
- Server no longer stops after disconnects.
|
22
|
+
- Ui no longer checks if the page is in focus before updating.
|
21
23
|
- Changed cli to use argparser.
|
22
24
|
- Arguments to start Scheduler and Orchestrator are now subcommands (no '-' before 'o' and 's').
|
23
25
|
- Trigger status 'Paused' is now colored orange in the trigger tab.
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.Illustrations/OpenOrchestrator Logo.svg
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/.github/workflows/python-publish.yml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/common/connection_frame.py
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/common/crypto_util.py
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/common/datetime_util.py
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/__init__.py
RENAMED
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/constants.py
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/db_util.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/schedulers.py
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/database/triggers.py
RENAMED
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/orchestrator/test_helper.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/__init__.py
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/application.py
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/run_tab.py
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/scheduler/settings_tab.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/db_test_util.py
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/test_db_util.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/ui_tests/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator/tests/ui_tests/ui_util.py
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator.egg-info/requires.txt
RENAMED
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/OpenOrchestrator.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{openorchestrator-2.0.0rc2 → openorchestrator-2.0.0rc3}/alembic/versions/rev_b67b7649b282_initial.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|