Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | 16x 16x 16x 16x 16x 16x 16x | /* * Copyright 2021 Harness Inc. All rights reserved. * Use of this source code is governed by the PolyForm Shield 1.0.0 license * that can be found in the licenses directory at the root of this repository, also available at * https://polyformproject.org/wp-content/uploads/2020/06/PolyForm-Shield-1.0.0.txt. */ import { RiskValues, getRiskColorValue, getSecondaryRiskColorValue } from '@cv/utils/CommonUtils' import type { IconDetails } from './DependencyGraph.types' export const statusColors = [ { status: RiskValues.UNHEALTHY, primary: getRiskColorValue(RiskValues.UNHEALTHY, false), secondary: getSecondaryRiskColorValue(RiskValues.UNHEALTHY, false) }, { status: RiskValues.OBSERVE, primary: getRiskColorValue(RiskValues.OBSERVE, false), secondary: getSecondaryRiskColorValue(RiskValues.OBSERVE, false) }, { status: RiskValues.NEED_ATTENTION, primary: getRiskColorValue(RiskValues.NEED_ATTENTION, false), secondary: getSecondaryRiskColorValue(RiskValues.NEED_ATTENTION, false) }, { status: RiskValues.HEALTHY, primary: getRiskColorValue(RiskValues.HEALTHY, false), secondary: getSecondaryRiskColorValue(RiskValues.HEALTHY, false) }, { status: RiskValues.NO_ANALYSIS, primary: getRiskColorValue(RiskValues.NO_ANALYSIS, false), secondary: getSecondaryRiskColorValue(RiskValues.NO_ANALYSIS, false) }, { status: RiskValues.NO_DATA, primary: getRiskColorValue(RiskValues.NO_DATA, false), secondary: getSecondaryRiskColorValue(RiskValues.NO_DATA, false) } ] export const wrappedArrowLength = 5 export const serviceIcon = 'dependency-default-icon' export const infrastructureIcon = 'infrastructure' export const serviceIconDetails: IconDetails = { x: '34%', y: '34%', width: 20, height: 20 } export const infrastructureIconDetails: IconDetails = { x: '26%', y: '27%', width: 30, height: 30 } |