From be164236407d8bc3937292062969d8ea0ba946c0 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Tue, 2 Dec 2014 15:06:14 +0300 Subject: [PATCH] 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 --- saharaclient/api/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saharaclient/api/client.py b/saharaclient/api/client.py index c8b2a2e4..8445a589 100644 --- a/saharaclient/api/client.py +++ b/saharaclient/api/client.py @@ -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):