do not use artifacts at sahara files

we migrated these files to tarballs.opentack.org

Change-Id: I6f73820136af7277291749292c328693f89c3715
This commit is contained in:
Vitaly Gridnev 2016-09-14 19:19:13 +03:00
parent 2371ba4a85
commit 777b425501
3 changed files with 7 additions and 3 deletions

View File

@ -51,7 +51,9 @@ class ConfigHelper(object):
'/apache/hadoop/hadoop-openstack/2.3.0-cdh5.0.0'
'/hadoop-openstack-2.3.0-cdh5.0.0.jar')
DEFAULT_EXTJS_LIB_URL = 'http://sahara-files.mirantis.com/ext-2.2.zip'
DEFAULT_EXTJS_LIB_URL = (
'http://tarballs.openstack.org/sahara/dist/common-artifacts/'
'ext-2.2.zip')
SWIFT_LIB_URL = p.Config(
'Hadoop OpenStack library URL', 'general', 'cluster', priority=1,

View File

@ -70,7 +70,8 @@ admin_password = _config(
name='Admin password', config_type='string', default_value='')
policy_url = _config(
name="JCE libraries", config_type='string',
default_value='http://sahara-files.mirantis.com/kerberos-artifacts',
default_value=('http://tarballs.openstack.org/sahara/dist/'
'common-artifacts/'),
description=_('Java Cryptography Extension (JCE) '
'Unlimited Strength Jurisdiction Policy Files location')
)

View File

@ -250,7 +250,8 @@ class TestPluginUtils(b.SaharaTestCase):
calls = [mock.call('ls /var/lib/oozie/ext-2.2',
raise_when_error=False),
mock.call("curl -L -o '/var/lib/oozie/extjs.zip'"
" http://sahara-files.mirantis.com/ext-2.2.zip",
" http://tarballs.openstack.org/sahara/dist/"
"common-artifacts/ext-2.2.zip",
run_as_root=True),
mock.call('unzip /var/lib/oozie/extjs.zip'
' -d /var/lib/oozie',