@spinnaker/kayenta 2025.4.0 → 2025.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/index-8a3ef7a0.js +2 -0
- package/build/dist/index-8a3ef7a0.js.map +1 -0
- package/{src/index.ts → build/dist/index.d.ts} +1 -0
- package/build/dist/index.d.ts.map +1 -0
- package/build/dist/index.js +2 -0
- package/build/dist/index.js.map +1 -0
- package/build/dist/kayenta/actions/creators.d.ts +416 -0
- package/build/dist/kayenta/actions/creators.d.ts.map +1 -0
- package/build/dist/kayenta/actions/index.d.ts +99 -0
- package/build/dist/kayenta/actions/index.d.ts.map +1 -0
- package/build/dist/kayenta/canary.d.ts +16 -0
- package/build/dist/kayenta/canary.d.ts.map +1 -0
- package/build/dist/kayenta/canary.dataSource.bridge.d.ts +2 -0
- package/build/dist/kayenta/canary.dataSource.bridge.d.ts.map +1 -0
- package/build/dist/kayenta/canary.dataSource.stub.d.ts +9 -0
- package/build/dist/kayenta/canary.dataSource.stub.d.ts.map +1 -0
- package/build/dist/kayenta/canary.help.d.ts +2 -0
- package/build/dist/kayenta/canary.help.d.ts.map +1 -0
- package/build/dist/kayenta/canary.settings.d.ts +24 -0
- package/build/dist/kayenta/canary.settings.d.ts.map +1 -0
- package/build/dist/kayenta/components/canaryScore.component.d.ts +2 -0
- package/build/dist/kayenta/components/canaryScore.component.d.ts.map +1 -0
- package/build/dist/kayenta/components/canaryScore.d.ts +23 -0
- package/build/dist/kayenta/components/canaryScore.d.ts.map +1 -0
- package/build/dist/kayenta/components/canaryScores.component.d.ts +2 -0
- package/build/dist/kayenta/components/canaryScores.component.d.ts.map +1 -0
- package/build/dist/kayenta/components/canaryScores.d.ts +21 -0
- package/build/dist/kayenta/components/canaryScores.d.ts.map +1 -0
- package/build/dist/kayenta/components/loadStates.d.ts +15 -0
- package/build/dist/kayenta/components/loadStates.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryConfig.d.ts +56 -0
- package/build/dist/kayenta/domain/ICanaryConfig.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryConfigSummary.d.ts +8 -0
- package/build/dist/kayenta/domain/ICanaryConfigSummary.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryConfigUpdateResponse.d.ts +4 -0
- package/build/dist/kayenta/domain/ICanaryConfigUpdateResponse.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryExecutionStatusResult.d.ts +69 -0
- package/build/dist/kayenta/domain/ICanaryExecutionStatusResult.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryJudgeResult.d.ts +48 -0
- package/build/dist/kayenta/domain/ICanaryJudgeResult.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryJudgeResultSummary.d.ts +6 -0
- package/build/dist/kayenta/domain/ICanaryJudgeResultSummary.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ICanaryScoreThresholds.d.ts +5 -0
- package/build/dist/kayenta/domain/ICanaryScoreThresholds.d.ts.map +1 -0
- package/build/dist/kayenta/domain/IJudge.d.ts +5 -0
- package/build/dist/kayenta/domain/IJudge.d.ts.map +1 -0
- package/build/dist/kayenta/domain/IKayentaAccount.d.ts +14 -0
- package/build/dist/kayenta/domain/IKayentaAccount.d.ts.map +1 -0
- package/build/dist/kayenta/domain/IKayentaStageConfig.d.ts +58 -0
- package/build/dist/kayenta/domain/IKayentaStageConfig.d.ts.map +1 -0
- package/build/dist/kayenta/domain/IMetricSetPair.d.ts +27 -0
- package/build/dist/kayenta/domain/IMetricSetPair.d.ts.map +1 -0
- package/build/dist/kayenta/domain/IMetricsServiceMetadata.d.ts +3 -0
- package/build/dist/kayenta/domain/IMetricsServiceMetadata.d.ts.map +1 -0
- package/{src/kayenta/domain/ISetupCanaryStage.ts → build/dist/kayenta/domain/ISetupCanaryStage.d.ts} +7 -7
- package/build/dist/kayenta/domain/ISetupCanaryStage.d.ts.map +1 -0
- package/build/dist/kayenta/domain/MetricClassificationLabel.d.ts +9 -0
- package/build/dist/kayenta/domain/MetricClassificationLabel.d.ts.map +1 -0
- package/build/dist/kayenta/domain/ScoreClassificationLabel.d.ts +8 -0
- package/build/dist/kayenta/domain/ScoreClassificationLabel.d.ts.map +1 -0
- package/{src/kayenta/domain/index.ts → build/dist/kayenta/domain/index.d.ts} +1 -0
- package/build/dist/kayenta/domain/index.d.ts.map +1 -0
- package/build/dist/kayenta/edit/changeMetricGroupModal.d.ts +18 -0
- package/build/dist/kayenta/edit/changeMetricGroupModal.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configDetail.d.ts +2 -0
- package/build/dist/kayenta/edit/configDetail.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configDetailActionButtons.d.ts +2 -0
- package/build/dist/kayenta/edit/configDetailActionButtons.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configDetailHeader.d.ts +11 -0
- package/build/dist/kayenta/edit/configDetailHeader.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configDetailLoadStates.d.ts +9 -0
- package/build/dist/kayenta/edit/configDetailLoadStates.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configDetailLoader.d.ts +17 -0
- package/build/dist/kayenta/edit/configDetailLoader.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configJsonModal.d.ts +28 -0
- package/build/dist/kayenta/edit/configJsonModal.d.ts.map +1 -0
- package/build/dist/kayenta/edit/configList.d.ts +12 -0
- package/build/dist/kayenta/edit/configList.d.ts.map +1 -0
- package/build/dist/kayenta/edit/copyConfigButton.d.ts +8 -0
- package/build/dist/kayenta/edit/copyConfigButton.d.ts.map +1 -0
- package/build/dist/kayenta/edit/createConfigButton.d.ts +8 -0
- package/build/dist/kayenta/edit/createConfigButton.d.ts.map +1 -0
- package/build/dist/kayenta/edit/deleteModal.d.ts +16 -0
- package/build/dist/kayenta/edit/deleteModal.d.ts.map +1 -0
- package/build/dist/kayenta/edit/edit.d.ts +2 -0
- package/build/dist/kayenta/edit/edit.d.ts.map +1 -0
- package/build/dist/kayenta/edit/editMetricEffectSizes.d.ts +16 -0
- package/build/dist/kayenta/edit/editMetricEffectSizes.d.ts.map +1 -0
- package/build/dist/kayenta/edit/editMetricModal.d.ts +27 -0
- package/build/dist/kayenta/edit/editMetricModal.d.ts.map +1 -0
- package/build/dist/kayenta/edit/editMetricModal.spec.d.ts +2 -0
- package/build/dist/kayenta/edit/editMetricModal.spec.d.ts.map +1 -0
- package/build/dist/kayenta/edit/editMetricValidation.d.ts +11 -0
- package/build/dist/kayenta/edit/editMetricValidation.d.ts.map +1 -0
- package/build/dist/kayenta/edit/editMetricValidation.spec.d.ts +2 -0
- package/build/dist/kayenta/edit/editMetricValidation.spec.d.ts.map +1 -0
- package/build/dist/kayenta/edit/filterTemplateSelector.d.ts +33 -0
- package/build/dist/kayenta/edit/filterTemplateSelector.d.ts.map +1 -0
- package/build/dist/kayenta/edit/filterTemplateSelector.spec.d.ts +2 -0
- package/build/dist/kayenta/edit/filterTemplateSelector.spec.d.ts.map +1 -0
- package/build/dist/kayenta/edit/filterTemplatesValidation.d.ts +29 -0
- package/build/dist/kayenta/edit/filterTemplatesValidation.d.ts.map +1 -0
- package/build/dist/kayenta/edit/filterTemplatesValidation.spec.d.ts +2 -0
- package/build/dist/kayenta/edit/filterTemplatesValidation.spec.d.ts.map +1 -0
- package/build/dist/kayenta/edit/footer.d.ts +6 -0
- package/build/dist/kayenta/edit/footer.d.ts.map +1 -0
- package/build/dist/kayenta/edit/groupName.d.ts +21 -0
- package/build/dist/kayenta/edit/groupName.d.ts.map +1 -0
- package/build/dist/kayenta/edit/groupTabs.d.ts +17 -0
- package/build/dist/kayenta/edit/groupTabs.d.ts.map +1 -0
- package/build/dist/kayenta/edit/groupWeight.d.ts +16 -0
- package/build/dist/kayenta/edit/groupWeight.d.ts.map +1 -0
- package/build/dist/kayenta/edit/groupWeights.d.ts +8 -0
- package/build/dist/kayenta/edit/groupWeights.d.ts.map +1 -0
- package/build/dist/kayenta/edit/inlineTemplateEditor.d.ts +14 -0
- package/build/dist/kayenta/edit/inlineTemplateEditor.d.ts.map +1 -0
- package/build/dist/kayenta/edit/inlineTemplateEditor.spec.d.ts +2 -0
- package/build/dist/kayenta/edit/inlineTemplateEditor.spec.d.ts.map +1 -0
- package/build/dist/kayenta/edit/judgeSelect.d.ts +19 -0
- package/build/dist/kayenta/edit/judgeSelect.d.ts.map +1 -0
- package/build/dist/kayenta/edit/metricConfigurerDelegator.d.ts +9 -0
- package/build/dist/kayenta/edit/metricConfigurerDelegator.d.ts.map +1 -0
- package/build/dist/kayenta/edit/metricList.d.ts +23 -0
- package/build/dist/kayenta/edit/metricList.d.ts.map +1 -0
- package/build/dist/kayenta/edit/metricStoreSelector.d.ts +12 -0
- package/build/dist/kayenta/edit/metricStoreSelector.d.ts.map +1 -0
- package/build/dist/kayenta/edit/nameAndDescription.d.ts +14 -0
- package/build/dist/kayenta/edit/nameAndDescription.d.ts.map +1 -0
- package/build/dist/kayenta/edit/openConfigJsonModalButton.d.ts +8 -0
- package/build/dist/kayenta/edit/openConfigJsonModalButton.d.ts.map +1 -0
- package/build/dist/kayenta/edit/openDeleteModalButton.d.ts +11 -0
- package/build/dist/kayenta/edit/openDeleteModalButton.d.ts.map +1 -0
- package/build/dist/kayenta/edit/ownedBy.d.ts +7 -0
- package/build/dist/kayenta/edit/ownedBy.d.ts.map +1 -0
- package/build/dist/kayenta/edit/save.d.ts +2 -0
- package/build/dist/kayenta/edit/save.d.ts.map +1 -0
- package/build/dist/kayenta/edit/saveConfigButton.d.ts +14 -0
- package/build/dist/kayenta/edit/saveConfigButton.d.ts.map +1 -0
- package/build/dist/kayenta/edit/saveConfigError.d.ts +13 -0
- package/build/dist/kayenta/edit/saveConfigError.d.ts.map +1 -0
- package/build/dist/kayenta/edit/scoring.d.ts +8 -0
- package/build/dist/kayenta/edit/scoring.d.ts.map +1 -0
- package/build/dist/kayenta/edit/selectConfig.d.ts +2 -0
- package/build/dist/kayenta/edit/selectConfig.d.ts.map +1 -0
- package/build/dist/kayenta/edit/validationErrors.d.ts +8 -0
- package/build/dist/kayenta/edit/validationErrors.d.ts.map +1 -0
- package/{src/kayenta/index.ts → build/dist/kayenta/index.d.ts} +1 -0
- package/build/dist/kayenta/index.d.ts.map +1 -0
- package/build/dist/kayenta/layout/addNewButton.d.ts +8 -0
- package/build/dist/kayenta/layout/addNewButton.d.ts.map +1 -0
- package/build/dist/kayenta/layout/centeredDetail.d.ts +5 -0
- package/build/dist/kayenta/layout/centeredDetail.d.ts.map +1 -0
- package/build/dist/kayenta/layout/deleteButton.d.ts +6 -0
- package/build/dist/kayenta/layout/deleteButton.d.ts.map +1 -0
- package/build/dist/kayenta/layout/disableable.d.ts +37 -0
- package/build/dist/kayenta/layout/disableable.d.ts.map +1 -0
- package/build/dist/kayenta/layout/formList.d.ts +5 -0
- package/build/dist/kayenta/layout/formList.d.ts.map +1 -0
- package/build/dist/kayenta/layout/formRow.d.ts +12 -0
- package/build/dist/kayenta/layout/formRow.d.ts.map +1 -0
- package/build/dist/kayenta/layout/formattedDate.d.ts +5 -0
- package/build/dist/kayenta/layout/formattedDate.d.ts.map +1 -0
- package/{src/kayenta/layout/index.ts → build/dist/kayenta/layout/index.d.ts} +1 -0
- package/build/dist/kayenta/layout/index.d.ts.map +1 -0
- package/build/dist/kayenta/layout/keyValueList.d.ts +29 -0
- package/build/dist/kayenta/layout/keyValueList.d.ts.map +1 -0
- package/build/dist/kayenta/layout/list.d.ts +21 -0
- package/build/dist/kayenta/layout/list.d.ts.map +1 -0
- package/build/dist/kayenta/layout/list.spec.d.ts +2 -0
- package/build/dist/kayenta/layout/list.spec.d.ts.map +1 -0
- package/build/dist/kayenta/layout/listDetail.d.ts +11 -0
- package/build/dist/kayenta/layout/listDetail.d.ts.map +1 -0
- package/build/dist/kayenta/layout/radioChoice.d.ts +9 -0
- package/build/dist/kayenta/layout/radioChoice.d.ts.map +1 -0
- package/build/dist/kayenta/layout/styleguide.d.ts +9 -0
- package/build/dist/kayenta/layout/styleguide.d.ts.map +1 -0
- package/{src/kayenta/layout/table/index.ts → build/dist/kayenta/layout/table/index.d.ts} +1 -0
- package/build/dist/kayenta/layout/table/index.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/nativeTable.d.ts +14 -0
- package/build/dist/kayenta/layout/table/nativeTable.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/nativeTableHeader.d.ts +8 -0
- package/build/dist/kayenta/layout/table/nativeTableHeader.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/table.d.ts +14 -0
- package/build/dist/kayenta/layout/table/table.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/tableColumn.d.ts +8 -0
- package/build/dist/kayenta/layout/table/tableColumn.d.ts.map +1 -0
- package/build/dist/kayenta/layout/table/tableHeader.d.ts +7 -0
- package/build/dist/kayenta/layout/table/tableHeader.d.ts.map +1 -0
- package/build/dist/kayenta/layout/tabs.d.ts +14 -0
- package/build/dist/kayenta/layout/tabs.d.ts.map +1 -0
- package/build/dist/kayenta/layout/titledSection.d.ts +7 -0
- package/build/dist/kayenta/layout/titledSection.d.ts.map +1 -0
- package/build/dist/kayenta/layout/titledSubsection.d.ts +8 -0
- package/build/dist/kayenta/layout/titledSubsection.d.ts.map +1 -0
- package/build/dist/kayenta/manualAnalysis/ManualAnalysisModal.d.ts +47 -0
- package/build/dist/kayenta/manualAnalysis/ManualAnalysisModal.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/atlas/atlasMetricConfigurer.d.ts +29 -0
- package/build/dist/kayenta/metricStore/atlas/atlasMetricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/atlas/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/atlas/index.d.ts.map +1 -0
- package/{src/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.ts → build/dist/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.d.ts} +2 -2
- package/build/dist/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/datadog/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/datadog/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/datadog/metricConfigurer.d.ts +15 -0
- package/build/dist/kayenta/metricStore/datadog/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.d.ts +29 -0
- package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.spec.d.ts +2 -0
- package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.spec.d.ts.map +1 -0
- package/{src/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.ts → build/dist/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.d.ts} +2 -2
- package/build/dist/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/graphite/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/graphite/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/graphite/metricConfigurer.d.ts +13 -0
- package/build/dist/kayenta/metricStore/graphite/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/graphite/metricTypeSelector.d.ts +29 -0
- package/build/dist/kayenta/metricStore/graphite/metricTypeSelector.d.ts.map +1 -0
- package/{src/kayenta/metricStore/index.ts → build/dist/kayenta/metricStore/index.d.ts} +1 -0
- package/build/dist/kayenta/metricStore/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/metricStoreConfig.service.d.ts +11 -0
- package/build/dist/kayenta/metricStore/metricStoreConfig.service.d.ts.map +1 -0
- package/{src/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.ts → build/dist/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.d.ts} +2 -2
- package/build/dist/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/newrelic/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/newrelic/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/newrelic/metricConfigurer.d.ts +13 -0
- package/build/dist/kayenta/metricStore/newrelic/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.d.ts +13 -0
- package/build/dist/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.d.ts.map +1 -0
- package/{src/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.ts → build/dist/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.d.ts} +2 -2
- package/build/dist/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/prometheus/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/metricConfigurer.d.ts +21 -0
- package/build/dist/kayenta/metricStore/prometheus/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.d.ts +31 -0
- package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.spec.d.ts +2 -0
- package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.spec.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.d.ts +10 -0
- package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.spec.d.ts +2 -0
- package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.spec.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/signalfx/domain/ISignalFxCanaryMetricSetQueryConfig.d.ts +10 -0
- package/build/dist/kayenta/metricStore/signalfx/domain/ISignalFxCanaryMetricSetQueryConfig.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/signalfx/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/signalfx/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/signalfx/metricConfigurer.d.ts +28 -0
- package/build/dist/kayenta/metricStore/signalfx/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverCanaryMetricSetQueryConfig.d.ts +9 -0
- package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverCanaryMetricSetQueryConfig.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverMetricDescriptor.d.ts +16 -0
- package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverMetricDescriptor.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/index.d.ts +2 -0
- package/build/dist/kayenta/metricStore/stackdriver/index.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricConfigurer.d.ts +16 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricConfigurer.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.d.ts +35 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.d.ts.map +1 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.spec.d.ts +2 -0
- package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.spec.d.ts.map +1 -0
- package/build/dist/kayenta/middleware/actionInterceptor.d.ts +3 -0
- package/build/dist/kayenta/middleware/actionInterceptor.d.ts.map +1 -0
- package/build/dist/kayenta/middleware/asyncDispatch.d.ts +3 -0
- package/build/dist/kayenta/middleware/asyncDispatch.d.ts.map +1 -0
- package/build/dist/kayenta/middleware/epics.d.ts +14 -0
- package/build/dist/kayenta/middleware/epics.d.ts.map +1 -0
- package/{src/kayenta/middleware/index.ts → build/dist/kayenta/middleware/index.d.ts} +1 -0
- package/build/dist/kayenta/middleware/index.d.ts.map +1 -0
- package/build/dist/kayenta/navigation/canary.states.d.ts +6 -0
- package/build/dist/kayenta/navigation/canary.states.d.ts.map +1 -0
- package/build/dist/kayenta/navigation/canary.states.stub.d.ts +4 -0
- package/build/dist/kayenta/navigation/canary.states.stub.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/app.d.ts +11 -0
- package/build/dist/kayenta/reducers/app.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/asyncRequest.d.ts +6 -0
- package/build/dist/kayenta/reducers/asyncRequest.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/data.d.ts +30 -0
- package/build/dist/kayenta/reducers/data.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/editingTemplate.d.ts +8 -0
- package/build/dist/kayenta/reducers/editingTemplate.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/group.d.ts +11 -0
- package/build/dist/kayenta/reducers/group.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/index.d.ts +13 -0
- package/build/dist/kayenta/reducers/index.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/prometheusMetricConfig.d.ts +6 -0
- package/build/dist/kayenta/reducers/prometheusMetricConfig.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/prometheusMetricConfig.spec.d.ts +2 -0
- package/build/dist/kayenta/reducers/prometheusMetricConfig.spec.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/selectedConfig.d.ts +51 -0
- package/build/dist/kayenta/reducers/selectedConfig.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/selectedConfig.spec.d.ts +2 -0
- package/build/dist/kayenta/reducers/selectedConfig.spec.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/selectedRun.d.ts +20 -0
- package/build/dist/kayenta/reducers/selectedRun.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/signalFxMetricConfig.d.ts +22 -0
- package/build/dist/kayenta/reducers/signalFxMetricConfig.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/stackdriverMetricConfig.d.ts +6 -0
- package/build/dist/kayenta/reducers/stackdriverMetricConfig.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/stackdriverMetricConfig.spec.d.ts +2 -0
- package/build/dist/kayenta/reducers/stackdriverMetricConfig.spec.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/templates.spec.d.ts +2 -0
- package/build/dist/kayenta/reducers/templates.spec.d.ts.map +1 -0
- package/build/dist/kayenta/reducers/validators.d.ts +6 -0
- package/build/dist/kayenta/reducers/validators.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/allMetricResultsHeader.d.ts +10 -0
- package/build/dist/kayenta/report/detail/allMetricResultsHeader.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/clickableHeader.d.ts +11 -0
- package/build/dist/kayenta/report/detail/clickableHeader.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/colors.d.ts +5 -0
- package/build/dist/kayenta/report/detail/colors.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/detail.d.ts +10 -0
- package/build/dist/kayenta/report/detail/detail.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/detailLoader.d.ts +16 -0
- package/build/dist/kayenta/report/detail/detailLoader.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/graph.d.ts +13 -0
- package/build/dist/kayenta/report/detail/graph/graph.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/metricSetPairGraph.service.d.ts +19 -0
- package/build/dist/kayenta/report/detail/graph/metricSetPairGraph.service.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/boxplot.d.ts +19 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/boxplot.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/chartHeader.d.ts +6 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/chartHeader.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/chartLegend.d.ts +11 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/chartLegend.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/circleIcon.d.ts +6 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/circleIcon.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/config.d.ts +18 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/config.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/customAxisTickLabel.d.ts +6 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/customAxisTickLabel.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/differenceArea.d.ts +17 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/differenceArea.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/histogram.d.ts +19 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/histogram.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/index.d.ts +2 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/index.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/noValidDataSign.d.ts +4 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/noValidDataSign.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.d.ts +15 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.d.ts.map +1 -0
- package/{src/kayenta/report/detail/graph/semiotic/semiotic.service.ts → build/dist/kayenta/report/detail/graph/semiotic/semiotic.service.d.ts} +14 -19
- package/build/dist/kayenta/report/detail/graph/semiotic/semiotic.service.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/semioticGraph.d.ts +8 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/semioticGraph.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/timeSeries.d.ts +31 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/timeSeries.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/tooltip.d.ts +13 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/tooltip.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/utils.d.ts +6 -0
- package/build/dist/kayenta/report/detail/graph/semiotic/utils.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/graphTypeSelector.d.ts +13 -0
- package/build/dist/kayenta/report/detail/graphTypeSelector.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/groupScores.d.ts +18 -0
- package/build/dist/kayenta/report/detail/groupScores.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/header.d.ts +12 -0
- package/build/dist/kayenta/report/detail/header.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/headerArrow.d.ts +7 -0
- package/build/dist/kayenta/report/detail/headerArrow.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/loadStates.d.ts +9 -0
- package/build/dist/kayenta/report/detail/loadStates.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultActions.d.ts +12 -0
- package/build/dist/kayenta/report/detail/metricResultActions.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultClassification.d.ts +8 -0
- package/build/dist/kayenta/report/detail/metricResultClassification.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultDetail.d.ts +7 -0
- package/build/dist/kayenta/report/detail/metricResultDetail.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultDetailLayout.d.ts +3 -0
- package/build/dist/kayenta/report/detail/metricResultDetailLayout.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultDeviation.d.ts +7 -0
- package/build/dist/kayenta/report/detail/metricResultDeviation.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultStats.d.ts +15 -0
- package/build/dist/kayenta/report/detail/metricResultStats.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResults.d.ts +11 -0
- package/build/dist/kayenta/report/detail/metricResults.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultsClassificationFilters.d.ts +15 -0
- package/build/dist/kayenta/report/detail/metricResultsClassificationFilters.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultsColumns.d.ts +4 -0
- package/build/dist/kayenta/report/detail/metricResultsColumns.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricResultsList.d.ts +23 -0
- package/build/dist/kayenta/report/detail/metricResultsList.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/metricSetPairLoadStates.d.ts +10 -0
- package/build/dist/kayenta/report/detail/metricSetPairLoadStates.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/multipleResultsTable.d.ts +23 -0
- package/build/dist/kayenta/report/detail/multipleResultsTable.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/reportException.d.ts +10 -0
- package/build/dist/kayenta/report/detail/reportException.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/reportExplanation.d.ts +10 -0
- package/build/dist/kayenta/report/detail/reportExplanation.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/reportMetadata.d.ts +9 -0
- package/build/dist/kayenta/report/detail/reportMetadata.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/reportScores.d.ts +20 -0
- package/build/dist/kayenta/report/detail/reportScores.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/score.d.ts +9 -0
- package/build/dist/kayenta/report/detail/score.d.ts.map +1 -0
- package/build/dist/kayenta/report/detail/sourceLinks.d.ts +9 -0
- package/build/dist/kayenta/report/detail/sourceLinks.d.ts.map +1 -0
- package/build/dist/kayenta/report/list/configLink.d.ts +14 -0
- package/build/dist/kayenta/report/list/configLink.d.ts.map +1 -0
- package/build/dist/kayenta/report/list/loadStates.d.ts +9 -0
- package/build/dist/kayenta/report/list/loadStates.d.ts.map +1 -0
- package/build/dist/kayenta/report/list/pipelineLink.d.ts +7 -0
- package/build/dist/kayenta/report/list/pipelineLink.d.ts.map +1 -0
- package/build/dist/kayenta/report/list/reportLink.d.ts +16 -0
- package/build/dist/kayenta/report/list/reportLink.d.ts.map +1 -0
- package/build/dist/kayenta/report/list/table.d.ts +14 -0
- package/build/dist/kayenta/report/list/table.d.ts.map +1 -0
- package/build/dist/kayenta/report/report.d.ts +3 -0
- package/build/dist/kayenta/report/report.d.ts.map +1 -0
- package/build/dist/kayenta/selectors/filterTemplatesSelectors.d.ts +21 -0
- package/build/dist/kayenta/selectors/filterTemplatesSelectors.d.ts.map +1 -0
- package/build/dist/kayenta/selectors/index.d.ts +25 -0
- package/build/dist/kayenta/selectors/index.d.ts.map +1 -0
- package/build/dist/kayenta/service/canaryConfig.service.d.ts +13 -0
- package/build/dist/kayenta/service/canaryConfig.service.d.ts.map +1 -0
- package/build/dist/kayenta/service/canaryRun.service.d.ts +7 -0
- package/build/dist/kayenta/service/canaryRun.service.d.ts.map +1 -0
- package/build/dist/kayenta/service/delegateFactory.d.ts +9 -0
- package/build/dist/kayenta/service/delegateFactory.d.ts.map +1 -0
- package/build/dist/kayenta/service/metricsServiceMetadata.service.d.ts +3 -0
- package/build/dist/kayenta/service/metricsServiceMetadata.service.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/AnalysisType.d.ts +13 -0
- package/build/dist/kayenta/stages/kayentaStage/AnalysisType.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/AnalysisType.spec.d.ts +2 -0
- package/build/dist/kayenta/stages/kayentaStage/AnalysisType.spec.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/CanaryExecutionLabel.d.ts +6 -0
- package/build/dist/kayenta/stages/kayentaStage/CanaryExecutionLabel.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/analysisType.component.d.ts +2 -0
- package/build/dist/kayenta/stages/kayentaStage/analysisType.component.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.component.d.ts +2 -0
- package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.component.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.d.ts +13 -0
- package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/forAnalysisType.component.d.ts +2 -0
- package/build/dist/kayenta/stages/kayentaStage/forAnalysisType.component.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.controller.d.ts +100 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.controller.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.d.ts +29 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.transformer.d.ts +12 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStage.transformer.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStageConfigSection.component.d.ts +2 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStageConfigSection.component.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.controller.d.ts +3 -0
- package/build/dist/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.controller.d.ts.map +1 -0
- package/build/dist/kayenta/stages/kayentaStage/stageTypes.d.ts +6 -0
- package/build/dist/kayenta/stages/kayentaStage/stageTypes.d.ts.map +1 -0
- package/build/dist/kayenta/utils/duration.d.ts +12 -0
- package/build/dist/kayenta/utils/duration.d.ts.map +1 -0
- package/build/dist/kayenta/utils/duration.spec.d.ts +2 -0
- package/build/dist/kayenta/utils/duration.spec.d.ts.map +1 -0
- package/build/dist/lazy-b3700c07.js +2 -0
- package/build/dist/lazy-b3700c07.js.map +1 -0
- package/build/dist/lazy.d.ts +6 -0
- package/build/dist/lazy.d.ts.map +1 -0
- package/build/dist/semioticGraph-552b48d5.js +2 -0
- package/build/dist/semioticGraph-552b48d5.js.map +1 -0
- package/build/dist/stub.d.ts +15 -0
- package/build/dist/stub.d.ts.map +1 -0
- package/package.json +7 -4
- package/.eslintrc.js +0 -1
- package/.huskyrc +0 -5
- package/.lintstagedrc.json +0 -4
- package/.prettierignore +0 -4
- package/.prettierrc.js +0 -1
- package/__mocks__/styleMock.js +0 -1
- package/__mocks__/version.json +0 -4
- package/babel.config.js +0 -3
- package/build.gradle +0 -67
- package/build_scripts/checkLicenses.js +0 -79
- package/gradle.properties +0 -0
- package/jest.config.js +0 -204
- package/jest.setup.js +0 -5
- package/rollup-plugin-angularjs-template-loader.js +0 -82
- package/rollup.config.js +0 -30
- package/src/kayenta/actions/creators.ts +0 -163
- package/src/kayenta/actions/index.ts +0 -98
- package/src/kayenta/canary.dataSource.bridge.ts +0 -53
- package/src/kayenta/canary.dataSource.stub.ts +0 -64
- package/src/kayenta/canary.help.ts +0 -136
- package/src/kayenta/canary.less +0 -168
- package/src/kayenta/canary.settings.ts +0 -26
- package/src/kayenta/canary.tsx +0 -67
- package/src/kayenta/components/canaryScore.component.less +0 -77
- package/src/kayenta/components/canaryScore.component.ts +0 -12
- package/src/kayenta/components/canaryScore.tsx +0 -63
- package/src/kayenta/components/canaryScores.component.ts +0 -20
- package/src/kayenta/components/canaryScores.less +0 -22
- package/src/kayenta/components/canaryScores.tsx +0 -163
- package/src/kayenta/components/loadStates.tsx +0 -52
- package/src/kayenta/domain/ICanaryConfig.ts +0 -57
- package/src/kayenta/domain/ICanaryConfigSummary.ts +0 -7
- package/src/kayenta/domain/ICanaryConfigUpdateResponse.ts +0 -3
- package/src/kayenta/domain/ICanaryExecutionStatusResult.ts +0 -72
- package/src/kayenta/domain/ICanaryJudgeResult.ts +0 -51
- package/src/kayenta/domain/ICanaryJudgeResultSummary.ts +0 -5
- package/src/kayenta/domain/ICanaryScoreThresholds.ts +0 -4
- package/src/kayenta/domain/IJudge.ts +0 -5
- package/src/kayenta/domain/IKayentaAccount.ts +0 -14
- package/src/kayenta/domain/IKayentaStageConfig.ts +0 -58
- package/src/kayenta/domain/IMetricSetPair.ts +0 -17
- package/src/kayenta/domain/IMetricsServiceMetadata.ts +0 -2
- package/src/kayenta/domain/MetricClassificationLabel.ts +0 -8
- package/src/kayenta/domain/ScoreClassificationLabel.ts +0 -7
- package/src/kayenta/edit/changeMetricGroupModal.tsx +0 -107
- package/src/kayenta/edit/configDetail.tsx +0 -31
- package/src/kayenta/edit/configDetailActionButtons.tsx +0 -24
- package/src/kayenta/edit/configDetailHeader.tsx +0 -104
- package/src/kayenta/edit/configDetailLoadStates.tsx +0 -36
- package/src/kayenta/edit/configDetailLoader.tsx +0 -60
- package/src/kayenta/edit/configJson.less +0 -42
- package/src/kayenta/edit/configJsonModal.tsx +0 -158
- package/src/kayenta/edit/configList.less +0 -7
- package/src/kayenta/edit/configList.tsx +0 -57
- package/src/kayenta/edit/copyConfigButton.tsx +0 -34
- package/src/kayenta/edit/createConfigButton.tsx +0 -34
- package/src/kayenta/edit/deleteModal.tsx +0 -87
- package/src/kayenta/edit/edit.tsx +0 -24
- package/src/kayenta/edit/editMetricEffectSizes.tsx +0 -186
- package/src/kayenta/edit/editMetricModal.less +0 -9
- package/src/kayenta/edit/editMetricModal.spec.tsx +0 -129
- package/src/kayenta/edit/editMetricModal.tsx +0 -294
- package/src/kayenta/edit/editMetricValidation.spec.ts +0 -63
- package/src/kayenta/edit/editMetricValidation.ts +0 -50
- package/src/kayenta/edit/filterTemplateSelector.less +0 -15
- package/src/kayenta/edit/filterTemplateSelector.spec.tsx +0 -106
- package/src/kayenta/edit/filterTemplateSelector.tsx +0 -194
- package/src/kayenta/edit/filterTemplatesValidation.spec.ts +0 -108
- package/src/kayenta/edit/filterTemplatesValidation.ts +0 -95
- package/src/kayenta/edit/footer.less +0 -30
- package/src/kayenta/edit/footer.tsx +0 -12
- package/src/kayenta/edit/groupName.tsx +0 -80
- package/src/kayenta/edit/groupTabs.tsx +0 -106
- package/src/kayenta/edit/groupWeight.tsx +0 -80
- package/src/kayenta/edit/groupWeights.tsx +0 -38
- package/src/kayenta/edit/inlineTemplateEditor.spec.tsx +0 -42
- package/src/kayenta/edit/inlineTemplateEditor.tsx +0 -61
- package/src/kayenta/edit/judgeSelect.tsx +0 -82
- package/src/kayenta/edit/metricConfigurerDelegator.tsx +0 -30
- package/src/kayenta/edit/metricList.less +0 -21
- package/src/kayenta/edit/metricList.tsx +0 -215
- package/src/kayenta/edit/metricStoreSelector.tsx +0 -66
- package/src/kayenta/edit/nameAndDescription.tsx +0 -90
- package/src/kayenta/edit/openConfigJsonModalButton.tsx +0 -33
- package/src/kayenta/edit/openDeleteModalButton.tsx +0 -50
- package/src/kayenta/edit/ownedBy.tsx +0 -34
- package/src/kayenta/edit/save.tsx +0 -19
- package/src/kayenta/edit/saveConfigButton.tsx +0 -65
- package/src/kayenta/edit/saveConfigError.tsx +0 -59
- package/src/kayenta/edit/scoring.tsx +0 -35
- package/src/kayenta/edit/selectConfig.tsx +0 -10
- package/src/kayenta/edit/validationErrors.tsx +0 -39
- package/src/kayenta/layout/addNewButton.tsx +0 -20
- package/src/kayenta/layout/centeredDetail.tsx +0 -13
- package/src/kayenta/layout/deleteButton.tsx +0 -11
- package/src/kayenta/layout/disableable.tsx +0 -87
- package/src/kayenta/layout/formList.tsx +0 -26
- package/src/kayenta/layout/formRow.tsx +0 -36
- package/src/kayenta/layout/formattedDate.tsx +0 -14
- package/src/kayenta/layout/keyValueList.less +0 -20
- package/src/kayenta/layout/keyValueList.tsx +0 -114
- package/src/kayenta/layout/list.less +0 -9
- package/src/kayenta/layout/list.spec.tsx +0 -83
- package/src/kayenta/layout/list.tsx +0 -73
- package/src/kayenta/layout/listDetail.tsx +0 -33
- package/src/kayenta/layout/radioChoice.tsx +0 -29
- package/src/kayenta/layout/styleguide.tsx +0 -16
- package/src/kayenta/layout/table/nativeTable.tsx +0 -51
- package/src/kayenta/layout/table/nativeTableHeader.tsx +0 -26
- package/src/kayenta/layout/table/table.tsx +0 -56
- package/src/kayenta/layout/table/tableColumn.ts +0 -7
- package/src/kayenta/layout/table/tableHeader.tsx +0 -23
- package/src/kayenta/layout/tabs.tsx +0 -26
- package/src/kayenta/layout/titledSection.less +0 -16
- package/src/kayenta/layout/titledSection.tsx +0 -20
- package/src/kayenta/layout/titledSubsection.less +0 -11
- package/src/kayenta/layout/titledSubsection.tsx +0 -22
- package/src/kayenta/manualAnalysis/ManualAnalysisModal.tsx +0 -716
- package/src/kayenta/metricStore/atlas/atlasMetricConfigurer.tsx +0 -130
- package/src/kayenta/metricStore/atlas/index.ts +0 -8
- package/src/kayenta/metricStore/datadog/index.ts +0 -9
- package/src/kayenta/metricStore/datadog/metricConfigurer.tsx +0 -90
- package/src/kayenta/metricStore/datadog/metricTypeSelector.spec.tsx +0 -59
- package/src/kayenta/metricStore/datadog/metricTypeSelector.tsx +0 -73
- package/src/kayenta/metricStore/graphite/index.ts +0 -8
- package/src/kayenta/metricStore/graphite/metricConfigurer.tsx +0 -54
- package/src/kayenta/metricStore/graphite/metricTypeSelector.tsx +0 -80
- package/src/kayenta/metricStore/graphite/typeahead.less +0 -3
- package/src/kayenta/metricStore/metricStoreConfig.service.ts +0 -12
- package/src/kayenta/metricStore/newrelic/index.ts +0 -8
- package/src/kayenta/metricStore/newrelic/metricConfigurer.tsx +0 -58
- package/src/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.ts +0 -14
- package/src/kayenta/metricStore/prometheus/index.ts +0 -12
- package/src/kayenta/metricStore/prometheus/metricConfigurer.tsx +0 -157
- package/src/kayenta/metricStore/prometheus/metricTypeSelector.less +0 -5
- package/src/kayenta/metricStore/prometheus/metricTypeSelector.spec.tsx +0 -62
- package/src/kayenta/metricStore/prometheus/metricTypeSelector.tsx +0 -144
- package/src/kayenta/metricStore/prometheus/queryTypeSelectors.spec.ts +0 -61
- package/src/kayenta/metricStore/prometheus/queryTypeSelectors.ts +0 -38
- package/src/kayenta/metricStore/signalfx/domain/ISignalFxCanaryMetricSetQueryConfig.ts +0 -7
- package/src/kayenta/metricStore/signalfx/index.ts +0 -8
- package/src/kayenta/metricStore/signalfx/metricConfigurer.less +0 -10
- package/src/kayenta/metricStore/signalfx/metricConfigurer.tsx +0 -187
- package/src/kayenta/metricStore/stackdriver/domain/IStackdriverCanaryMetricSetQueryConfig.ts +0 -9
- package/src/kayenta/metricStore/stackdriver/domain/IStackdriverMetricDescriptor.ts +0 -17
- package/src/kayenta/metricStore/stackdriver/index.ts +0 -12
- package/src/kayenta/metricStore/stackdriver/metricConfigurer.tsx +0 -144
- package/src/kayenta/metricStore/stackdriver/metricTypeSelector.spec.tsx +0 -92
- package/src/kayenta/metricStore/stackdriver/metricTypeSelector.tsx +0 -113
- package/src/kayenta/middleware/actionInterceptor.ts +0 -29
- package/src/kayenta/middleware/asyncDispatch.ts +0 -37
- package/src/kayenta/middleware/epics.ts +0 -211
- package/src/kayenta/navigation/canary.states.stub.ts +0 -28
- package/src/kayenta/navigation/canary.states.ts +0 -182
- package/src/kayenta/reducers/app.ts +0 -56
- package/src/kayenta/reducers/asyncRequest.ts +0 -5
- package/src/kayenta/reducers/data.ts +0 -169
- package/src/kayenta/reducers/editingTemplate.ts +0 -54
- package/src/kayenta/reducers/group.ts +0 -82
- package/src/kayenta/reducers/index.ts +0 -245
- package/src/kayenta/reducers/prometheusMetricConfig.spec.ts +0 -33
- package/src/kayenta/reducers/prometheusMetricConfig.ts +0 -56
- package/src/kayenta/reducers/selectedConfig.spec.ts +0 -190
- package/src/kayenta/reducers/selectedConfig.ts +0 -566
- package/src/kayenta/reducers/selectedRun.ts +0 -101
- package/src/kayenta/reducers/signalFxMetricConfig.ts +0 -36
- package/src/kayenta/reducers/stackdriverMetricConfig.spec.ts +0 -33
- package/src/kayenta/reducers/stackdriverMetricConfig.ts +0 -41
- package/src/kayenta/reducers/templates.spec.ts +0 -192
- package/src/kayenta/reducers/validators.ts +0 -118
- package/src/kayenta/report/detail/allMetricResultsHeader.tsx +0 -32
- package/src/kayenta/report/detail/clickableHeader.tsx +0 -21
- package/src/kayenta/report/detail/colors.ts +0 -47
- package/src/kayenta/report/detail/detail.less +0 -16
- package/src/kayenta/report/detail/detail.tsx +0 -48
- package/src/kayenta/report/detail/detailLoader.tsx +0 -55
- package/src/kayenta/report/detail/graph/graph.tsx +0 -37
- package/src/kayenta/report/detail/graph/metricSetPairGraph.service.ts +0 -35
- package/src/kayenta/report/detail/graph/semiotic/boxplot.less +0 -45
- package/src/kayenta/report/detail/graph/semiotic/boxplot.tsx +0 -283
- package/src/kayenta/report/detail/graph/semiotic/chartHeader.tsx +0 -19
- package/src/kayenta/report/detail/graph/semiotic/chartLegend.less +0 -26
- package/src/kayenta/report/detail/graph/semiotic/chartLegend.tsx +0 -42
- package/src/kayenta/report/detail/graph/semiotic/circleIcon.tsx +0 -16
- package/src/kayenta/report/detail/graph/semiotic/config.less +0 -5
- package/src/kayenta/report/detail/graph/semiotic/config.ts +0 -38
- package/src/kayenta/report/detail/graph/semiotic/customAxisTickLabel.tsx +0 -17
- package/src/kayenta/report/detail/graph/semiotic/declarations/labella.d.ts +0 -16
- package/src/kayenta/report/detail/graph/semiotic/declarations/react-container-dimensions.d.ts +0 -3
- package/src/kayenta/report/detail/graph/semiotic/declarations/semiotic.d.ts +0 -160
- package/src/kayenta/report/detail/graph/semiotic/differenceArea.less +0 -17
- package/src/kayenta/report/detail/graph/semiotic/differenceArea.tsx +0 -186
- package/src/kayenta/report/detail/graph/semiotic/histogram.less +0 -22
- package/src/kayenta/report/detail/graph/semiotic/histogram.tsx +0 -251
- package/src/kayenta/report/detail/graph/semiotic/index.tsx +0 -19
- package/src/kayenta/report/detail/graph/semiotic/noValidDataSign.less +0 -5
- package/src/kayenta/report/detail/graph/semiotic/noValidDataSign.tsx +0 -10
- package/src/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.less +0 -6
- package/src/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.tsx +0 -58
- package/src/kayenta/report/detail/graph/semiotic/semioticGraph.less +0 -53
- package/src/kayenta/report/detail/graph/semiotic/semioticGraph.tsx +0 -49
- package/src/kayenta/report/detail/graph/semiotic/timeSeries.less +0 -42
- package/src/kayenta/report/detail/graph/semiotic/timeSeries.tsx +0 -473
- package/src/kayenta/report/detail/graph/semiotic/tooltip.tsx +0 -55
- package/src/kayenta/report/detail/graph/semiotic/utils.ts +0 -90
- package/src/kayenta/report/detail/graphTypeSelector.less +0 -4
- package/src/kayenta/report/detail/graphTypeSelector.tsx +0 -50
- package/src/kayenta/report/detail/groupScores.tsx +0 -68
- package/src/kayenta/report/detail/header.less +0 -70
- package/src/kayenta/report/detail/header.tsx +0 -39
- package/src/kayenta/report/detail/headerArrow.tsx +0 -13
- package/src/kayenta/report/detail/loadStates.tsx +0 -31
- package/src/kayenta/report/detail/metricResultActions.less +0 -29
- package/src/kayenta/report/detail/metricResultActions.tsx +0 -87
- package/src/kayenta/report/detail/metricResultClassification.tsx +0 -22
- package/src/kayenta/report/detail/metricResultDetail.tsx +0 -20
- package/src/kayenta/report/detail/metricResultDetailLayout.tsx +0 -19
- package/src/kayenta/report/detail/metricResultDeviation.tsx +0 -25
- package/src/kayenta/report/detail/metricResultStats.less +0 -9
- package/src/kayenta/report/detail/metricResultStats.tsx +0 -120
- package/src/kayenta/report/detail/metricResults.less +0 -12
- package/src/kayenta/report/detail/metricResults.tsx +0 -52
- package/src/kayenta/report/detail/metricResultsClassificationFilters.tsx +0 -65
- package/src/kayenta/report/detail/metricResultsColumns.tsx +0 -27
- package/src/kayenta/report/detail/metricResultsList.less +0 -44
- package/src/kayenta/report/detail/metricResultsList.tsx +0 -120
- package/src/kayenta/report/detail/metricSetPairLoadStates.tsx +0 -22
- package/src/kayenta/report/detail/multipleResultsTable.tsx +0 -81
- package/src/kayenta/report/detail/reportException.tsx +0 -57
- package/src/kayenta/report/detail/reportExplanation.less +0 -12
- package/src/kayenta/report/detail/reportExplanation.tsx +0 -32
- package/src/kayenta/report/detail/reportMetadata.tsx +0 -167
- package/src/kayenta/report/detail/reportScores.less +0 -47
- package/src/kayenta/report/detail/reportScores.tsx +0 -80
- package/src/kayenta/report/detail/score.tsx +0 -33
- package/src/kayenta/report/detail/sourceLinks.tsx +0 -69
- package/src/kayenta/report/list/configLink.tsx +0 -32
- package/src/kayenta/report/list/executionList.less +0 -7
- package/src/kayenta/report/list/loadStates.tsx +0 -32
- package/src/kayenta/report/list/pipelineLink.tsx +0 -15
- package/src/kayenta/report/list/reportLink.tsx +0 -33
- package/src/kayenta/report/list/table.tsx +0 -309
- package/src/kayenta/report/report.tsx +0 -11
- package/src/kayenta/selectors/filterTemplatesSelectors.ts +0 -87
- package/src/kayenta/selectors/index.ts +0 -62
- package/src/kayenta/service/canaryConfig.service.ts +0 -122
- package/src/kayenta/service/canaryRun.service.ts +0 -60
- package/src/kayenta/service/delegateFactory.ts +0 -24
- package/src/kayenta/service/metricsServiceMetadata.service.ts +0 -9
- package/src/kayenta/stages/kayentaStage/AnalysisType.spec.tsx +0 -47
- package/src/kayenta/stages/kayentaStage/AnalysisType.tsx +0 -49
- package/src/kayenta/stages/kayentaStage/CanaryExecutionLabel.tsx +0 -26
- package/src/kayenta/stages/kayentaStage/analysisType.component.ts +0 -12
- package/src/kayenta/stages/kayentaStage/canaryRunSummaries.component.ts +0 -12
- package/src/kayenta/stages/kayentaStage/canaryRunSummaries.less +0 -5
- package/src/kayenta/stages/kayentaStage/canaryRunSummaries.tsx +0 -136
- package/src/kayenta/stages/kayentaStage/forAnalysisType.component.ts +0 -45
- package/src/kayenta/stages/kayentaStage/kayentaStage.controller.ts +0 -789
- package/src/kayenta/stages/kayentaStage/kayentaStage.html +0 -528
- package/src/kayenta/stages/kayentaStage/kayentaStage.less +0 -5
- package/src/kayenta/stages/kayentaStage/kayentaStage.transformer.ts +0 -179
- package/src/kayenta/stages/kayentaStage/kayentaStage.ts +0 -221
- package/src/kayenta/stages/kayentaStage/kayentaStageConfigSection.component.ts +0 -21
- package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.controller.ts +0 -88
- package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.html +0 -114
- package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.less +0 -6
- package/src/kayenta/stages/kayentaStage/stageTypes.ts +0 -5
- package/src/kayenta/utils/duration.spec.ts +0 -69
- package/src/kayenta/utils/duration.ts +0 -48
- package/src/lazy.ts +0 -29
- package/src/stub.ts +0 -60
- package/tsconfig.json +0 -11
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { StateDeclaration, UIRouter } from '@uirouter/core';
|
|
2
|
-
|
|
3
|
-
import { ApplicationStateProvider } from '@spinnaker/core';
|
|
4
|
-
|
|
5
|
-
export function registerKayentaStateStubs(applicationState: ApplicationStateProvider, uiRouter: UIRouter) {
|
|
6
|
-
const states: StateDeclaration[] = [
|
|
7
|
-
{
|
|
8
|
-
name: 'canary',
|
|
9
|
-
url: '/canary',
|
|
10
|
-
lazyLoad: () =>
|
|
11
|
-
import(/* webpackChunkName: "Lazy-Kayenta-Tabs" */ '../../lazy').then((m) =>
|
|
12
|
-
m.lazyInitializeKayenta(applicationState, uiRouter),
|
|
13
|
-
),
|
|
14
|
-
},
|
|
15
|
-
{ name: 'canary.canaryConfig', url: '/config' },
|
|
16
|
-
{ name: 'canary.canaryConfig.configDetail', url: '/:id?copy&new' },
|
|
17
|
-
{ name: 'canary.canaryConfig.configDefault', url: '' },
|
|
18
|
-
{ name: 'canary.report', url: '/report?count' },
|
|
19
|
-
{ name: 'canary.report.reportDetail', url: '/:configId/:runId' },
|
|
20
|
-
{ name: 'canary.report.reportDefault', url: '' },
|
|
21
|
-
];
|
|
22
|
-
|
|
23
|
-
['home.project', 'home.applications'].forEach((prefix) => {
|
|
24
|
-
states
|
|
25
|
-
.map((state) => ({ ...state, name: `${prefix}.application.${state.name}` } as StateDeclaration))
|
|
26
|
-
.forEach((state) => uiRouter.stateRegistry.register(state as StateDeclaration));
|
|
27
|
-
});
|
|
28
|
-
}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { Transition, UIRouter } from '@uirouter/core';
|
|
2
|
-
import * as Creators from 'kayenta/actions/creators';
|
|
3
|
-
import Canary, { canaryStore } from 'kayenta/canary';
|
|
4
|
-
import ConfigDetailLoader from 'kayenta/edit/configDetailLoader';
|
|
5
|
-
import CanaryConfigEdit from 'kayenta/edit/edit';
|
|
6
|
-
import CanaryConfigSave from 'kayenta/edit/save';
|
|
7
|
-
import SelectConfig from 'kayenta/edit/selectConfig';
|
|
8
|
-
import ResultDetailLoader from 'kayenta/report/detail/detailLoader';
|
|
9
|
-
import ExecutionListLoadStates from 'kayenta/report/list/loadStates';
|
|
10
|
-
import Report from 'kayenta/report/report';
|
|
11
|
-
import { $rootScope } from 'ngimport';
|
|
12
|
-
|
|
13
|
-
import { ApplicationStateProvider, INestedState } from '@spinnaker/core';
|
|
14
|
-
|
|
15
|
-
import '../canary.dataSource.bridge';
|
|
16
|
-
import { CanarySettings } from '../canary.settings';
|
|
17
|
-
|
|
18
|
-
export function registerStates($uiRouter: UIRouter, applicationStateProvider: ApplicationStateProvider) {
|
|
19
|
-
const configDetail: INestedState = {
|
|
20
|
-
name: 'configDetail',
|
|
21
|
-
url: '/:id?copy&new',
|
|
22
|
-
views: {
|
|
23
|
-
detail: {
|
|
24
|
-
component: ConfigDetailLoader,
|
|
25
|
-
$type: 'react',
|
|
26
|
-
},
|
|
27
|
-
footer: {
|
|
28
|
-
component: CanaryConfigSave,
|
|
29
|
-
$type: 'react',
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
params: {
|
|
33
|
-
copy: { type: 'boolean', value: false, squash: true },
|
|
34
|
-
new: { type: 'boolean', value: false, squash: true },
|
|
35
|
-
},
|
|
36
|
-
resolve: [
|
|
37
|
-
{
|
|
38
|
-
token: 'configNameStream',
|
|
39
|
-
deps: [UIRouter],
|
|
40
|
-
resolveFn: (uiRouter: any) => uiRouter.globals.params$,
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
const configDefault: INestedState = {
|
|
46
|
-
name: 'configDefault',
|
|
47
|
-
url: '',
|
|
48
|
-
views: {
|
|
49
|
-
detail: {
|
|
50
|
-
component: SelectConfig,
|
|
51
|
-
$type: 'react',
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
const config: INestedState = {
|
|
57
|
-
name: 'canaryConfig',
|
|
58
|
-
url: '/config',
|
|
59
|
-
views: {
|
|
60
|
-
canary: {
|
|
61
|
-
component: CanaryConfigEdit,
|
|
62
|
-
$type: 'react',
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
children: [configDefault, configDetail],
|
|
66
|
-
redirectTo: (transition) => transition.to().name + '.configDefault',
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
const reportDetail: INestedState = {
|
|
70
|
-
name: 'reportDetail',
|
|
71
|
-
url: '/:configId/:runId',
|
|
72
|
-
views: {
|
|
73
|
-
detail: {
|
|
74
|
-
component: ResultDetailLoader,
|
|
75
|
-
$type: 'react',
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
resolve: [
|
|
79
|
-
{
|
|
80
|
-
token: 'resultIdStream',
|
|
81
|
-
deps: [UIRouter],
|
|
82
|
-
resolveFn: (uiRouter: any) => uiRouter.globals.params$,
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
const reportDefault: INestedState = {
|
|
88
|
-
name: 'reportDefault',
|
|
89
|
-
url: '',
|
|
90
|
-
views: {
|
|
91
|
-
detail: {
|
|
92
|
-
component: ExecutionListLoadStates,
|
|
93
|
-
$type: 'react',
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
const report: INestedState = {
|
|
99
|
-
name: 'report',
|
|
100
|
-
url: '/report?count',
|
|
101
|
-
views: {
|
|
102
|
-
canary: {
|
|
103
|
-
component: Report,
|
|
104
|
-
$type: 'react',
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
params: {
|
|
108
|
-
count: {
|
|
109
|
-
type: 'int',
|
|
110
|
-
value: CanarySettings.defaultExecutionCount ?? CanarySettings.executionsCountOptions?.[0] ?? 20,
|
|
111
|
-
squash: true,
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
children: [reportDetail, reportDefault],
|
|
115
|
-
redirectTo: (transition) => transition.to().name + '.reportDefault',
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
const canaryRoot: INestedState = {
|
|
119
|
-
abstract: true,
|
|
120
|
-
name: 'canary',
|
|
121
|
-
url: '/canary',
|
|
122
|
-
views: {
|
|
123
|
-
insight: {
|
|
124
|
-
component: Canary,
|
|
125
|
-
$type: 'react',
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
data: {
|
|
129
|
-
pageTitleSection: {
|
|
130
|
-
title: 'Canary',
|
|
131
|
-
},
|
|
132
|
-
},
|
|
133
|
-
children: [config, report],
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
applicationStateProvider.addChildState(canaryRoot);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export function registerTransitionHooks($uiRouter: UIRouter) {
|
|
140
|
-
// When leaving a config detail state, clear that config.
|
|
141
|
-
$uiRouter.transitionService.onBefore(
|
|
142
|
-
{
|
|
143
|
-
from: '**.configDetail.**',
|
|
144
|
-
to: (state) => !state.name.includes('configDetail'),
|
|
145
|
-
},
|
|
146
|
-
() => {
|
|
147
|
-
canaryStore.dispatch(Creators.clearSelectedConfig());
|
|
148
|
-
},
|
|
149
|
-
);
|
|
150
|
-
|
|
151
|
-
// Prompts confirmation for page navigation if config hasn't been saved.
|
|
152
|
-
// Should be possible with a $uiRouter transition hook, but it's not.
|
|
153
|
-
$rootScope.$on('$stateChangeStart', (event) => {
|
|
154
|
-
const state = canaryStore.getState();
|
|
155
|
-
const warningMessage = 'You have unsaved changes.\nAre you sure you want to navigate away from this page?';
|
|
156
|
-
if (state.selectedConfig && !state.selectedConfig.isInSyncWithServer) {
|
|
157
|
-
if (!window.confirm(warningMessage)) {
|
|
158
|
-
event.preventDefault();
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
|
|
163
|
-
// Prompts confirmation for page reload if config hasn't been saved.
|
|
164
|
-
$uiRouter.transitionService.onEnter({ to: '**.configDetail.**' }, () => {
|
|
165
|
-
window.onbeforeunload = () => {
|
|
166
|
-
const state = canaryStore.getState();
|
|
167
|
-
// Must return `null` if reload should be allowed.
|
|
168
|
-
return (state.selectedConfig && !state.selectedConfig.isInSyncWithServer) || null;
|
|
169
|
-
};
|
|
170
|
-
});
|
|
171
|
-
|
|
172
|
-
// Clears reload hook when leaving canary config view.
|
|
173
|
-
$uiRouter.transitionService.onExit({ from: '**.configDetail.**' }, () => {
|
|
174
|
-
window.onbeforeunload = undefined;
|
|
175
|
-
});
|
|
176
|
-
|
|
177
|
-
$uiRouter.transitionService.onSuccess({ to: '**.report.**' }, (transition: Transition) => {
|
|
178
|
-
if (transition.params('from').count !== transition.params('to').count) {
|
|
179
|
-
canaryStore.dispatch(Creators.setExecutionsCount({ count: transition.params('to').count }));
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Action, combineReducers, Reducer } from 'redux';
|
|
2
|
-
import { combineActions, handleActions } from 'redux-actions';
|
|
3
|
-
|
|
4
|
-
import * as Actions from '../actions';
|
|
5
|
-
import { CanarySettings } from '../canary.settings';
|
|
6
|
-
import { ConfigJsonModalTabState } from '../edit/configJsonModal';
|
|
7
|
-
|
|
8
|
-
export interface IAppState {
|
|
9
|
-
deleteConfigModalOpen: boolean;
|
|
10
|
-
configJsonModalOpen: boolean;
|
|
11
|
-
configJsonModalTabState: ConfigJsonModalTabState;
|
|
12
|
-
disableConfigEdit: boolean;
|
|
13
|
-
executionsCount: number;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const executionsCount = handleActions(
|
|
17
|
-
{
|
|
18
|
-
[Actions.SET_EXECUTIONS_COUNT]: (_state: IAppState, action: Action & any) => action.payload.count,
|
|
19
|
-
},
|
|
20
|
-
CanarySettings.defaultExecutionCount ?? CanarySettings.executionsCountOptions?.[0] ?? 20,
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
const deleteConfigModalOpen = handleActions(
|
|
24
|
-
{
|
|
25
|
-
[Actions.DELETE_CONFIG_MODAL_OPEN]: () => true,
|
|
26
|
-
[combineActions(Actions.DELETE_CONFIG_MODAL_CLOSE, Actions.DELETE_CONFIG_SUCCESS)]: () => false,
|
|
27
|
-
},
|
|
28
|
-
false,
|
|
29
|
-
);
|
|
30
|
-
|
|
31
|
-
const configJsonModalOpen = handleActions(
|
|
32
|
-
{
|
|
33
|
-
[Actions.CONFIG_JSON_MODAL_OPEN]: () => true,
|
|
34
|
-
[combineActions(Actions.CONFIG_JSON_MODAL_CLOSE, Actions.SELECT_CONFIG)]: () => false,
|
|
35
|
-
},
|
|
36
|
-
false,
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
const configJsonModalTabState = handleActions(
|
|
40
|
-
{
|
|
41
|
-
[Actions.SET_CONFIG_JSON_MODAL_TAB_STATE]: (_state: ConfigJsonModalTabState, action: Action & any) =>
|
|
42
|
-
action.payload.state,
|
|
43
|
-
[Actions.CONFIG_JSON_MODAL_OPEN]: () => ConfigJsonModalTabState.Edit,
|
|
44
|
-
},
|
|
45
|
-
ConfigJsonModalTabState.Edit,
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
const disableConfigEdit = handleActions<boolean>({}, false);
|
|
49
|
-
|
|
50
|
-
export const app: Reducer<IAppState> = combineReducers<IAppState>({
|
|
51
|
-
executionsCount,
|
|
52
|
-
deleteConfigModalOpen,
|
|
53
|
-
configJsonModalOpen,
|
|
54
|
-
configJsonModalTabState,
|
|
55
|
-
disableConfigEdit,
|
|
56
|
-
});
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ICanaryConfig,
|
|
3
|
-
ICanaryConfigSummary,
|
|
4
|
-
ICanaryExecutionStatusResult,
|
|
5
|
-
IJudge,
|
|
6
|
-
IKayentaAccount,
|
|
7
|
-
IMetricsServiceMetadata,
|
|
8
|
-
} from 'kayenta/domain';
|
|
9
|
-
import { without } from 'lodash';
|
|
10
|
-
import { Action, combineReducers, Reducer } from 'redux';
|
|
11
|
-
import { handleActions } from 'redux-actions';
|
|
12
|
-
|
|
13
|
-
import { Application } from '@spinnaker/core';
|
|
14
|
-
|
|
15
|
-
import * as Actions from '../actions';
|
|
16
|
-
import { AsyncRequestState } from './asyncRequest';
|
|
17
|
-
|
|
18
|
-
interface IMetricsServiceMetadataState {
|
|
19
|
-
load: AsyncRequestState;
|
|
20
|
-
data: IMetricsServiceMetadata[];
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
interface IExecutionsState {
|
|
24
|
-
load: AsyncRequestState;
|
|
25
|
-
data: ICanaryExecutionStatusResult[];
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
interface IKayentaAccountsState {
|
|
29
|
-
load: AsyncRequestState;
|
|
30
|
-
data: IKayentaAccount[];
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface IDataState {
|
|
34
|
-
application: Application;
|
|
35
|
-
configSummaries: ICanaryConfigSummary[];
|
|
36
|
-
configs: ICanaryConfig[];
|
|
37
|
-
judges: IJudge[];
|
|
38
|
-
metricsServiceMetadata: IMetricsServiceMetadataState;
|
|
39
|
-
executions: IExecutionsState;
|
|
40
|
-
kayentaAccounts: IKayentaAccountsState;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export const application = handleActions(
|
|
44
|
-
{
|
|
45
|
-
[Actions.INITIALIZE]: (_state: Application, action: Action & any) => action.state.data.application,
|
|
46
|
-
},
|
|
47
|
-
null,
|
|
48
|
-
);
|
|
49
|
-
|
|
50
|
-
export const configSummaries = handleActions(
|
|
51
|
-
{
|
|
52
|
-
[Actions.INITIALIZE]: (_state: ICanaryConfigSummary, action: Action & any) => action.state.data.configSummaries,
|
|
53
|
-
[Actions.UPDATE_CONFIG_SUMMARIES]: (_state: ICanaryConfigSummary, action: Action & any) =>
|
|
54
|
-
action.payload.configSummaries,
|
|
55
|
-
},
|
|
56
|
-
[],
|
|
57
|
-
);
|
|
58
|
-
|
|
59
|
-
const configs = handleActions(
|
|
60
|
-
{
|
|
61
|
-
[Actions.LOAD_CONFIG_SUCCESS]: (state: ICanaryConfig[], action: Action & any): ICanaryConfig[] => {
|
|
62
|
-
if (state.some((config) => config.id === action.payload.config.id)) {
|
|
63
|
-
return without(
|
|
64
|
-
state,
|
|
65
|
-
state.find((config) => config.id === action.payload.config.id),
|
|
66
|
-
).concat([action.payload.config]);
|
|
67
|
-
} else {
|
|
68
|
-
return state.concat([action.payload.config]);
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
[],
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
const judges = handleActions(
|
|
76
|
-
{
|
|
77
|
-
[Actions.INITIALIZE]: (_state: IJudge[], action: Action & any): IJudge[] => action.state.data.judges,
|
|
78
|
-
[Actions.UPDATE_JUDGES]: (_state: IJudge[], action: Action & any): IJudge[] => action.payload.judges,
|
|
79
|
-
},
|
|
80
|
-
null,
|
|
81
|
-
);
|
|
82
|
-
|
|
83
|
-
const executions = combineReducers<IExecutionsState>({
|
|
84
|
-
data: handleActions(
|
|
85
|
-
{
|
|
86
|
-
[Actions.LOAD_EXECUTIONS_SUCCESS]: (_state: ICanaryExecutionStatusResult[], action: Action & any) =>
|
|
87
|
-
action.payload.executions,
|
|
88
|
-
},
|
|
89
|
-
[],
|
|
90
|
-
),
|
|
91
|
-
load: handleActions(
|
|
92
|
-
{
|
|
93
|
-
[Actions.LOAD_EXECUTIONS_REQUEST]: () => AsyncRequestState.Requesting,
|
|
94
|
-
[Actions.LOAD_EXECUTIONS_SUCCESS]: () => AsyncRequestState.Fulfilled,
|
|
95
|
-
[Actions.LOAD_EXECUTIONS_FAILURE]: () => AsyncRequestState.Failed,
|
|
96
|
-
},
|
|
97
|
-
AsyncRequestState.Fulfilled,
|
|
98
|
-
),
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
const metricsServiceMetadata = combineReducers<IMetricsServiceMetadataState>({
|
|
102
|
-
load: handleActions(
|
|
103
|
-
{
|
|
104
|
-
[Actions.LOAD_METRICS_SERVICE_METADATA_REQUEST]: () => AsyncRequestState.Requesting,
|
|
105
|
-
[Actions.LOAD_METRICS_SERVICE_METADATA_SUCCESS]: () => AsyncRequestState.Fulfilled,
|
|
106
|
-
[Actions.LOAD_METRICS_SERVICE_METADATA_FAILURE]: () => AsyncRequestState.Failed,
|
|
107
|
-
},
|
|
108
|
-
AsyncRequestState.Fulfilled,
|
|
109
|
-
),
|
|
110
|
-
data: handleActions(
|
|
111
|
-
{
|
|
112
|
-
[Actions.LOAD_METRICS_SERVICE_METADATA_SUCCESS]: (_state: IMetricsServiceMetadata[], action: Action & any) =>
|
|
113
|
-
action.payload.data,
|
|
114
|
-
[Actions.UPDATE_PROMETHEUS_METRIC_TYPE]: (state: IMetricsServiceMetadata, action: Action & any) => {
|
|
115
|
-
// When the user clears the Prometheus metric type dropdown,
|
|
116
|
-
// clear the backing set of metric descriptors, since they
|
|
117
|
-
// no longer apply to the filter.
|
|
118
|
-
return action.payload.metricName ? state : [];
|
|
119
|
-
},
|
|
120
|
-
[Actions.UPDATE_STACKDRIVER_METRIC_TYPE]: (state: IMetricsServiceMetadata, action: Action & any) => {
|
|
121
|
-
// When the user clears the Stackdriver metric type dropdown,
|
|
122
|
-
// clear the backing set of metric descriptors, since they
|
|
123
|
-
// no longer apply to the filter.
|
|
124
|
-
return action.payload.metricType ? state : [];
|
|
125
|
-
},
|
|
126
|
-
[Actions.UPDATE_DATADOG_METRIC_TYPE]: (state: IMetricsServiceMetadata, action: Action & any) => {
|
|
127
|
-
// When the user clears the Datadog metric type dropdown,
|
|
128
|
-
// clear the backing set of metric descriptors, since they
|
|
129
|
-
// no longer apply to the filter.
|
|
130
|
-
return action.payload.metricType ? state : [];
|
|
131
|
-
},
|
|
132
|
-
[Actions.UPDATE_NEWRELIC_SELECT]: (state: IMetricsServiceMetadata, action: Action & any) => {
|
|
133
|
-
return action.payload.select ? state : [];
|
|
134
|
-
},
|
|
135
|
-
[Actions.UPDATE_GRAPHITE_METRIC_NAME]: (state: IMetricsServiceMetadata, action: Action & any) => {
|
|
136
|
-
return action.payload.metricName ? state : [];
|
|
137
|
-
},
|
|
138
|
-
[Actions.EDIT_METRIC_BEGIN]: () => [],
|
|
139
|
-
},
|
|
140
|
-
[],
|
|
141
|
-
),
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
const kayentaAccounts = combineReducers<IKayentaAccountsState>({
|
|
145
|
-
load: handleActions<AsyncRequestState>(
|
|
146
|
-
{
|
|
147
|
-
[Actions.LOAD_KAYENTA_ACCOUNTS_REQUEST]: () => AsyncRequestState.Requesting,
|
|
148
|
-
[Actions.LOAD_KAYENTA_ACCOUNTS_SUCCESS]: () => AsyncRequestState.Fulfilled,
|
|
149
|
-
[Actions.LOAD_KAYENTA_ACCOUNTS_FAILURE]: () => AsyncRequestState.Failed,
|
|
150
|
-
},
|
|
151
|
-
AsyncRequestState.Requesting,
|
|
152
|
-
),
|
|
153
|
-
data: handleActions<IKayentaAccount[]>(
|
|
154
|
-
{
|
|
155
|
-
[Actions.LOAD_KAYENTA_ACCOUNTS_SUCCESS]: (_state, action: Action & any) => action.payload.accounts,
|
|
156
|
-
},
|
|
157
|
-
[],
|
|
158
|
-
),
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
export const data: Reducer<IDataState> = combineReducers<IDataState>({
|
|
162
|
-
application,
|
|
163
|
-
configSummaries,
|
|
164
|
-
judges,
|
|
165
|
-
configs,
|
|
166
|
-
executions,
|
|
167
|
-
metricsServiceMetadata,
|
|
168
|
-
kayentaAccounts,
|
|
169
|
-
});
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as Actions from 'kayenta/actions';
|
|
2
|
-
import { Action, combineReducers } from 'redux';
|
|
3
|
-
import { combineActions, handleActions } from 'redux-actions';
|
|
4
|
-
|
|
5
|
-
export interface IEditingTemplateState {
|
|
6
|
-
name: string;
|
|
7
|
-
editedName: string;
|
|
8
|
-
editedValue: string;
|
|
9
|
-
isNew: boolean;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const name = handleActions<string>(
|
|
13
|
-
{
|
|
14
|
-
[Actions.EDIT_TEMPLATE_BEGIN]: (_state, action: Action & any) => action.payload.name,
|
|
15
|
-
[Actions.EDIT_TEMPLATE_CANCEL]: () => null,
|
|
16
|
-
[Actions.ADD_TEMPLATE]: () => '',
|
|
17
|
-
},
|
|
18
|
-
null,
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
const editedName = handleActions<string>(
|
|
22
|
-
{
|
|
23
|
-
[combineActions(Actions.EDIT_TEMPLATE_BEGIN, Actions.EDIT_TEMPLATE_NAME)]: (_state, action: Action & any) =>
|
|
24
|
-
action.payload.name,
|
|
25
|
-
[Actions.EDIT_TEMPLATE_CANCEL]: () => null,
|
|
26
|
-
[Actions.ADD_TEMPLATE]: () => '',
|
|
27
|
-
},
|
|
28
|
-
null,
|
|
29
|
-
);
|
|
30
|
-
|
|
31
|
-
const editedValue = handleActions<string>(
|
|
32
|
-
{
|
|
33
|
-
[combineActions(Actions.EDIT_TEMPLATE_VALUE, Actions.EDIT_TEMPLATE_BEGIN)]: (_state, action: Action & any) =>
|
|
34
|
-
action.payload.value,
|
|
35
|
-
[Actions.EDIT_TEMPLATE_CANCEL]: () => null,
|
|
36
|
-
[Actions.ADD_TEMPLATE]: () => '',
|
|
37
|
-
},
|
|
38
|
-
null,
|
|
39
|
-
);
|
|
40
|
-
|
|
41
|
-
const isNew = handleActions<boolean>(
|
|
42
|
-
{
|
|
43
|
-
[Actions.ADD_TEMPLATE]: () => true,
|
|
44
|
-
[Actions.EDIT_TEMPLATE_CANCEL]: () => false,
|
|
45
|
-
},
|
|
46
|
-
false,
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
export const editingTemplate = combineReducers<IEditingTemplateState>({
|
|
50
|
-
name,
|
|
51
|
-
editedName,
|
|
52
|
-
editedValue,
|
|
53
|
-
isNew,
|
|
54
|
-
});
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { get } from 'lodash';
|
|
2
|
-
import { Action, combineReducers, Reducer } from 'redux';
|
|
3
|
-
import { combineActions, handleActions } from 'redux-actions';
|
|
4
|
-
|
|
5
|
-
import * as Actions from '../actions';
|
|
6
|
-
import { ICanaryMetricConfig, IGroupWeights } from '../domain/ICanaryConfig';
|
|
7
|
-
|
|
8
|
-
export interface IGroupState {
|
|
9
|
-
list: string[];
|
|
10
|
-
selected: string;
|
|
11
|
-
groupWeights: { [group: string]: number };
|
|
12
|
-
edit: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function groupsFromMetrics(metrics: ICanaryMetricConfig[] = []) {
|
|
16
|
-
const results = metrics
|
|
17
|
-
.reduce((groups, metric) => {
|
|
18
|
-
return groups.concat(metric.groups.filter((g: string) => !groups.includes(g)));
|
|
19
|
-
}, [])
|
|
20
|
-
.sort();
|
|
21
|
-
if (!results.length) {
|
|
22
|
-
results.push('Group 1');
|
|
23
|
-
}
|
|
24
|
-
return results;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const list = handleActions(
|
|
28
|
-
{
|
|
29
|
-
[Actions.SELECT_CONFIG]: (_state: string[], action: Action & any) =>
|
|
30
|
-
groupsFromMetrics(action.payload.config.metrics),
|
|
31
|
-
[Actions.ADD_METRIC]: (state: string[], action: Action & any) => {
|
|
32
|
-
const groups = action.payload.metric.groups;
|
|
33
|
-
return state.concat(groups.filter((g: string) => !state.includes(g)));
|
|
34
|
-
},
|
|
35
|
-
[Actions.ADD_GROUP]: (state: string[]) => {
|
|
36
|
-
let n = 1;
|
|
37
|
-
let name = null;
|
|
38
|
-
do {
|
|
39
|
-
name = 'Group ' + n;
|
|
40
|
-
n++;
|
|
41
|
-
} while (state.includes(name));
|
|
42
|
-
return state.concat([name]);
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
[],
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
const selected = handleActions(
|
|
49
|
-
{
|
|
50
|
-
[Actions.SELECT_GROUP]: (_state: string, action: Action & any) => action.payload.name,
|
|
51
|
-
[Actions.SELECT_CONFIG]: () => '',
|
|
52
|
-
},
|
|
53
|
-
'',
|
|
54
|
-
);
|
|
55
|
-
|
|
56
|
-
const groupWeights = handleActions(
|
|
57
|
-
{
|
|
58
|
-
[Actions.SELECT_CONFIG]: (_state: IGroupWeights, action: Action & any) =>
|
|
59
|
-
get(action, 'payload.config.classifier.groupWeights', {}),
|
|
60
|
-
[Actions.UPDATE_GROUP_WEIGHT]: (state: IGroupWeights, action: Action & any) => ({
|
|
61
|
-
...state,
|
|
62
|
-
[action.payload.group]: action.payload.weight,
|
|
63
|
-
}),
|
|
64
|
-
},
|
|
65
|
-
{},
|
|
66
|
-
);
|
|
67
|
-
|
|
68
|
-
const edit = handleActions(
|
|
69
|
-
{
|
|
70
|
-
[Actions.EDIT_GROUP_BEGIN]: (_state: string, action: Action & any) => action.payload.group,
|
|
71
|
-
[Actions.EDIT_GROUP_UPDATE]: (_state: string, action: Action & any) => action.payload.edit,
|
|
72
|
-
[combineActions(Actions.SELECT_GROUP, Actions.EDIT_GROUP_CONFIRM)]: () => null,
|
|
73
|
-
},
|
|
74
|
-
null,
|
|
75
|
-
);
|
|
76
|
-
|
|
77
|
-
export const group: Reducer<IGroupState> = combineReducers<IGroupState>({
|
|
78
|
-
list,
|
|
79
|
-
selected,
|
|
80
|
-
groupWeights,
|
|
81
|
-
edit,
|
|
82
|
-
});
|