Puskar Basu
45d81dd895
Fix asff-json template line spacing and make templates more readable. Closes #1323
2022-01-20 18:27:01 +00:00
Binaek Sarkar
3f7344c314
Fixes issue where plugins were logging using a different time format from FDW and Database. Closes #927
2022-01-20 14:19:58 +00:00
kai
7098a51fec
Update FDW version to 0.3.2
2022-01-20 11:30:21 +00:00
Binaek Sarkar
60920fce3e
Add support for a generic template formatter for check output. Closes #1289
2022-01-17 13:24:01 +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
kai
5a5633aed9
Update version to v0.11.0. Update FDW version to 0.3.1. Closes #1262
2021-12-21 20:24:22 +00:00
kai
b14a660c2c
Update version to v0.11.0-rc.2. Update FDW version to 0.3.1-rc.2 #1262
2021-12-21 16:47:41 +00:00
kai
4e17f90149
Update version to v0.11.0-rc.09. Update FDW version to 0.3.1-rc.1. #1262
2021-12-21 14:33:30 +00:00
kaidaguerre
33f55e584f
Add support for mod management commands. Closes #442 . Closes #443
2021-12-21 14:10:00 +00:00
kaidaguerre
0e5730e59c
Limit control execution thread count to equal number of connections to avoid potential thread safety issue causing nre. Closes #1254
2021-12-20 12:17:17 +00:00
Binaek Sarkar
a627cf0180
Disable progress when running in a non-tty environment. Closes #1210
2021-12-13 09:30:53 +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
kai
3ee316f30a
Update FDW version to v0.3.0
2021-11-24 21:54:49 +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
Binaek Sarkar
f2580be172
Fixes issue where a check cancel was not waiting for query cancellation to finish, resulting in the service not stopping. Closes #1171
2021-11-24 16:21:10 +00:00
kai
94c196c106
Update FdwVersion to 0.3.0-rc.4
...
- Fix `.cache clear` metacommand causing FDW to panic
- Fix intermittent crash when using boolean quals on jsonb columns
2021-11-23 21:37:07 +00:00
kai
d35da7e86b
Update FDW to v0.3.0-rc.2 - do not call cache set if plugin supports caching. Only create FDW query cache if needed.
2021-11-19 15:09:01 +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
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
kaidaguerre
501042c763
Re-add control execution retry in case of plugin crash. Close #1088
2021-11-08 16:52:19 +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
Puskar Basu
fd082f6cad
Update acceptance tests - add generic queries and controls to test control rendering. Closes #1059
2021-11-02 14:56:52 +00:00
Binaek Sarkar
e012125753
Add support for SSL certificate validation and rotation. Closes #1020
2021-10-22 16:58:41 +01:00
kaidaguerre
e15b78308f
Update and tidy the help text. Closes #1039
2021-10-22 13:27:37 +01:00
kaidaguerre
695b2704a4
Rename backend database environment variables
2021-10-19 18:27:51 +01:00
kai
6c21a742da
Update steampipe=postgres-fdw version to 0.2.6 - update DateTime and Timestamp columns to use "timestamp with time zone", not "timestamp".
2021-10-18 17:26:53 +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
Binaek Sarkar
b94a5fda0e
Add support for setting a custom database name when installing. Closes #936
2021-10-11 11:54:31 +01:00
kai
63518e0fbb
Update steampipe-postgres-fdw version to v0.2.5: update Steampipe reference to fix connection config parsing if there is an options block.
2021-10-07 11:44:56 +01:00
Binaek Sarkar
8b9672592b
Removes deprecated flags from service start. Closes #582
2021-10-06 11:36:18 +01:00
kai
cb6b4d25b8
Update steampipe-postgres-fdw version to "0.2.4-rc.0" - only pushdown 'limit' to plugin if all quals have key columns defined and which support the qual operator.
2021-10-05 12:59:30 +01:00
Binaek Sarkar
48c1041c9c
Add check summary in table output. Closes #710 .
2021-10-04 16:43:16 +01:00
kaidaguerre
89e7b43988
Support json and yaml connection config. Closes #969
2021-10-01 12:31:51 +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
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
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
kai
76ffc09a34
Update steampipe-postgre-fdw to v0.2.2 - fix JSON data with '\u0000' resulting in Postgres error "unsupported Unicode escape sequence".
2021-09-08 15:10:22 +01:00
Tyler Ramer
edf8b080d3
Remove hardcoded runtime flags by adding postgresql.conf.d folder
...
Steampipe hard coded some performance related runtime flags in the
server start configuration. This means they aren't editable after the
binary is compiled.
This commit appends the all flags which were previously not modifyable
to a steampipe.conf file, and adds a postgresql.conf file, which loads
the steampipe.conf and all files in the postgresql.conf.d folder.
Custom settings or overrides of the default values can be set in any
file ending in ".conf" in the postgresql.conf.d folder if the user
chooses to do so afterwords.
The flags which are editable in a steampipe config, such as SSL and log
location (as an extension of data location) remain.
Signed-off-by: Tyler Ramer <tramer@yugabyte.com >
2021-09-02 12:01:16 -04:00
Puskar Basu
93db0dd23a
Retry control run if the plugin crashes. Closes #757
2021-08-18 16:53:18 +01:00
kaidaguerre
9b941ecdcf
Add support for variables. Closes #754
2021-08-06 11:10:53 +01:00
Binaek Sarkar
9fc27bdb6c
Add support for controlling the fdw cache from the interactive prompt. Closes #688
2021-08-03 15:21:18 +01:00
kaidaguerre
f9e5a8d10c
Fix errors during async interactive startup leaving the prompt in a bad state. Refactor the ResultsStreamer to avoid needing to call Done() before restarting the prompt. Closes #716 . Closes #728
2021-08-02 17:05:43 +01:00
kai
43a448d60c
Update FDW version to 0.1.2 - update steampipe reference
2021-07-29 18:41:55 +01:00