Commit Graph

98 Commits

Author SHA1 Message Date
kaidaguerre
d27af8eb2e Add ExecutionId to all dashboard events. When clearing dashboard execution, wait for it to terminate before starting another execution. Closes #1738. Closes #1756 2022-03-30 12:54:56 +01:00
Puskar Basu
cb6bb054eb Required Steampipe version in mod.sp is not respected when running query command. Closes #1734. Closes #1718 2022-03-24 11:00:31 +00:00
Puskar Basu
200f70a822 Fix unit tests. Update acceptance test workflow to run them correctly. Closes #1611 2022-03-17 11:33:57 +00:00
kai
3548158d94 Update logging 2022-03-10 17:21:20 +00:00
Puskar Basu
eddb3cfcbb Expand dashboard parsing unit tests. Closes #1562 2022-03-09 13:46:15 +00:00
Mike Burgess
48377a0fe8 Update dashboard hierarchy data format and add flow resource type. Closes #1549. (#1590) 2022-03-07 21:39:13 +00:00
kaidaguerre
584bd2cfb7 Fix resolving base property from dependent mods. Closes #1578 2022-03-07 18:00:00 +00:00
Binaek Sarkar
d16fcf60ad Add support for finding the mod definition by searching up the working directory tree. Closes #1533 2022-03-07 15:52:57 +00:00
kaidaguerre
26f6baa1bd Expose reporting metadata to the dashboard UI. Closes #1411 2022-03-04 17:15:01 +00:00
kaidaguerre
859fb41b9d When setting a dashboard input, re-execute if the previous value is NOT nil. Closes #1560. Add raw SQL to dashboard leaf node, instead of execute SQL. C loses# 1559 2022-03-03 12:56:21 +00:00
Puskar Basu
e8b5d9d61f Refactor mod resources to use ModResource resource map exclusively. Add unit tests to test dashboard parsing. Closes #1553. #1382 2022-03-02 16:32:11 +00:00
kaidaguerre
4941ef42ee Fix prepared statement creation error for queryProviders with a Query. Closes #1541 2022-03-01 21:14:11 +00:00
kaidaguerre
c6d99ed7f2 Fix positional args not working for dashboards. Runtime dependency resolution should not mutate the workspace data. Closes #1527. Closes #1526 2022-02-28 15:21:23 +00:00
kaidaguerre
f75bb8f84f Add support for Inputs to DashboardContainer. Do not rename inputs - allow duplicates within mod scope. Closes #1522 2022-02-25 16:11:35 +00:00
kaidaguerre
0e3f0bd582 Ensure a DashboardChanged event is sent after fixing a workspace error. Closes #1513 2022-02-24 16:51:38 +00:00
kaidaguerre
f90f293a75 Make SQL optional for card, input, image. Add input options property. Make chart series points a map. 2022-02-23 20:20:49 +00:00
kaidaguerre
885fb54acc Update report execution to add support for runtime dependencies. Closes #1454 2022-02-22 11:46:14 +00:00
kaidaguerre
2c7d9950ed Refactor prepared statement creation code to support all QueryProviders. Closes #1468 2022-02-17 14:41:23 +00:00
kaidaguerre
a61e519f32 Split container and dashboard into separate entities. Fix dashboard file watching. 2022-02-15 20:57:51 +00:00
kaidaguerre
8b7a32f2e8 rename 'report' to 'dashboard'. Closes #1459 2022-02-15 20:19:35 +00:00
kaidaguerre
ce84fccf66 Update report execution to add support for runtime dependencies #1454 2022-02-15 15:54:19 +00:00
Binaek Sarkar
95334d456b Brings stability to report when there is a workspace error. Closes #1443 2022-02-14 13:59:21 +00:00
Mike Burgess
70cde16fd4 Dashboards from installed mods should appear in the dashboard UI. Closes #1430. (#1433) 2022-02-13 12:00:18 +00:00
kai
918095207c Fix workspace event handler causing freeze during initialisation. Closes #1428 2022-02-10 10:37:34 +00:00
Mike Burgess
9cbd2b0b9f Rename report counter to card. Closes #1423. (#1424) 2022-02-09 22:22:42 +00:00
kaidaguerre
35330a8fb0 Update reports functionality. Add reflection tables for report entities. Automatically install report assets. Closes #1265. Closes #567 Closes #1364 2022-01-31 15:17:18 +00:00
Gábor Lipták
77b150479d Add error checking
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-01-27 15:57:49 +00:00
Gábor Lipták
31ff1f037e Cleanup deadcode (#1299)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-01-20 14:28:05 +00:00
kaidaguerre
efbebd99ee Decouple spinner display code from database and execution layer. Closes #1290 2022-01-06 11:54:18 +00:00
kaidaguerre
e0ff19a280 Update package naming to be consistent and follow Go standards. Closes #1282
General code spring cleaning:
* move file paths from `consts` package to `filepaths`
* move InitData and ExportData to query and control packages
2022-01-04 12:28:36 +00:00
kaidaguerre
33f55e584f Add support for mod management commands. Closes #442. Closes #443 2021-12-21 14:10:00 +00:00
kaidaguerre
6e51de36df Only load pseudo-resources if there is a modfile in the workspace folder. Closes #1238 2021-12-16 15:40:18 +00:00
kaidaguerre
9882563547 Only create prepared statements if the query has parameters. Closes #1231 2021-12-14 12:34:29 +00:00
kaidaguerre
34b0963d09 Fix reflection error when loading a workspace from a hidden folder. Closes #1157 2021-11-23 11:57:20 +00:00
kaidaguerre
3bb4bf97d3 Create prepared statements one by one to allow accurate error reporting and reduce memory burden. Fix workspace file watching. Fix async error display. Close ##1148. Close #1152. Close #1085 2021-11-21 10:53:33 +00:00
kaidaguerre
8d7d2b6b04 Remove daemon process. Closes #1146 2021-11-18 17:57:06 +00:00
kaidaguerre
b07013c4dd Tie the connection watcher lifecycle to the plugin manager. Closes #1129 2021-11-16 22:48:10 +00:00
Binaek Sarkar
a09ed88304 Optimize parallel control execution. Provider more responsive feedback for control runs. Update postgres log config to optimise performance. Closes #1101 2021-11-16 21:57:38 +00:00
kaidaguerre
a5685d2841 Update ConnectionWatcher to set viper defaults on file events to ensure search path changes in database options are respected. Closes #1096 (#1097) 2021-11-10 12:09:00 +00:00
Binaek Sarkar
9dda6d6f47 Fixes issue where the steampipe service is not shutdown when a check is cancelled. Closes #1081 2021-11-08 16:13:51 +00:00
kaidaguerre
6bcccf306d session should always be closed by the caller instead of in dbClient.ExecuteInSession. Closes #1068
- Return actual error when WaitForConnection fails during client creation
- Do not register a parallel execution in progress display until the session has been acquired
2021-11-05 13:40:29 +00:00
kaidaguerre
7e7e0dd130 Add support for parallel control execution. Only spawn a single plugin per steampipe connection - defer plugin spawning to a PluginManager service. CLoses#1073, Closes #1001 2021-11-04 11:29:28 +00:00
kaidaguerre
bd791223e8 Add support for plugins with dynamic schema. Closes #1012 2021-10-18 12:20:13 +01:00
kaidaguerre
4505caecdf Add workspace mod to workspace mod map - fix check al not working. Closes #1005 2021-10-18 10:24:05 +01:00
kaidaguerre
041e1b0075 Support installation and resolution of mod dependencies. Add steampipe_reference introspection table. Closes #978. Closes #972 2021-10-11 14:46:59 +01:00
kaidaguerre
38e3d5908f Tidy the creation of session scoped data. #955 2021-09-28 12:27:03 +01:00
kaidaguerre
c793f1c2ba Fix filewatching to create prepared statements for new sql files. Closes #901 2021-09-28 11:45:45 +01:00
kaidaguerre
341c1a6f99 Add referenced_by column to introspection tables to indicate which other resources reference a given resource. Closes #953 2021-09-27 20:42:50 +01:00
kai
903d50f72b rename to session data - fix bug 2021-09-27 17:20:37 +01:00
Binaek Sarkar
2621d6f7d6 Ensure session data is restored after a SQL client error. Reset SQL client after a failure to create a transaction. Closes #939 2021-09-24 11:10:48 +01:00