-
Notifications
You must be signed in to change notification settings - Fork 32
♻️ Move service extras to catalog #7025
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 54 commits into
ITISFoundation:master
from
GitHK:pr-osparc-move-service-extras-to-catalog2
Jan 22, 2025
Merged
Changes from 36 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
02a1a8c
catalog exposes service labels
77a2143
reroute getting labels
0119221
Merge remote-tracking branch 'upstream/master' into pr-osparc-move-se…
60346ff
updated specs
29f2298
pylint
e94c139
fixed issue
7b2512e
fixed warning
a612804
Merge remote-tracking branch 'upstream/master' into pr-osparc-move-se…
da1ef55
fixed failing tests
d3701d2
Merge remote-tracking branch 'upstream/master' into pr-osparc-move-se…
8233029
pylint
731baa0
remove envelope
0b94380
update specs
86aa7d7
fixed unused
3dc7bc6
fixed test
bdd4560
refactor
1922224
refactor
40963ef
rename
5b4fb17
Merge remote-tracking branch 'upstream/master' into pr-osparc-move-se…
751efdf
services/catalog version: 0.6.0 → 0.7.0
d798336
update specs
6fc086b
refactor
0fbfe6d
Merge remote-tracking branch 'upstream/master' into pr-osparc-move-se…
b3a961f
redirecting extras via catalog
1bf1d05
update openapi specs
c8256d6
refactor
54f5c6e
fixed mocks
f2f9eea
moved service_extras to catalog service
55c4d14
Merge remote-tracking branch 'upstream/master' into pr-osparc-move-se…
9ad480f
removed unused
890ce93
remove unrequired tests
fa6f6f4
refactor
2eba747
removed
7c2f690
dropped enveloped response
47e0095
fixed parsing
324d7c6
Merge remote-tracking branch 'upstream/master' into pr-osparc-move-se…
5fe7472
refactor using model
9eaf14c
unified models
4b25ca5
Merge remote-tracking branch 'upstream/master' into pr-osparc-move-se…
c8cc103
updated specs
d3a27d1
fixed issue
3ad04ce
mypy
da32d4e
Merge branch 'master' into pr-osparc-move-service-extras-to-catalog2
GitHK cbd09d3
Merge branch 'master' into pr-osparc-move-service-extras-to-catalog2
GitHK 5a492e8
Merge branch 'master' into pr-osparc-move-service-extras-to-catalog2
GitHK a9455c3
Merge branch 'master' into pr-osparc-move-service-extras-to-catalog2
GitHK 9f3bcd7
Merge branch 'master' into pr-osparc-move-service-extras-to-catalog2
GitHK 29fb222
Merge branch 'master' into pr-osparc-move-service-extras-to-catalog2
GitHK 4e0f2f8
Merge branch 'master' into pr-osparc-move-service-extras-to-catalog2
GitHK 83d7b5f
Merge branch 'master' into pr-osparc-move-service-extras-to-catalog2
GitHK a5383fd
Merge branch 'master' into pr-osparc-move-service-extras-to-catalog2
GitHK d5171ae
Merge remote-tracking branch 'upstream/master' into pr-osparc-move-se…
826b2ad
no longer requires permission change
527de76
Merge branch 'master' into pr-osparc-move-service-extras-to-catalog2
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
18 changes: 18 additions & 0 deletions
18
services/catalog/src/simcore_service_catalog/api/rest/_services_extras.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,18 @@ | ||
| from typing import Annotated, Any | ||
|
|
||
| from fastapi import APIRouter, Depends | ||
| from models_library.services import ServiceKey, ServiceVersion | ||
|
|
||
| from ...services.director import DirectorApi | ||
| from ..dependencies.director import get_director_api | ||
|
|
||
| router = APIRouter() | ||
|
|
||
|
|
||
| @router.get("/{service_key:path}/{service_version}/extras") | ||
| async def get_service_extras( | ||
| service_key: ServiceKey, | ||
| service_version: ServiceVersion, | ||
| director_client: Annotated[DirectorApi, Depends(get_director_api)], | ||
| ) -> dict[str, Any]: | ||
| return await director_client.get_service_extras(service_key, service_version) | ||
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
Oops, something went wrong.
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.