Skip to content

Commit

Permalink
🎨 Add payment headers to start job (ITISFoundation#4892)
Browse files Browse the repository at this point in the history
on behalf of @bisgaard-itis
bisgaard-itis authored Oct 24, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent c751b1d commit 8c728c8
Showing 18 changed files with 956 additions and 442 deletions.
2 changes: 1 addition & 1 deletion .env-devel
Original file line number Diff line number Diff line change
@@ -223,7 +223,7 @@ WEBSERVER_VERSION_CONTROL=1
#
# AIODEBUG_SLOW_DURATION_SECS=0.25
# API_SERVER_DEV_FEATURES_ENABLED=1
# API_SERVER_DEV_HTTP_CALLS_LOGS_PATH=captures.ignore.keep.log
# API_SERVER_DEV_HTTP_CALLS_LOGS_PATH=captures.ignore.keep.json
# PYTHONASYNCIODEBUG=1
# PYTHONTRACEMALLOC=1
#
12 changes: 10 additions & 2 deletions services/api-server/src/simcore_service_api_server/api/root.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from typing import Final

from fastapi import APIRouter
from simcore_service_api_server.api.routes import solvers_jobs_getters

from ..core.settings import ApplicationSettings
from .routes import (
@@ -13,6 +16,8 @@
wallets,
)

_SOLVERS_PREFIX: Final[str] = "/solvers"


def create_router(settings: ApplicationSettings):
assert ( # nosec
@@ -25,8 +30,11 @@ def create_router(settings: ApplicationSettings):
router.include_router(meta.router, tags=["meta"], prefix="/meta")
router.include_router(users.router, tags=["users"], prefix="/me")
router.include_router(files.router, tags=["files"], prefix="/files")
router.include_router(solvers.router, tags=["solvers"], prefix="/solvers")
router.include_router(solvers_jobs.router, tags=["solvers"], prefix="/solvers")
router.include_router(solvers.router, tags=["solvers"], prefix=_SOLVERS_PREFIX)
router.include_router(solvers_jobs.router, tags=["solvers"], prefix=_SOLVERS_PREFIX)
router.include_router(
solvers_jobs_getters.router, tags=["solvers"], prefix=_SOLVERS_PREFIX
)
router.include_router(studies.router, tags=["studies"], prefix="/studies")
router.include_router(studies_jobs.router, tags=["studies"], prefix="/studies")
router.include_router(wallets.router, tags=["wallets"], prefix="/wallets")
Loading

0 comments on commit 8c728c8

Please sign in to comment.