From 293b7f898c22e67dccf64e48d62909d71e4aa896 Mon Sep 17 00:00:00 2001 From: HÃ¥kon Hallingstad Date: Thu, 31 May 2018 14:42:19 +0200 Subject: Make health client wo using it This PR should not have any functional changes. - Make a synthetic ApplicationInfo for the config server and "activate" it during bootstrap. - Make an ApplicationInstanceGenerator that converts an ApplicationInfo to an ApplicationInstance. Used by ModelGenerator. - Make a "DuperModel" that combines the SuperModel (deployed apps) with the set of synthetic apps. - Prefer health over Slobrok service status, if available (!= NOT_CHECKED). Health monitoring is structured as: - A manager responsible for adding and removing applications - An ApplicationHealthMonitor responsible for all monitoring for a given app - A HealthMonitor responsible for monitoring the health of a single service - A HealthClient responsible for issuing health requests to fixed endpoint Some of the lower-level health monitoring is not entirely finished, as it depends on refactoring of an athenz dependency tbd later. --- service-monitor/pom.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'service-monitor/pom.xml') diff --git a/service-monitor/pom.xml b/service-monitor/pom.xml index 70f9d4aa655..b8065ed3636 100644 --- a/service-monitor/pom.xml +++ b/service-monitor/pom.xml @@ -63,6 +63,12 @@ annotations ${project.version} + + com.yahoo.vespa + vespa-athenz + ${project.version} + provided + com.google.inject guice @@ -75,6 +81,23 @@ ${jackson2.version} provided + + com.fasterxml.jackson.core + jackson-core + provided + + + com.fasterxml.jackson.core + jackson-databind + provided + + + org.apache.httpcomponents + httpclient + 4.5 + + compile + junit junit -- cgit v1.2.3