Fixed akamai default wsdl path

The previous default would never really work.
> file:///designate/resources/wsdl/EnhancedDNS.xml

The new default should work in most situations.
> file:///home/workspace/designate/resources/wsdl/EnhancedDNS.xml

Change-Id: Ie0ae122c46c49d07e0a29e5777fafdb02ce05703
This commit is contained in:
Erik Olof Gunnar Andersson
2019-07-01 21:00:35 -07:00
parent 86fe66613b
commit 851d974a33

View File

@@ -17,11 +17,11 @@ import os
from oslo_config import cfg
WSDL = os.path.join(os.path.dirname(__file__),
'..',
'resources',
'wsdl',
'EnhancedDNS.xml')
WSDL_PATH = os.path.abspath(
os.path.join(
os.path.dirname(__file__), '..', 'resources', 'wsdl', 'EnhancedDNS.xml'
)
)
AKAMAI_GROUP = cfg.OptGroup(
name='backend:akamai',
@@ -30,7 +30,7 @@ AKAMAI_GROUP = cfg.OptGroup(
AKAMAI_OPTS = [
cfg.StrOpt('enhanceddns_wsdl',
default='file://%s' % WSDL,
default='file://%s' % WSDL_PATH,
help='Akamai EnhancedDNS WSDL URL'),
]