Commit 9477da50 by Gregory Martin

update config

parent 06b53e16
......@@ -40,8 +40,8 @@ class VedaEncode():
self.auth_yaml = kwargs.get(
'auth_yaml',
os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'veda_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'ingest_config.yaml'
),
)
self.encode_dict = self._READ_AUTH()['encode_dict']
......
......@@ -40,8 +40,8 @@ class FileDiscovery():
self.auth_dict = {}
self.auth_yaml = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'veda_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'ingest_config.yaml'
)
with open(self.auth_yaml, 'r') as stream:
try:
......
......@@ -86,8 +86,8 @@ class VedaIngest:
self.auth_yaml = kwargs.get(
'auth_yaml',
os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'veda_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'ingest_config.yaml'
),
)
self.auth_dict = self._READ_AUTH()
......
......@@ -50,8 +50,8 @@ class VedaHeal():
self.auth_yaml = kwargs.get(
'auth_yaml',
os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'veda_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'ingest_config.yaml'
),
)
self.auth_dict = self._READ_AUTH()
......
......@@ -42,8 +42,8 @@ class Hotstore():
self.auth_yaml = kwargs.get(
'auth_yaml',
os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'veda_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'ingest_config.yaml'
),
)
self.auth_dict = self._READ_AUTH()
......
......@@ -29,8 +29,8 @@ class EmailAlert():
self.auth_yaml = kwargs.get(
'auth_yaml',
os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'veda_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'ingest_config.yaml'
)
)
self.auth_dict = self._AUTH()
......@@ -141,8 +141,8 @@ class Report():
self.auth_yaml = kwargs.get(
'auth_yaml',
os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'veda_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'ingest_config.yaml'
)
)
self.auth_dict = self._AUTH()
......
......@@ -64,8 +64,8 @@ class VALAPICall():
"""Credentials"""
self.auth_yaml = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'veda_auth.yaml'
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
'ingest_config.yaml'
)
self.auth_dict = self._AUTH()
......
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