This repository was archived by the owner on Jul 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 77
88BASE_URI = os .getenv ("GATEWAY" )
99KRATOS_URI = os .getenv ("KRATOS" )
10- CONFIG_URI = os .getenv ("CONFIG" )
1110
1211
1312class ErrorCodes :
@@ -155,16 +154,16 @@ def get_details(request: Request, project_id: str):
155154 return handle_response (resp )
156155
157156
158- @app .get ("/project/{project_id}/import/base_config " )
159- def get_base_config (request : Request , project_id : str ):
157+ @app .get ("/project/{project_id}/import/full_config " )
158+ def get_full_config (request : Request , project_id : str ):
160159 try :
161160 get_user_id_from_request (request )
162161 except KeyError :
163162 return responses .JSONResponse (
164163 status_code = status .HTTP_401_UNAUTHORIZED ,
165164 content = {"error_code" : ErrorCodes .UNRECOGNIZED_USER },
166165 )
167- url = f"{ CONFIG_URI } /base_config "
166+ url = f"{ BASE_URI } /full_config "
168167 resp = requests .get (url )
169168 return handle_response (resp )
170169
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ docker run -d --rm \
1515--mount type=bind,source=" $( pwd) " /,target=/app \
1616-e GATEWAY=http://refinery-gateway:80 \
1717-e KRATOS=http://kratos:4433 \
18- -e CONFIG=http://refinery-config:80 \
1918-v /var/run/docker.sock:/var/run/docker.sock \
2019--network dev-setup_default \
2120refinery-gateway-proxy-dev > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments