Set default service_type to "data-processing" in client

We're using the default value in many places, so, we should switch it
to the data-processing by default. The fallback mechanism is already
implemented, so, backward compatibility supported.

It's needed to make CLI support both endpoints.

Change-Id: I8818c77a96685c8a557aa6fec77002c93064118e
Partial-bug: #1356053
This commit is contained in:
Sergey Lukjanov
2014-12-02 15:06:14 +03:00
parent eadb40ccb6
commit be16423640

View File

@@ -33,7 +33,7 @@ from saharaclient.api import plugins
class Client(object):
def __init__(self, username=None, api_key=None, project_id=None,
project_name=None, auth_url=None, sahara_url=None,
endpoint_type='publicURL', service_type='data_processing',
endpoint_type='publicURL', service_type='data-processing',
service_name=None, region_name=None,
input_auth_token=None, session=None, auth=None):