Commit Graph

67 Commits

Author SHA1 Message Date
Aaronstotle
17a00353ae Add check to the mod init function so users are aware if it's run in the home directory or if there are a large number of non-mod files in the path. Closes #2562 2023-04-06 09:10:41 +01:00
Binaek Sarkar
299697ae2f Updates in cache configuration to allow disabling of all caching on server. Closes #3258
STEAMPIPE_CACHE environment variable resolves to service cache enabled as well as client cache enabled

service cache enabled is used by the plugin manager to enable/disable caching on the plugins during startup (runtime toggle is not allowed) - with a max_ttl

client cache enabled is used to enable/disable the cache on the database connection (fdw)
A TTL can also be set on the client side capped to max_ttl on the server
2023-03-31 15:12:25 +01:00
Binaek Sarkar
be36276fd8 Add deprecation warnings for connection.options "connection" and global terminal options. CLoses #3246 2023-03-23 14:43:06 +00:00
Binaek Sarkar
e4dbced826 Updates to workspace profile - add additional properties and command specific options blocks. Closes #3223 2023-03-21 12:00:47 +00:00
Binaek Sarkar
ee8b6647c4 Rationalising 'status hooks'. Do not show spinner when setting status, instead require an explicit Show. #2432 2023-03-14 11:48:14 +00:00
kaidaguerre
92396d77c0 Remove connection pool min size. Remove need to create empty mod introspection tables if introspection is not enabled. Remove connection pool min size. Closes #3207
* Remove all references to prepared statements
* remove sessionInitWaitGroup
2023-03-09 16:55:08 +00:00
kai
9358051bed Fix Service Stop failing if invoked directly after a schema change notification. Closes #3206 2023-03-09 15:55:43 +00:00
kai
e065a916d5 Update FDW to 1.6.2: Fix nil reference panic when a scan fails to start - do not add an iterator to Hub.runningIterators until scan is started successfully. 2023-03-08 12:29:32 +00:00
kai
948d70388f Update executeSqlInTransaction to rollback transaction in case of error
Do not create a new client in pluginManager.OnConnectionsChanged, instead pass a client in.
Do not pass appname to plugin manager command - instead plugin manager adds prefix the pg app name. #3184. #3185
2023-03-08 10:56:29 +00:00
kaidaguerre
075fafec09 Use single Steampipe Postgres notification channel (#3191) 2023-03-07 17:34:41 +00:00
kaidaguerre
2171ce66ba Fix Postgres error "cached plan must not change result type" when dynamic plugin schema changes. Update interactive .inspect and autocomplete based on changes to connection config or dynamic schema updates. Closes #3184. Closes #3185 2023-03-03 18:45:40 +00:00
Puskar Basu
b0a0c8b0fc Update FDW to v1.6.1 2023-03-02 16:59:21 +05:30
kai
3c11018ad9 Update FDW to v1.6.0: Limit should not be pushed down if there are unconverted restrictions. 2023-03-01 14:58:58 +00:00
kai
95b6c34372 Update FDW to 1.6.0-rc.6 2023-02-28 15:22:31 +00:00
Binaek Sarkar
8dd9d1fb3f Fixes 'default.spc' created during installation 2023-02-27 16:38:41 +00:00
Puskar Basu
016d373843 Add exit codes for errors when steampipe is running as root or in WSL1. Closes #3130 2023-02-21 15:26:05 +00:00
Binaek Sarkar
d0ede13d4b Make database start timeout configurable. Closes #3038 2023-02-14 17:33:57 +00:00
kai
cf1d64c285 Update FDW to 1.6.0-rc.5 2023-02-08 10:59:59 +00:00
Puskar Basu
a02531af07 v0.19.0-alpha.1 2023-01-30 20:21:42 +05:30
kaidaguerre
34bea3d1ef Add support for aggregator connections with dynamic tables. Closes #2886 2023-01-27 19:47:43 +00:00
Binaek Sarkar
993259de52 Increase database connection timeout and improve the error message if connection failure occurs. Closes #2377 2023-01-18 14:26:19 +00:00
Puskar Basu
34ecf67496 Use consistent and defined exit codes. Closes #2935 2023-01-06 14:14:05 +00:00
kai
dcc2691d15 Update FDW to v1.5.0 - update to work with sdk version 5 and dynamic updating of dynamic schemas. 2022-11-30 17:51:08 +00:00
Binaek Sarkar
7a16ec8c57 Updates usages of 'go-kit; for changes in Filewatcher and String/Hash helpers. Closes #2779 2022-11-30 10:12:03 +00:00
Binaek Sarkar
62878d336b Adds a '--max-parallel' flag to 'steampipe dashboard' and set default to 10. Closes #2754 2022-11-25 09:58:28 +00:00
Binaek Sarkar
b22859499f Update postgres config to reverts max_locks_per_transaction to pre 0.17.0 value of 2048. Closes #2756 2022-11-24 15:39:54 +00:00
kai
7e4ecf3724 Update argument descriptions for --output --export, --snapshot-location
Remove 'check' from dashboard arg descriptions
Do not show "Output format defaulted to 'none'" message if sharing a snapshot
remove query timeout from database options
Fix snapshot creation crash when required inputs are not provided
2022-11-07 10:37:34 +00:00
kaidaguerre
3d084c5bc8 Add snapshot-title arg. Ensure snapshots and exports are named consistently. Closes #2666 2022-11-03 11:09:07 +00:00
Binaek Sarkar
efea8a72f2 Fixes issue where 'Alt` keyboard combinations would error in WSL. Closes #2549 2022-11-02 15:40:13 +00:00
kaidaguerre
c42fbdb8d5 Update formatting for login command. Update missing cloud token error. Closes #2654 2022-11-02 14:04:59 +00:00
kai
4a00af32cf Update FDW to 1.4.4 - Update GetPathKeys to treat key columns with AnyOf require property with the same precedence as Required. 2022-10-31 15:13:07 +00:00
kaidaguerre
0452bb0b81 Validate checkout output and export formats before execution. Closes #2619. Add support for using sps as snapshot output/export format. Closes #2623 2022-10-28 14:57:44 +01:00
Puskar Basu
8923616ca7 Update metaquery command .auto_complete to .autocomplete. Closes #2616 2022-10-28 09:55:18 +01:00
Meet Rajesh Gor
b0dfee67bb Add auto-completion toggle meta command and terminal option. Closes #2560. Closes #1692 2022-10-27 17:48:45 +01:00
kai
8bfe543745 Update FDW to 1.4.4-rc.1 - support parsing workspace profiles from config dir 2022-10-26 17:06:49 +01:00
Puskar Basu
81a2cf65af Load workspace-profile from config directory. Closes #2595 2022-10-26 14:55:48 +01:00
kaidaguerre
42c2323eb2 Add query_timeout to workspace profile. Closes #2593
Improve timeout error message.
Remove refreshDbClient call after timeout.
Set default check query timeout to 240sec and query to 0 (no timeout)
2022-10-26 14:53:50 +01:00
François de Metz
b3838186e1 Add a configurable query timeout. Closes #666 2022-10-26 10:09:17 +01:00
kaidaguerre
d3830b1335 Add steampipe login command. Closes #2583 2022-10-25 17:33:35 +01:00
kaidaguerre
0e27f38202 Update workspace profile parsing to load options blocks. Include these options values in viper with correct precedence. Closes #2579 2022-10-24 13:58:50 +01:00
kaidaguerre
1e3db26e8f Add support for workspace profiles - parse from config and select using --workspace arg. Closes #2510
Add support for implicit workspace. Closes #2514
If snapshot-location is a local file path, copy snapshot instead of uploading. Closes #2550
Do not show snapshot upload status if --progress=false. Closes #2517
Replace --workspace with --snapshot-location. Closes #2512
2022-10-19 13:02:24 +01:00
michizhou
f80f9c1b21 Deprecate workspace-chdir, replace with mod-location. Closes #2511 2022-10-19 11:08:34 +01:00
Binaek Sarkar
754dad90dd Fixes issue where new lines were stripped out in interactive prompt. Closes #2531 2022-10-18 12:47:34 +01:00
kaidaguerre
1dc28f4681 Add --source-snapshot option to dashboard command. Closes #2503. (#2491) 2022-10-11 23:36:27 +01:00
kaidaguerre
ef845286c1 Add support for sharing snapshots. Add snapshot output and export format for query and check. Add ability to run named dashboards. #2473 2022-10-05 15:30:57 +01:00
kaidaguerre
404dd35e21 Update database code to use pgx interface so we can leverage the connection pool hook functions to pre-warm connections. Closes #2422 (#2438)
* Provide feedback for failed prepared statements
* Move error functions to error_helpers
* Make maintenance client retriable
2022-10-05 12:38:57 +01:00
kaidaguerre
e2d12b3fc2 Rationalise postgres configuration. Closes #2471 2022-10-03 14:08:33 +01:00
kai
1161f858cd Update FDW to 1.4.2 - Fix Plugin.GetSchema failed - no connection name passed and multiple connections loaded error. Closes #2464 2022-09-26 14:08:00 +01:00
kai
82a98ae92c Update FDW to v1.4.1 - Fix double qual values failing to convert. 2022-09-17 11:53:09 +08:00
kaidaguerre
5e0561b8b3 Increase dashboard service startup timeout to 30s. Closes #2434 2022-09-09 13:52:57 +01:00