def __init__(self, context, service_name, expected_service_type): SmService.__init__(self, context, service_name, expected_service_type) self.pattern = "service.manager.serviceName=%s$" % self.service_name self.default_port = self.required_data("defaultPort") self.healthcheck = self.required_data("healthcheck")
def __init__(self, context, service_name): SmService.__init__(self, context, service_name, "external") self.pattern = self.required_data("pattern")
def __init__(self, context, service_name, expected_service_type): SmService.__init__(self, context, service_name, expected_service_type) self.pattern = "service.manager.serviceName=%s" % self.service_name self.default_port = self.required_data("defaultPort") self.healthcheck = self.required_data("healthcheck")