@spinnaker/kayenta 2025.2.2 → 2025.2.4

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.
Files changed (734) hide show
  1. package/build/dist/index-8a3ef7a0.js +2 -0
  2. package/build/dist/index-8a3ef7a0.js.map +1 -0
  3. package/{src/index.ts → build/dist/index.d.ts} +1 -0
  4. package/build/dist/index.d.ts.map +1 -0
  5. package/build/dist/index.js +2 -0
  6. package/build/dist/index.js.map +1 -0
  7. package/build/dist/kayenta/actions/creators.d.ts +416 -0
  8. package/build/dist/kayenta/actions/creators.d.ts.map +1 -0
  9. package/build/dist/kayenta/actions/index.d.ts +99 -0
  10. package/build/dist/kayenta/actions/index.d.ts.map +1 -0
  11. package/build/dist/kayenta/canary.d.ts +16 -0
  12. package/build/dist/kayenta/canary.d.ts.map +1 -0
  13. package/build/dist/kayenta/canary.dataSource.bridge.d.ts +2 -0
  14. package/build/dist/kayenta/canary.dataSource.bridge.d.ts.map +1 -0
  15. package/build/dist/kayenta/canary.dataSource.stub.d.ts +9 -0
  16. package/build/dist/kayenta/canary.dataSource.stub.d.ts.map +1 -0
  17. package/build/dist/kayenta/canary.help.d.ts +2 -0
  18. package/build/dist/kayenta/canary.help.d.ts.map +1 -0
  19. package/build/dist/kayenta/canary.settings.d.ts +24 -0
  20. package/build/dist/kayenta/canary.settings.d.ts.map +1 -0
  21. package/build/dist/kayenta/components/canaryScore.component.d.ts +2 -0
  22. package/build/dist/kayenta/components/canaryScore.component.d.ts.map +1 -0
  23. package/build/dist/kayenta/components/canaryScore.d.ts +23 -0
  24. package/build/dist/kayenta/components/canaryScore.d.ts.map +1 -0
  25. package/build/dist/kayenta/components/canaryScores.component.d.ts +2 -0
  26. package/build/dist/kayenta/components/canaryScores.component.d.ts.map +1 -0
  27. package/build/dist/kayenta/components/canaryScores.d.ts +21 -0
  28. package/build/dist/kayenta/components/canaryScores.d.ts.map +1 -0
  29. package/build/dist/kayenta/components/loadStates.d.ts +15 -0
  30. package/build/dist/kayenta/components/loadStates.d.ts.map +1 -0
  31. package/build/dist/kayenta/domain/ICanaryConfig.d.ts +56 -0
  32. package/build/dist/kayenta/domain/ICanaryConfig.d.ts.map +1 -0
  33. package/build/dist/kayenta/domain/ICanaryConfigSummary.d.ts +8 -0
  34. package/build/dist/kayenta/domain/ICanaryConfigSummary.d.ts.map +1 -0
  35. package/build/dist/kayenta/domain/ICanaryConfigUpdateResponse.d.ts +4 -0
  36. package/build/dist/kayenta/domain/ICanaryConfigUpdateResponse.d.ts.map +1 -0
  37. package/build/dist/kayenta/domain/ICanaryExecutionStatusResult.d.ts +69 -0
  38. package/build/dist/kayenta/domain/ICanaryExecutionStatusResult.d.ts.map +1 -0
  39. package/build/dist/kayenta/domain/ICanaryJudgeResult.d.ts +48 -0
  40. package/build/dist/kayenta/domain/ICanaryJudgeResult.d.ts.map +1 -0
  41. package/build/dist/kayenta/domain/ICanaryJudgeResultSummary.d.ts +6 -0
  42. package/build/dist/kayenta/domain/ICanaryJudgeResultSummary.d.ts.map +1 -0
  43. package/build/dist/kayenta/domain/ICanaryScoreThresholds.d.ts +5 -0
  44. package/build/dist/kayenta/domain/ICanaryScoreThresholds.d.ts.map +1 -0
  45. package/build/dist/kayenta/domain/IJudge.d.ts +5 -0
  46. package/build/dist/kayenta/domain/IJudge.d.ts.map +1 -0
  47. package/build/dist/kayenta/domain/IKayentaAccount.d.ts +14 -0
  48. package/build/dist/kayenta/domain/IKayentaAccount.d.ts.map +1 -0
  49. package/build/dist/kayenta/domain/IKayentaStageConfig.d.ts +58 -0
  50. package/build/dist/kayenta/domain/IKayentaStageConfig.d.ts.map +1 -0
  51. package/build/dist/kayenta/domain/IMetricSetPair.d.ts +27 -0
  52. package/build/dist/kayenta/domain/IMetricSetPair.d.ts.map +1 -0
  53. package/build/dist/kayenta/domain/IMetricsServiceMetadata.d.ts +3 -0
  54. package/build/dist/kayenta/domain/IMetricsServiceMetadata.d.ts.map +1 -0
  55. package/{src/kayenta/domain/ISetupCanaryStage.ts → build/dist/kayenta/domain/ISetupCanaryStage.d.ts} +7 -7
  56. package/build/dist/kayenta/domain/ISetupCanaryStage.d.ts.map +1 -0
  57. package/build/dist/kayenta/domain/MetricClassificationLabel.d.ts +9 -0
  58. package/build/dist/kayenta/domain/MetricClassificationLabel.d.ts.map +1 -0
  59. package/build/dist/kayenta/domain/ScoreClassificationLabel.d.ts +8 -0
  60. package/build/dist/kayenta/domain/ScoreClassificationLabel.d.ts.map +1 -0
  61. package/{src/kayenta/domain/index.ts → build/dist/kayenta/domain/index.d.ts} +1 -0
  62. package/build/dist/kayenta/domain/index.d.ts.map +1 -0
  63. package/build/dist/kayenta/edit/changeMetricGroupModal.d.ts +18 -0
  64. package/build/dist/kayenta/edit/changeMetricGroupModal.d.ts.map +1 -0
  65. package/build/dist/kayenta/edit/configDetail.d.ts +2 -0
  66. package/build/dist/kayenta/edit/configDetail.d.ts.map +1 -0
  67. package/build/dist/kayenta/edit/configDetailActionButtons.d.ts +2 -0
  68. package/build/dist/kayenta/edit/configDetailActionButtons.d.ts.map +1 -0
  69. package/build/dist/kayenta/edit/configDetailHeader.d.ts +11 -0
  70. package/build/dist/kayenta/edit/configDetailHeader.d.ts.map +1 -0
  71. package/build/dist/kayenta/edit/configDetailLoadStates.d.ts +9 -0
  72. package/build/dist/kayenta/edit/configDetailLoadStates.d.ts.map +1 -0
  73. package/build/dist/kayenta/edit/configDetailLoader.d.ts +17 -0
  74. package/build/dist/kayenta/edit/configDetailLoader.d.ts.map +1 -0
  75. package/build/dist/kayenta/edit/configJsonModal.d.ts +28 -0
  76. package/build/dist/kayenta/edit/configJsonModal.d.ts.map +1 -0
  77. package/build/dist/kayenta/edit/configList.d.ts +12 -0
  78. package/build/dist/kayenta/edit/configList.d.ts.map +1 -0
  79. package/build/dist/kayenta/edit/copyConfigButton.d.ts +8 -0
  80. package/build/dist/kayenta/edit/copyConfigButton.d.ts.map +1 -0
  81. package/build/dist/kayenta/edit/createConfigButton.d.ts +8 -0
  82. package/build/dist/kayenta/edit/createConfigButton.d.ts.map +1 -0
  83. package/build/dist/kayenta/edit/deleteModal.d.ts +16 -0
  84. package/build/dist/kayenta/edit/deleteModal.d.ts.map +1 -0
  85. package/build/dist/kayenta/edit/edit.d.ts +2 -0
  86. package/build/dist/kayenta/edit/edit.d.ts.map +1 -0
  87. package/build/dist/kayenta/edit/editMetricEffectSizes.d.ts +16 -0
  88. package/build/dist/kayenta/edit/editMetricEffectSizes.d.ts.map +1 -0
  89. package/build/dist/kayenta/edit/editMetricModal.d.ts +27 -0
  90. package/build/dist/kayenta/edit/editMetricModal.d.ts.map +1 -0
  91. package/build/dist/kayenta/edit/editMetricModal.spec.d.ts +2 -0
  92. package/build/dist/kayenta/edit/editMetricModal.spec.d.ts.map +1 -0
  93. package/build/dist/kayenta/edit/editMetricValidation.d.ts +11 -0
  94. package/build/dist/kayenta/edit/editMetricValidation.d.ts.map +1 -0
  95. package/build/dist/kayenta/edit/editMetricValidation.spec.d.ts +2 -0
  96. package/build/dist/kayenta/edit/editMetricValidation.spec.d.ts.map +1 -0
  97. package/build/dist/kayenta/edit/filterTemplateSelector.d.ts +33 -0
  98. package/build/dist/kayenta/edit/filterTemplateSelector.d.ts.map +1 -0
  99. package/build/dist/kayenta/edit/filterTemplateSelector.spec.d.ts +2 -0
  100. package/build/dist/kayenta/edit/filterTemplateSelector.spec.d.ts.map +1 -0
  101. package/build/dist/kayenta/edit/filterTemplatesValidation.d.ts +29 -0
  102. package/build/dist/kayenta/edit/filterTemplatesValidation.d.ts.map +1 -0
  103. package/build/dist/kayenta/edit/filterTemplatesValidation.spec.d.ts +2 -0
  104. package/build/dist/kayenta/edit/filterTemplatesValidation.spec.d.ts.map +1 -0
  105. package/build/dist/kayenta/edit/footer.d.ts +6 -0
  106. package/build/dist/kayenta/edit/footer.d.ts.map +1 -0
  107. package/build/dist/kayenta/edit/groupName.d.ts +21 -0
  108. package/build/dist/kayenta/edit/groupName.d.ts.map +1 -0
  109. package/build/dist/kayenta/edit/groupTabs.d.ts +17 -0
  110. package/build/dist/kayenta/edit/groupTabs.d.ts.map +1 -0
  111. package/build/dist/kayenta/edit/groupWeight.d.ts +16 -0
  112. package/build/dist/kayenta/edit/groupWeight.d.ts.map +1 -0
  113. package/build/dist/kayenta/edit/groupWeights.d.ts +8 -0
  114. package/build/dist/kayenta/edit/groupWeights.d.ts.map +1 -0
  115. package/build/dist/kayenta/edit/inlineTemplateEditor.d.ts +14 -0
  116. package/build/dist/kayenta/edit/inlineTemplateEditor.d.ts.map +1 -0
  117. package/build/dist/kayenta/edit/inlineTemplateEditor.spec.d.ts +2 -0
  118. package/build/dist/kayenta/edit/inlineTemplateEditor.spec.d.ts.map +1 -0
  119. package/build/dist/kayenta/edit/judgeSelect.d.ts +19 -0
  120. package/build/dist/kayenta/edit/judgeSelect.d.ts.map +1 -0
  121. package/build/dist/kayenta/edit/metricConfigurerDelegator.d.ts +9 -0
  122. package/build/dist/kayenta/edit/metricConfigurerDelegator.d.ts.map +1 -0
  123. package/build/dist/kayenta/edit/metricList.d.ts +23 -0
  124. package/build/dist/kayenta/edit/metricList.d.ts.map +1 -0
  125. package/build/dist/kayenta/edit/metricStoreSelector.d.ts +12 -0
  126. package/build/dist/kayenta/edit/metricStoreSelector.d.ts.map +1 -0
  127. package/build/dist/kayenta/edit/nameAndDescription.d.ts +14 -0
  128. package/build/dist/kayenta/edit/nameAndDescription.d.ts.map +1 -0
  129. package/build/dist/kayenta/edit/openConfigJsonModalButton.d.ts +8 -0
  130. package/build/dist/kayenta/edit/openConfigJsonModalButton.d.ts.map +1 -0
  131. package/build/dist/kayenta/edit/openDeleteModalButton.d.ts +11 -0
  132. package/build/dist/kayenta/edit/openDeleteModalButton.d.ts.map +1 -0
  133. package/build/dist/kayenta/edit/ownedBy.d.ts +7 -0
  134. package/build/dist/kayenta/edit/ownedBy.d.ts.map +1 -0
  135. package/build/dist/kayenta/edit/save.d.ts +2 -0
  136. package/build/dist/kayenta/edit/save.d.ts.map +1 -0
  137. package/build/dist/kayenta/edit/saveConfigButton.d.ts +14 -0
  138. package/build/dist/kayenta/edit/saveConfigButton.d.ts.map +1 -0
  139. package/build/dist/kayenta/edit/saveConfigError.d.ts +13 -0
  140. package/build/dist/kayenta/edit/saveConfigError.d.ts.map +1 -0
  141. package/build/dist/kayenta/edit/scoring.d.ts +8 -0
  142. package/build/dist/kayenta/edit/scoring.d.ts.map +1 -0
  143. package/build/dist/kayenta/edit/selectConfig.d.ts +2 -0
  144. package/build/dist/kayenta/edit/selectConfig.d.ts.map +1 -0
  145. package/build/dist/kayenta/edit/validationErrors.d.ts +8 -0
  146. package/build/dist/kayenta/edit/validationErrors.d.ts.map +1 -0
  147. package/{src/kayenta/index.ts → build/dist/kayenta/index.d.ts} +1 -0
  148. package/build/dist/kayenta/index.d.ts.map +1 -0
  149. package/build/dist/kayenta/layout/addNewButton.d.ts +8 -0
  150. package/build/dist/kayenta/layout/addNewButton.d.ts.map +1 -0
  151. package/build/dist/kayenta/layout/centeredDetail.d.ts +5 -0
  152. package/build/dist/kayenta/layout/centeredDetail.d.ts.map +1 -0
  153. package/build/dist/kayenta/layout/deleteButton.d.ts +6 -0
  154. package/build/dist/kayenta/layout/deleteButton.d.ts.map +1 -0
  155. package/build/dist/kayenta/layout/disableable.d.ts +37 -0
  156. package/build/dist/kayenta/layout/disableable.d.ts.map +1 -0
  157. package/build/dist/kayenta/layout/formList.d.ts +5 -0
  158. package/build/dist/kayenta/layout/formList.d.ts.map +1 -0
  159. package/build/dist/kayenta/layout/formRow.d.ts +12 -0
  160. package/build/dist/kayenta/layout/formRow.d.ts.map +1 -0
  161. package/build/dist/kayenta/layout/formattedDate.d.ts +5 -0
  162. package/build/dist/kayenta/layout/formattedDate.d.ts.map +1 -0
  163. package/{src/kayenta/layout/index.ts → build/dist/kayenta/layout/index.d.ts} +1 -0
  164. package/build/dist/kayenta/layout/index.d.ts.map +1 -0
  165. package/build/dist/kayenta/layout/keyValueList.d.ts +29 -0
  166. package/build/dist/kayenta/layout/keyValueList.d.ts.map +1 -0
  167. package/build/dist/kayenta/layout/list.d.ts +21 -0
  168. package/build/dist/kayenta/layout/list.d.ts.map +1 -0
  169. package/build/dist/kayenta/layout/list.spec.d.ts +2 -0
  170. package/build/dist/kayenta/layout/list.spec.d.ts.map +1 -0
  171. package/build/dist/kayenta/layout/listDetail.d.ts +11 -0
  172. package/build/dist/kayenta/layout/listDetail.d.ts.map +1 -0
  173. package/build/dist/kayenta/layout/radioChoice.d.ts +9 -0
  174. package/build/dist/kayenta/layout/radioChoice.d.ts.map +1 -0
  175. package/build/dist/kayenta/layout/styleguide.d.ts +9 -0
  176. package/build/dist/kayenta/layout/styleguide.d.ts.map +1 -0
  177. package/{src/kayenta/layout/table/index.ts → build/dist/kayenta/layout/table/index.d.ts} +1 -0
  178. package/build/dist/kayenta/layout/table/index.d.ts.map +1 -0
  179. package/build/dist/kayenta/layout/table/nativeTable.d.ts +14 -0
  180. package/build/dist/kayenta/layout/table/nativeTable.d.ts.map +1 -0
  181. package/build/dist/kayenta/layout/table/nativeTableHeader.d.ts +8 -0
  182. package/build/dist/kayenta/layout/table/nativeTableHeader.d.ts.map +1 -0
  183. package/build/dist/kayenta/layout/table/table.d.ts +14 -0
  184. package/build/dist/kayenta/layout/table/table.d.ts.map +1 -0
  185. package/build/dist/kayenta/layout/table/tableColumn.d.ts +8 -0
  186. package/build/dist/kayenta/layout/table/tableColumn.d.ts.map +1 -0
  187. package/build/dist/kayenta/layout/table/tableHeader.d.ts +7 -0
  188. package/build/dist/kayenta/layout/table/tableHeader.d.ts.map +1 -0
  189. package/build/dist/kayenta/layout/tabs.d.ts +14 -0
  190. package/build/dist/kayenta/layout/tabs.d.ts.map +1 -0
  191. package/build/dist/kayenta/layout/titledSection.d.ts +7 -0
  192. package/build/dist/kayenta/layout/titledSection.d.ts.map +1 -0
  193. package/build/dist/kayenta/layout/titledSubsection.d.ts +8 -0
  194. package/build/dist/kayenta/layout/titledSubsection.d.ts.map +1 -0
  195. package/build/dist/kayenta/manualAnalysis/ManualAnalysisModal.d.ts +47 -0
  196. package/build/dist/kayenta/manualAnalysis/ManualAnalysisModal.d.ts.map +1 -0
  197. package/build/dist/kayenta/metricStore/atlas/atlasMetricConfigurer.d.ts +29 -0
  198. package/build/dist/kayenta/metricStore/atlas/atlasMetricConfigurer.d.ts.map +1 -0
  199. package/build/dist/kayenta/metricStore/atlas/index.d.ts +2 -0
  200. package/build/dist/kayenta/metricStore/atlas/index.d.ts.map +1 -0
  201. package/{src/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.ts → build/dist/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.d.ts} +2 -2
  202. package/build/dist/kayenta/metricStore/datadog/domain/IDatadogMetricDescriptor.d.ts.map +1 -0
  203. package/build/dist/kayenta/metricStore/datadog/index.d.ts +2 -0
  204. package/build/dist/kayenta/metricStore/datadog/index.d.ts.map +1 -0
  205. package/build/dist/kayenta/metricStore/datadog/metricConfigurer.d.ts +15 -0
  206. package/build/dist/kayenta/metricStore/datadog/metricConfigurer.d.ts.map +1 -0
  207. package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.d.ts +29 -0
  208. package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.d.ts.map +1 -0
  209. package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.spec.d.ts +2 -0
  210. package/build/dist/kayenta/metricStore/datadog/metricTypeSelector.spec.d.ts.map +1 -0
  211. package/{src/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.ts → build/dist/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.d.ts} +2 -2
  212. package/build/dist/kayenta/metricStore/graphite/domain/IGraphiteMetricDescriptor.d.ts.map +1 -0
  213. package/build/dist/kayenta/metricStore/graphite/index.d.ts +2 -0
  214. package/build/dist/kayenta/metricStore/graphite/index.d.ts.map +1 -0
  215. package/build/dist/kayenta/metricStore/graphite/metricConfigurer.d.ts +13 -0
  216. package/build/dist/kayenta/metricStore/graphite/metricConfigurer.d.ts.map +1 -0
  217. package/build/dist/kayenta/metricStore/graphite/metricTypeSelector.d.ts +29 -0
  218. package/build/dist/kayenta/metricStore/graphite/metricTypeSelector.d.ts.map +1 -0
  219. package/{src/kayenta/metricStore/index.ts → build/dist/kayenta/metricStore/index.d.ts} +1 -0
  220. package/build/dist/kayenta/metricStore/index.d.ts.map +1 -0
  221. package/build/dist/kayenta/metricStore/metricStoreConfig.service.d.ts +11 -0
  222. package/build/dist/kayenta/metricStore/metricStoreConfig.service.d.ts.map +1 -0
  223. package/{src/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.ts → build/dist/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.d.ts} +2 -2
  224. package/build/dist/kayenta/metricStore/newrelic/domain/INewRelicMetricDescriptor.d.ts.map +1 -0
  225. package/build/dist/kayenta/metricStore/newrelic/index.d.ts +2 -0
  226. package/build/dist/kayenta/metricStore/newrelic/index.d.ts.map +1 -0
  227. package/build/dist/kayenta/metricStore/newrelic/metricConfigurer.d.ts +13 -0
  228. package/build/dist/kayenta/metricStore/newrelic/metricConfigurer.d.ts.map +1 -0
  229. package/build/dist/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.d.ts +13 -0
  230. package/build/dist/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.d.ts.map +1 -0
  231. package/{src/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.ts → build/dist/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.d.ts} +2 -2
  232. package/build/dist/kayenta/metricStore/prometheus/domain/IPrometheusMetricDescriptor.d.ts.map +1 -0
  233. package/build/dist/kayenta/metricStore/prometheus/index.d.ts +2 -0
  234. package/build/dist/kayenta/metricStore/prometheus/index.d.ts.map +1 -0
  235. package/build/dist/kayenta/metricStore/prometheus/metricConfigurer.d.ts +21 -0
  236. package/build/dist/kayenta/metricStore/prometheus/metricConfigurer.d.ts.map +1 -0
  237. package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.d.ts +31 -0
  238. package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.d.ts.map +1 -0
  239. package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.spec.d.ts +2 -0
  240. package/build/dist/kayenta/metricStore/prometheus/metricTypeSelector.spec.d.ts.map +1 -0
  241. package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.d.ts +10 -0
  242. package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.d.ts.map +1 -0
  243. package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.spec.d.ts +2 -0
  244. package/build/dist/kayenta/metricStore/prometheus/queryTypeSelectors.spec.d.ts.map +1 -0
  245. package/build/dist/kayenta/metricStore/signalfx/domain/ISignalFxCanaryMetricSetQueryConfig.d.ts +10 -0
  246. package/build/dist/kayenta/metricStore/signalfx/domain/ISignalFxCanaryMetricSetQueryConfig.d.ts.map +1 -0
  247. package/build/dist/kayenta/metricStore/signalfx/index.d.ts +2 -0
  248. package/build/dist/kayenta/metricStore/signalfx/index.d.ts.map +1 -0
  249. package/build/dist/kayenta/metricStore/signalfx/metricConfigurer.d.ts +28 -0
  250. package/build/dist/kayenta/metricStore/signalfx/metricConfigurer.d.ts.map +1 -0
  251. package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverCanaryMetricSetQueryConfig.d.ts +9 -0
  252. package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverCanaryMetricSetQueryConfig.d.ts.map +1 -0
  253. package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverMetricDescriptor.d.ts +16 -0
  254. package/build/dist/kayenta/metricStore/stackdriver/domain/IStackdriverMetricDescriptor.d.ts.map +1 -0
  255. package/build/dist/kayenta/metricStore/stackdriver/index.d.ts +2 -0
  256. package/build/dist/kayenta/metricStore/stackdriver/index.d.ts.map +1 -0
  257. package/build/dist/kayenta/metricStore/stackdriver/metricConfigurer.d.ts +16 -0
  258. package/build/dist/kayenta/metricStore/stackdriver/metricConfigurer.d.ts.map +1 -0
  259. package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.d.ts +35 -0
  260. package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.d.ts.map +1 -0
  261. package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.spec.d.ts +2 -0
  262. package/build/dist/kayenta/metricStore/stackdriver/metricTypeSelector.spec.d.ts.map +1 -0
  263. package/build/dist/kayenta/middleware/actionInterceptor.d.ts +3 -0
  264. package/build/dist/kayenta/middleware/actionInterceptor.d.ts.map +1 -0
  265. package/build/dist/kayenta/middleware/asyncDispatch.d.ts +3 -0
  266. package/build/dist/kayenta/middleware/asyncDispatch.d.ts.map +1 -0
  267. package/build/dist/kayenta/middleware/epics.d.ts +14 -0
  268. package/build/dist/kayenta/middleware/epics.d.ts.map +1 -0
  269. package/{src/kayenta/middleware/index.ts → build/dist/kayenta/middleware/index.d.ts} +1 -0
  270. package/build/dist/kayenta/middleware/index.d.ts.map +1 -0
  271. package/build/dist/kayenta/navigation/canary.states.d.ts +6 -0
  272. package/build/dist/kayenta/navigation/canary.states.d.ts.map +1 -0
  273. package/build/dist/kayenta/navigation/canary.states.stub.d.ts +4 -0
  274. package/build/dist/kayenta/navigation/canary.states.stub.d.ts.map +1 -0
  275. package/build/dist/kayenta/reducers/app.d.ts +11 -0
  276. package/build/dist/kayenta/reducers/app.d.ts.map +1 -0
  277. package/build/dist/kayenta/reducers/asyncRequest.d.ts +6 -0
  278. package/build/dist/kayenta/reducers/asyncRequest.d.ts.map +1 -0
  279. package/build/dist/kayenta/reducers/data.d.ts +30 -0
  280. package/build/dist/kayenta/reducers/data.d.ts.map +1 -0
  281. package/build/dist/kayenta/reducers/editingTemplate.d.ts +8 -0
  282. package/build/dist/kayenta/reducers/editingTemplate.d.ts.map +1 -0
  283. package/build/dist/kayenta/reducers/group.d.ts +11 -0
  284. package/build/dist/kayenta/reducers/group.d.ts.map +1 -0
  285. package/build/dist/kayenta/reducers/index.d.ts +13 -0
  286. package/build/dist/kayenta/reducers/index.d.ts.map +1 -0
  287. package/build/dist/kayenta/reducers/prometheusMetricConfig.d.ts +6 -0
  288. package/build/dist/kayenta/reducers/prometheusMetricConfig.d.ts.map +1 -0
  289. package/build/dist/kayenta/reducers/prometheusMetricConfig.spec.d.ts +2 -0
  290. package/build/dist/kayenta/reducers/prometheusMetricConfig.spec.d.ts.map +1 -0
  291. package/build/dist/kayenta/reducers/selectedConfig.d.ts +51 -0
  292. package/build/dist/kayenta/reducers/selectedConfig.d.ts.map +1 -0
  293. package/build/dist/kayenta/reducers/selectedConfig.spec.d.ts +2 -0
  294. package/build/dist/kayenta/reducers/selectedConfig.spec.d.ts.map +1 -0
  295. package/build/dist/kayenta/reducers/selectedRun.d.ts +20 -0
  296. package/build/dist/kayenta/reducers/selectedRun.d.ts.map +1 -0
  297. package/build/dist/kayenta/reducers/signalFxMetricConfig.d.ts +22 -0
  298. package/build/dist/kayenta/reducers/signalFxMetricConfig.d.ts.map +1 -0
  299. package/build/dist/kayenta/reducers/stackdriverMetricConfig.d.ts +6 -0
  300. package/build/dist/kayenta/reducers/stackdriverMetricConfig.d.ts.map +1 -0
  301. package/build/dist/kayenta/reducers/stackdriverMetricConfig.spec.d.ts +2 -0
  302. package/build/dist/kayenta/reducers/stackdriverMetricConfig.spec.d.ts.map +1 -0
  303. package/build/dist/kayenta/reducers/templates.spec.d.ts +2 -0
  304. package/build/dist/kayenta/reducers/templates.spec.d.ts.map +1 -0
  305. package/build/dist/kayenta/reducers/validators.d.ts +6 -0
  306. package/build/dist/kayenta/reducers/validators.d.ts.map +1 -0
  307. package/build/dist/kayenta/report/detail/allMetricResultsHeader.d.ts +10 -0
  308. package/build/dist/kayenta/report/detail/allMetricResultsHeader.d.ts.map +1 -0
  309. package/build/dist/kayenta/report/detail/clickableHeader.d.ts +11 -0
  310. package/build/dist/kayenta/report/detail/clickableHeader.d.ts.map +1 -0
  311. package/build/dist/kayenta/report/detail/colors.d.ts +5 -0
  312. package/build/dist/kayenta/report/detail/colors.d.ts.map +1 -0
  313. package/build/dist/kayenta/report/detail/detail.d.ts +10 -0
  314. package/build/dist/kayenta/report/detail/detail.d.ts.map +1 -0
  315. package/build/dist/kayenta/report/detail/detailLoader.d.ts +16 -0
  316. package/build/dist/kayenta/report/detail/detailLoader.d.ts.map +1 -0
  317. package/build/dist/kayenta/report/detail/graph/graph.d.ts +13 -0
  318. package/build/dist/kayenta/report/detail/graph/graph.d.ts.map +1 -0
  319. package/build/dist/kayenta/report/detail/graph/metricSetPairGraph.service.d.ts +19 -0
  320. package/build/dist/kayenta/report/detail/graph/metricSetPairGraph.service.d.ts.map +1 -0
  321. package/build/dist/kayenta/report/detail/graph/semiotic/boxplot.d.ts +19 -0
  322. package/build/dist/kayenta/report/detail/graph/semiotic/boxplot.d.ts.map +1 -0
  323. package/build/dist/kayenta/report/detail/graph/semiotic/chartHeader.d.ts +6 -0
  324. package/build/dist/kayenta/report/detail/graph/semiotic/chartHeader.d.ts.map +1 -0
  325. package/build/dist/kayenta/report/detail/graph/semiotic/chartLegend.d.ts +11 -0
  326. package/build/dist/kayenta/report/detail/graph/semiotic/chartLegend.d.ts.map +1 -0
  327. package/build/dist/kayenta/report/detail/graph/semiotic/circleIcon.d.ts +6 -0
  328. package/build/dist/kayenta/report/detail/graph/semiotic/circleIcon.d.ts.map +1 -0
  329. package/build/dist/kayenta/report/detail/graph/semiotic/config.d.ts +18 -0
  330. package/build/dist/kayenta/report/detail/graph/semiotic/config.d.ts.map +1 -0
  331. package/build/dist/kayenta/report/detail/graph/semiotic/customAxisTickLabel.d.ts +6 -0
  332. package/build/dist/kayenta/report/detail/graph/semiotic/customAxisTickLabel.d.ts.map +1 -0
  333. package/build/dist/kayenta/report/detail/graph/semiotic/differenceArea.d.ts +17 -0
  334. package/build/dist/kayenta/report/detail/graph/semiotic/differenceArea.d.ts.map +1 -0
  335. package/build/dist/kayenta/report/detail/graph/semiotic/histogram.d.ts +19 -0
  336. package/build/dist/kayenta/report/detail/graph/semiotic/histogram.d.ts.map +1 -0
  337. package/build/dist/kayenta/report/detail/graph/semiotic/index.d.ts +2 -0
  338. package/build/dist/kayenta/report/detail/graph/semiotic/index.d.ts.map +1 -0
  339. package/build/dist/kayenta/report/detail/graph/semiotic/noValidDataSign.d.ts +4 -0
  340. package/build/dist/kayenta/report/detail/graph/semiotic/noValidDataSign.d.ts.map +1 -0
  341. package/build/dist/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.d.ts +15 -0
  342. package/build/dist/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.d.ts.map +1 -0
  343. package/{src/kayenta/report/detail/graph/semiotic/semiotic.service.ts → build/dist/kayenta/report/detail/graph/semiotic/semiotic.service.d.ts} +14 -19
  344. package/build/dist/kayenta/report/detail/graph/semiotic/semiotic.service.d.ts.map +1 -0
  345. package/build/dist/kayenta/report/detail/graph/semiotic/semioticGraph.d.ts +8 -0
  346. package/build/dist/kayenta/report/detail/graph/semiotic/semioticGraph.d.ts.map +1 -0
  347. package/build/dist/kayenta/report/detail/graph/semiotic/timeSeries.d.ts +31 -0
  348. package/build/dist/kayenta/report/detail/graph/semiotic/timeSeries.d.ts.map +1 -0
  349. package/build/dist/kayenta/report/detail/graph/semiotic/tooltip.d.ts +13 -0
  350. package/build/dist/kayenta/report/detail/graph/semiotic/tooltip.d.ts.map +1 -0
  351. package/build/dist/kayenta/report/detail/graph/semiotic/utils.d.ts +6 -0
  352. package/build/dist/kayenta/report/detail/graph/semiotic/utils.d.ts.map +1 -0
  353. package/build/dist/kayenta/report/detail/graphTypeSelector.d.ts +13 -0
  354. package/build/dist/kayenta/report/detail/graphTypeSelector.d.ts.map +1 -0
  355. package/build/dist/kayenta/report/detail/groupScores.d.ts +18 -0
  356. package/build/dist/kayenta/report/detail/groupScores.d.ts.map +1 -0
  357. package/build/dist/kayenta/report/detail/header.d.ts +12 -0
  358. package/build/dist/kayenta/report/detail/header.d.ts.map +1 -0
  359. package/build/dist/kayenta/report/detail/headerArrow.d.ts +7 -0
  360. package/build/dist/kayenta/report/detail/headerArrow.d.ts.map +1 -0
  361. package/build/dist/kayenta/report/detail/loadStates.d.ts +9 -0
  362. package/build/dist/kayenta/report/detail/loadStates.d.ts.map +1 -0
  363. package/build/dist/kayenta/report/detail/metricResultActions.d.ts +12 -0
  364. package/build/dist/kayenta/report/detail/metricResultActions.d.ts.map +1 -0
  365. package/build/dist/kayenta/report/detail/metricResultClassification.d.ts +8 -0
  366. package/build/dist/kayenta/report/detail/metricResultClassification.d.ts.map +1 -0
  367. package/build/dist/kayenta/report/detail/metricResultDetail.d.ts +7 -0
  368. package/build/dist/kayenta/report/detail/metricResultDetail.d.ts.map +1 -0
  369. package/build/dist/kayenta/report/detail/metricResultDetailLayout.d.ts +3 -0
  370. package/build/dist/kayenta/report/detail/metricResultDetailLayout.d.ts.map +1 -0
  371. package/build/dist/kayenta/report/detail/metricResultDeviation.d.ts +7 -0
  372. package/build/dist/kayenta/report/detail/metricResultDeviation.d.ts.map +1 -0
  373. package/build/dist/kayenta/report/detail/metricResultStats.d.ts +15 -0
  374. package/build/dist/kayenta/report/detail/metricResultStats.d.ts.map +1 -0
  375. package/build/dist/kayenta/report/detail/metricResults.d.ts +11 -0
  376. package/build/dist/kayenta/report/detail/metricResults.d.ts.map +1 -0
  377. package/build/dist/kayenta/report/detail/metricResultsClassificationFilters.d.ts +15 -0
  378. package/build/dist/kayenta/report/detail/metricResultsClassificationFilters.d.ts.map +1 -0
  379. package/build/dist/kayenta/report/detail/metricResultsColumns.d.ts +4 -0
  380. package/build/dist/kayenta/report/detail/metricResultsColumns.d.ts.map +1 -0
  381. package/build/dist/kayenta/report/detail/metricResultsList.d.ts +23 -0
  382. package/build/dist/kayenta/report/detail/metricResultsList.d.ts.map +1 -0
  383. package/build/dist/kayenta/report/detail/metricSetPairLoadStates.d.ts +10 -0
  384. package/build/dist/kayenta/report/detail/metricSetPairLoadStates.d.ts.map +1 -0
  385. package/build/dist/kayenta/report/detail/multipleResultsTable.d.ts +23 -0
  386. package/build/dist/kayenta/report/detail/multipleResultsTable.d.ts.map +1 -0
  387. package/build/dist/kayenta/report/detail/reportException.d.ts +10 -0
  388. package/build/dist/kayenta/report/detail/reportException.d.ts.map +1 -0
  389. package/build/dist/kayenta/report/detail/reportExplanation.d.ts +10 -0
  390. package/build/dist/kayenta/report/detail/reportExplanation.d.ts.map +1 -0
  391. package/build/dist/kayenta/report/detail/reportMetadata.d.ts +9 -0
  392. package/build/dist/kayenta/report/detail/reportMetadata.d.ts.map +1 -0
  393. package/build/dist/kayenta/report/detail/reportScores.d.ts +20 -0
  394. package/build/dist/kayenta/report/detail/reportScores.d.ts.map +1 -0
  395. package/build/dist/kayenta/report/detail/score.d.ts +9 -0
  396. package/build/dist/kayenta/report/detail/score.d.ts.map +1 -0
  397. package/build/dist/kayenta/report/detail/sourceLinks.d.ts +9 -0
  398. package/build/dist/kayenta/report/detail/sourceLinks.d.ts.map +1 -0
  399. package/build/dist/kayenta/report/list/configLink.d.ts +14 -0
  400. package/build/dist/kayenta/report/list/configLink.d.ts.map +1 -0
  401. package/build/dist/kayenta/report/list/loadStates.d.ts +9 -0
  402. package/build/dist/kayenta/report/list/loadStates.d.ts.map +1 -0
  403. package/build/dist/kayenta/report/list/pipelineLink.d.ts +7 -0
  404. package/build/dist/kayenta/report/list/pipelineLink.d.ts.map +1 -0
  405. package/build/dist/kayenta/report/list/reportLink.d.ts +16 -0
  406. package/build/dist/kayenta/report/list/reportLink.d.ts.map +1 -0
  407. package/build/dist/kayenta/report/list/table.d.ts +14 -0
  408. package/build/dist/kayenta/report/list/table.d.ts.map +1 -0
  409. package/build/dist/kayenta/report/report.d.ts +3 -0
  410. package/build/dist/kayenta/report/report.d.ts.map +1 -0
  411. package/build/dist/kayenta/selectors/filterTemplatesSelectors.d.ts +21 -0
  412. package/build/dist/kayenta/selectors/filterTemplatesSelectors.d.ts.map +1 -0
  413. package/build/dist/kayenta/selectors/index.d.ts +25 -0
  414. package/build/dist/kayenta/selectors/index.d.ts.map +1 -0
  415. package/build/dist/kayenta/service/canaryConfig.service.d.ts +13 -0
  416. package/build/dist/kayenta/service/canaryConfig.service.d.ts.map +1 -0
  417. package/build/dist/kayenta/service/canaryRun.service.d.ts +7 -0
  418. package/build/dist/kayenta/service/canaryRun.service.d.ts.map +1 -0
  419. package/build/dist/kayenta/service/delegateFactory.d.ts +9 -0
  420. package/build/dist/kayenta/service/delegateFactory.d.ts.map +1 -0
  421. package/build/dist/kayenta/service/metricsServiceMetadata.service.d.ts +3 -0
  422. package/build/dist/kayenta/service/metricsServiceMetadata.service.d.ts.map +1 -0
  423. package/build/dist/kayenta/stages/kayentaStage/AnalysisType.d.ts +13 -0
  424. package/build/dist/kayenta/stages/kayentaStage/AnalysisType.d.ts.map +1 -0
  425. package/build/dist/kayenta/stages/kayentaStage/AnalysisType.spec.d.ts +2 -0
  426. package/build/dist/kayenta/stages/kayentaStage/AnalysisType.spec.d.ts.map +1 -0
  427. package/build/dist/kayenta/stages/kayentaStage/CanaryExecutionLabel.d.ts +6 -0
  428. package/build/dist/kayenta/stages/kayentaStage/CanaryExecutionLabel.d.ts.map +1 -0
  429. package/build/dist/kayenta/stages/kayentaStage/analysisType.component.d.ts +2 -0
  430. package/build/dist/kayenta/stages/kayentaStage/analysisType.component.d.ts.map +1 -0
  431. package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.component.d.ts +2 -0
  432. package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.component.d.ts.map +1 -0
  433. package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.d.ts +13 -0
  434. package/build/dist/kayenta/stages/kayentaStage/canaryRunSummaries.d.ts.map +1 -0
  435. package/build/dist/kayenta/stages/kayentaStage/forAnalysisType.component.d.ts +2 -0
  436. package/build/dist/kayenta/stages/kayentaStage/forAnalysisType.component.d.ts.map +1 -0
  437. package/build/dist/kayenta/stages/kayentaStage/kayentaStage.controller.d.ts +100 -0
  438. package/build/dist/kayenta/stages/kayentaStage/kayentaStage.controller.d.ts.map +1 -0
  439. package/build/dist/kayenta/stages/kayentaStage/kayentaStage.d.ts +29 -0
  440. package/build/dist/kayenta/stages/kayentaStage/kayentaStage.d.ts.map +1 -0
  441. package/build/dist/kayenta/stages/kayentaStage/kayentaStage.transformer.d.ts +12 -0
  442. package/build/dist/kayenta/stages/kayentaStage/kayentaStage.transformer.d.ts.map +1 -0
  443. package/build/dist/kayenta/stages/kayentaStage/kayentaStageConfigSection.component.d.ts +2 -0
  444. package/build/dist/kayenta/stages/kayentaStage/kayentaStageConfigSection.component.d.ts.map +1 -0
  445. package/build/dist/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.controller.d.ts +3 -0
  446. package/build/dist/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.controller.d.ts.map +1 -0
  447. package/build/dist/kayenta/stages/kayentaStage/stageTypes.d.ts +6 -0
  448. package/build/dist/kayenta/stages/kayentaStage/stageTypes.d.ts.map +1 -0
  449. package/build/dist/kayenta/utils/duration.d.ts +12 -0
  450. package/build/dist/kayenta/utils/duration.d.ts.map +1 -0
  451. package/build/dist/kayenta/utils/duration.spec.d.ts +2 -0
  452. package/build/dist/kayenta/utils/duration.spec.d.ts.map +1 -0
  453. package/build/dist/lazy-b3700c07.js +2 -0
  454. package/build/dist/lazy-b3700c07.js.map +1 -0
  455. package/build/dist/lazy.d.ts +6 -0
  456. package/build/dist/lazy.d.ts.map +1 -0
  457. package/build/dist/semioticGraph-552b48d5.js +2 -0
  458. package/build/dist/semioticGraph-552b48d5.js.map +1 -0
  459. package/build/dist/stub.d.ts +15 -0
  460. package/build/dist/stub.d.ts.map +1 -0
  461. package/package.json +7 -4
  462. package/.editorconfig +0 -9
  463. package/.eslintrc.js +0 -1
  464. package/.huskyrc +0 -5
  465. package/.lintstagedrc.json +0 -4
  466. package/.prettierignore +0 -4
  467. package/.prettierrc.js +0 -1
  468. package/__mocks__/styleMock.js +0 -1
  469. package/__mocks__/version.json +0 -4
  470. package/babel.config.js +0 -3
  471. package/build.gradle +0 -67
  472. package/build_scripts/checkLicenses.js +0 -79
  473. package/gradle.properties +0 -0
  474. package/jest.config.js +0 -204
  475. package/jest.setup.js +0 -5
  476. package/rollup-plugin-angularjs-template-loader.js +0 -82
  477. package/rollup.config.js +0 -30
  478. package/src/kayenta/actions/creators.ts +0 -163
  479. package/src/kayenta/actions/index.ts +0 -98
  480. package/src/kayenta/canary.dataSource.bridge.ts +0 -53
  481. package/src/kayenta/canary.dataSource.stub.ts +0 -64
  482. package/src/kayenta/canary.help.ts +0 -136
  483. package/src/kayenta/canary.less +0 -168
  484. package/src/kayenta/canary.settings.ts +0 -26
  485. package/src/kayenta/canary.tsx +0 -67
  486. package/src/kayenta/components/canaryScore.component.less +0 -77
  487. package/src/kayenta/components/canaryScore.component.ts +0 -12
  488. package/src/kayenta/components/canaryScore.tsx +0 -63
  489. package/src/kayenta/components/canaryScores.component.ts +0 -20
  490. package/src/kayenta/components/canaryScores.less +0 -22
  491. package/src/kayenta/components/canaryScores.tsx +0 -163
  492. package/src/kayenta/components/loadStates.tsx +0 -52
  493. package/src/kayenta/domain/ICanaryConfig.ts +0 -57
  494. package/src/kayenta/domain/ICanaryConfigSummary.ts +0 -7
  495. package/src/kayenta/domain/ICanaryConfigUpdateResponse.ts +0 -3
  496. package/src/kayenta/domain/ICanaryExecutionStatusResult.ts +0 -72
  497. package/src/kayenta/domain/ICanaryJudgeResult.ts +0 -51
  498. package/src/kayenta/domain/ICanaryJudgeResultSummary.ts +0 -5
  499. package/src/kayenta/domain/ICanaryScoreThresholds.ts +0 -4
  500. package/src/kayenta/domain/IJudge.ts +0 -5
  501. package/src/kayenta/domain/IKayentaAccount.ts +0 -14
  502. package/src/kayenta/domain/IKayentaStageConfig.ts +0 -58
  503. package/src/kayenta/domain/IMetricSetPair.ts +0 -17
  504. package/src/kayenta/domain/IMetricsServiceMetadata.ts +0 -2
  505. package/src/kayenta/domain/MetricClassificationLabel.ts +0 -8
  506. package/src/kayenta/domain/ScoreClassificationLabel.ts +0 -7
  507. package/src/kayenta/edit/changeMetricGroupModal.tsx +0 -107
  508. package/src/kayenta/edit/configDetail.tsx +0 -31
  509. package/src/kayenta/edit/configDetailActionButtons.tsx +0 -24
  510. package/src/kayenta/edit/configDetailHeader.tsx +0 -104
  511. package/src/kayenta/edit/configDetailLoadStates.tsx +0 -36
  512. package/src/kayenta/edit/configDetailLoader.tsx +0 -60
  513. package/src/kayenta/edit/configJson.less +0 -42
  514. package/src/kayenta/edit/configJsonModal.tsx +0 -158
  515. package/src/kayenta/edit/configList.less +0 -7
  516. package/src/kayenta/edit/configList.tsx +0 -57
  517. package/src/kayenta/edit/copyConfigButton.tsx +0 -34
  518. package/src/kayenta/edit/createConfigButton.tsx +0 -34
  519. package/src/kayenta/edit/deleteModal.tsx +0 -87
  520. package/src/kayenta/edit/edit.tsx +0 -24
  521. package/src/kayenta/edit/editMetricEffectSizes.tsx +0 -186
  522. package/src/kayenta/edit/editMetricModal.less +0 -9
  523. package/src/kayenta/edit/editMetricModal.spec.tsx +0 -129
  524. package/src/kayenta/edit/editMetricModal.tsx +0 -294
  525. package/src/kayenta/edit/editMetricValidation.spec.ts +0 -63
  526. package/src/kayenta/edit/editMetricValidation.ts +0 -50
  527. package/src/kayenta/edit/filterTemplateSelector.less +0 -15
  528. package/src/kayenta/edit/filterTemplateSelector.spec.tsx +0 -106
  529. package/src/kayenta/edit/filterTemplateSelector.tsx +0 -194
  530. package/src/kayenta/edit/filterTemplatesValidation.spec.ts +0 -108
  531. package/src/kayenta/edit/filterTemplatesValidation.ts +0 -95
  532. package/src/kayenta/edit/footer.less +0 -30
  533. package/src/kayenta/edit/footer.tsx +0 -12
  534. package/src/kayenta/edit/groupName.tsx +0 -80
  535. package/src/kayenta/edit/groupTabs.tsx +0 -106
  536. package/src/kayenta/edit/groupWeight.tsx +0 -80
  537. package/src/kayenta/edit/groupWeights.tsx +0 -38
  538. package/src/kayenta/edit/inlineTemplateEditor.spec.tsx +0 -42
  539. package/src/kayenta/edit/inlineTemplateEditor.tsx +0 -61
  540. package/src/kayenta/edit/judgeSelect.tsx +0 -82
  541. package/src/kayenta/edit/metricConfigurerDelegator.tsx +0 -30
  542. package/src/kayenta/edit/metricList.less +0 -21
  543. package/src/kayenta/edit/metricList.tsx +0 -215
  544. package/src/kayenta/edit/metricStoreSelector.tsx +0 -66
  545. package/src/kayenta/edit/nameAndDescription.tsx +0 -90
  546. package/src/kayenta/edit/openConfigJsonModalButton.tsx +0 -33
  547. package/src/kayenta/edit/openDeleteModalButton.tsx +0 -50
  548. package/src/kayenta/edit/ownedBy.tsx +0 -34
  549. package/src/kayenta/edit/save.tsx +0 -19
  550. package/src/kayenta/edit/saveConfigButton.tsx +0 -65
  551. package/src/kayenta/edit/saveConfigError.tsx +0 -59
  552. package/src/kayenta/edit/scoring.tsx +0 -35
  553. package/src/kayenta/edit/selectConfig.tsx +0 -10
  554. package/src/kayenta/edit/validationErrors.tsx +0 -39
  555. package/src/kayenta/layout/addNewButton.tsx +0 -20
  556. package/src/kayenta/layout/centeredDetail.tsx +0 -13
  557. package/src/kayenta/layout/deleteButton.tsx +0 -11
  558. package/src/kayenta/layout/disableable.tsx +0 -87
  559. package/src/kayenta/layout/formList.tsx +0 -26
  560. package/src/kayenta/layout/formRow.tsx +0 -36
  561. package/src/kayenta/layout/formattedDate.tsx +0 -14
  562. package/src/kayenta/layout/keyValueList.less +0 -20
  563. package/src/kayenta/layout/keyValueList.tsx +0 -114
  564. package/src/kayenta/layout/list.less +0 -9
  565. package/src/kayenta/layout/list.spec.tsx +0 -83
  566. package/src/kayenta/layout/list.tsx +0 -73
  567. package/src/kayenta/layout/listDetail.tsx +0 -33
  568. package/src/kayenta/layout/radioChoice.tsx +0 -29
  569. package/src/kayenta/layout/styleguide.tsx +0 -16
  570. package/src/kayenta/layout/table/nativeTable.tsx +0 -51
  571. package/src/kayenta/layout/table/nativeTableHeader.tsx +0 -26
  572. package/src/kayenta/layout/table/table.tsx +0 -56
  573. package/src/kayenta/layout/table/tableColumn.ts +0 -7
  574. package/src/kayenta/layout/table/tableHeader.tsx +0 -23
  575. package/src/kayenta/layout/tabs.tsx +0 -26
  576. package/src/kayenta/layout/titledSection.less +0 -16
  577. package/src/kayenta/layout/titledSection.tsx +0 -20
  578. package/src/kayenta/layout/titledSubsection.less +0 -11
  579. package/src/kayenta/layout/titledSubsection.tsx +0 -22
  580. package/src/kayenta/manualAnalysis/ManualAnalysisModal.tsx +0 -716
  581. package/src/kayenta/metricStore/atlas/atlasMetricConfigurer.tsx +0 -130
  582. package/src/kayenta/metricStore/atlas/index.ts +0 -8
  583. package/src/kayenta/metricStore/datadog/index.ts +0 -9
  584. package/src/kayenta/metricStore/datadog/metricConfigurer.tsx +0 -90
  585. package/src/kayenta/metricStore/datadog/metricTypeSelector.spec.tsx +0 -59
  586. package/src/kayenta/metricStore/datadog/metricTypeSelector.tsx +0 -73
  587. package/src/kayenta/metricStore/graphite/index.ts +0 -8
  588. package/src/kayenta/metricStore/graphite/metricConfigurer.tsx +0 -54
  589. package/src/kayenta/metricStore/graphite/metricTypeSelector.tsx +0 -80
  590. package/src/kayenta/metricStore/graphite/typeahead.less +0 -3
  591. package/src/kayenta/metricStore/metricStoreConfig.service.ts +0 -12
  592. package/src/kayenta/metricStore/newrelic/index.ts +0 -8
  593. package/src/kayenta/metricStore/newrelic/metricConfigurer.tsx +0 -58
  594. package/src/kayenta/metricStore/prometheus/domain/IPrometheusCanaryMetricSetQueryConfig.ts +0 -14
  595. package/src/kayenta/metricStore/prometheus/index.ts +0 -12
  596. package/src/kayenta/metricStore/prometheus/metricConfigurer.tsx +0 -157
  597. package/src/kayenta/metricStore/prometheus/metricTypeSelector.less +0 -5
  598. package/src/kayenta/metricStore/prometheus/metricTypeSelector.spec.tsx +0 -62
  599. package/src/kayenta/metricStore/prometheus/metricTypeSelector.tsx +0 -144
  600. package/src/kayenta/metricStore/prometheus/queryTypeSelectors.spec.ts +0 -61
  601. package/src/kayenta/metricStore/prometheus/queryTypeSelectors.ts +0 -38
  602. package/src/kayenta/metricStore/signalfx/domain/ISignalFxCanaryMetricSetQueryConfig.ts +0 -7
  603. package/src/kayenta/metricStore/signalfx/index.ts +0 -8
  604. package/src/kayenta/metricStore/signalfx/metricConfigurer.less +0 -10
  605. package/src/kayenta/metricStore/signalfx/metricConfigurer.tsx +0 -187
  606. package/src/kayenta/metricStore/stackdriver/domain/IStackdriverCanaryMetricSetQueryConfig.ts +0 -9
  607. package/src/kayenta/metricStore/stackdriver/domain/IStackdriverMetricDescriptor.ts +0 -17
  608. package/src/kayenta/metricStore/stackdriver/index.ts +0 -12
  609. package/src/kayenta/metricStore/stackdriver/metricConfigurer.tsx +0 -144
  610. package/src/kayenta/metricStore/stackdriver/metricTypeSelector.spec.tsx +0 -92
  611. package/src/kayenta/metricStore/stackdriver/metricTypeSelector.tsx +0 -113
  612. package/src/kayenta/middleware/actionInterceptor.ts +0 -29
  613. package/src/kayenta/middleware/asyncDispatch.ts +0 -37
  614. package/src/kayenta/middleware/epics.ts +0 -211
  615. package/src/kayenta/navigation/canary.states.stub.ts +0 -28
  616. package/src/kayenta/navigation/canary.states.ts +0 -182
  617. package/src/kayenta/reducers/app.ts +0 -56
  618. package/src/kayenta/reducers/asyncRequest.ts +0 -5
  619. package/src/kayenta/reducers/data.ts +0 -169
  620. package/src/kayenta/reducers/editingTemplate.ts +0 -54
  621. package/src/kayenta/reducers/group.ts +0 -82
  622. package/src/kayenta/reducers/index.ts +0 -245
  623. package/src/kayenta/reducers/prometheusMetricConfig.spec.ts +0 -33
  624. package/src/kayenta/reducers/prometheusMetricConfig.ts +0 -56
  625. package/src/kayenta/reducers/selectedConfig.spec.ts +0 -190
  626. package/src/kayenta/reducers/selectedConfig.ts +0 -566
  627. package/src/kayenta/reducers/selectedRun.ts +0 -101
  628. package/src/kayenta/reducers/signalFxMetricConfig.ts +0 -36
  629. package/src/kayenta/reducers/stackdriverMetricConfig.spec.ts +0 -33
  630. package/src/kayenta/reducers/stackdriverMetricConfig.ts +0 -41
  631. package/src/kayenta/reducers/templates.spec.ts +0 -192
  632. package/src/kayenta/reducers/validators.ts +0 -118
  633. package/src/kayenta/report/detail/allMetricResultsHeader.tsx +0 -32
  634. package/src/kayenta/report/detail/clickableHeader.tsx +0 -21
  635. package/src/kayenta/report/detail/colors.ts +0 -47
  636. package/src/kayenta/report/detail/detail.less +0 -16
  637. package/src/kayenta/report/detail/detail.tsx +0 -48
  638. package/src/kayenta/report/detail/detailLoader.tsx +0 -55
  639. package/src/kayenta/report/detail/graph/graph.tsx +0 -37
  640. package/src/kayenta/report/detail/graph/metricSetPairGraph.service.ts +0 -35
  641. package/src/kayenta/report/detail/graph/semiotic/boxplot.less +0 -45
  642. package/src/kayenta/report/detail/graph/semiotic/boxplot.tsx +0 -283
  643. package/src/kayenta/report/detail/graph/semiotic/chartHeader.tsx +0 -19
  644. package/src/kayenta/report/detail/graph/semiotic/chartLegend.less +0 -26
  645. package/src/kayenta/report/detail/graph/semiotic/chartLegend.tsx +0 -42
  646. package/src/kayenta/report/detail/graph/semiotic/circleIcon.tsx +0 -16
  647. package/src/kayenta/report/detail/graph/semiotic/config.less +0 -5
  648. package/src/kayenta/report/detail/graph/semiotic/config.ts +0 -38
  649. package/src/kayenta/report/detail/graph/semiotic/customAxisTickLabel.tsx +0 -17
  650. package/src/kayenta/report/detail/graph/semiotic/declarations/labella.d.ts +0 -16
  651. package/src/kayenta/report/detail/graph/semiotic/declarations/react-container-dimensions.d.ts +0 -3
  652. package/src/kayenta/report/detail/graph/semiotic/declarations/semiotic.d.ts +0 -160
  653. package/src/kayenta/report/detail/graph/semiotic/differenceArea.less +0 -17
  654. package/src/kayenta/report/detail/graph/semiotic/differenceArea.tsx +0 -186
  655. package/src/kayenta/report/detail/graph/semiotic/histogram.less +0 -22
  656. package/src/kayenta/report/detail/graph/semiotic/histogram.tsx +0 -251
  657. package/src/kayenta/report/detail/graph/semiotic/index.tsx +0 -19
  658. package/src/kayenta/report/detail/graph/semiotic/noValidDataSign.less +0 -5
  659. package/src/kayenta/report/detail/graph/semiotic/noValidDataSign.tsx +0 -10
  660. package/src/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.less +0 -6
  661. package/src/kayenta/report/detail/graph/semiotic/secondaryTSXAxis.tsx +0 -58
  662. package/src/kayenta/report/detail/graph/semiotic/semioticGraph.less +0 -53
  663. package/src/kayenta/report/detail/graph/semiotic/semioticGraph.tsx +0 -49
  664. package/src/kayenta/report/detail/graph/semiotic/timeSeries.less +0 -42
  665. package/src/kayenta/report/detail/graph/semiotic/timeSeries.tsx +0 -473
  666. package/src/kayenta/report/detail/graph/semiotic/tooltip.tsx +0 -55
  667. package/src/kayenta/report/detail/graph/semiotic/utils.ts +0 -90
  668. package/src/kayenta/report/detail/graphTypeSelector.less +0 -4
  669. package/src/kayenta/report/detail/graphTypeSelector.tsx +0 -50
  670. package/src/kayenta/report/detail/groupScores.tsx +0 -68
  671. package/src/kayenta/report/detail/header.less +0 -70
  672. package/src/kayenta/report/detail/header.tsx +0 -39
  673. package/src/kayenta/report/detail/headerArrow.tsx +0 -13
  674. package/src/kayenta/report/detail/loadStates.tsx +0 -31
  675. package/src/kayenta/report/detail/metricResultActions.less +0 -29
  676. package/src/kayenta/report/detail/metricResultActions.tsx +0 -87
  677. package/src/kayenta/report/detail/metricResultClassification.tsx +0 -22
  678. package/src/kayenta/report/detail/metricResultDetail.tsx +0 -20
  679. package/src/kayenta/report/detail/metricResultDetailLayout.tsx +0 -19
  680. package/src/kayenta/report/detail/metricResultDeviation.tsx +0 -25
  681. package/src/kayenta/report/detail/metricResultStats.less +0 -9
  682. package/src/kayenta/report/detail/metricResultStats.tsx +0 -120
  683. package/src/kayenta/report/detail/metricResults.less +0 -12
  684. package/src/kayenta/report/detail/metricResults.tsx +0 -52
  685. package/src/kayenta/report/detail/metricResultsClassificationFilters.tsx +0 -65
  686. package/src/kayenta/report/detail/metricResultsColumns.tsx +0 -27
  687. package/src/kayenta/report/detail/metricResultsList.less +0 -44
  688. package/src/kayenta/report/detail/metricResultsList.tsx +0 -120
  689. package/src/kayenta/report/detail/metricSetPairLoadStates.tsx +0 -22
  690. package/src/kayenta/report/detail/multipleResultsTable.tsx +0 -81
  691. package/src/kayenta/report/detail/reportException.tsx +0 -57
  692. package/src/kayenta/report/detail/reportExplanation.less +0 -12
  693. package/src/kayenta/report/detail/reportExplanation.tsx +0 -32
  694. package/src/kayenta/report/detail/reportMetadata.tsx +0 -167
  695. package/src/kayenta/report/detail/reportScores.less +0 -47
  696. package/src/kayenta/report/detail/reportScores.tsx +0 -80
  697. package/src/kayenta/report/detail/score.tsx +0 -33
  698. package/src/kayenta/report/detail/sourceLinks.tsx +0 -69
  699. package/src/kayenta/report/list/configLink.tsx +0 -32
  700. package/src/kayenta/report/list/executionList.less +0 -7
  701. package/src/kayenta/report/list/loadStates.tsx +0 -32
  702. package/src/kayenta/report/list/pipelineLink.tsx +0 -15
  703. package/src/kayenta/report/list/reportLink.tsx +0 -33
  704. package/src/kayenta/report/list/table.tsx +0 -309
  705. package/src/kayenta/report/report.tsx +0 -11
  706. package/src/kayenta/selectors/filterTemplatesSelectors.ts +0 -87
  707. package/src/kayenta/selectors/index.ts +0 -62
  708. package/src/kayenta/service/canaryConfig.service.ts +0 -122
  709. package/src/kayenta/service/canaryRun.service.ts +0 -60
  710. package/src/kayenta/service/delegateFactory.ts +0 -24
  711. package/src/kayenta/service/metricsServiceMetadata.service.ts +0 -9
  712. package/src/kayenta/stages/kayentaStage/AnalysisType.spec.tsx +0 -47
  713. package/src/kayenta/stages/kayentaStage/AnalysisType.tsx +0 -49
  714. package/src/kayenta/stages/kayentaStage/CanaryExecutionLabel.tsx +0 -26
  715. package/src/kayenta/stages/kayentaStage/analysisType.component.ts +0 -12
  716. package/src/kayenta/stages/kayentaStage/canaryRunSummaries.component.ts +0 -12
  717. package/src/kayenta/stages/kayentaStage/canaryRunSummaries.less +0 -5
  718. package/src/kayenta/stages/kayentaStage/canaryRunSummaries.tsx +0 -136
  719. package/src/kayenta/stages/kayentaStage/forAnalysisType.component.ts +0 -45
  720. package/src/kayenta/stages/kayentaStage/kayentaStage.controller.ts +0 -789
  721. package/src/kayenta/stages/kayentaStage/kayentaStage.html +0 -528
  722. package/src/kayenta/stages/kayentaStage/kayentaStage.less +0 -5
  723. package/src/kayenta/stages/kayentaStage/kayentaStage.transformer.ts +0 -179
  724. package/src/kayenta/stages/kayentaStage/kayentaStage.ts +0 -221
  725. package/src/kayenta/stages/kayentaStage/kayentaStageConfigSection.component.ts +0 -21
  726. package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.controller.ts +0 -88
  727. package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.html +0 -114
  728. package/src/kayenta/stages/kayentaStage/kayentaStageExecutionDetails.less +0 -6
  729. package/src/kayenta/stages/kayentaStage/stageTypes.ts +0 -5
  730. package/src/kayenta/utils/duration.spec.ts +0 -69
  731. package/src/kayenta/utils/duration.ts +0 -48
  732. package/src/lazy.ts +0 -29
  733. package/src/stub.ts +0 -60
  734. package/tsconfig.json +0 -11
