Example #1
0
 def _get_plan_status(self, service_name, plan):
     response = requests.get(get_base_url() + "/service" + service_name +
                             "v1/plans/%s" % plan,
                             auth=get_auth(),
                             verify=False)
     if response.ok:
         return response.json()["status"]
     else:
         return None
Example #2
0
 def has_plans_api(self, service_name):
     if service_name[0] == "/":
         service_name = service_name[1:]
     response = requests.get(get_base_url() + "/service/" + service_name +
                             "/v1/plans/",
                             auth=get_auth(),
                             verify=False)
     if response.ok:
         return True
     else:
         return False
Example #3
0
 def __init__(self):
     self.base_url = get_base_url() + "/secrets/v1/"
     self._cache_secrets_list = None
Example #4
0
 def __init__(self):
     self.base_url = get_base_url()
     self.mesos_url = self.base_url + "/mesos/"
Example #5
0
 def __init__(self):
     self.base_url = get_base_url() + "/ca/api/v2/"
Example #6
0
 def __init__(self):
     self.base_url = get_base_url() + "/service/edgelb/"
Example #7
0
 def __init__(self):
     self.service_url = get_base_url() + "/cosmos/service"
     self.package_url = get_base_url() + "/package"
Example #8
0
 def __init__(self):
     self.marathon_url = get_base_url() + "/service/marathon/v2"
Example #9
0
 def __init__(self):
     self.metronome_url = get_base_url() + "/service/metronome/"
Example #10
0
 def __init__(self):
     self.base_url = get_base_url() + "/acs/api/v1"
Example #11
0
 def __init__(self):
     self.base_url = get_base_url()
Example #12
0
 def __init__(self):
     self.base_url = get_base_url() + "/secrets/v1/"