Package org.jenkinsci.plugins.vmanager.charts.util
package org.jenkinsci.plugins.vmanager.charts.util
-
ClassesClassDescriptionBuild-console output gating utility.Per-build routing-OID holder for vManager COVERAGE_LEVEL REST calls.Collects the per-build values of every
MetricDefinitiondeclared on aChartDefinition, dispatched by the metric'sentityType:SESSION_LEVEL: all attribute ids in the chart are fetched in a single POST to/rest/sessions/list(seeVManagerSessionsClient.fetchSessionAttributeSums(java.lang.String, java.util.Collection<java.lang.String>, java.util.Collection<java.lang.String>, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials)).Builds aVManagerChartsJobPropertyfrom a JSON configuration (typically exported from the job-property UI and dropped into the build's workspace).Persists the per-job dashboard layout (chart order and per-chart width) for the two chart pages (VManagerChartsActionandBuildChartAction).Utility helpers for the vManager Charts plugin.Single shared HTTP client for all vManager REST calls in this plugin.HTTP response container: trimmed body + a case-insensitive view of the response headers.Thin client around the vManager/rest/metrics/getendpoint used to obtain coverage / vPlan attribute values for a build.Thin client around the vManager/rest/runs/listendpoint used to fetch the(start_time, duration)pair of every run that belongs to a given set of sessions.Single run point: holds bothtimeToStartMinutesandtimeToEndMinutes(elapsed minutes from the session's start to the run's start / end respectively), the rundurationMinutes, the vManager-reportedestimatedDurationMinutes(the value of theestimated_duration_vmgrattribute, converted from seconds to minutes) and the vManager runid(numeric).Thin client around the vManager/rest/sessions/listendpoint used to obtain run-state counts for a list of session names.Aggregated "Run Anomalies" counts for a set of sessions, used by the build-level Run Anomalies chart.Aggregated run-state totals for a set of sessions.Thin client around the vManager/rest/vplan/getendpoint used to obtain VPLAN_LEVEL attribute values for a build.Per-build routing-OID holder for vManager VPLAN_LEVEL REST calls (/rest/vplan/get).