Gábor Lipták
16e1bbac7d
Correct golint warnings (2) ( #2056 )
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com >
2022-05-13 11:53:58 +01:00
kaidaguerre
68a7e5f435
Fix interactive query Initialisation hang when no plugins are installed. Closes #1860
2022-04-13 13:46:32 +01:00
Puskar Basu
cb6bb054eb
Required Steampipe version in mod.sp is not respected when running query command. Closes #1734 . Closes #1718
2022-03-24 11:00:31 +00:00
kaidaguerre
fb2a1c0daa
Fix setting search path after connection config changed event. Closes #1700
2022-03-22 13:15:12 +00:00
kaidaguerre
6699d7de77
Ensure service is shutdown if check/dashboard/query are cancelled during initialisation. Closes #1288
2022-03-17 16:32:24 +00:00
kaidaguerre
7712d881e3
Fix dashboard errors not always being reported, or reported with no detail. Closes #1582
2022-03-07 16:48:15 +00:00
Binaek Sarkar
742879fc53
Create and use a $STEAMPIPE_INSTALL_DIR/tmp for oci installations. Closes #1375
2022-02-08 12:13:35 +00:00
Puskar Basu
f2d56ddeb8
Fix issues reported by the 'unused', 'staticcheck', 'gosimple' linters. Closes #1360
2022-01-31 16:00:54 +00:00
kaidaguerre
35330a8fb0
Update reports functionality. Add reflection tables for report entities. Automatically install report assets. Closes #1265 . Closes #567 Closes #1364
2022-01-31 15:17:18 +00:00
Gábor Lipták
31ff1f037e
Cleanup deadcode ( #1299 )
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com >
2022-01-20 14:28:05 +00:00
kaidaguerre
efbebd99ee
Decouple spinner display code from database and execution layer. Closes #1290
2022-01-06 11:54:18 +00:00
kai
67c446c2f0
Fix issue where service is not shutdown if interrupted while interactive prompt is initialising. #1004
2022-01-05 18:20:00 +00:00
Binaek Sarkar
990275c0a0
Fix issue where service is not shutdown if interrupted while interactive prompt is initialising. Closes #1004
2022-01-05 15:45:55 +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
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