Commit 98735ef5 authored by dasharatha.vamshi's avatar dasharatha.vamshi

init

parent 4ad3f242
......@@ -22,12 +22,12 @@ if not os.path.exists(os.path.join(os.getcwd(), 'logs')):
LOG_LEVEL = os.environ.get("LOG_LEVEL", _config.get('SERVICE_CONFIG', {}).get("LOG_LEVEL", "INFO")).upper()
LOG_HANDLER_NAME = _config.get('SERVICE_CONFIG', {}).get("LOG_HANDLER_NAME", "HttpRequestComponent")
os.environ['shared_volume'] = 'test'
os.environ['method'] = 'POST'
os.environ['url'] = 'http://localhost:5000/get'
os.environ['headers'] = '{"content-type":"application/json"}'
os.environ['payload'] = '{"name": "vamshi", "gender": "male"}'
os.environ['max_retries'] = '1'
# os.environ['shared_volume'] = 'test'
# os.environ['method'] = 'POST'
# os.environ['url'] = 'http://localhost:5000/get'
# os.environ['headers'] = '{"content-type":"application/json"}'
# os.environ['payload'] = '{"name": "vamshi", "gender": "male"}'
# os.environ['max_retries'] = '1'
config = {
"shared_volume": os.environ.get("shared_volume"),
"method": os.environ.get("method", "post"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment