Puskar Basu
4aa72557f4
Improve plugin uninstall output when connections remain. Closes #1158
2021-12-10 14:36:28 +00:00
Binaek Sarkar
dad700b26c
Add context awareness in services and commands. Closes #1206 . Closes #1214 . Closes #1215
2021-12-09 14:02:19 +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
kaidaguerre
ad3e6447c0
Add support for connecting to a remote database, andf for connecting to Stweampipe #1175
2021-11-24 16:44:26 +00:00
kaidaguerre
c3ddd658af
Update plugin manager config watcher tro update plugin manager config before refreshing connections before updating plugin manager with the modified config. Closes #1163
2021-11-23 10:37:15 +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
Binaek Sarkar
55bad37d65
Fix issue where check progress reports negative values when errors occur. Closes #1131
2021-11-19 15:58:55 +00:00
kaidaguerre
8d7d2b6b04
Remove daemon process. Closes #1146
2021-11-18 17:57:06 +00:00
kaidaguerre
c760000652
Do not create plugin manager until db is started - fixes connection watcher causing plugin manager to crash when it fails to get a db client. Daemon command uses steampipe path from currently running running process. Closes #1137
2021-11-17 17:34:52 +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
aa6137e189
When cli displays error messages from plugins, they should be prefixed with plugin name. Do not show plugin error messages in JSON/CSV output. Closes #1110 . Closes #1071
2021-11-16 10:30:43 +00:00
Puskar Basu
e9ab515a0d
Non-turbot plugin installs should show link to documentation. Closes #1075
2021-11-09 11:23:00 +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
Binaek Sarkar
024f2423f0
Constrain check table-output rendering to a minimum width. Closes #1062
2021-11-01 17:00:30 +00:00
Binaek Sarkar
d96998aaa0
Updates auto generated file name format for check exports. Closes #1045
2021-10-22 18:32:18 +01:00
Binaek Sarkar
1b70b628de
Updates to html check output format. Closes #1034
2021-10-22 18:19:36 +01:00
kaidaguerre
e15b78308f
Update and tidy the help text. Closes #1039
2021-10-22 13:27:37 +01:00
Binaek Sarkar
300102d3fc
Update check to add markdown output format. Closes #1011
2021-10-22 11:15:09 +01:00
Puskar Basu
89cd993ab6
Review exit codes for steampipe commands. Closes #833
2021-10-22 10:10:32 +01:00
kaidaguerre
695b2704a4
Rename backend database environment variables
2021-10-19 18:27:51 +01:00
kaidaguerre
bd791223e8
Add support for plugins with dynamic schema. Closes #1012
2021-10-18 12:20:13 +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
Puskar Basu
a495d7a843
plugin commands should exit with a non-zero code on error. Closes #980
2021-10-08 14:11:44 +01:00
Binaek Sarkar
667c3aacec
Fix for incorrect message from service status when service is not running. Closes #975
2021-10-07 16:57:55 +01:00
Binaek Sarkar
8b9672592b
Removes deprecated flags from service start. Closes #582
2021-10-06 11:36:18 +01:00
Binaek Sarkar
352afad764
Allow plugin uninstall even if there are active connections. Closes #852
2021-09-28 16:52:36 +01:00
kai
549f4a7a20
Update help text for 'database-password' arg. #725
2021-09-28 16:49:54 +01:00
kaidaguerre
38e3d5908f
Tidy the creation of session scoped data. #955
2021-09-28 12:27:03 +01:00
kai
903d50f72b
rename to session data - fix bug
2021-09-27 17:20:37 +01:00
kai
b453188f57
Small updates to output of steampipe service commands. #812
2021-09-27 13:50:25 +01:00
kai
eafd908bde
Check results of EnsureSessionState and handle errors. #939
2021-09-27 11:56:20 +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
Binaek Sarkar
818cb9e94a
Allow providing a user/pass combination to be used when running in Service Mode. Closes #725
2021-09-24 11:08:19 +01:00
Binaek Sarkar
69e4b80a2f
Small updates to output of steampipe service commands. Closes #812
2021-09-16 11:02:03 +01:00
kaidaguerre
ab52e7efaa
Add steampipe_variable reflection table. Closes #859
2021-09-15 13:55:04 +01:00
kaidaguerre
35a6fe9e34
Add support for connecting to a remote database client. Closes #908
2021-09-15 13:29:26 +01:00
Binaek Sarkar
166bfb2862
Fix service lifecycle management issues when state file is deleted which service is running. Closes #872
2021-09-13 15:51:54 +01:00
kaidaguerre
596768718f
Rename reflectionTables to IntrospectionTables. Closes #895
2021-09-13 12:07:54 +01:00
kaidaguerre
7783b38cdd
Add prepared statement name column to steampipe_query and steampipe_control reflection tables. Closes #890
2021-09-13 11:54:49 +01:00
kaidaguerre
c25a9b76a1
Add connection config file watching for service in foreground mode. Closes #815
2021-09-10 17:52:30 +01:00
Binaek Sarkar
1cf5a82b7d
Update completion cmd help text
2021-09-09 15:05:39 +01:00
kaidaguerre
93e714124e
In batch query mode, only create prepared statements which are required. Closes #866
2021-09-08 12:41:28 +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
kai
b82407a121
Fix freeze in interactive mode
2021-09-02 21:34:48 +01:00
kai
c3b1087e6e
Support controls with inline SQL
2021-09-02 21:34:48 +01:00
kai
8f3a24f87e
handle query and SQL for control
2021-09-02 21:34:43 +01:00
kai
fcba5bc6aa
sanitise sql before creating prepared statement
2021-09-02 21:34:43 +01:00