tyagiparth
3fbf2b542e
Split versions.json into 2 files, one in the plugins dir, one in the database dir. Closes #576
2021-07-13 13:08:16 +01:00
kai
c2b1af79af
Rename named_query_provider to workspace_resource_provider.go
2021-07-12 15:44:27 +01:00
kaidaguerre
a0279fc676
Merge pull request #568 from turbot/issue-523
...
Updates to steampipe service. Closes #523 .
2021-07-08 15:28:30 +01:00
Binaek Sarkar
f4c6d479ba
Update service start code to remove need to spawn a separate process when starting for 'check'/'query`. Closes #581
2021-07-08 15:26:45 +01:00
kai
96ac315b5c
Update logging
2021-07-07 16:22:39 +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
3098b95e53
Add --all flag to service status to list status for all running services. Closes #532
2021-07-01 09:24:48 +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
kaidaguerre
49fd91ea68
Do not show spinner when updating metadata tables after a file watcher event. Closes #563
2021-06-17 16:39:39 +01:00
kaidaguerre
26d5d78713
Use custom postgres escape token to avoid chance of clash with the escaped text. Closes #554 ( #562 )
2021-06-17 15:37:28 +01:00
kaidaguerre
e94ba35333
Set soft Ulimit to hard Ulimit value, fixes Steampipe failing to run when too many benchmarks use the same controls. Closes #528 ( #529 )
2021-06-14 17:53:14 +01:00
Binaek Sarkar
93f7d8192c
Fix to display timing profile data when appropriate env var is set. Closes #513
2021-06-11 16:18:52 +01:00
Binaek Sarkar
f902615e4a
Fix incorrect message in interactive prompt. Closes #510
2021-05-27 19:42:08 +05:30
Binaek Sarkar
7356c2fd9f
Fixes issue where interactive prompt hangs on cancellation. Closes #507
2021-05-25 20:01:07 +01:00
Binaek Sarkar
ff8330b8b5
Review and cleanup of service startup code. Closes #495
2021-05-24 11:49:16 +01:00
Binaek Sarkar
5ae454bbde
Fix issue where service started by check is terminated by query. Closes #492
2021-05-20 17:35:24 +01:00
kai
7d761550f9
Add 'image' property to opengraph. Update message for multiple invocations of check cmd. Update check command long description.
2021-05-20 16:14:02 +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
Binaek Sarkar
5845fb8c8e
Fix issue with connection transaction - fixes support for search-path and search-path-prefix in check command. Closes #471
2021-05-20 16:14:02 +01:00
kai
a5616511ee
Applying permissions for temp table management on existing database installations. Closes #422
...
Implement 'output' arg, supporting modes text, brief, none. Add 'plain' theme.
2021-05-20 16:13:10 +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
kai
4b9c739cc9
Add steampipe_mod reflection table. Closes #444
2021-05-20 16:11:13 +01:00
kaidaguerre
a07511c578
Refactor parsing. Add support for requires block. Closes #424
2021-05-20 16:11:13 +01:00
kai
7e3ae0a386
Add parsing support for variable references, functions and locals. Closes #405
...
Update check to te-add implicit conversion of named query name to named query, so setting the SQL field to a query name would work.
Update reflection tables to fix JSONB arrays
Workspace loads and watches files recursively if a mod.sp file exists in the workspace folder
Update reflection tables - 'labels' and 'links' are now JSONB columns
rename control property Query to SQL and do NOT try to resolve this as a named query
Add documentation property to control_group
2021-05-20 16:11:13 +01:00
kai
e35e667efe
Rename reflection tables to singular. Add reflection tables to autocomplete. Closes #421 . Closes #433
...
Add missing properties to control, query, mod and controlGroup. Update mod parsing. Update reflection data types to remove length limitations. Remove mod_depends and plugin_depends parsing
2021-05-20 16:11:13 +01:00
kai
fcb6cbc96b
Add support for control execution scopes and --where argument. Closes #408
2021-05-20 16:11:13 +01:00
kai
b02f9644cb
control query should support named queries. Closes #420
...
Fix query resource name in metadata
update metadata tables from file watch events
remove db reference to workspace.
store named query in history untouched
rename ReflectionData to metadata. Handle arrays.
Reflection data working apart from pointers to arrays
For query command, pull client to higher level to allow creation ot reflection temp tables
Add executeSqlAsRoot
StartDb stops service if there is an error
Add temp table creation for reflection tables
remove invalid listen address
remove invalid listen address
2021-05-20 16:11:13 +01:00
kai
fd3ef42e22
Add reflection data to mod resources. #406
2021-05-20 16:11:13 +01:00
kai
77eff21c23
Add check command. Add support for control groups. Closes #413
2021-05-20 16:11:13 +01:00
Binaek Sarkar
468244aa40
Fix spinner displaying multiple newlines if spinner text is wider than the terminal. Closes #450
2021-05-12 13:47:27 +01:00
Binaek Sarkar
b022bc69ff
Ensure we report error and do not start DB service if port is already in use. Closes #399
2021-04-22 14:40:30 +01:00
Binaek Sarkar
a25b1806dd
Save namedQuery name in history, instead of the SQL. Move watch argument to query command. Closes #383
2021-04-15 10:34:04 +01:00
Binaek Sarkar
3ef18d373e
Add unqualified table names to autocomplete only if they exist in the search path. Closes #378
2021-04-14 16:40:21 +01:00
Binaek Sarkar
dd3ea42063
Add .search-path and .search-path-prefix metacommmands. Closes #357
2021-04-12 21:13:44 +01:00
kaidaguerre
f87cc07785
Add workspace support - create named queries from sql files in current directory. Closes #369
2021-04-12 16:52:43 +01:00
Binaek Sarkar
d138773a9a
Only show autocomplete on empty line after pressing tab. Closes #18
2021-04-12 15:37:47 +01:00
kaidaguerre
0da4feb894
Add search-path and search-path-prefix arguments to query command. Closes #358
2021-04-12 15:32:48 +01:00
kai
aa6b320da0
Fix typo in search path SQL statement. #353
2021-04-12 10:53:59 +01:00
kai
2f7d5bf499
If config specifies a search path, do not add public to the beginning, #353
2021-04-09 18:09:27 +01:00
kai
bf1be19073
Log trimming should only remove log files. Closes #360
2021-04-08 10:57:49 +01:00
Binaek Sarkar
9b77a3e04e
Use separate search_path for client and service. Closes #353
2021-04-08 10:37:49 +01:00
tyagiparth
96c24b9bb1
Log rotation does not work with the new location and file names. Closes #344
2021-04-07 15:47:36 +01:00
kai
70954afbe8
Inspect does not work with unqualified table names. Closes #346
2021-04-02 09:23:03 +01:00
kai
16bd9a0455
When removing the last connection, the search path is not updated. Fix slow shutdown after connection update. Closes #345
2021-04-01 17:06:40 +01:00
kai
9552b23ea7
Fix invalid error message during fresh plugin install. #274
2021-04-01 15:51:00 +01:00
kaidaguerre
8b91221710
Ensure search path changes after RefreshConnections are reflected in current session. Closes #340
2021-03-31 14:29:26 +01:00