Commit Graph

154 Commits

Author SHA1 Message Date
Puskar Basu
c6b8c835ab Update query JSON output to be consistent across pipelings - also handle duplicate column names. Closes #4317 2024-09-02 12:14:53 +01:00
momantech
f69882f057 chore: remove repetitive words (#4247)
Signed-off-by: momantech <cuimoman@qq.com>
2024-04-24 08:56:42 +01:00
kaidaguerre
07782a2b13 Adds support for verbose timing information. Closes #4237. Closes #4244
- JSON output format has changed to move the rows to under a `rows` property, with timing information under the `metadata` property
- Update timing display to show rows returned and rows fetched, as well as adding verbose mode which lists all scans
- Use enums for output mode and timing mode - timing is now either `on`, `off` or `verbose`
- Bugfix: ensure error is returned from ExecuteSystemClientCall. Closes #4246
2024-04-17 10:12:17 +01:00
loselarry
dcf3d89b01 chore: fix function names in comment (#4240)
Signed-off-by: loselarry <bikangning@yeah.net>
2024-04-10 10:16:18 +01:00
kaidaguerre
e6e9714e4c Update all ErrorAndWarnings function returns to pass by value, removing possibility of nil ErrorAndWarnings. Closes #3974 (#4212) 2024-03-21 11:46:10 +00:00
Brahim Boukoufallah
34ba9fd9ba Add database SSL password support for encrypted private key in order to handle your own certificates. Closes #4149 2024-03-15 14:50:21 +00:00
kaidaguerre
0db7768ce9 Improve startup performance with high plugin count - parallelize plugin startup. Closes #4183 2024-03-13 12:15:04 +00:00
kaidaguerre
611a21cafa Database option search_path_prefix does not alter search path. Fixes #4160 2024-03-01 18:11:07 +00:00
kaidaguerre
3458984aaf Update go-kit to v0.9.0. Use terraform-components instead of a direct terraform reference 2024-02-01 17:12:23 +00:00
kaidaguerre
9c36a36e42 schema clone function fails if table has an ltree column. Closes #4079 2024-01-23 09:30:45 +00:00
Binaek Sarkar
94e8008eb7 Simplifies available port check. Closes #4030 2024-01-23 09:27:39 +00:00
kaidaguerre
79b66fb9fa Move hcl_helpers and type_conversion package to go-kit. Closes #3962
(cherry picked from commit 737efa381b)
2023-11-29 12:55:13 +00:00
kai
784ae1e13b Revert "Force stop should also kill any stray plugin manager processes. Closes #3636"
This reverts commit 4ae9df82
2023-10-02 10:30:54 +01:00
kaidaguerre
0199aaceca Add function to clear connection cache. Closes #3937
* Add function to clear connection cache.
* Update FDW to v1.9.0 - Add ability to clear connection cache by inserting into settings table.
* Update plugin sdk to v5.6.1
* fix listen unit tests

(cherry picked from commit 4fa11a424e)
2023-09-29 20:20:08 +01:00
Binaek Sarkar
71658b3c79 Fixes issue where 20.x client would fail to connect to 21.x service in interactive. Closes #3931 2023-09-29 11:56:12 +01:00
kai
5812c59f10 add introspection tables to autocomplete. Closes #3920
gracefully handle startup failure to read ResolvedListenAddresses in server state
2023-09-27 19:45:36 +01:00
kaidaguerre
817cfbfca1 Deprecate steampipe connection state and replace with steampipe connection - update both tables in parallel. Closes #3908 2023-09-26 17:53:33 +01:00
Puskar Basu
2438a122a6 Fixes issue where initialising rate limiter definitions was taking too long due to force recreation of tables. Closes #3902 2023-09-26 14:48:59 +01:00
kai
94a61f1aea Create a plugin instance for implicit plugins even if not installed. #3451 2023-09-26 14:23:23 +01:00
Puskar Basu
059e1d70d5 Re-enable verify cache ttl works when set in database options test. Closes #3891 (#3897) 2023-09-26 13:49:09 +01:00
kaidaguerre
79606c5bcd Rename internal introspection tables. Fix warning notifications from RefreshConnections. Improve error handlingh for config inconsistencies in conneciton and plugin config. Closes #3886 2023-09-22 16:02:41 +01:00
Binaek Sarkar
671baeb36a Fixes issue where multiple 'service start' would error even on same listen params. Closes #3861 2023-09-18 16:24:47 +01:00
kaidaguerre
f232b14f06 Add support for multiple instances of the same plugin version to execute. Closes #3863 2023-09-18 15:39:17 +01:00
Binaek Sarkar
00fb338ec1 Updates messaging when service is started on an unavailable port. Closes #623 2023-09-18 12:24:44 +01:00
Binaek Sarkar
acc3f942ea Installs only FDW when fdw files are not installed. Closes #2040 2023-09-18 12:23:56 +01:00
kaidaguerre
7feb305fde Provide mechanism for plugin manager to send warnings back to CLI. Closes #3603 (#3835) 2023-09-13 15:34:15 +01:00
Puskar Basu
0d2bcf3b81 Move db location funcs into filepaths package. Closes #2122 2023-09-13 12:58:25 +01:00
Binaek Sarkar
862fcf1b71 Fix stall in plugin manager shutdown. Closes #3817 2023-09-08 17:48:20 +01:00
Binaek Sarkar
09898c7ca1 Fixes issue where Fetch and Hydrate data are not shown with timing enabled. Closes #3808 (#3815) 2023-09-08 17:37:29 +01:00
kaidaguerre
01f2f1e525 Update PluginManager plugins property after a ConnectionConfigChanged event. Fixes failure to start plugin after connection config added while service is running. Closes #3812 (#3813) 2023-09-07 18:48:07 +01:00
Puskar Basu
df6b8ae874 Re-design plugin tests (#3809) 2023-09-07 17:44:10 +01:00
Binaek Sarkar
a3a714d6cd Fixes issue where temporary tables are dropped in interactive prompt when pool connections are recycled. Closes #3359. Closes #3781 2023-09-06 16:46:40 +01:00
kaidaguerre
f041597497 Add support for plugin connection config and options blocks. Add options and env var configuration of max memory. Closes #3807 2023-09-06 15:59:13 +01:00
kaidaguerre
2a86d08445 Add support to retrieve plugin rate limiter definitions and use to populate steampipe_rate_limiter table. Closes #3805 (#3803) 2023-09-06 13:28:22 +01:00
Binaek Sarkar
2f889e462e Merge branch 'v0.20.x' 2023-09-01 23:05:16 +05:30
Binaek Sarkar
b0fa6b6cbf Rotate SSL certificates before server starts, if necessary. Closes #3599 2023-09-01 22:57:58 +05:30
Binaek Sarkar
edfe58f815 Revert "Fixes issue where temporary tables are lost in the middle of a long running interactive session. Closes #3543" (#3789)
This reverts commit 047d8b5556.
2023-09-01 14:33:05 +01:00
Binaek Sarkar
047d8b5556 Fixes issue where temporary tables are lost in the middle of a long running interactive session. Closes #3543 2023-08-29 12:18:20 +01:00
Binaek Sarkar
132b3a7c32 Fixes issue where metaquery hangs in interactive prompt. Closes #3775 2023-08-28 17:21:30 +01:00
Binaek Sarkar
08b447a261 Differentiate between user and system queries using application name. Closes #3600 2023-08-25 16:50:27 +01:00
kai
d9cc25eccf Merge branch 'v0.20.x' 2023-08-25 10:50:49 +01:00
Puskar Basu
7b1d75cfed Fix support for mixed case schema names. Closes #3753 2023-08-25 10:32:03 +01:00
Puskar Basu
4ae9df827e Force stop should also kill any stray plugin manager processes. Closes #3636 2023-08-25 10:22:49 +01:00
Puskar Basu
6aaf9bc5be Update 'sperr' import references. Closes #3748 2023-08-17 13:52:04 +05:30
kai
e5ac3eff06 Merge remote-tracking branch 'origin/main' 2023-08-11 15:30:15 +01:00
kaidaguerre
202cb68692 Add HCL support for defining rate limiters, with filewatching as per connection config. Closes #3746 2023-08-11 14:24:44 +01:00
kai
02654f8d4d Merge branch 'v0.20.x'
# Conflicts:
#	pkg/pluginmanager_service/plugin_manager.go
#	tests/acceptance/test_files/dynamic_schema.bats
2023-08-11 14:18:53 +01:00
Puskar Basu
c9dfc8df0b Fixes timing issue where refresh connections was sometimes not run when starting service. Closes #3734 2023-08-11 10:36:20 +01:00
Puskar Basu
84ffb71412 Steampipe commands should bypass plugin requirement check if installed plugin is local. Closes #3643 2023-07-27 12:58:52 +01:00
Binaek Sarkar
854819f8f1 Validates workspace profile cache settings. Closes #3646 2023-07-14 13:22:08 +01:00