@perses-dev/splunk-plugin 0.1.0 → 0.2.0-beta.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.
Files changed (152) hide show
  1. package/__mf/js/{Splunk.6f71e9ce.js → Splunk.31e2854f.js} +4 -4
  2. package/__mf/js/async/121.2e756764.js +2 -0
  3. package/__mf/js/async/181.dc89accd.js +2 -0
  4. package/__mf/js/async/196.9b979757.js +1 -0
  5. package/__mf/js/async/208.b72a041c.js +102 -0
  6. package/__mf/js/async/403.4e0c341a.js +4 -0
  7. package/__mf/js/async/403.4e0c341a.js.LICENSE.txt +9 -0
  8. package/__mf/js/async/470.aad78617.js +2 -0
  9. package/__mf/js/async/562.50672091.js +2 -0
  10. package/__mf/js/async/770.84637d80.js +43 -0
  11. package/__mf/js/async/{332.fc51c4d5.js.LICENSE.txt → 770.84637d80.js.LICENSE.txt} +66 -1
  12. package/__mf/js/async/941.41972212.js +2 -0
  13. package/__mf/js/async/957.553506b9.js +1 -0
  14. package/__mf/js/async/963.5f78f579.js +1 -0
  15. package/__mf/js/async/982.11d34b45.js +10 -0
  16. package/__mf/js/async/__federation_expose_SplunkDatasource.981f2e0b.js +2 -0
  17. package/__mf/js/async/__federation_expose_SplunkLogQuery.3588c915.js +2 -0
  18. package/__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.aa1e18a7.js +2 -0
  19. package/__mf/js/async/lib-router.56503757.js +2 -0
  20. package/__mf/js/{main.ccd342d6.js → main.fc89e87c.js} +3 -3
  21. package/lib/bootstrap.js +2 -2
  22. package/lib/datasources/index.js +1 -1
  23. package/lib/datasources/index.js.map +1 -1
  24. package/lib/datasources/splunk-datasource/SplunkDatasource.d.ts +3 -3
  25. package/lib/datasources/splunk-datasource/SplunkDatasource.d.ts.map +1 -1
  26. package/lib/datasources/splunk-datasource/SplunkDatasource.js +2 -2
  27. package/lib/datasources/splunk-datasource/SplunkDatasource.js.map +1 -1
  28. package/lib/datasources/splunk-datasource/SplunkDatasourceEditor.d.ts +2 -2
  29. package/lib/datasources/splunk-datasource/SplunkDatasourceEditor.d.ts.map +1 -1
  30. package/lib/datasources/splunk-datasource/SplunkDatasourceEditor.js +1 -1
  31. package/lib/datasources/splunk-datasource/SplunkDatasourceEditor.js.map +1 -1
  32. package/lib/datasources/splunk-datasource/index.js +3 -3
  33. package/lib/datasources/splunk-datasource/index.js.map +1 -1
  34. package/lib/datasources/splunk-datasource/splunk-datasource-types.d.ts +1 -1
  35. package/lib/datasources/splunk-datasource/splunk-datasource-types.d.ts.map +1 -1
  36. package/lib/datasources/splunk-datasource/splunk-datasource-types.js.map +1 -1
  37. package/lib/getPluginModule.d.ts +1 -1
  38. package/lib/getPluginModule.d.ts.map +1 -1
  39. package/lib/getPluginModule.js +3 -1
  40. package/lib/getPluginModule.js.map +1 -1
  41. package/lib/index-federation.js +1 -1
  42. package/lib/index.js +4 -4
  43. package/lib/index.js.map +1 -1
  44. package/lib/model/index.js +2 -2
  45. package/lib/model/index.js.map +1 -1
  46. package/lib/model/splunk-client.d.ts +1 -1
  47. package/lib/model/splunk-client.d.ts.map +1 -1
  48. package/lib/model/splunk-client.js +1 -1
  49. package/lib/model/splunk-client.js.map +1 -1
  50. package/lib/queries/index.js +2 -2
  51. package/lib/queries/index.js.map +1 -1
  52. package/lib/queries/splunk-log-query/SplunkLogQuery.d.ts +2 -2
  53. package/lib/queries/splunk-log-query/SplunkLogQuery.d.ts.map +1 -1
  54. package/lib/queries/splunk-log-query/SplunkLogQuery.js +4 -6
  55. package/lib/queries/splunk-log-query/SplunkLogQuery.js.map +1 -1
  56. package/lib/queries/splunk-log-query/SplunkLogQueryEditor.d.ts +3 -3
  57. package/lib/queries/splunk-log-query/SplunkLogQueryEditor.d.ts.map +1 -1
  58. package/lib/queries/splunk-log-query/SplunkLogQueryEditor.js +3 -3
  59. package/lib/queries/splunk-log-query/SplunkLogQueryEditor.js.map +1 -1
  60. package/lib/queries/splunk-log-query/get-splunk-log-data.d.ts +2 -2
  61. package/lib/queries/splunk-log-query/get-splunk-log-data.d.ts.map +1 -1
  62. package/lib/queries/splunk-log-query/get-splunk-log-data.js +2 -2
  63. package/lib/queries/splunk-log-query/get-splunk-log-data.js.map +1 -1
  64. package/lib/queries/splunk-log-query/index.js +4 -4
  65. package/lib/queries/splunk-log-query/index.js.map +1 -1
  66. package/lib/queries/splunk-log-query/log-query-plugin-interface.d.ts +2 -2
  67. package/lib/queries/splunk-log-query/log-query-plugin-interface.d.ts.map +1 -1
  68. package/lib/queries/splunk-log-query/log-query-plugin-interface.js.map +1 -1
  69. package/lib/queries/splunk-log-query/splunk-log-query-types.d.ts +2 -2
  70. package/lib/queries/splunk-log-query/splunk-log-query-types.d.ts.map +1 -1
  71. package/lib/queries/splunk-log-query/splunk-log-query-types.js.map +1 -1
  72. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQuery.d.ts +2 -2
  73. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQuery.d.ts.map +1 -1
  74. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQuery.js +4 -6
  75. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQuery.js.map +1 -1
  76. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.d.ts +3 -3
  77. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.d.ts.map +1 -1
  78. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.js +3 -3
  79. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.js.map +1 -1
  80. package/lib/queries/splunk-time-series-query/get-splunk-time-series-data.d.ts +2 -2
  81. package/lib/queries/splunk-time-series-query/get-splunk-time-series-data.d.ts.map +1 -1
  82. package/lib/queries/splunk-time-series-query/get-splunk-time-series-data.js +2 -2
  83. package/lib/queries/splunk-time-series-query/get-splunk-time-series-data.js.map +1 -1
  84. package/lib/queries/splunk-time-series-query/index.js +4 -4
  85. package/lib/queries/splunk-time-series-query/index.js.map +1 -1
  86. package/lib/queries/splunk-time-series-query/splunk-time-series-query-types.d.ts +2 -2
  87. package/lib/queries/splunk-time-series-query/splunk-time-series-query-types.d.ts.map +1 -1
  88. package/lib/queries/splunk-time-series-query/splunk-time-series-query-types.js.map +1 -1
  89. package/lib/setup-tests.d.ts +1 -1
  90. package/lib/setup-tests.d.ts.map +1 -1
  91. package/lib/setup-tests.js +2 -2
  92. package/lib/setup-tests.js.map +1 -1
  93. package/mf-manifest.json +41 -44
  94. package/mf-stats.json +41 -44
  95. package/package.json +10 -9
  96. package/__mf/js/async/116.9f39e2dc.js +0 -7
  97. package/__mf/js/async/116.9f39e2dc.js.LICENSE.txt +0 -64
  98. package/__mf/js/async/121.0ceb8113.js +0 -2
  99. package/__mf/js/async/181.4d01713c.js +0 -2
  100. package/__mf/js/async/332.fc51c4d5.js +0 -139
  101. package/__mf/js/async/386.da241588.js +0 -2
  102. package/__mf/js/async/470.e7f915b7.js +0 -2
  103. package/__mf/js/async/537.880623e7.js +0 -1
  104. package/__mf/js/async/558.db2f2486.js +0 -1
  105. package/__mf/js/async/756.8162c322.js +0 -24
  106. package/__mf/js/async/756.8162c322.js.LICENSE.txt +0 -44
  107. package/__mf/js/async/842.601cf14f.js +0 -1
  108. package/__mf/js/async/941.693e183d.js +0 -2
  109. package/__mf/js/async/963.0f837958.js +0 -1
  110. package/__mf/js/async/982.e5647ac8.js +0 -10
  111. package/__mf/js/async/__federation_expose_SplunkDatasource.b9438a9e.js +0 -2
  112. package/__mf/js/async/__federation_expose_SplunkLogQuery.8d011abe.js +0 -2
  113. package/__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.264a58b9.js +0 -2
  114. package/__mf/js/async/lib-router.31611676.js +0 -2
  115. package/lib/cjs/bootstrap.js +0 -27
  116. package/lib/cjs/datasources/index.js +0 -30
  117. package/lib/cjs/datasources/splunk-datasource/SplunkDatasource.js +0 -69
  118. package/lib/cjs/datasources/splunk-datasource/SplunkDatasourceEditor.js +0 -71
  119. package/lib/cjs/datasources/splunk-datasource/index.js +0 -32
  120. package/lib/cjs/datasources/splunk-datasource/splunk-datasource-types.js +0 -16
  121. package/lib/cjs/env.d.js +0 -14
  122. package/lib/cjs/getPluginModule.js +0 -39
  123. package/lib/cjs/index-federation.js +0 -55
  124. package/lib/cjs/index.js +0 -39
  125. package/lib/cjs/model/index.js +0 -31
  126. package/lib/cjs/model/splunk-client-types.js +0 -16
  127. package/lib/cjs/model/splunk-client.js +0 -151
  128. package/lib/cjs/queries/constants.js +0 -25
  129. package/lib/cjs/queries/index.js +0 -31
  130. package/lib/cjs/queries/splunk-log-query/SplunkLogQuery.js +0 -43
  131. package/lib/cjs/queries/splunk-log-query/SplunkLogQueryEditor.js +0 -95
  132. package/lib/cjs/queries/splunk-log-query/get-splunk-log-data.js +0 -127
  133. package/lib/cjs/queries/splunk-log-query/index.js +0 -33
  134. package/lib/cjs/queries/splunk-log-query/log-query-plugin-interface.js +0 -16
  135. package/lib/cjs/queries/splunk-log-query/splunk-log-query-types.js +0 -16
  136. package/lib/cjs/queries/splunk-time-series-query/SplunkTimeSeriesQuery.js +0 -43
  137. package/lib/cjs/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.js +0 -95
  138. package/lib/cjs/queries/splunk-time-series-query/get-splunk-time-series-data.js +0 -106
  139. package/lib/cjs/queries/splunk-time-series-query/index.js +0 -33
  140. package/lib/cjs/queries/splunk-time-series-query/splunk-time-series-query-types.js +0 -16
  141. package/lib/cjs/setup-tests.js +0 -19
  142. /package/__mf/css/async/{116.85c2cbf6.css → 770.85c2cbf6.css} +0 -0
  143. /package/__mf/js/async/{121.0ceb8113.js.LICENSE.txt → 121.2e756764.js.LICENSE.txt} +0 -0
  144. /package/__mf/js/async/{181.4d01713c.js.LICENSE.txt → 181.dc89accd.js.LICENSE.txt} +0 -0
  145. /package/__mf/js/async/{470.e7f915b7.js.LICENSE.txt → 470.aad78617.js.LICENSE.txt} +0 -0
  146. /package/__mf/js/async/{386.da241588.js.LICENSE.txt → 562.50672091.js.LICENSE.txt} +0 -0
  147. /package/__mf/js/async/{941.693e183d.js.LICENSE.txt → 941.41972212.js.LICENSE.txt} +0 -0
  148. /package/__mf/js/async/{982.e5647ac8.js.LICENSE.txt → 982.11d34b45.js.LICENSE.txt} +0 -0
  149. /package/__mf/js/async/{__federation_expose_SplunkDatasource.b9438a9e.js.LICENSE.txt → __federation_expose_SplunkDatasource.981f2e0b.js.LICENSE.txt} +0 -0
  150. /package/__mf/js/async/{__federation_expose_SplunkLogQuery.8d011abe.js.LICENSE.txt → __federation_expose_SplunkLogQuery.3588c915.js.LICENSE.txt} +0 -0
  151. /package/__mf/js/async/{__federation_expose_SplunkTimeSeriesQuery.264a58b9.js.LICENSE.txt → __federation_expose_SplunkTimeSeriesQuery.aa1e18a7.js.LICENSE.txt} +0 -0
  152. /package/__mf/js/async/{lib-router.31611676.js.LICENSE.txt → lib-router.56503757.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-log-query/index.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './get-splunk-log-data';\nexport * from './SplunkLogQuery';\nexport * from './SplunkLogQueryEditor';\nexport * from './splunk-log-query-types';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,wBAAwB;AACtC,cAAc,mBAAmB;AACjC,cAAc,yBAAyB;AACvC,cAAc,2BAA2B"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-log-query/index.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './get-splunk-log-data';\nexport * from './SplunkLogQuery';\nexport * from './SplunkLogQueryEditor';\nexport * from './splunk-log-query-types';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,2BAAwB;AACtC,cAAc,sBAAmB;AACjC,cAAc,4BAAyB;AACvC,cAAc,8BAA2B"}
@@ -1,5 +1,5 @@
1
- import { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';
2
- import { AbsoluteTimeRange, LogData, UnknownSpec } from '@perses-dev/spec';
1
+ import type { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';
2
+ import type { AbsoluteTimeRange, LogData, UnknownSpec } from '@perses-dev/spec';
3
3
  export interface LogQueryResult {
4
4
  logs: LogData;
5
5
  timeRange: AbsoluteTimeRange;
@@ -1 +1 @@
1
- {"version":3,"file":"log-query-plugin-interface.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-log-query/log-query-plugin-interface.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE3E,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,aAAa,EAAE,gBAAgB,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;CAClC;AAED,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,cAAc,CAAC,IAAI,GAAG,WAAW,CAAE,SAAQ,MAAM,CAAC,IAAI,CAAC;IACtE,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IAC1E,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,KAAK,0BAA0B,CAAC;CAC9E"}
1
+ {"version":3,"file":"log-query-plugin-interface.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-log-query/log-query-plugin-interface.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC3F,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEhF,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,aAAa,EAAE,gBAAgB,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;CAClC;AAED,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,cAAc,CAAC,IAAI,GAAG,WAAW,CAAE,SAAQ,MAAM,CAAC,IAAI,CAAC;IACtE,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IAC1E,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,KAAK,0BAA0B,CAAC;CAC9E"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-log-query/log-query-plugin-interface.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';\nimport { AbsoluteTimeRange, LogData, UnknownSpec } from '@perses-dev/spec';\n\nexport interface LogQueryResult {\n logs: LogData;\n timeRange: AbsoluteTimeRange;\n metadata?: {\n executedQueryString: string;\n };\n}\n\nexport interface LogQueryContext {\n timeRange: AbsoluteTimeRange;\n variableState: VariableStateMap;\n datasourceStore: DatasourceStore;\n}\n\ntype LogQueryPluginDependencies = {\n variables?: string[];\n};\n\nexport interface LogQueryPlugin<Spec = UnknownSpec> extends Plugin<Spec> {\n getLogData: (spec: Spec, ctx: LogQueryContext) => Promise<LogQueryResult>;\n dependsOn?: (spec: Spec, ctx: LogQueryContext) => LogQueryPluginDependencies;\n}\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAuBjC,WAGC"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-log-query/log-query-plugin-interface.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';\nimport type { AbsoluteTimeRange, LogData, UnknownSpec } from '@perses-dev/spec';\n\nexport interface LogQueryResult {\n logs: LogData;\n timeRange: AbsoluteTimeRange;\n metadata?: {\n executedQueryString: string;\n };\n}\n\nexport interface LogQueryContext {\n timeRange: AbsoluteTimeRange;\n variableState: VariableStateMap;\n datasourceStore: DatasourceStore;\n}\n\ntype LogQueryPluginDependencies = {\n variables?: string[];\n};\n\nexport interface LogQueryPlugin<Spec = UnknownSpec> extends Plugin<Spec> {\n getLogData: (spec: Spec, ctx: LogQueryContext) => Promise<LogQueryResult>;\n dependsOn?: (spec: Spec, ctx: LogQueryContext) => LogQueryPluginDependencies;\n}\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAuBjC,WAGC"}
@@ -1,5 +1,5 @@
1
- import { DatasourceSelector } from '@perses-dev/spec';
2
- import { SplunkLogResults } from '../../model/splunk-client-types';
1
+ import type { DatasourceSelector } from '@perses-dev/spec';
2
+ import type { SplunkLogResults } from '../../model/splunk-client-types';
3
3
  export interface SplunkLogQuerySpec {
4
4
  query: string;
5
5
  datasource?: DatasourceSelector;
@@ -1 +1 @@
1
- {"version":3,"file":"splunk-log-query-types.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-log-query/splunk-log-query-types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC"}
1
+ {"version":3,"file":"splunk-log-query-types.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-log-query/splunk-log-query-types.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-log-query/splunk-log-query-types.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { DatasourceSelector } from '@perses-dev/spec';\nimport { SplunkLogResults } from '../../model/splunk-client-types';\n\nexport interface SplunkLogQuerySpec {\n query: string;\n datasource?: DatasourceSelector;\n earliest?: string;\n latest?: string;\n maxResults?: number;\n}\n\nexport type SplunkLogQueryResponse = SplunkLogResults;\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAajC,WAAsD"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-log-query/splunk-log-query-types.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type { DatasourceSelector } from '@perses-dev/spec';\n\nimport type { SplunkLogResults } from '../../model/splunk-client-types';\n\nexport interface SplunkLogQuerySpec {\n query: string;\n datasource?: DatasourceSelector;\n earliest?: string;\n latest?: string;\n maxResults?: number;\n}\n\nexport type SplunkLogQueryResponse = SplunkLogResults;\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAcjC,WAAsD"}
@@ -1,4 +1,4 @@
1
- import { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';
2
- import { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
1
+ import type { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';
2
+ import type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
3
3
  export declare const SplunkTimeSeriesQuery: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec>;
4
4
  //# sourceMappingURL=SplunkTimeSeriesQuery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SplunkTimeSeriesQuery.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQuery.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,qBAAqB,EAAkB,MAAM,2BAA2B,CAAC;AAGlF,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAE7E,eAAO,MAAM,qBAAqB,EAAE,qBAAqB,CAAC,yBAAyB,CAWlF,CAAC"}
1
+ {"version":3,"file":"SplunkTimeSeriesQuery.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQuery.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAIvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAGlF,eAAO,MAAM,qBAAqB,EAAE,qBAAqB,CAAC,yBAAyB,CAWlF,CAAC"}
@@ -10,9 +10,9 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- import { parseVariables } from '@perses-dev/plugin-system';
14
- import { getSplunkTimeSeriesData } from './get-splunk-time-series-data';
15
- import { SplunkTimeSeriesQueryEditor } from './SplunkTimeSeriesQueryEditor';
13
+ import { parseVariables } from "@perses-dev/plugin-system";
14
+ import { getSplunkTimeSeriesData } from "./get-splunk-time-series-data.js";
15
+ import { SplunkTimeSeriesQueryEditor } from "./SplunkTimeSeriesQueryEditor.js";
16
16
  export const SplunkTimeSeriesQuery = {
17
17
  getTimeSeriesData: getSplunkTimeSeriesData,
18
18
  OptionsEditorComponent: SplunkTimeSeriesQueryEditor,
@@ -22,9 +22,7 @@ export const SplunkTimeSeriesQuery = {
22
22
  dependsOn: (spec)=>{
23
23
  const queryVariables = parseVariables(spec.query);
24
24
  const allVariables = [
25
- ...new Set([
26
- ...queryVariables
27
- ])
25
+ ...new Set(queryVariables)
28
26
  ];
29
27
  return {
30
28
  variables: allVariables
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQuery.tsx"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { TimeSeriesQueryPlugin, parseVariables } from '@perses-dev/plugin-system';\nimport { getSplunkTimeSeriesData } from './get-splunk-time-series-data';\nimport { SplunkTimeSeriesQueryEditor } from './SplunkTimeSeriesQueryEditor';\nimport { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\n\nexport const SplunkTimeSeriesQuery: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec> = {\n getTimeSeriesData: getSplunkTimeSeriesData,\n OptionsEditorComponent: SplunkTimeSeriesQueryEditor,\n createInitialOptions: () => ({ query: '' }),\n dependsOn: (spec) => {\n const queryVariables = parseVariables(spec.query);\n const allVariables = [...new Set([...queryVariables])];\n return {\n variables: allVariables,\n };\n },\n};\n"],"names":["parseVariables","getSplunkTimeSeriesData","SplunkTimeSeriesQueryEditor","SplunkTimeSeriesQuery","getTimeSeriesData","OptionsEditorComponent","createInitialOptions","query","dependsOn","spec","queryVariables","allVariables","Set","variables"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAAgCA,cAAc,QAAQ,4BAA4B;AAClF,SAASC,uBAAuB,QAAQ,gCAAgC;AACxE,SAASC,2BAA2B,QAAQ,gCAAgC;AAG5E,OAAO,MAAMC,wBAA0E;IACrFC,mBAAmBH;IACnBI,wBAAwBH;IACxBI,sBAAsB,IAAO,CAAA;YAAEC,OAAO;QAAG,CAAA;IACzCC,WAAW,CAACC;QACV,MAAMC,iBAAiBV,eAAeS,KAAKF,KAAK;QAChD,MAAMI,eAAe;eAAI,IAAIC,IAAI;mBAAIF;aAAe;SAAE;QACtD,OAAO;YACLG,WAAWF;QACb;IACF;AACF,EAAE"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQuery.tsx"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';\nimport { parseVariables } from '@perses-dev/plugin-system';\n\nimport { getSplunkTimeSeriesData } from './get-splunk-time-series-data';\nimport type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\nimport { SplunkTimeSeriesQueryEditor } from './SplunkTimeSeriesQueryEditor';\n\nexport const SplunkTimeSeriesQuery: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec> = {\n getTimeSeriesData: getSplunkTimeSeriesData,\n OptionsEditorComponent: SplunkTimeSeriesQueryEditor,\n createInitialOptions: () => ({ query: '' }),\n dependsOn: (spec) => {\n const queryVariables = parseVariables(spec.query);\n const allVariables = [...new Set(queryVariables)];\n return {\n variables: allVariables,\n };\n },\n};\n"],"names":["parseVariables","getSplunkTimeSeriesData","SplunkTimeSeriesQueryEditor","SplunkTimeSeriesQuery","getTimeSeriesData","OptionsEditorComponent","createInitialOptions","query","dependsOn","spec","queryVariables","allVariables","Set","variables"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAGjC,SAASA,cAAc,QAAQ,4BAA4B;AAE3D,SAASC,uBAAuB,QAAQ,mCAAgC;AAExE,SAASC,2BAA2B,QAAQ,mCAAgC;AAE5E,OAAO,MAAMC,wBAA0E;IACrFC,mBAAmBH;IACnBI,wBAAwBH;IACxBI,sBAAsB,IAAO,CAAA;YAAEC,OAAO;QAAG,CAAA;IACzCC,WAAW,CAACC;QACV,MAAMC,iBAAiBV,eAAeS,KAAKF,KAAK;QAChD,MAAMI,eAAe;eAAI,IAAIC,IAAIF;SAAgB;QACjD,OAAO;YACLG,WAAWF;QACb;IACF;AACF,EAAE"}
@@ -1,6 +1,6 @@
1
- import { OptionsEditorProps } from '@perses-dev/plugin-system';
2
- import { ReactElement } from 'react';
3
- import { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
1
+ import type { OptionsEditorProps } from '@perses-dev/plugin-system';
2
+ import type { ReactElement } from 'react';
3
+ import type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
4
4
  type SplunkQueryEditorProps = OptionsEditorProps<SplunkTimeSeriesQuerySpec>;
5
5
  export declare function SplunkTimeSeriesQueryEditor(props: SplunkQueryEditorProps): ReactElement;
6
6
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"SplunkTimeSeriesQueryEditor.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.tsx"],"names":[],"mappings":"AAaA,OAAO,EAIL,kBAAkB,EAEnB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAK7E,KAAK,sBAAsB,GAAG,kBAAkB,CAAC,yBAAyB,CAAC,CAAC;AAE5E,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,sBAAsB,GAAG,YAAY,CAqEvF"}
1
+ {"version":3,"file":"SplunkTimeSeriesQueryEditor.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAyB,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAG3F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAKlF,KAAK,sBAAsB,GAAG,kBAAkB,CAAC,yBAAyB,CAAC,CAAC;AAE5E,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,sBAAsB,GAAG,YAAY,CAqEvF"}
@@ -11,9 +11,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
11
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
- import { DatasourceSelect, isVariableDatasource, useDatasourceSelectValueToSelector } from '@perses-dev/plugin-system';
15
- import { Box, InputLabel, Stack, TextField } from '@mui/material';
16
- import { produce } from 'immer';
14
+ import { Box, InputLabel, Stack, TextField } from "@mui/material";
15
+ import { DatasourceSelect, isVariableDatasource, useDatasourceSelectValueToSelector } from "@perses-dev/plugin-system";
16
+ import { produce } from "immer";
17
17
  const DATASOURCE_KIND = 'SplunkDatasource';
18
18
  const DEFAULT_DATASOURCE = {
19
19
  kind: DATASOURCE_KIND
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.tsx"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport {\n DatasourceSelect,\n DatasourceSelectProps,\n isVariableDatasource,\n OptionsEditorProps,\n useDatasourceSelectValueToSelector,\n} from '@perses-dev/plugin-system';\nimport { Box, InputLabel, Stack, TextField } from '@mui/material';\nimport { ReactElement } from 'react';\nimport { produce } from 'immer';\nimport { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\n\nconst DATASOURCE_KIND = 'SplunkDatasource';\nconst DEFAULT_DATASOURCE = { kind: DATASOURCE_KIND };\n\ntype SplunkQueryEditorProps = OptionsEditorProps<SplunkTimeSeriesQuerySpec>;\n\nexport function SplunkTimeSeriesQueryEditor(props: SplunkQueryEditorProps): ReactElement {\n const { onChange, value } = props;\n const { datasource, query } = value;\n const datasourceSelectValue = datasource ?? DEFAULT_DATASOURCE;\n const selectedDatasource = useDatasourceSelectValueToSelector(datasourceSelectValue, DATASOURCE_KIND);\n\n const handleDatasourceChange: DatasourceSelectProps['onChange'] = (newDatasourceSelection) => {\n if (!isVariableDatasource(newDatasourceSelection) && newDatasourceSelection.kind === DATASOURCE_KIND) {\n onChange(\n produce(value, (draft) => {\n draft.datasource = newDatasourceSelection;\n })\n );\n return;\n }\n\n throw new Error('Got unexpected non SplunkQuery datasource selection');\n };\n\n const handleQueryChange = (newQuery: string): void => {\n onChange(\n produce(value, (draft) => {\n draft.query = newQuery;\n })\n );\n };\n\n return (\n <Stack spacing={1.5} paddingBottom={1}>\n <Box>\n <InputLabel\n sx={{\n display: 'block',\n marginBottom: '4px',\n fontWeight: 500,\n }}\n >\n Datasource\n </InputLabel>\n <DatasourceSelect\n datasourcePluginKind={DATASOURCE_KIND}\n value={selectedDatasource}\n onChange={handleDatasourceChange}\n label=\"Splunk Datasource\"\n notched\n />\n </Box>\n\n <Box>\n <InputLabel\n sx={{\n display: 'block',\n marginBottom: '4px',\n fontWeight: 500,\n }}\n >\n SPL Query\n </InputLabel>\n <TextField\n fullWidth\n multiline\n rows={4}\n value={query}\n onChange={(e) => handleQueryChange(e.target.value)}\n placeholder=\"search index=main | timechart count\"\n />\n </Box>\n </Stack>\n );\n}\n"],"names":["DatasourceSelect","isVariableDatasource","useDatasourceSelectValueToSelector","Box","InputLabel","Stack","TextField","produce","DATASOURCE_KIND","DEFAULT_DATASOURCE","kind","SplunkTimeSeriesQueryEditor","props","onChange","value","datasource","query","datasourceSelectValue","selectedDatasource","handleDatasourceChange","newDatasourceSelection","draft","Error","handleQueryChange","newQuery","spacing","paddingBottom","sx","display","marginBottom","fontWeight","datasourcePluginKind","label","notched","fullWidth","multiline","rows","e","target","placeholder"],"mappings":";AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SACEA,gBAAgB,EAEhBC,oBAAoB,EAEpBC,kCAAkC,QAC7B,4BAA4B;AACnC,SAASC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,SAAS,QAAQ,gBAAgB;AAElE,SAASC,OAAO,QAAQ,QAAQ;AAGhC,MAAMC,kBAAkB;AACxB,MAAMC,qBAAqB;IAAEC,MAAMF;AAAgB;AAInD,OAAO,SAASG,4BAA4BC,KAA6B;IACvE,MAAM,EAAEC,QAAQ,EAAEC,KAAK,EAAE,GAAGF;IAC5B,MAAM,EAAEG,UAAU,EAAEC,KAAK,EAAE,GAAGF;IAC9B,MAAMG,wBAAwBF,cAAcN;IAC5C,MAAMS,qBAAqBhB,mCAAmCe,uBAAuBT;IAErF,MAAMW,yBAA4D,CAACC;QACjE,IAAI,CAACnB,qBAAqBmB,2BAA2BA,uBAAuBV,IAAI,KAAKF,iBAAiB;YACpGK,SACEN,QAAQO,OAAO,CAACO;gBACdA,MAAMN,UAAU,GAAGK;YACrB;YAEF;QACF;QAEA,MAAM,IAAIE,MAAM;IAClB;IAEA,MAAMC,oBAAoB,CAACC;QACzBX,SACEN,QAAQO,OAAO,CAACO;YACdA,MAAML,KAAK,GAAGQ;QAChB;IAEJ;IAEA,qBACE,MAACnB;QAAMoB,SAAS;QAAKC,eAAe;;0BAClC,MAACvB;;kCACC,KAACC;wBACCuB,IAAI;4BACFC,SAAS;4BACTC,cAAc;4BACdC,YAAY;wBACd;kCACD;;kCAGD,KAAC9B;wBACC+B,sBAAsBvB;wBACtBM,OAAOI;wBACPL,UAAUM;wBACVa,OAAM;wBACNC,OAAO;;;;0BAIX,MAAC9B;;kCACC,KAACC;wBACCuB,IAAI;4BACFC,SAAS;4BACTC,cAAc;4BACdC,YAAY;wBACd;kCACD;;kCAGD,KAACxB;wBACC4B,SAAS;wBACTC,SAAS;wBACTC,MAAM;wBACNtB,OAAOE;wBACPH,UAAU,CAACwB,IAAMd,kBAAkBc,EAAEC,MAAM,CAACxB,KAAK;wBACjDyB,aAAY;;;;;;AAKtB"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.tsx"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { Box, InputLabel, Stack, TextField } from '@mui/material';\nimport type { DatasourceSelectProps, OptionsEditorProps } from '@perses-dev/plugin-system';\nimport { DatasourceSelect, isVariableDatasource, useDatasourceSelectValueToSelector } from '@perses-dev/plugin-system';\nimport { produce } from 'immer';\nimport type { ReactElement } from 'react';\n\nimport type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\n\nconst DATASOURCE_KIND = 'SplunkDatasource';\nconst DEFAULT_DATASOURCE = { kind: DATASOURCE_KIND };\n\ntype SplunkQueryEditorProps = OptionsEditorProps<SplunkTimeSeriesQuerySpec>;\n\nexport function SplunkTimeSeriesQueryEditor(props: SplunkQueryEditorProps): ReactElement {\n const { onChange, value } = props;\n const { datasource, query } = value;\n const datasourceSelectValue = datasource ?? DEFAULT_DATASOURCE;\n const selectedDatasource = useDatasourceSelectValueToSelector(datasourceSelectValue, DATASOURCE_KIND);\n\n const handleDatasourceChange: DatasourceSelectProps['onChange'] = (newDatasourceSelection) => {\n if (!isVariableDatasource(newDatasourceSelection) && newDatasourceSelection.kind === DATASOURCE_KIND) {\n onChange(\n produce(value, (draft) => {\n draft.datasource = newDatasourceSelection;\n }),\n );\n return;\n }\n\n throw new Error('Got unexpected non SplunkQuery datasource selection');\n };\n\n const handleQueryChange = (newQuery: string): void => {\n onChange(\n produce(value, (draft) => {\n draft.query = newQuery;\n }),\n );\n };\n\n return (\n <Stack spacing={1.5} paddingBottom={1}>\n <Box>\n <InputLabel\n sx={{\n display: 'block',\n marginBottom: '4px',\n fontWeight: 500,\n }}\n >\n Datasource\n </InputLabel>\n <DatasourceSelect\n datasourcePluginKind={DATASOURCE_KIND}\n value={selectedDatasource}\n onChange={handleDatasourceChange}\n label=\"Splunk Datasource\"\n notched\n />\n </Box>\n\n <Box>\n <InputLabel\n sx={{\n display: 'block',\n marginBottom: '4px',\n fontWeight: 500,\n }}\n >\n SPL Query\n </InputLabel>\n <TextField\n fullWidth\n multiline\n rows={4}\n value={query}\n onChange={(e) => handleQueryChange(e.target.value)}\n placeholder=\"search index=main | timechart count\"\n />\n </Box>\n </Stack>\n );\n}\n"],"names":["Box","InputLabel","Stack","TextField","DatasourceSelect","isVariableDatasource","useDatasourceSelectValueToSelector","produce","DATASOURCE_KIND","DEFAULT_DATASOURCE","kind","SplunkTimeSeriesQueryEditor","props","onChange","value","datasource","query","datasourceSelectValue","selectedDatasource","handleDatasourceChange","newDatasourceSelection","draft","Error","handleQueryChange","newQuery","spacing","paddingBottom","sx","display","marginBottom","fontWeight","datasourcePluginKind","label","notched","fullWidth","multiline","rows","e","target","placeholder"],"mappings":";AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,SAAS,QAAQ,gBAAgB;AAElE,SAASC,gBAAgB,EAAEC,oBAAoB,EAAEC,kCAAkC,QAAQ,4BAA4B;AACvH,SAASC,OAAO,QAAQ,QAAQ;AAKhC,MAAMC,kBAAkB;AACxB,MAAMC,qBAAqB;IAAEC,MAAMF;AAAgB;AAInD,OAAO,SAASG,4BAA4BC,KAA6B;IACvE,MAAM,EAAEC,QAAQ,EAAEC,KAAK,EAAE,GAAGF;IAC5B,MAAM,EAAEG,UAAU,EAAEC,KAAK,EAAE,GAAGF;IAC9B,MAAMG,wBAAwBF,cAAcN;IAC5C,MAAMS,qBAAqBZ,mCAAmCW,uBAAuBT;IAErF,MAAMW,yBAA4D,CAACC;QACjE,IAAI,CAACf,qBAAqBe,2BAA2BA,uBAAuBV,IAAI,KAAKF,iBAAiB;YACpGK,SACEN,QAAQO,OAAO,CAACO;gBACdA,MAAMN,UAAU,GAAGK;YACrB;YAEF;QACF;QAEA,MAAM,IAAIE,MAAM;IAClB;IAEA,MAAMC,oBAAoB,CAACC;QACzBX,SACEN,QAAQO,OAAO,CAACO;YACdA,MAAML,KAAK,GAAGQ;QAChB;IAEJ;IAEA,qBACE,MAACtB;QAAMuB,SAAS;QAAKC,eAAe;;0BAClC,MAAC1B;;kCACC,KAACC;wBACC0B,IAAI;4BACFC,SAAS;4BACTC,cAAc;4BACdC,YAAY;wBACd;kCACD;;kCAGD,KAAC1B;wBACC2B,sBAAsBvB;wBACtBM,OAAOI;wBACPL,UAAUM;wBACVa,OAAM;wBACNC,OAAO;;;;0BAIX,MAACjC;;kCACC,KAACC;wBACC0B,IAAI;4BACFC,SAAS;4BACTC,cAAc;4BACdC,YAAY;wBACd;kCACD;;kCAGD,KAAC3B;wBACC+B,SAAS;wBACTC,SAAS;wBACTC,MAAM;wBACNtB,OAAOE;wBACPH,UAAU,CAACwB,IAAMd,kBAAkBc,EAAEC,MAAM,CAACxB,KAAK;wBACjDyB,aAAY;;;;;;AAKtB"}
@@ -1,4 +1,4 @@
1
- import { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';
2
- import { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
1
+ import type { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';
2
+ import type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
3
3
  export declare const getSplunkTimeSeriesData: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec>['getTimeSeriesData'];
4
4
  //# sourceMappingURL=get-splunk-time-series-data.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-splunk-time-series-data.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/get-splunk-time-series-data.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,qBAAqB,EAAoB,MAAM,2BAA2B,CAAC;AAMpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAyB7E,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,CAAC,yBAAyB,CAAC,CAAC,mBAAmB,CAsEzG,CAAC"}
1
+ {"version":3,"file":"get-splunk-time-series-data.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/get-splunk-time-series-data.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAQvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAyBlF,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,CAAC,yBAAyB,CAAC,CAAC,mBAAmB,CAsEzG,CAAC"}
@@ -10,8 +10,8 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- import { replaceVariables } from '@perses-dev/plugin-system';
14
- import { DEFAULT_DATASOURCE } from '../constants';
13
+ import { replaceVariables } from "@perses-dev/plugin-system";
14
+ import { DEFAULT_DATASOURCE } from "../constants.js";
15
15
  function convertResultsToTimeSeries(results) {
16
16
  const resultsArray = Array.isArray(results) ? results : [
17
17
  results
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/get-splunk-time-series-data.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { TimeSeriesQueryPlugin, replaceVariables } from '@perses-dev/plugin-system';\nimport { HTTPAllowedEndpoint, TimeSeries } from '@perses-dev/spec';\nimport { SplunkClient } from '../../model/splunk-client';\nimport { SplunkDatasourceSpec } from '../../datasources/splunk-datasource/splunk-datasource-types';\nimport { DEFAULT_DATASOURCE } from '../constants';\nimport { SplunkJobCreateResponse, SplunkJobStatusResponse, SplunkResultsResponse } from '../../model';\nimport { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\n\nfunction convertResultsToTimeSeries(\n results: Array<{ _time: string; [key: string]: string | number }> | { _time: string; [key: string]: string | number }\n): TimeSeries[] {\n const resultsArray = Array.isArray(results) ? results : [results];\n\n if (resultsArray.length === 0) return [];\n\n const firstResult = resultsArray[0];\n if (!firstResult) return [];\n\n const metricKeys = Object.keys(firstResult).filter((key) => key !== '_time');\n\n return metricKeys.map((metricKey) => ({\n name: metricKey,\n values: resultsArray.map((result) => {\n const timestamp = new Date(result._time).getTime() / 1000;\n const value = Number(result[metricKey]) || 0;\n return [timestamp, value];\n }),\n labels: { metric: metricKey },\n }));\n}\n\nexport const getSplunkTimeSeriesData: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec>['getTimeSeriesData'] = async (\n spec,\n context\n) => {\n if (!spec.query) {\n return {\n series: [],\n timeRange: { start: context.timeRange.start, end: context.timeRange.end },\n stepMs: 60000, // Default 1 minute\n };\n }\n\n const query = replaceVariables(spec.query, context.variableState);\n const client: SplunkClient = await context.datasourceStore.getDatasourceClient<SplunkClient>(\n spec.datasource ?? DEFAULT_DATASOURCE\n );\n\n const datasourceSpec = await context.datasourceStore.getDatasource(spec.datasource ?? DEFAULT_DATASOURCE);\n const allowedEndpoints: HTTPAllowedEndpoint[] =\n (datasourceSpec.plugin.spec as SplunkDatasourceSpec)?.proxy?.spec?.allowedEndpoints || [];\n\n const hasExportEndpoint = allowedEndpoints.some((ep: HTTPAllowedEndpoint) => ep.endpointPattern?.includes('/export'));\n\n const { start, end } = context.timeRange;\n\n const earliest_time = Math.floor(start.getTime() / 1000).toString();\n const latest_time = Math.floor(end.getTime() / 1000).toString();\n\n let resultsResponse: SplunkResultsResponse;\n\n if (hasExportEndpoint) {\n resultsResponse = await client.exportSearch({\n search: query,\n earliest_time: spec.earliest || earliest_time,\n latest_time: spec.latest || latest_time,\n });\n } else {\n const jobResponse: SplunkJobCreateResponse = await client.createJob({\n search: query,\n earliest_time: spec.earliest || earliest_time,\n latest_time: spec.latest || latest_time,\n });\n\n const jobId: string = jobResponse.sid;\n\n let jobStatus: SplunkJobStatusResponse;\n do {\n await new Promise((resolve) => setTimeout(resolve, 500)); // Wait 500ms between polls\n jobStatus = await client.getJobStatus(jobId);\n if (!jobStatus || !jobStatus.entry?.[0]?.content) {\n console.warn('Failed to get job status or job status response is malformed', { jobStatus });\n break;\n }\n } while (!jobStatus.entry?.[0]?.content?.isDone);\n\n resultsResponse = await client.getJobResults(jobId);\n }\n\n const convertedSeries: TimeSeries[] = convertResultsToTimeSeries(\n resultsResponse.results as Array<{ _time: string; [key: string]: string | number }>\n );\n\n return {\n series: convertedSeries,\n timeRange: { start, end },\n stepMs: context.suggestedStepMs || 60000, // Default 1 minute\n metadata: {\n executedQueryString: query,\n },\n };\n};\n"],"names":["replaceVariables","DEFAULT_DATASOURCE","convertResultsToTimeSeries","results","resultsArray","Array","isArray","length","firstResult","metricKeys","Object","keys","filter","key","map","metricKey","name","values","result","timestamp","Date","_time","getTime","value","Number","labels","metric","getSplunkTimeSeriesData","spec","context","query","series","timeRange","start","end","stepMs","variableState","client","datasourceStore","getDatasourceClient","datasource","datasourceSpec","getDatasource","allowedEndpoints","plugin","proxy","hasExportEndpoint","some","ep","endpointPattern","includes","earliest_time","Math","floor","toString","latest_time","resultsResponse","exportSearch","search","earliest","latest","jobResponse","createJob","jobId","sid","jobStatus","Promise","resolve","setTimeout","getJobStatus","entry","content","console","warn","isDone","getJobResults","convertedSeries","suggestedStepMs","metadata","executedQueryString"],"mappings":"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"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/get-splunk-time-series-data.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';\nimport { replaceVariables } from '@perses-dev/plugin-system';\nimport type { HTTPAllowedEndpoint, TimeSeries } from '@perses-dev/spec';\n\nimport type { SplunkDatasourceSpec } from '../../datasources/splunk-datasource/splunk-datasource-types';\nimport type { SplunkJobCreateResponse, SplunkJobStatusResponse, SplunkResultsResponse } from '../../model';\nimport type { SplunkClient } from '../../model/splunk-client';\nimport { DEFAULT_DATASOURCE } from '../constants';\nimport type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\n\nfunction convertResultsToTimeSeries(\n results: Array<{ _time: string; [key: string]: string | number }> | { _time: string; [key: string]: string | number },\n): TimeSeries[] {\n const resultsArray = Array.isArray(results) ? results : [results];\n\n if (resultsArray.length === 0) return [];\n\n const firstResult = resultsArray[0];\n if (!firstResult) return [];\n\n const metricKeys = Object.keys(firstResult).filter((key) => key !== '_time');\n\n return metricKeys.map((metricKey) => ({\n name: metricKey,\n values: resultsArray.map((result) => {\n const timestamp = new Date(result._time).getTime() / 1000;\n const value = Number(result[metricKey]) || 0;\n return [timestamp, value];\n }),\n labels: { metric: metricKey },\n }));\n}\n\nexport const getSplunkTimeSeriesData: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec>['getTimeSeriesData'] = async (\n spec,\n context,\n) => {\n if (!spec.query) {\n return {\n series: [],\n timeRange: { start: context.timeRange.start, end: context.timeRange.end },\n stepMs: 60000, // Default 1 minute\n };\n }\n\n const query = replaceVariables(spec.query, context.variableState);\n const client: SplunkClient = await context.datasourceStore.getDatasourceClient<SplunkClient>(\n spec.datasource ?? DEFAULT_DATASOURCE,\n );\n\n const datasourceSpec = await context.datasourceStore.getDatasource(spec.datasource ?? DEFAULT_DATASOURCE);\n const allowedEndpoints: HTTPAllowedEndpoint[] =\n (datasourceSpec.plugin.spec as SplunkDatasourceSpec)?.proxy?.spec?.allowedEndpoints || [];\n\n const hasExportEndpoint = allowedEndpoints.some((ep: HTTPAllowedEndpoint) => ep.endpointPattern?.includes('/export'));\n\n const { start, end } = context.timeRange;\n\n const earliest_time = Math.floor(start.getTime() / 1000).toString();\n const latest_time = Math.floor(end.getTime() / 1000).toString();\n\n let resultsResponse: SplunkResultsResponse;\n\n if (hasExportEndpoint) {\n resultsResponse = await client.exportSearch({\n search: query,\n earliest_time: spec.earliest || earliest_time,\n latest_time: spec.latest || latest_time,\n });\n } else {\n const jobResponse: SplunkJobCreateResponse = await client.createJob({\n search: query,\n earliest_time: spec.earliest || earliest_time,\n latest_time: spec.latest || latest_time,\n });\n\n const jobId: string = jobResponse.sid;\n\n let jobStatus: SplunkJobStatusResponse;\n do {\n await new Promise((resolve) => setTimeout(resolve, 500)); // Wait 500ms between polls\n jobStatus = await client.getJobStatus(jobId);\n if (!jobStatus || !jobStatus.entry?.[0]?.content) {\n console.warn('Failed to get job status or job status response is malformed', { jobStatus });\n break;\n }\n } while (!jobStatus.entry?.[0]?.content?.isDone);\n\n resultsResponse = await client.getJobResults(jobId);\n }\n\n const convertedSeries: TimeSeries[] = convertResultsToTimeSeries(\n resultsResponse.results as Array<{ _time: string; [key: string]: string | number }>,\n );\n\n return {\n series: convertedSeries,\n timeRange: { start, end },\n stepMs: context.suggestedStepMs || 60000, // Default 1 minute\n metadata: {\n executedQueryString: query,\n },\n };\n};\n"],"names":["replaceVariables","DEFAULT_DATASOURCE","convertResultsToTimeSeries","results","resultsArray","Array","isArray","length","firstResult","metricKeys","Object","keys","filter","key","map","metricKey","name","values","result","timestamp","Date","_time","getTime","value","Number","labels","metric","getSplunkTimeSeriesData","spec","context","query","series","timeRange","start","end","stepMs","variableState","client","datasourceStore","getDatasourceClient","datasource","datasourceSpec","getDatasource","allowedEndpoints","plugin","proxy","hasExportEndpoint","some","ep","endpointPattern","includes","earliest_time","Math","floor","toString","latest_time","resultsResponse","exportSearch","search","earliest","latest","jobResponse","createJob","jobId","sid","jobStatus","Promise","resolve","setTimeout","getJobStatus","entry","content","console","warn","isDone","getJobResults","convertedSeries","suggestedStepMs","metadata","executedQueryString"],"mappings":"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"}
@@ -10,9 +10,9 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- export * from './get-splunk-time-series-data';
14
- export * from './SplunkTimeSeriesQuery';
15
- export * from './SplunkTimeSeriesQueryEditor';
16
- export * from './splunk-time-series-query-types';
13
+ export * from "./get-splunk-time-series-data.js";
14
+ export * from "./SplunkTimeSeriesQuery.js";
15
+ export * from "./SplunkTimeSeriesQueryEditor.js";
16
+ export * from "./splunk-time-series-query-types.js";
17
17
 
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/index.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './get-splunk-time-series-data';\nexport * from './SplunkTimeSeriesQuery';\nexport * from './SplunkTimeSeriesQueryEditor';\nexport * from './splunk-time-series-query-types';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,gCAAgC;AAC9C,cAAc,0BAA0B;AACxC,cAAc,gCAAgC;AAC9C,cAAc,mCAAmC"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/index.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './get-splunk-time-series-data';\nexport * from './SplunkTimeSeriesQuery';\nexport * from './SplunkTimeSeriesQueryEditor';\nexport * from './splunk-time-series-query-types';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,mCAAgC;AAC9C,cAAc,6BAA0B;AACxC,cAAc,mCAAgC;AAC9C,cAAc,sCAAmC"}
@@ -1,5 +1,5 @@
1
- import { DatasourceSelector } from '@perses-dev/spec';
2
- import { SplunkTimeSeriesResults } from '../../model/splunk-client-types';
1
+ import type { DatasourceSelector } from '@perses-dev/spec';
2
+ import type { SplunkTimeSeriesResults } from '../../model/splunk-client-types';
3
3
  export interface SplunkTimeSeriesQuerySpec {
4
4
  query: string;
5
5
  datasource?: DatasourceSelector;
@@ -1 +1 @@
1
- {"version":3,"file":"splunk-time-series-query-types.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/splunk-time-series-query-types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,6BAA6B,GAAG,uBAAuB,CAAC"}
1
+ {"version":3,"file":"splunk-time-series-query-types.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/splunk-time-series-query-types.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE/E,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,6BAA6B,GAAG,uBAAuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/splunk-time-series-query-types.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { DatasourceSelector } from '@perses-dev/spec';\nimport { SplunkTimeSeriesResults } from '../../model/splunk-client-types';\n\nexport interface SplunkTimeSeriesQuerySpec {\n query: string;\n datasource?: DatasourceSelector;\n earliest?: string;\n latest?: string;\n}\n\nexport type SplunkTimeSeriesQueryResponse = SplunkTimeSeriesResults;\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAYjC,WAAoE"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/splunk-time-series-query-types.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type { DatasourceSelector } from '@perses-dev/spec';\n\nimport type { SplunkTimeSeriesResults } from '../../model/splunk-client-types';\n\nexport interface SplunkTimeSeriesQuerySpec {\n query: string;\n datasource?: DatasourceSelector;\n earliest?: string;\n latest?: string;\n}\n\nexport type SplunkTimeSeriesQueryResponse = SplunkTimeSeriesResults;\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAajC,WAAoE"}
@@ -1,2 +1,2 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom/vitest';
2
2
  //# sourceMappingURL=setup-tests.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setup-tests.d.ts","sourceRoot":"","sources":["../../src/setup-tests.ts"],"names":[],"mappings":"AAaA,OAAO,2BAA2B,CAAC"}
1
+ {"version":3,"file":"setup-tests.d.ts","sourceRoot":"","sources":["../../src/setup-tests.ts"],"names":[],"mappings":"AAaA,OAAO,kCAAkC,CAAC"}
@@ -10,8 +10,8 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- import '@testing-library/jest-dom';
13
+ import "@testing-library/jest-dom/vitest";
14
14
  // Always mock e-charts during tests since we don't have a proper canvas in jsdom
15
- jest.mock('echarts/core');
15
+ vi.mock('echarts/core');
16
16
 
17
17
  //# sourceMappingURL=setup-tests.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/setup-tests.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport '@testing-library/jest-dom';\n\n// Always mock e-charts during tests since we don't have a proper canvas in jsdom\njest.mock('echarts/core');\n"],"names":["jest","mock"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,4BAA4B;AAEnC,iFAAiF;AACjFA,KAAKC,IAAI,CAAC"}
1
+ {"version":3,"sources":["../../src/setup-tests.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport '@testing-library/jest-dom/vitest';\n\n// Always mock e-charts during tests since we don't have a proper canvas in jsdom\nvi.mock('echarts/core');\n"],"names":["vi","mock"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,mCAAmC;AAE1C,iFAAiF;AACjFA,GAAGC,IAAI,CAAC"}
package/mf-manifest.json CHANGED
@@ -5,11 +5,11 @@
5
5
  "name": "Splunk",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "0.1.0",
8
+ "buildVersion": "0.2.0-beta.1",
9
9
  "buildName": "@perses-dev/splunk-plugin"
10
10
  },
11
11
  "remoteEntry": {
12
- "name": "__mf/js/Splunk.6f71e9ce.js",
12
+ "name": "__mf/js/Splunk.31e2854f.js",
13
13
  "path": "",
14
14
  "type": "global"
15
15
  },
@@ -19,28 +19,28 @@
19
19
  "zip": "",
20
20
  "api": ""
21
21
  },
22
- "globalName": "Splunk",
22
+ "globalName": "Splunk_0_2_0_beta_1",
23
23
  "pluginVersion": "2.6.0",
24
- "getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/Splunk/\"; }"
24
+ "getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/Splunk~0.2.0-beta.1/\"; }"
25
25
  },
26
26
  "shared": [
27
27
  {
28
28
  "id": "Splunk:@perses-dev/components",
29
29
  "name": "@perses-dev/components",
30
- "version": "0.54.0",
30
+ "version": "0.55.0-beta.6",
31
31
  "singleton": true,
32
- "requiredVersion": "^0.54.0",
32
+ "requiredVersion": "^0.55.0-beta.6",
33
33
  "assets": {
34
34
  "js": {
35
35
  "async": [],
36
36
  "sync": [
37
- "__mf/js/async/116.9f39e2dc.js"
37
+ "__mf/js/async/770.84637d80.js"
38
38
  ]
39
39
  },
40
40
  "css": {
41
41
  "async": [],
42
42
  "sync": [
43
- "__mf/css/async/116.85c2cbf6.css"
43
+ "__mf/css/async/770.85c2cbf6.css"
44
44
  ]
45
45
  }
46
46
  },
@@ -49,14 +49,14 @@
49
49
  {
50
50
  "id": "Splunk:@perses-dev/plugin-system",
51
51
  "name": "@perses-dev/plugin-system",
52
- "version": "0.54.0",
52
+ "version": "0.55.0-beta.6",
53
53
  "singleton": true,
54
- "requiredVersion": "^0.54.0",
54
+ "requiredVersion": "^0.55.0-beta.6",
55
55
  "assets": {
56
56
  "js": {
57
57
  "async": [],
58
58
  "sync": [
59
- "__mf/js/async/756.8162c322.js"
59
+ "__mf/js/async/403.4e0c341a.js"
60
60
  ]
61
61
  },
62
62
  "css": {
@@ -76,7 +76,7 @@
76
76
  "js": {
77
77
  "async": [],
78
78
  "sync": [
79
- "__mf/js/async/963.0f837958.js"
79
+ "__mf/js/async/963.5f78f579.js"
80
80
  ]
81
81
  },
82
82
  "css": {
@@ -96,7 +96,7 @@
96
96
  "js": {
97
97
  "async": [],
98
98
  "sync": [
99
- "__mf/js/async/121.0ceb8113.js"
99
+ "__mf/js/async/121.2e756764.js"
100
100
  ]
101
101
  },
102
102
  "css": {
@@ -115,24 +115,23 @@
115
115
  "assets": {
116
116
  "js": {
117
117
  "sync": [
118
- "__mf/js/async/842.601cf14f.js",
119
- "__mf/js/async/537.880623e7.js",
120
- "__mf/js/async/__federation_expose_SplunkDatasource.b9438a9e.js"
118
+ "__mf/js/async/196.9b979757.js",
119
+ "__mf/js/async/957.553506b9.js",
120
+ "__mf/js/async/__federation_expose_SplunkDatasource.981f2e0b.js"
121
121
  ],
122
122
  "async": [
123
- "__mf/js/async/lib-router.31611676.js",
124
- "__mf/js/async/470.e7f915b7.js",
125
- "__mf/js/async/982.e5647ac8.js",
126
- "__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.264a58b9.js",
127
- "__mf/js/async/__federation_expose_SplunkLogQuery.8d011abe.js",
128
- "__mf/js/async/332.fc51c4d5.js",
129
- "__mf/js/async/558.db2f2486.js"
123
+ "__mf/js/async/lib-router.56503757.js",
124
+ "__mf/js/async/470.aad78617.js",
125
+ "__mf/js/async/982.11d34b45.js",
126
+ "__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.aa1e18a7.js",
127
+ "__mf/js/async/__federation_expose_SplunkLogQuery.3588c915.js",
128
+ "__mf/js/async/208.b72a041c.js"
130
129
  ]
131
130
  },
132
131
  "css": {
133
132
  "sync": [],
134
133
  "async": [
135
- "__mf/css/async/116.85c2cbf6.css"
134
+ "__mf/css/async/770.85c2cbf6.css"
136
135
  ]
137
136
  }
138
137
  },
@@ -144,23 +143,22 @@
144
143
  "assets": {
145
144
  "js": {
146
145
  "sync": [
147
- "__mf/js/async/470.e7f915b7.js",
148
- "__mf/js/async/982.e5647ac8.js",
149
- "__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.264a58b9.js"
146
+ "__mf/js/async/470.aad78617.js",
147
+ "__mf/js/async/982.11d34b45.js",
148
+ "__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.aa1e18a7.js"
150
149
  ],
151
150
  "async": [
152
- "__mf/js/async/lib-router.31611676.js",
153
- "__mf/js/async/842.601cf14f.js",
154
- "__mf/js/async/537.880623e7.js",
155
- "__mf/js/async/__federation_expose_SplunkDatasource.b9438a9e.js",
156
- "__mf/js/async/332.fc51c4d5.js",
157
- "__mf/js/async/558.db2f2486.js"
151
+ "__mf/js/async/lib-router.56503757.js",
152
+ "__mf/js/async/196.9b979757.js",
153
+ "__mf/js/async/957.553506b9.js",
154
+ "__mf/js/async/__federation_expose_SplunkDatasource.981f2e0b.js",
155
+ "__mf/js/async/208.b72a041c.js"
158
156
  ]
159
157
  },
160
158
  "css": {
161
159
  "sync": [],
162
160
  "async": [
163
- "__mf/css/async/116.85c2cbf6.css"
161
+ "__mf/css/async/770.85c2cbf6.css"
164
162
  ]
165
163
  }
166
164
  },
@@ -172,23 +170,22 @@
172
170
  "assets": {
173
171
  "js": {
174
172
  "sync": [
175
- "__mf/js/async/470.e7f915b7.js",
176
- "__mf/js/async/982.e5647ac8.js",
177
- "__mf/js/async/__federation_expose_SplunkLogQuery.8d011abe.js"
173
+ "__mf/js/async/470.aad78617.js",
174
+ "__mf/js/async/982.11d34b45.js",
175
+ "__mf/js/async/__federation_expose_SplunkLogQuery.3588c915.js"
178
176
  ],
179
177
  "async": [
180
- "__mf/js/async/lib-router.31611676.js",
181
- "__mf/js/async/842.601cf14f.js",
182
- "__mf/js/async/537.880623e7.js",
183
- "__mf/js/async/__federation_expose_SplunkDatasource.b9438a9e.js",
184
- "__mf/js/async/332.fc51c4d5.js",
185
- "__mf/js/async/558.db2f2486.js"
178
+ "__mf/js/async/lib-router.56503757.js",
179
+ "__mf/js/async/196.9b979757.js",
180
+ "__mf/js/async/957.553506b9.js",
181
+ "__mf/js/async/__federation_expose_SplunkDatasource.981f2e0b.js",
182
+ "__mf/js/async/208.b72a041c.js"
186
183
  ]
187
184
  },
188
185
  "css": {
189
186
  "sync": [],
190
187
  "async": [
191
- "__mf/css/async/116.85c2cbf6.css"
188
+ "__mf/css/async/770.85c2cbf6.css"
192
189
  ]
193
190
  }
194
191
  },