-
Notifications
You must be signed in to change notification settings - Fork 32
✨Adding dynamic services monitoring dashboard (⚠️devops) #6784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
GitHK
merged 149 commits into
ITISFoundation:master
from
GitHK:pr-osparc-add-dybamic-services-monitor-dashboard2
Dec 4, 2024
Merged
Changes from 131 commits
Commits
Show all changes
149 commits
Select commit
Hold shift + click to select a range
d2d81c0
⬆️ Upgrade models-library (pydantic v2) (#6333)
giancarloromeo 19e3923
♻️ Add common library (#6495)
giancarloromeo 1d92881
⬆️ Upgrade libraries (pydantic v2) (#6366)
giancarloromeo 329b00d
Upgrade agent service (Pydantic v2) (#6508)
giancarloromeo 6786b92
Upgrade EFS guardian service (Pydantic v2) (#6516)
giancarloromeo bbe92a2
Upgrade invitations service (Pydantic v2) (#6513)
giancarloromeo 42c0a68
Upgrade clusters keeper service (Pydantic v2) (#6519)
giancarloromeo 1c833e0
Merge remote-tracking branch 'origin/master' into pydantic_v2_migrati…
sanderegg cac8134
♻️Pydantic V2 upgrade: autoscaling (#6535)
sanderegg e97258e
🎨 pydantic2 migration: fixed unit-tests for dynamic-sidecar (#6534)
GitHK 463488b
🎨 pydantic2 migration: fixed unit-tests for dynamic-scheduler (#6547)
GitHK c2b4983
🎨 pydantic2 migration: fixed unit-tests for agent (#6546)
GitHK 64293f0
🎨 pydantic2 migration: fixed unit-tests for payments (#6553)
GitHK cf5546b
Upgrade resource usage tracker (Pydantic v2) (#6517)
giancarloromeo 3b188f5
Merge remote-tracking branch 'origin/master' into pydantic_v2_migrati…
sanderegg 4716e55
Merge remote-tracking branch 'origin/master' into pydantic_v2_migrati…
sanderegg 84f1e51
missing file from re-creating branch
sanderegg cf95d81
restored from old pydanitc_v2_migration branch
sanderegg 7be9541
fixes after merge
sanderegg 6199ed6
⬆️Dask sidecar: migration to v2 (#6591)
sanderegg cd6f545
♻️Use correct import (#6597)
sanderegg 3cf68ba
⬆️Datcore adapter: migration (#6594)
sanderegg fb48eb1
Merge remote-tracking branch 'upstream/master' into update-branch
sanderegg 82c69d0
Merge pull request #6600 from sanderegg/update-branch
sanderegg 7410516
⬆️Migration: Storage (#6599)
sanderegg 39aed6a
⬆️ Upgrade API Server service (Pydantic v2) (#6580)
giancarloromeo e38cf4e
♻️Fix settings library tests (#6605)
sanderegg 00f8674
Merge remote-tracking branch 'upstream/master' into update-branch2
sanderegg 06df37d
Merge pull request #6609 from sanderegg/update-branch2
sanderegg 3195f1e
Merge remote-tracking branch 'upstream/master' into upgrade-master-3
sanderegg 7033151
Merge remote-tracking branch 'upstream/master' into upgrade-master-3
sanderegg 4fd252f
Merge pull request #6626 from sanderegg/upgrade-master-3
sanderegg afa0b3c
⬆️ upgrades `iter_model_examples_in_module` to enable all example te…
pcrespov 9e76d4f
⬆️Pydantic V2: Diverse fixes after merges from master (#6627)
sanderegg fefd1b9
Merge remote-tracking branch 'upstream/master' into upgrade-master-5
sanderegg 05cff9e
Merge pull request #6637 from sanderegg/upgrade-master-5
sanderegg 34c9f3e
⬆️ pydantic migration catalog (#6629)
pcrespov ee66b3d
Merge remote-tracking branch 'upstream/master' into update-master-6
sanderegg 01769ac
Merge pull request #6645 from sanderegg/update-master-6
sanderegg 2486b38
♻️Pydantic V2 migration: various fixes (#6647)
sanderegg add4b61
Merge remote-tracking branch 'upstream/master' into update-master-7
sanderegg 1fe311d
Merge pull request #6650 from sanderegg/update-master-7
sanderegg 24218c1
⬆️ Pydantic V2: after upstream merge -> fixes (#6651)
sanderegg b01c4a7
⬆️ Fix custom settings class with `pydantic-settings~=2.6` (#6644)
pcrespov 8402270
⬆️ Upgrade Web Server service (Pydantic v2) (#6584)
giancarloromeo 0527b1e
🐛 pydantic v2 fixed broken unit tests (#6649)
GitHK 7d0fbdb
Merge remote-tracking branch 'upstream/master' into update-from-maste…
sanderegg c106d0a
Merge pull request #6689 from sanderegg/update-from-master-10
sanderegg 60fe257
🎨 Add examples to pydantic response models (#6658)
bisgaard-itis f07afbf
🐛 Fixed packages mypy, pylint and tests (#6678)
GitHK a00d55f
pydantic2 making ported services green (#6701)
GitHK f335bca
WIP: ⬆️ Upgrade Director v2 service (Pydantic v2) (#6619)
giancarloromeo db084cd
Merge remote-tracking branch 'upstream/master' into update-master-20
sanderegg 44bc9f7
Merge pull request #6724 from sanderegg/update-master-20
sanderegg a2d3742
♻️ Fix unit tests after master merge (#6727)
giancarloromeo 327beab
⬆️ Align versions for pydantic/fastapi (#6730)
giancarloromeo 84c4c85
♻️Fixed Unit test director v2 (#6733)
sanderegg 8eac56b
♻️ Fix deprecated stuff (Pydantic v2) (#6732)
giancarloromeo 65665ec
♻️ Migrate scripts (Pydantic v2) (#6741)
giancarloromeo 57058f9
Merge remote-tracking branch 'upstream/master' into update-from-maste…
sanderegg 44f85bf
Merge pull request #6744 from sanderegg/update-from-master-XXX
sanderegg fa57c9e
pydantic2 migration made integration tests green (#6719)
GitHK a6802c9
⬆️✅ Fixes settings tests (#6753)
pcrespov 75f06e4
🐛 Fixed webserver API endpoints (#6751)
GitHK aa756f0
Merge remote-tracking branch 'upstream/master' into update-master-XXX
sanderegg bcf3327
Merge remote-tracking branch 'upstream/master' into update-master-XXX
sanderegg 373c314
Merge pull request #6754 from sanderegg/update-master-XXX
sanderegg c0a13ac
added fastUI
fa69117
fixed imports
08f1881
fixed broken import
f442e63
⬆️Pydantic V2: Migrate director v0 + some fixes from query PR (#6755)
sanderegg c10d7d0
⬆️♻️ Fix/test models (#6758)
pcrespov 3250e5d
♻️ Greenify pylint (after Pydantic v2 migration) (#6747)
giancarloromeo f6d392c
moved healthcheck form root to it's own path
ed24e0d
moved health endpoint
ee2d339
added base FastUi app
dcdc863
🎨 Ensure profiling middleware is compatible with fastapi (#6760)
bisgaard-itis 21eb313
Merge remote-tracking branch 'upstream/pydantic_v2_migration_do_not_s…
c7b2444
base SSE render demo
2d454e9
added app to sse endpoint
3a77ff5
renaming and adding prefix
c50d79c
♻️Pydantic V2: Unify errors dv 2 (#6763)
sanderegg 0aea337
Uses typing_extensions.TypedDict in all instances used in pydantic mo…
pcrespov d973a81
Merge remote-tracking branch 'upstream/pydantic_v2_migration_do_not_s…
c49f421
♻️ Cleanup network AnyHttpUrlLegacy and HttpUrlLegacy (#6767)
giancarloromeo a0b8a2f
All errors in dynamic-sidecar inherit from `OsparcErrorMixin` (#6764)
GitHK dc32c96
Merge remote-tracking branch 'upstream/pydantic_v2_migration_do_not_s…
66a492f
♻️ Fix agent tests (#6772)
giancarloromeo ccc3ea7
Merge remote-tracking branch 'upstream/pydantic_v2_migration_do_not_s…
c38b064
Fixes [unit] webserver 03 and [unit] settings-library (both mypy and …
pcrespov 150b17a
Merge remote-tracking branch 'upstream/master' into update-master-XXXXX
sanderegg 17d1702
Merge pull request #6780 from sanderegg/update-master-XXXXX
sanderegg 47e3570
⬆️Pydantic V2: missing import in director-v0 (#6781)
sanderegg 6f63769
added reusable sse utils
3b6ee6f
Merge remote-tracking branch 'upstream/pydantic_v2_migration_do_not_s…
e6f5a5f
added base example to render service status
8108f9f
refactor toutes
3ebc16e
added some docstring
4e8bce9
propagate dataset as soon as possible
dc60766
renaming
928570d
added mock data provider
1ad36bf
docstrings
e2e75c2
Merge remote-tracking branch 'upstream/master' into pr-osparc-add-dyb…
891efb7
very rough first draft
40d2966
enhanced hashing
32f1044
added service details
78debb9
Merge remote-tracking branch 'upstream/master' into pr-osparc-add-dyb…
3f8115c
current WIP version with FastUI
5b0a357
replaced ui engine
8fb09d1
refactored UI first version
ef70773
refactor
7890cfc
Merge remote-tracking branch 'upstream/master' into pr-osparc-add-dyb…
4e4d014
sticky tarcking
a47c732
fixed update interval in UI and extended capability
76802fe
refactor
db61f1f
Merge remote-tracking branch 'upstream/master' into pr-osparc-add-dyb…
63b8f1e
remove stickyness
c74a2bb
rename
12fa00a
rename restructure
b2ffc56
ui touches
0613b9f
revert
ba618d2
Merge remote-tracking branch 'upstream/master' into pr-osparc-add-dyb…
73db351
added new makefile entry
6fbd1eb
added service count
209303e
typo
b7b1b44
remove note and fixed for pydantic2
1aae2e4
extended description
9a4dbfd
enhanced texts
25a9b95
feedback
de0db8c
fixed previously failing test
b183aff
using secret string
64c21dd
Merge remote-tracking branch 'upstream/master' into pr-osparc-add-dyb…
9d8ab8e
added back nicegui dependencies after merge
665c70d
fixed broken unit tests
1a3bdba
Merge remote-tracking branch 'upstream/master' into pr-osparc-add-dyb…
926d88d
added tests for index page to see if it renders as expected
da197d4
refactor stop dialog
46fb5d0
rename
696ff79
added base tests with playwright
179ac90
fixed test
c19c878
Merge remote-tracking branch 'upstream/master' into pr-osparc-add-dyb…
5fb1314
added tests for service details
1db89fe
fixed interface rendering
d65d155
refactor
10dafbd
refactor page rendering
f98a96d
added 404 test
1d488c8
fixed broken tests
0f3374e
Merge remote-tracking branch 'upstream/master' into pr-osparc-add-dyb…
e79e6af
Merge branch 'master' into pr-osparc-add-dybamic-services-monitor-das…
GitHK File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -128,6 +128,7 @@ DYNAMIC_SCHEDULER_LOGLEVEL=DEBUG | |
| DYNAMIC_SCHEDULER_PROFILING=1 | ||
| DYNAMIC_SCHEDULER_STOP_SERVICE_TIMEOUT=01:00:00 | ||
| DYNAMIC_SCHEDULER_TRACING={} | ||
| DYNAMIC_SCHEDULER_UI_STORAGE_SECRET=adminadmin | ||
|
|
||
| FUNCTION_SERVICES_AUTHORS='{"UN": {"name": "Unknown", "email": "[email protected]", "affiliation": "unknown"}}' | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/api/frontend/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| from ._setup import setup_frontend | ||
|
|
||
| __all__: tuple[str, ...] = ("setup_frontend",) |
19 changes: 19 additions & 0 deletions
19
services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/api/frontend/_setup.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| import nicegui | ||
| from fastapi import FastAPI | ||
|
|
||
| from ...core.settings import ApplicationSettings | ||
| from ._utils import set_parent_app | ||
| from .routes import router | ||
|
|
||
|
|
||
| def setup_frontend(app: FastAPI) -> None: | ||
| settings: ApplicationSettings = app.state.settings | ||
|
|
||
| nicegui.app.include_router(router) | ||
|
|
||
| nicegui.ui.run_with( | ||
| app, | ||
| mount_path="/", | ||
| storage_secret=settings.DYNAMIC_SCHEDULER_UI_STORAGE_SECRET.get_secret_value(), | ||
| ) | ||
| set_parent_app(app) |
11 changes: 11 additions & 0 deletions
11
services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/api/frontend/_utils.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import nicegui | ||
| from fastapi import FastAPI | ||
|
|
||
|
|
||
| def set_parent_app(parent_app: FastAPI) -> None: | ||
| nicegui.app.state.parent_app = parent_app | ||
|
|
||
|
|
||
| def get_parent_app(app: FastAPI) -> FastAPI: | ||
| parent_app: FastAPI = app.state.parent_app | ||
| return parent_app |
10 changes: 10 additions & 0 deletions
10
...s/dynamic-scheduler/src/simcore_service_dynamic_scheduler/api/frontend/routes/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| from nicegui import APIRouter | ||
|
|
||
| from . import _index, _service | ||
|
|
||
| router = APIRouter() | ||
|
|
||
| router.include_router(_index.router) | ||
| router.include_router(_service.router) | ||
|
|
||
| __all__: tuple[str, ...] = ("router",) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.