Skip to content
Snippets Groups Projects
Commit d00a9c9a authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

Merge branch 'url' into 'main'

switch to path

See merge request !61
parents 575a744c 58741f18
No related branches found
No related tags found
1 merge request!61switch to path
Pipeline #418074 passed
......@@ -18,7 +18,7 @@ stages:
default:
tags:
- nshmp
- dev
####
# Environment Templates
......@@ -121,7 +121,7 @@ default:
" "${CI_PROJECT_NAME}" "${IMAGE_TAG}";
stage: build
tags:
- nshmp
- dev
variables:
DOCKERFILE: Dockerfile
IMAGE_TAG: ${ENVIRONMENT}-${CI_COMMIT_SHORT_SHA}
......
......@@ -80,7 +80,7 @@ async def rtgm_get_calc(
name=SERVICE_NAME,
status=Status.ERROR,
date=date(),
url=str(request.url),
url=request.url.path,
request=raw_query,
response=str(error),
)
......
......@@ -102,7 +102,7 @@ async def rtgm_post_calc(
name=SERVICE_NAME,
status=Status.ERROR,
date=date(),
url=str(request.url),
url=request.url.path,
request=raw_query,
response=str(error),
)
......
......@@ -83,7 +83,7 @@ def process_request(request: Request, query: ServiceQuery) -> Response[ServiceQu
name=SERVICE_NAME,
status=Status.SUCCESS,
date=date(),
url=str(request.url),
url=request.url.path,
request=query,
response=rtgm_data,
)
......@@ -98,7 +98,7 @@ def usage(request: Request) -> Response[str, UsageResponse]:
@returns The usage response
"""
url = str(request.url)
url = request.url.path
return Response(
name=SERVICE_NAME,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment