# Path: ceagle/api/base.py
# class Client(object):
#     def __init__(self, name, endpoint):
#     def __repr__(self):
# 
# Path: ceagle/api_fake_data/security.py
# def _get_fake_issue(region, issue_type, days):
# def _get_issues(region, period):
#     def _regions(self, query, api):
#     def issues(self, query, region, period):
#     def issues_all_regions(self, query, period):
# FAKE_ISSUES = {
#     "region1": [
#         _get_fake_issue("region1", "IssueType1", 2),
#         _get_fake_issue("region1", "IssueType2", 8),
#     ],
#     "north-2.piedpiper.net": [
#         _get_fake_issue("north-2.piedpiper.net", "IssueType1", 0),
#         _get_fake_issue("north-2.piedpiper.net", "IssueType2", 2),
#         _get_fake_issue("north-2.piedpiper.net", "IssueType2", 8),
#     ],
# }
# PERIOD_MAP = {
#     "day": 1,
#     "week": 7,
#     "month": 30,
# }
# REGION_R = r"(?P<region>[a-z\d\-\.\_]+)"
# PERIOD_R = r"(?P<period>day|week|month)"
# class Client(base.FakeClient):


from oss_lib import config
from ceagle.api import base
from ceagle.api_fake_data import security
import requests
# Copyright 2016: Mirantis Inc.
# All Rights Reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, 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.



CONF = config.CONF

FAKE_CLIENT_MAP = {
    "security": security.Client,
}



# Path: ceagle/api/base.py
# class Client(object):
#     def __init__(self, name, endpoint):
#     def __repr__(self):
# 
# Path: ceagle/api_fake_data/security.py
# def _get_fake_issue(region, issue_type, days):
# def _get_issues(region, period):
#     def _regions(self, query, api):
#     def issues(self, query, region, period):
#     def issues_all_regions(self, query, period):
# FAKE_ISSUES = {
#     "region1": [
#         _get_fake_issue("region1", "IssueType1", 2),
#         _get_fake_issue("region1", "IssueType2", 8),
#     ],
#     "north-2.piedpiper.net": [
#         _get_fake_issue("north-2.piedpiper.net", "IssueType1", 0),
#         _get_fake_issue("north-2.piedpiper.net", "IssueType2", 2),
#         _get_fake_issue("north-2.piedpiper.net", "IssueType2", 8),
#     ],
# }
# PERIOD_MAP = {
#     "day": 1,
#     "week": 7,
#     "month": 30,
# }
# REGION_R = r"(?P<region>[a-z\d\-\.\_]+)"
# PERIOD_R = r"(?P<period>day|week|month)"
# class Client(base.FakeClient):


# Path: ceagle/api/client.py
from oss_lib import config
from ceagle.api import base
from ceagle.api_fake_data import security
import requests

# Copyright 2016: Mirantis Inc.
# All Rights Reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, 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.



CONF = config.CONF

FAKE_CLIENT_MAP = {
    "security": security.Client,
}



class UnknownService(Exception):