Commit Graph

26 Commits

Author SHA1 Message Date
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
Binaek Sarkar
d55903d44b Fixes issue where table names with special characters are not handled correctly in auto-complete and .inspect. Closes #1109 2021-11-24 13:52:01 +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
Binaek Sarkar
0936b7363f Add support for quoted arguments with whitespace in .<metacmd>. Closes #1067 2021-11-11 14:41:53 +00:00
kaidaguerre
35a6fe9e34 Add support for connecting to a remote database client. Closes #908 2021-09-15 13:29:26 +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
kai
928370573a Fix casing of .cache metacommand autocomplete #875 2021-09-12 20:56:38 +01:00
kaidaguerre
c25a9b76a1 Add connection config file watching for service in foreground mode. Closes #815 2021-09-10 17:52:30 +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
Binaek Sarkar
df60c088dd Fix for history persistence of empty strings. Closes #850 (#851)
* func rename

* do not store to history if blank

* update comments

Co-authored-by: kaidaguerre <kai@turbot.com>
2021-09-07 10:14:13 +01:00
kai
1fe09ccf07 InitiaL implementation - no named params or defaults 2021-09-02 21:34:43 +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
kaidaguerre
b7aa42ceb3 Refactor service code to make it simpler to support external database connections. Closes #696 2021-07-26 17:07:28 +01:00
kaidaguerre
66cb4b0263 Refactoring and updates to allow future support for reports. #683 2021-07-23 12:15:09 +01:00
Binaek Sarkar
1d89726b4a Fixes issue where initdb fails because of missing permissions and users. Closes #634 2021-07-16 15:56:25 +01:00
kaidaguerre
f5796f0db3 In interactive mode, perform connection refresh and workflow loading asynchronously. Closes #627 2021-07-15 16:36:37 +01:00
Binaek Sarkar
7c85c5c2db Update service start to add --foreground flag. Closes #535 2021-07-01 09:34:04 +01:00
Binaek Sarkar
e1031902ee Update service start to 'claim' a service started by query or check session, instead of failing. Closes #580 2021-07-01 09:32:12 +01:00
Binaek Sarkar
115c8e5feb Remove locking from service code to allow multiple 'query' and 'check' sessions in parallel without requiring a service start. Closes #579 2021-07-01 09:24:48 +01:00
Binaek Sarkar
abd5f5ec7c Update plugin cmds to start the service in PreRun and stop service in PostRun. Close #578 2021-07-01 09:21:45 +01:00
tyagiparth
5fdc9cab79 Support executing controls from query command. Closes #470 2021-06-28 10:26:51 +01:00
Binaek Sarkar
c2071ab4ae Add support for inspection and autocomplete of Reflection tables. Closes #446 (#489) 2021-05-20 16:14:02 +01:00
kai
1fd1cfb4f2 Add support for cancellation of control run. Closes #475 2021-05-20 16:12:20 +01:00
kai
4dbc6bad6b Initial iteration of control result display code 2021-05-20 16:11:50 +01:00