kaidaguerre
4fa11a424e
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
2023-09-29 19:48:17 +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
kaidaguerre
7feb305fde
Provide mechanism for plugin manager to send warnings back to CLI. Closes #3603 ( #3835 )
2023-09-13 15:34:15 +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
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
120999a374
Adds feature where type '.cache' in interactive shows the current value of cache. Closes #2439
2023-07-04 16:02:52 +01:00
kai
3b1e99182a
Replace all '...' with ellipsis … in terminal output. Closes #3441
2023-05-18 10:41:27 +01:00
kaidaguerre
b0b2c62338
Add support for 'import_schema' property in connection config, controlling whether to create a postgres schema for a steampipe connection. Closes #3407
...
Rename 'connection_state' table to 'steampipe_connection_state'. #3403
Rename 'internal' table to 'steampipe_internal
Remove 'Connection' property from ConnectionState
2023-05-15 13:07:36 +01:00
kaidaguerre
40804a3201
Execute RefreshConnections asyncronously and optimise for high connection count. Add connection_state table.
...
- Execute RefreshConnections asyncronously
- Add connection_state table to indicate the loading state of connections
- Optimise RefreshConnections by cloning connection schemas
- Add locking to ensure only a single instance of RefreshConnections runs
- Start executing queries without waiting for connections to load, add smart error handling to wait for required connection
- Optimise autocomplete for high connection count
- Autocomplete and inspect data available before all conections are refreshed
- Update file watcher to respond to CHMOD, so thaat it pickes up deletion of file contents
Closes #3394
Closes #3267
2023-05-10 09:05:08 +01: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
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
kai
fcb87b685c
Fix interactive prompt adding extra spaces when showing status messages when fdw is updated. Closes #3173
2023-03-01 13:45:34 +00:00
kaidaguerre
718718d053
Rationalise and optimize autocomplete. Closes #3149
2023-02-24 15:31:47 +00:00
kaidaguerre
b67d39ecde
Fix duplicated text input on interactive prompt during initialisation. Closes #3075
2023-02-16 12:35:43 +00:00
Binaek Sarkar
9053d7e121
Fixes issue where extra newline was added to interactive prompt before messages were printed. Closes #3027
2023-01-31 15:59:42 +00:00
Puskar Basu
e4c50a9477
Ensure correct exit code is returned when a mod plugin requirements are not met. Closes #2986
2023-01-18 14:43:44 +00:00
kaidaguerre
0a391e9636
Update dashboard states to "initialized", "blocked", "running", "complete", "error", "canceled". Closes #2939
2023-01-04 14:08:56 +00:00
Binaek Sarkar
b71bb6c18b
Fixes issue where pasting content immediately after start in interactive prompt would result in duplicate content. Closes #2628
2022-10-31 15:45:22 +00:00
kaidaguerre
2309abb7fd
Support executing any query-provider resources using the steampipe query command. Optimize autocomplete. Closes #2558
2022-10-24 10:45:28 +01:00
Binaek Sarkar
a373b9ca91
Fixes issue where prompt fails to show up when service installation runs in interactive mode. Closes #2529
2022-10-21 12:13:52 +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
kai
e4d1b72754
Fix Steampipe terminating if valid query is entered before initialisation completes. #2300
2022-08-08 15:57:02 +01:00
kaidaguerre
d15ac33b26
Fix pasting a query during cli initialization causing it to be duplicated on the screen. #1980
2022-08-04 22:17:14 +01:00
kaidaguerre
0a9b1a1715
Fix interactive multi-line mode. Ensure initialisation errors are correctly reported. Closes #2260
2022-08-02 17:30:54 +01:00
kaidaguerre
5193c70395
Restructure steampipe repo to use pkg folder. Closes #2204
2022-06-27 11:36:03 +01:00