Skip to content

Commit

Permalink
remove config service
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarhindi committed Nov 5, 2024
1 parent e8694e3 commit 419991b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
31 changes: 0 additions & 31 deletions check_config_service

This file was deleted.

3 changes: 2 additions & 1 deletion handler/config_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
__config = None

# meant as a const value since env variables will be removed at some point
REQUEST_URL = "http://refinery-config:80/full_config"
# REQUEST_URL = "http://refinery-config:80/full_config"
REQUEST_URL = "http:///refinery-gateway/api/v1/misc/full_config"


def __get_config() -> Dict[str, Any]:
Expand Down
3 changes: 0 additions & 3 deletions start
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/bin/bash
trap "echo -ne '\nstopping container...' && docker stop refinery-tokenizer > /dev/null 2>&1 && echo -ne '\t\t [done]\n'" EXIT


source check_config_service

HIDE_BUILD=0
while getopts :s flag
do
Expand Down

0 comments on commit 419991b

Please sign in to comment.