Fixed bad AutoMarshallingHTTPClient imports
Change-Id: Ib22a1be1c398866e2fa8cf14ca6dc1941c656ec9
This commit is contained in:
parent
528acad019
commit
164f6232b4
@ -13,10 +13,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
from cafe.engine.http.client import AutoMarshallingHttpClient
|
||||
from cafe.engine.http.client import AutoMarshallingHTTPClient
|
||||
|
||||
|
||||
class BarbicanRestClient(AutoMarshallingHttpClient):
|
||||
class BarbicanRestClient(AutoMarshallingHTTPClient):
|
||||
def __init__(self, token=None, serialize_format=None,
|
||||
deserialize_format=None):
|
||||
super(BarbicanRestClient, self).__init__(
|
||||
|
@ -14,13 +14,13 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
from cafe.engine.http.client import AutoMarshallingHttpClient
|
||||
from cafe.engine.http.client import AutoMarshallingHTTPClient
|
||||
|
||||
from reddwarfclient import *
|
||||
from reddwarfclient import xml
|
||||
|
||||
|
||||
class DBaaSAPIClient(AutoMarshallingHttpClient):
|
||||
class DBaaSAPIClient(AutoMarshallingHTTPClient):
|
||||
"""
|
||||
This class can be used to call directly into the REST API and
|
||||
wraps the python-reddwarfclient (so you can use that too)!
|
||||
|
@ -13,12 +13,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
from cafe.engine.http.client import AutoMarshallingHttpClient
|
||||
from cafe.engine.http.client import AutoMarshallingHTTPClient
|
||||
from cloudcafe.images.v1.models.image import Image, ImageMinList
|
||||
from cloudcafe.images.v1.models.member import MemberList
|
||||
|
||||
|
||||
class ImagesClient(AutoMarshallingHttpClient):
|
||||
class ImagesClient(AutoMarshallingHTTPClient):
|
||||
"""Client for Image API."""
|
||||
|
||||
def __init__(self, url, auth_token, serialize_format, deserialize_format):
|
||||
|
@ -14,13 +14,13 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
from cafe.engine.http.client import AutoMarshallingHttpClient
|
||||
from cafe.engine.http.client import AutoMarshallingHTTPClient
|
||||
from cloudcafe.images.v2.models.image import (Image, Images, ImageUpdate,
|
||||
Member, Members)
|
||||
from cloudcafe.images.v2.models.task import Task, Tasks
|
||||
|
||||
|
||||
class ImagesClient(AutoMarshallingHttpClient):
|
||||
class ImagesClient(AutoMarshallingHTTPClient):
|
||||
"""@summary: Client for Images v2"""
|
||||
|
||||
def __init__(self, base_url, auth_token, serialize_format,
|
||||
|
@ -14,14 +14,14 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
from cafe.engine.http.client import AutoMarshallingHttpClient
|
||||
from cafe.engine.http.client import AutoMarshallingHTTPClient
|
||||
|
||||
from cloudcafe.stacktach.stacktach_db_api.models.stacktach_db_api import \
|
||||
(ServerLaunch, ServerLaunches, ServerDelete, ServerDeletes,
|
||||
ServerExist, ServerExists, ImageUsages, ImageDeletes, ImageExists)
|
||||
|
||||
|
||||
class StackTachDBClient(AutoMarshallingHttpClient):
|
||||
class StackTachDBClient(AutoMarshallingHTTPClient):
|
||||
|
||||
def __init__(self, db_url, serialize_format, deserialize_format=None):
|
||||
super(StackTachDBClient, self).__init__(serialize_format,
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
from cafe.engine.http.client import AutoMarshallingHttpClient
|
||||
from cafe.engine.http.client import AutoMarshallingHTTPClient
|
||||
|
||||
from cloudcafe.stacktach.stacky_api.models.stacky_api import \
|
||||
(Deployments, EventNames, HostNames, TimingsSummaries,
|
||||
@ -22,7 +22,7 @@ from cloudcafe.stacktach.stacky_api.models.stacky_api import \
|
||||
KpiDetails, WatchEvents, Reports, EventIdDetails)
|
||||
|
||||
|
||||
class StackTachClient(AutoMarshallingHttpClient):
|
||||
class StackTachClient(AutoMarshallingHTTPClient):
|
||||
|
||||
def __init__(self, url, serialize_format, deserialize_format=None):
|
||||
super(StackTachClient, self).__init__(serialize_format,
|
||||
|
Loading…
x
Reference in New Issue
Block a user