@@ -0,0 +1,15 @@
1
+ import 'kayenta/canary.help';
2
+ /**
3
+ * This is the stub for Kayenta in deck
4
+ *
5
+ * - Registers all AngularJS components and controllers
6
+ * - Registers the full Kayenta Stage with Deck
7
+ * - Registers STUB routes for canary configs and canary reports (see: registerKayentaStateStubs)
8
+ * - These stub routes are names and URLs only
9
+ * - A lazyLoad router hook runs when the user navigates to a stub route and loads the remainder of Kayenta
10
+ * - Registers a DataSource that fetches kayenta canary/report data (and provides the nav items)
11
+ *
12
+ * See: lazy.ts for what happens next
13
+ */
14
+ export declare const KAYENTA_MODULE = "spinnaker.kayenta";
15
+ //# sourceMappingURL=stub.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stub.d.ts","sourceRoot":"","sources":["../../src/stub.ts"],"names":[],"mappings":"AAGA,OAAO,qBAAqB,CAAC;AAgB7B;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,cAAc,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,16 +1,19 @@
1
1
  {
2
2
  "name": "@spinnaker/kayenta",
3
- "version": "2025.2.2",
4
- "license": "Apache-2.0",
5
3
  "repository": {
6
4
  "type": "git",
7
- "url": "https://github.com/spinnaker/deck-kayenta.git"
5
+ "url": "https://github.com/spinnaker/spinnaker.git"
8
6
  },
7
+ "version": "2025.2.4",
8
+ "license": "Apache-2.0",
9
9
  "module": "build/dist/index.js",
10
10
  "typings": "build/dist/index.d.ts",
11
+ "files": [
12
+ "build/dist"
13
+ ],
11
14
  "engines": {
12
15
  "node": ">=20.19.4",
13
- "npm": ">=10.8.2",
16
+ "npm": ">=11.5.1",
14
17
  "yarn": ">=1.21.1"
15
18
  },
16
19
  "scripts": {
package/.editorconfig DELETED
@@ -1,9 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- end_of_line = lf
6
- insert_final_newline = true
7
- trim_trailing_whitespace = true
8
- indent_style = space
9
- indent_size = 2
package/.eslintrc.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require('@spinnaker/pluginsdk/pluginconfig/eslintrc');
package/.huskyrc DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "hooks": {
3
- "pre-commit": "node ./build_scripts/checkLicenses.js && pretty-quick --staged"
4
- }
5
- }
@@ -1,4 +0,0 @@
1
- {
2
- "src/**/*.{js,jsx,ts,tsx}": ["eslint --fix", "prettier --write"],
3
- "src/**/*.{css,less,html}": "prettier --write"
4
- }
package/.prettierignore DELETED
@@ -1,4 +0,0 @@
1
- package.json
2
- lib/**/*
3
- build/**/*
4
- **/node_modules/**/*
package/.prettierrc.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require('@spinnaker/pluginsdk/pluginconfig/prettierrc.js');
@@ -1 +0,0 @@
1
- module.exports = {};
@@ -1,4 +0,0 @@
1
- {
2
- "version": "n/a",
3
- "created": 1461949989729
4
- }
package/babel.config.js DELETED
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- presets: [['@babel/preset-env', { targets: { node: '12.0.0' } }], '@babel/preset-typescript', '@babel/preset-react'],
3
- };
package/build.gradle DELETED
@@ -1,67 +0,0 @@
1
- import groovy.json.JsonSlurper
2
-
3
- plugins {
4
- id "io.spinnaker.artifactregistry-publish"
5
- id "nebula.node" version "1.3.1"
6
- }
7
-
8
- group = "com.netflix.spinnaker.deck-kayenta"
9
-
10
- node {
11
- // Pulls node and npm versions from package.json.
12
- def packageSlurper = new JsonSlurper()
13
- def packageJson = packageSlurper.parse file('package.json')
14
-
15
- version = packageJson.engines.node.replaceAll(/[^\d\.]/, '')
16
- npmVersion = packageJson.engines.npm.replaceAll(/[^\d\.]/, '')
17
- yarnVersion = packageJson.engines.yarn.replaceAll(/[^\d\.]/, '')
18
-
19
- // Enabled the automatic download. False is the default (for now).
20
- download = true
21
- }
22
-
23
- task lint(type: YarnTask) {
24
- dependsOn "yarn"
25
-
26
- yarnCommand = ["lint"]
27
- }
28
-
29
- task prettier(type: YarnTask) {
30
- dependsOn "lint"
31
-
32
- yarnCommand = ["prettier:check"]
33
- }
34
-
35
- project.tasks.register('runLinters') {
36
- dependsOn "lint"
37
- dependsOn "prettier"
38
- }
39
-
40
- task test(type: YarnTask) {
41
- dependsOn "yarn"
42
-
43
- yarnCommand = ["test"]
44
-
45
- if (project.hasProperty('skipTests')) {
46
- test.enabled = false
47
- }
48
- }
49
-
50
- task webpack(type: YarnTask) {
51
- dependsOn "yarn"
52
-
53
- yarnCommand = ["build"]
54
- environment = [
55
- "NODE_ENV": "production",
56
- "GATE_HOST": "spinnaker-api-prestaging.prod.netflix.net",
57
- "NODE_OPTIONS": "--max_old_space_size=8192",
58
- ]
59
- }
60
- webpack.outputs.dir file('build/webpack')
61
-
62
-
63
- task build {
64
- dependsOn "webpack"
65
- dependsOn "runLinters"
66
- dependsOn "test"
67
- }
@@ -1,79 +0,0 @@
1
- const checker = require('license-checker');
2
- const path = require('path');
3
-
4
- // Regarding the asterisks:
5
- // https://github.com/davglass/license-checker#how-licenses-are-found
6
- const ALLOWED_LICENSES = [
7
- 'Apache*',
8
- 'Apache-2.0',
9
- 'Apache v2.0',
10
- '0BSD',
11
- 'BSD',
12
- 'BSD*',
13
- 'BSD-2-Clause',
14
- 'BSD-3-Clause',
15
- 'BSD-3-Clause OR MIT',
16
- '(BSD-2-Clause OR MIT OR Apache-2.0)',
17
- 'FreeBSD',
18
- '(GPL-2.0 OR MIT)',
19
- 'ISC',
20
- 'MIT',
21
- 'MIT*',
22
- '(MIT AND Zlib)',
23
- '(MIT AND CC-BY-3.0)',
24
- 'MPL-2.0 OR Apache-2.0',
25
- '(MIT OR Apache-2.0)',
26
- '(MIT OR CC0-1.0)',
27
- '(CC-BY-4.0 AND OFL-1.1 AND MIT)',
28
- '(OFL-1.1 AND MIT)',
29
- 'Unlicense',
30
- 'Zlib',
31
- ];
32
-
33
- // packages where the license checker makes a bad guess, but the packages themselves have been manually verified to have
34
- // a valid license
35
- const IGNORED = [
36
- 'weak-map@1.0.5', // Apache 2.0 - https://github.com/drses/weak-map
37
- 'colors@0.6.2', // MIT - https://github.com/Marak/colors.js/blob/master/LICENSE
38
- 'gl-mat2@1.0.1', // ZLib - https://github.com/stackgl/gl-mat2
39
- 'gl-mat3@1.0.0', // ZLib - https://github.com/stackgl/gl-mat3
40
- 'gl-vec3@1.0.3', // ZLib - https://github.com/stackgl/gl-vec3
41
- ];
42
-
43
- const cb = (err, licenses) => {
44
- if (err) {
45
- console.log('Error: ', err);
46
- process.exitCode = 1;
47
- } else {
48
- const unknownLicenses = Object.entries(licenses).filter(
49
- ([pkg, properties]) => !ALLOWED_LICENSES.includes(properties.licenses),
50
- );
51
- if (unknownLicenses.length) {
52
- unknownLicenses.forEach(([pkg, properties]) => {
53
- if (!IGNORED.includes(pkg)) {
54
- console.log(`Package ${pkg} found with unknown license ${properties.licenses}`);
55
- process.exitCode = 1;
56
- }
57
- });
58
- }
59
- }
60
-
61
- if (process.exitCode > 0) {
62
- console.log(
63
- "At least one of @spinnaker/kayenta's dependencies uses an unacceptable license. " +
64
- 'Please remove these dependencies before committing or check with @spinnaker/google-reviewers ' +
65
- 'to determine if any of the licenses can be whitelisted.',
66
- );
67
- } else {
68
- console.log("All of @spinnaker/kayenta's dependencies use acceptable licenses!");
69
- }
70
- };
71
-
72
- console.log(`Checking @spinnaker/kayenta's dependency tree for unacceptable licenses...`);
73
- checker.init(
74
- {
75
- start: path.join(__dirname, '..'),
76
- production: true, // Only check dependencies, not devDependencies.
77
- },
78
- cb,
79
- );
package/gradle.properties DELETED
File without changes
package/jest.config.js DELETED
@@ -1,204 +0,0 @@
1
- /*
2
- * For a detailed explanation regarding each configuration property and type check, visit:
3
- * https://jestjs.io/docs/en/configuration.html
4
- */
5
-
6
- const esModules = ['@spinnaker/presentation'];
7
-
8
- module.exports = {
9
- // All imported modules in your tests should be mocked automatically
10
- // automock: false,
11
-
12
- // Stop running tests after `n` failures
13
- // bail: 0,
14
-
15
- // The directory where Jest should store its cached dependency information
16
- // cacheDirectory: "/private/var/folders/4n/ys7v20b52y9gyyx7kfdb93580000gp/T/jest_dy",
17
-
18
- // Automatically clear mock calls and instances between every test
19
- // clearMocks: false,
20
-
21
- // Indicates whether the coverage information should be collected while executing the test
22
- // collectCoverage: false,
23
-
24
- // An array of glob patterns indicating a set of files for which coverage information should be collected
25
- // collectCoverageFrom: undefined,
26
-
27
- // The directory where Jest should output its coverage files
28
- // coverageDirectory: undefined,
29
-
30
- // An array of regexp pattern strings used to skip coverage collection
31
- // coveragePathIgnorePatterns: [
32
- // "/node_modules/"
33
- // ],
34
-
35
- // Indicates which provider should be used to instrument code for coverage
36
- // coverageProvider: "v8",
37
-
38
- // A list of reporter names that Jest uses when writing coverage reports
39
- // coverageReporters: [
40
- // "json",
41
- // "text",
42
- // "lcov",
43
- // "clover"
44
- // ],
45
-
46
- // An object that configures minimum threshold enforcement for coverage results
47
- // coverageThreshold: undefined,
48
-
49
- // A path to a custom dependency extractor
50
- // dependencyExtractor: undefined,
51
-
52
- // Make calling deprecated APIs throw helpful error messages
53
- // errorOnDeprecated: false,
54
-
55
- // Force coverage collection from ignored files using an array of glob patterns
56
- // forceCoverageMatch: [],
57
-
58
- // A path to a module which exports an async function that is triggered once before all test suites
59
- // globalSetup: undefined,
60
-
61
- // A path to a module which exports an async function that is triggered once after all test suites
62
- // globalTeardown: undefined,
63
-
64
- // A set of global variables that need to be available in all test environments
65
- // globals: {},
66
-
67
- // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.
68
- // maxWorkers: "50%",
69
-
70
- // An array of directory names to be searched recursively up from the requiring module's location
71
- // moduleDirectories: [
72
- // "node_modules"
73
- // ],
74
-
75
- // An array of file extensions your modules use
76
- // moduleFileExtensions: [
77
- // "js",
78
- // "json",
79
- // "jsx",
80
- // "ts",
81
- // "tsx",
82
- // "node"
83
- // ],
84
-
85
- // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
86
- // moduleNameMapper: {},
87
- moduleNameMapper: {
88
- 'kayenta/(.*)': '<rootDir>/src/kayenta/$1',
89
- 'root/version.json': '<rootDir>/__mocks__/version.json',
90
- '\\.(css|less)$': '<rootDir>/__mocks__/styleMock.js',
91
- '@spinnaker/presentation': '<rootDir>/node_modules/@spinnaker/presentation/dist',
92
- },
93
-
94
- // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
95
- // modulePathIgnorePatterns: [],
96
-
97
- // Activates notifications for test results
98
- // notify: false,
99
-
100
- // An enum that specifies notification mode. Requires { notify: true }
101
- // notifyMode: "failure-change",
102
-
103
- // A preset that is used as a base for Jest's configuration
104
- // preset: undefined,
105
-
106
- // Run tests from one or more projects
107
- // projects: undefined,
108
-
109
- // Use this configuration option to add custom reporters to Jest
110
- // reporters: undefined,
111
-
112
- // Automatically reset mock state between every test
113
- // resetMocks: false,
114
-
115
- // Reset the module registry before running each individual test
116
- // resetModules: false,
117
-
118
- // A path to a custom resolver
119
- // resolver: undefined,
120
-
121
- // Automatically restore mock state between every test
122
- // restoreMocks: false,
123
-
124
- // The root directory that Jest should scan for tests and modules within
125
- // rootDir: undefined,
126
-
127
- // A list of paths to directories that Jest should use to search for files in
128
- // roots: [
129
- // "<rootDir>"
130
- // ],
131
-
132
- // Allows you to use a custom runner instead of Jest's default test runner
133
- // runner: "jest-runner",
134
-
135
- // The paths to modules that run some code to configure or set up the testing environment before each test
136
- // setupFiles: [],
137
- setupFiles: ['<rootDir>/jest.setup.js'],
138
-
139
- // A list of paths to modules that run some code to configure or set up the testing framework before each test
140
- // setupFilesAfterEnv: [],
141
-
142
- // The number of seconds after which a test is considered as slow and reported as such in the results.
143
- // slowTestThreshold: 5,
144
-
145
- // A list of paths to snapshot serializer modules Jest should use for snapshot testing
146
- // snapshotSerializers: [],
147
-
148
- // The test environment that will be used for testing
149
- // testEnvironment: "jest-environment-jsdom",
150
-
151
- // Options that will be passed to the testEnvironment
152
- // testEnvironmentOptions: {},
153
-
154
- // Adds a location field to test results
155
- // testLocationInResults: false,
156
-
157
- // The glob patterns Jest uses to detect test files
158
- // testMatch: [
159
- // "**/__tests__/**/*.[jt]s?(x)",
160
- // "**/?(*.)+(spec|test).[tj]s?(x)"
161
- // ],
162
-
163
- // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
164
- // testPathIgnorePatterns: [
165
- // "/node_modules/"
166
- // ],
167
-
168
- // The regexp pattern or array of patterns that Jest uses to detect test files
169
- // testRegex: [],
170
-
171
- // This option allows the use of a custom results processor
172
- // testResultsProcessor: undefined,
173
-
174
- // This option allows use of a custom test runner
175
- // testRunner: "jasmine2",
176
-
177
- // This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
178
- // testURL: "http://localhost",
179
-
180
- // Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"
181
- // timers: "real",
182
-
183
- // A map from regular expressions to paths to transformers
184
- // transform: undefined,
185
-
186
- // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
187
- transformIgnorePatterns: [`/node_modules/(?!${esModules.join('|')})`],
188
- // transformIgnorePatterns: [
189
- // "/node_modules/",
190
- // "\\.pnp\\.[^\\/]+$"
191
- // ],
192
-
193
- // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
194
- // unmockedModulePathPatterns: undefined,
195
-
196
- // Indicates whether each individual test should be reported during the run
197
- // verbose: undefined,
198
-
199
- // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
200
- // watchPathIgnorePatterns: [],
201
-
202
- // Whether to use watchman for file crawling
203
- // watchman: true,
204
- };
package/jest.setup.js DELETED
@@ -1,5 +0,0 @@
1
- import { configure } from 'enzyme';
2
- import Adapter from 'enzyme-adapter-react-16';
3
- import $ from 'jquery';
4
- configure({ adapter: new Adapter() });
5
- global.$ = global.jQuery = $;
@@ -1,82 +0,0 @@
1
- const fs = require('fs');
2
- const path = require('path');
3
- import MagicString from 'magic-string';
4
-
5
- // This rollup plugin finds AngularJS templates and loads them into the $templateCache
6
- // This is a rollup replacement for the ngtemplate-loader webpack loader
7
- export default function angularJsTemplateLoader(options = {}) {
8
- function isSourceMapEnabled() {
9
- return options.sourceMap !== false && options.sourcemap !== false;
10
- }
11
-
12
- return {
13
- transform(originalCode, id) {
14
- let code = originalCode;
15
-
16
- // look for things like templateUrl: require('./template.html')
17
- if (!code.includes('Url: require')) {
18
- return false;
19
- }
20
-
21
- if (!fs.existsSync(id)) {
22
- throw new Error('Unable to load AngularJS template; could not find source file ' + id);
23
- }
24
-
25
- // Find the directory the JS source file is in
26
- const baseDir = fs.lstatSync(id).isDirectory() ? id : path.dirname(id);
27
- const templateRegex = /Url: require\(['"]([^'"]+\.html)['"]\)/g;
28
-
29
- let match = templateRegex.exec(code);
30
- if (!match) {
31
- return;
32
- }
33
-
34
- let magicString = new MagicString(code);
35
-
36
- while (match) {
37
- // i.e., './template.html'
38
- const templatePath = match[1];
39
- // Absolute path to the actual template.html file
40
- const contentPath = path.resolve(baseDir, templatePath);
41
- if (!fs.existsSync(contentPath)) {
42
- throw new Error('Unable to load AngularJS template; could not find template file ' + contentPath);
43
- }
44
-
45
- const startIdx = match.index;
46
- const endIdx = startIdx + match[0].length;
47
-
48
- // read the contents of template.html
49
- const content = fs.readFileSync(contentPath, { encoding: 'UTF8' }).replace(/`/g, '\\`');
50
-
51
- // Replace: templateUrl: require('./template.html')
52
- // With: templateUrl: './template.html'
53
- magicString.overwrite(startIdx, endIdx, `Url: '${templatePath}'`);
54
-
55
- // Append a run block that adds the HTML content into the $templateCache (used by angularjs when loading templates)
56
- magicString.append(`
57
-
58
- /*********************************************************************
59
- * angularjs-template-loader rollup plugin -- ${templatePath} start *
60
- ********************************************************************/
61
-
62
- window.angular.module('ng').run(['$templateCache', function(templateCache) {
63
- templateCache.put('${templatePath}',
64
- \`${content}\`)
65
- }]);
66
-
67
- /*********************************************************************
68
- * angularjs-template-loader rollup plugin -- ${templatePath} end *
69
- ********************************************************************/
70
- `);
71
- // look for another match
72
- match = templateRegex.exec(code);
73
- }
74
-
75
- if (isSourceMapEnabled()) {
76
- return { code: magicString.toString(), map: magicString.generateMap({ hires: true }) };
77
- } else {
78
- return { code: magicString.toString() };
79
- }
80
- },
81
- };
82
- }
package/rollup.config.js DELETED
@@ -1,30 +0,0 @@
1
- // This rollup config uses the pluginsdk config as a base but this is not a plugin
2
-
3
- import angularJsTemplateLoader from './rollup-plugin-angularjs-template-loader';
4
- const basePluginConfig = require('@spinnaker/pluginsdk/pluginconfig/rollup.config');
5
-
6
- basePluginConfig.plugins = basePluginConfig.plugins.filter((x) => x.name !== 'rollup-plugin-external-globals');
7
- basePluginConfig.plugins.push(angularJsTemplateLoader({ sourceMap: true }));
8
-
9
- const externals = [
10
- 'angular',
11
- '@spinnaker/core',
12
- '@uirouter/react',
13
- '@uirouter/core',
14
- 'formik',
15
- 'lodash',
16
- 'luxon',
17
- 'prop-types',
18
- 'react',
19
- 'react-bootstrap',
20
- 'react-select',
21
- 'react-dom',
22
- 'semiotic',
23
- ];
24
-
25
- basePluginConfig.input = 'src/index.ts';
26
- basePluginConfig.external = function (id) {
27
- return externals.includes(id);
28
- };
29
-
30
- export default basePluginConfig;