Puskar Basu
8619e463f0
remove variable cmd
2024-09-27 18:13:12 +05:30
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
kaidaguerre
ae1919449a
When installing a mod, ensure there is a valid modfile. Closes #4158
...
Remove support for .pp mod resource files
2024-03-01 18:10:12 +00:00
kaidaguerre
1079ba7083
Fix growing memory usage following file watching events when running dashboard server. Closes #4150
2024-02-23 13:19:15 +00:00
kaidaguerre
cae96a0a88
Fix modfile being left invalid after mod uninstall. Fix variables not being reloaded after file watch event. Closes #4123 . Closes #4124
2024-02-09 12:28:13 +00:00
kaidaguerre
4bdf1ffe4f
Fix HomeDirectoryModfileCheck returning false positive error. Closes #4118
2024-02-06 11:41:21 +00:00
kaidaguerre
33210d4fe7
Accept both sp and pp files as mod data extension. Closes #4089
2024-02-05 17:11:00 +00:00
kaidaguerre
08f49d843f
For query command, load mod variables syncronously but the rest of mod async. Closes #4109
2024-02-02 15:03:31 +00:00
kaidaguerre
103d53f8e8
Fix setting dependency vars in var file. Fix UI freeze when prompting for workspace variables. Closes #4105
2024-02-01 13:53:21 +00:00
kaidaguerre
7d3f1ccb18
Accept both sp and pp files as mod data extension . Closes#4089
2024-01-26 14:46:30 +00:00
Binaek Sarkar
0387595c36
Update calls to go-kit.ListFiles with the new go-kit.ListFilesWithContext. Closes #3884
2024-01-08 11:45:29 +00:00
Binaek Sarkar
085e933ddf
Maintain the order of execution when running multiple queries in batch mode. Closes #3728
2024-01-02 11:52:16 +00:00
kaidaguerre
46ef6ec90a
Add steampipe_plugin_column introspection table to internal schema. Closes #4003
...
(cherry picked from commit 12079986d5 )
2023-11-29 12:55:21 +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
kaidaguerre
ed76a879da
Executing benchmark as dashboard failing with segmentation fault. Closes #3905
2023-09-26 15:51:19 +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
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
Puskar Basu
01097a27e6
Warn users to not have mod.sp files in home directory. Closes #2321
2023-09-22 18:07:55 +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
Binaek Sarkar
08b447a261
Differentiate between user and system queries using application name. Closes #3600
2023-08-25 16:50:27 +01:00
Binaek Sarkar
21d27bd1ea
Merge branch 'v0.20.x'
2023-08-25 19:39:19 +05:30
Puskar Basu
06860e5c7b
Steampipe should return file not found as error when the input file does not exist. Closes #1752
2023-08-25 14:58:06 +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
37e4b94148
Move ErrorAndWarnings to error_helpers. Closes #3653
2023-07-12 13:58:57 +01:00
kaidaguerre
b06348757a
Fix linting warnings
...
---------
Co-authored-by: Binaek Sarkar <binaek@turbot.com >
Co-authored-by: Puskar Basu <puskar@turbot.com >
2023-07-06 16:08:23 +01:00
kai
55d0dfc2fe
Fix wording for dependent mod variable validation error. #3546
2023-06-14 15:54:00 +01:00
kai
b6636eed5f
Fix wording for dependent mod variable validation error. #3546
2023-06-13 15:05:58 +01:00
Binaek Sarkar
c3d21d4436
Fixes issue where 'dot' commands in interactive prompt fail to execute if there's a file/folder by the same name in the working directory. Closes #3558
2023-06-12 16:35:43 +01:00
kaidaguerre
ac7bdafafa
Update variable validation - warn/error when setting a value for a variable which is not found or inaccessible. Validate that mod requires args properties can be resolved. Closes #3546
2023-06-12 16:16:50 +01:00
kaidaguerre
91436fafba
Support resolution of variables for transitive dependencies using parent mod 'args' property
...
`steampipe mod update` now updates transitive mods
It is now be possible to set values for variables in the current mod using fully qualified variable names.
Only variables for root mod and top level dependency mods can be set by user
Closes #3533 . Closes #3547 . Closes #3548 . Closes #3549
2023-06-09 16:22:09 +01:00
kaidaguerre
ef0662d974
Set mod name in resource metadata for pseudo-resources. Closes #3405
2023-05-17 13:18:38 +01:00
Binaek Sarkar
be81357e20
Fixes issue where mod installation would fail silently for unmet dependencies in top mod in force mode. Closes #3358 ( #3363 )
2023-04-26 14:24:36 +01:00
Puskar Basu
3bdd2eedde
Improve error message when running steampipe check/dashboard outside a mod and refactor default mod creation. Closes #3215
...
Rationalise default mod creation
Fix nil ref exception for mod commands when using legacy `requires` block
---------
Co-authored-by: kai <kai@turbot.com >
2023-04-20 12:02:50 +01:00
kaidaguerre
f47985f88f
Update mod require, deprecate steampipe property and add steampipe block. Deprecate plugin version property and add min_version`. Closes #3347 . Fix args passed to dependency mods failing to resolve if they reference variables. Closes #3348
2023-04-19 12:28:53 +01:00
Binaek Sarkar
b9cacecf27
Fixes issue where running mods with unmet dependencies does not raise warnings. Closes #3324
2023-04-17 14:45:16 +01:00
kaidaguerre
137e438bdc
Resource references in depdency mods must be fully qualified. Locals in dependency mods cannot be referenced. Support transitive dependencies referencing variables from different versions of same mod. Closes #3335 . Closes #3336 . Closes #3337
2023-04-14 12:37:32 +01:00
Aaronstotle
17a00353ae
Add check to the mod init function so users are aware if it's run in the home directory or if there are a large number of non-mod files in the path. Closes #2562
2023-04-06 09:10:41 +01:00
kai
be5219d446
Merge branch 'v0.19.x'
...
# Conflicts:
# pkg/steampipeconfig/modconfig/mod_resources.go
2023-04-04 15:48:05 +01:00
kaidaguerre
dd08d9d8a4
Support mods requiring different versions of the same mod. Resources from transitive dependencies should not added the mod resource map #3302 ( #3303 )
2023-04-04 15:08:27 +01:00
kaidaguerre
92396d77c0
Remove connection pool min size. Remove need to create empty mod introspection tables if introspection is not enabled. Remove connection pool min size. Closes #3207
...
* Remove all references to prepared statements
* remove sessionInitWaitGroup
2023-03-09 16:55:08 +00:00
Binaek Sarkar
993259de52
Increase database connection timeout and improve the error message if connection failure occurs. Closes #2377
2023-01-18 14:26:19 +00:00
kaidaguerre
33f4f80565
Workspace file watching events sometime cause dashboard to stall and stop responding to events. Cancelling dashboards (e.g. by pressing 'back' on the browser) sometimes leave the server in a state where it will not respond to socket events. Closes #3007 . Closes #3008
2023-01-17 12:52:59 +00:00
kaidaguerre
15984137ae
Add deprecation warnings for deprecated hcl properties. Closes #2973
2023-01-11 16:34:58 +00:00
kaidaguerre
d254301f9e
When editing dashboard files, after adding/fixing errors in the HCL the dashboard server will sometimes stall. Closes #2952
...
Fixed tactically by increasing the channel buffer size and also adding a timeout/cancellation support to the dashboard event sending code
2023-01-06 17:49:43 +00:00
kaidaguerre
fa18c8f0e2
Add support for node reuse. Update graph, flow and hierarchy to declare nodes and edges inline, rather than as a list of references. Closes #2871
...
Only top level resources can have with and param blocks. Closes #2872
Refactor resource and dashboard run hierarchies to use base impl structs. Closes #2873
2022-12-14 17:18:57 +00:00
kaidaguerre
c35f5ae045
Update with execution to be fully asyncronous, i.e. nodes/edges are run immediately and wait for any dependencies to be available. Closes #2824
2022-12-02 11:40:56 +00:00
kai
dcc2691d15
Update FDW to v1.5.0 - update to work with sdk version 5 and dynamic updating of dynamic schemas.
2022-11-30 17:51:08 +00:00
kai
294c3e1db0
Update EventMask for connection and workspace file watcher to include Write. #2779
2022-11-30 11:00:57 +00:00
Binaek Sarkar
7a16ec8c57
Updates usages of 'go-kit; for changes in Filewatcher and String/Hash helpers. Closes #2779
2022-11-30 10:12:03 +00:00
kaidaguerre
882b678478
When parsing query args, ensure jsonb args are passed to query as string not map. Support argument definitions which make an array out of a runtime dependency. #2772 , Closes #2802
2022-11-25 12:01:16 +00:00