Commit Graph

70 Commits

Author SHA1 Message Date
Gábor Lipták
16e1bbac7d Correct golint warnings (2) (#2056)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-05-13 11:53:58 +01:00
Gábor Lipták
1a27d04bba Correct golint warnings (1) (#1981)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-05-12 10:21:13 +01:00
Binaek Sarkar
e514d1f567 Limit the number of database backups. Closes #2012 2022-05-10 16:06:10 +01:00
Binaek Sarkar
744b97f660 Adds support for retaining back up archives as binary as well as text. Closes #1970 2022-05-05 16:43:45 +01:00
kai
db43d42a59 Fix steampipe variable list outputting string array values in wrong format. Closes #1995 2022-05-04 10:26:29 +01:00
Binaek Sarkar
3a88d81342 Adds fix so that restoration does not completely fail if Materialized Views in the backup cannot be refreshed. Closes #1933 2022-04-26 14:08:21 +01:00
Puskar Basu
b9d382a558 Detect the underlying arch to install the correct FDW package. Closes #1889 2022-04-19 18:12:20 +01:00
Binaek Sarkar
259a88f191 Updates to plugin operations output including async update and install. Closes #1780. Closes #1778. Closes #1777. Closes #1776 2022-04-19 12:02:14 +01:00
kaidaguerre
f8f71ab8ee Add variables list command. Closes #1868 2022-04-14 21:15:21 +01:00
Binaek Sarkar
751660e704 Fixes issue where dashboard starts even if there's a port clash. Closes #1579 2022-03-08 14:42:37 +00:00
Binaek Sarkar
5fa20150fa Adds support for starting dashboard server with service start (#1472) 2022-02-21 16:15:19 +00:00
kaidaguerre
ce84fccf66 Update report execution to add support for runtime dependencies #1454 2022-02-15 15:54:19 +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
e0d655df6f Add error checking
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-01-28 08:59:42 +00:00
Puskar Basu
be67b786f4 Update check templates to remove functions. Closes #1320 2022-01-19 16:36:11 +00:00
kaidaguerre
efbebd99ee Decouple spinner display code from database and execution layer. Closes #1290 2022-01-06 11:54:18 +00:00
Gábor Lipták
a62a25a2b2 Cleanup deadcode (#1286)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-01-05 15:56:41 +00:00
Binaek Sarkar
d46e7d02fc Fix issue where benchmark execution duration is incorrect in check. Closes #1249 2022-01-03 13:02:14 +00:00
kaidaguerre
33f55e584f Add support for mod management commands. Closes #442. Closes #443 2021-12-21 14:10:00 +00:00
Binaek Sarkar
0732f8ee4f Fix issue where service is not shutdown when check is cancelled. Closes #1250 2021-12-21 12:50:20 +00:00
kaidaguerre
0b9c800b04 Update error reporting to handle PGX format errors. Closes #1236 2021-12-14 14:29:39 +00:00
Puskar Basu
4aa72557f4 Improve plugin uninstall output when connections remain. Closes #1158 2021-12-10 14:36:28 +00:00
kaidaguerre
1fdfc02c34 Startup optimizations. Closes #1186. Closes #1183. Closes #1182
- Update connection management to use file modified time instead of filehash to detect connection changes
- Avoid retrieving schema from database for check and non-interactive query execution
- When retrieving plugin schema, identify the minimum set of schemas we need to fetch - to allow for multiple connections with the same schema
- Update plugin manager to instantiate plugins in parallel
2021-12-07 15:34:14 +00:00
Binaek Sarkar
d55903d44b Fixes issue where table names with special characters are not handled correctly in auto-complete and .inspect. Closes #1109 2021-11-24 13:52:01 +00:00
Eng Zer Jun
335a3ee686 refactor: move from io/ioutil to io and os packages (#1153)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-23 11:54:38 +00:00
Binaek Sarkar
1c02e4afa5 Update plugin_manager service management to be more reslient. Closes #1155 2021-11-22 21:05:46 +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
Binaek Sarkar
aea6b017f2 Ensure plugin manager and db service state are managed as a unit - they should always be started and stopped together. Closes #1149 2021-11-19 16:07:20 +00:00
kaidaguerre
8d7d2b6b04 Remove daemon process. Closes #1146 2021-11-18 17:57:06 +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
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
35a6fe9e34 Add support for connecting to a remote database client. Closes #908 2021-09-15 13:29:26 +01:00
kaidaguerre
c25a9b76a1 Add connection config file watching for service in foreground mode. Closes #815 2021-09-10 17:52:30 +01:00
kai
a153fd556a Filewatcher only updates tables/prepared statements if there is a resource change. Handle long query names 2021-09-03 14:20:52 +01:00
Binaek Sarkar
22a97b809e Update check output after cancellation to be "execution cancelled". Closes #786 2021-08-24 13:15:09 +01:00
kaidaguerre
b7aa42ceb3 Refactor service code to make it simpler to support external database connections. Closes #696 2021-07-26 17:07:28 +01:00
Binaek Sarkar
06d2996eeb Steampipe service startup now fails with a useful error is when data-dir is not writable . Closes #659 2021-07-22 10:25:13 +01:00
kaidaguerre
412eebb8bc Cancellation improvements. #652 2021-07-21 16:31:29 +01:00
Binaek Sarkar
c8b122d4d4 Fixes issue where db data-dir was being removed instead of it's contents during init. Closes #639 2021-07-16 18:26:20 +01:00
kaidaguerre
f5796f0db3 In interactive mode, perform connection refresh and workflow loading asynchronously. Closes #627 2021-07-15 16:36:37 +01:00
Binaek Sarkar
abd5f5ec7c Update plugin cmds to start the service in PreRun and stop service in PostRun. Close #578 2021-07-01 09:21:45 +01:00
Binaek Sarkar
dac31223d3 Fixing issue with multiple bad --export flags. Closes #558 (#559) 2021-06-17 13:23:09 +01:00
kai
1f8abc239a Update check export error messsage formatting. 2021-06-17 12:54:54 +01:00
tyagiparth
418a34c6cb Validate that plugin versions required by mod are installed. Closes #557 2021-06-17 12:42:41 +01:00
Binaek Sarkar
92c656334c Support for inferring export format when only the target file is given. Closes #543 2021-06-16 17:41:05 +01:00
Binaek Sarkar
93f7d8192c Fix to display timing profile data when appropriate env var is set. Closes #513 2021-06-11 16:18:52 +01:00
Binaek Sarkar
b2e5763daf Fix for driver prefix showing up in check errors. Closes #474 2021-06-11 16:16:29 +01:00
kai
1fd1cfb4f2 Add support for cancellation of control run. Closes #475 2021-05-20 16:12:20 +01:00
kai
ec834c055e Add short pause before handling file events to allow for vim file operations. Remove minimum interval logic. 2021-05-20 16:11:50 +01:00
kai
4dbc6bad6b Initial iteration of control result display code 2021-05-20 16:11:50 +01:00