kaidaguerre
202cb68692
Add HCL support for defining rate limiters, with filewatching as per connection config. Closes #3746
2023-08-11 14:24:44 +01:00
Binaek Sarkar
37e4b94148
Move ErrorAndWarnings to error_helpers. Closes #3653
2023-07-12 13:58:57 +01:00
kai
8c3099fddd
Fix wording for dependent mod arg validation error. #3546
2023-06-14 15:54:00 +01:00
kaidaguerre
f25c083dee
Improve mod require arg validation errors - include value expressions and arg file ranges. #3546
2023-06-14 15:54:00 +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
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
Binaek Sarkar
9980427e83
Fixes issue where deprecation warning was not shown for using 'options.connection' in 'connection' block. Closes #3223 .
2023-05-11 11:40:08 +01:00
Puskar Basu
b2a3a4fbfe
Detect older versions of MacOS and warn that Steampipe does not support them. Closes #3256
2023-05-09 13:43:07 +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
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
kai
48e6d532c6
Merge branch 'v0.19.x'
...
# Conflicts:
# pkg/modinstaller/mod_installer.go
2023-04-13 14:30:01 +01:00
Binaek Sarkar
473a3e08b9
Fixes issue where mod install/update continues installation even with unsatisfied requirements. Closes #3291
2023-04-06 18:42:39 +01:00
kai
1f77b1b8bb
Merge branch 'v0.19.x'
2023-04-04 15:55:06 +01:00
kaidaguerre
e1703b9c75
Add dependency_path to steampipe_mod so it is possible to tell if a mod is a dependency mod. Closes #3304
2023-04-04 15:51:48 +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
Binaek Sarkar
be36276fd8
Add deprecation warnings for connection.options "connection" and global terminal options. CLoses #3246
2023-03-23 14:43:06 +00:00
Binaek Sarkar
e4dbced826
Updates to workspace profile - add additional properties and command specific options blocks. Closes #3223
2023-03-21 12:00:47 +00: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
kaidaguerre
8f87f7828c
Revert: Validate that input references are of the form self.input.<input-name>.value. Remove until mods are updated. #2990
2023-02-21 15:56:24 +00:00
kai
82b3b7454c
Remove TableAggregationSpecs
2023-02-15 12:43:54 +00:00
kaidaguerre
34bea3d1ef
Add support for aggregator connections with dynamic tables. Closes #2886
2023-01-27 19:47:43 +00:00
kaidaguerre
21b1172147
Update HCL validation to allow benchmark and control blocks in dashboard. Closes #3015
2023-01-18 12:24:58 +00:00
kaidaguerre
6ee391faba
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. #3007.#. #3008
2023-01-17 11:52:53 +00:00
kaidaguerre
076b5c1957
Validate that input references are of the form self.input.<input-name>.value. Closes #2990
2023-01-16 12:30:34 +00:00
kai
c4f7651bc5
Update validation - make havving both param and query property set a warning not an error
2023-01-12 09:49:30 +00:00
kaidaguerre
425d9a9145
Fix positional args using with glob syntax. Closes #2984
2023-01-11 17:17:07 +00:00
kaidaguerre
15984137ae
Add deprecation warnings for deprecated hcl properties. Closes #2973
2023-01-11 16:34:58 +00:00
kaidaguerre
6fd6a826b5
Fix inputs in different dashboard with same name causing parse failure. Closes #2979
2023-01-11 15:43:14 +00:00
kaidaguerre
db2cd925bd
Update parsing to validate hcl properties. Closes #2923
2023-01-09 21:44:05 +00:00
kaidaguerre
718c4f1944
Update steampipe_reference introspection table to include references from with blocks. Closes #2934
...
* Move AddReference and GetReferences to ResourceWithMetadataImpl
* Remove resourceMapProvider from setBaseProperties signature
* Remove MergeBaseDependencies
* Remove 'base; property from with
* Only populate refs if introspection is enabled
2023-01-06 17:18:24 +00:00
kaidaguerre
2d2a137705
Split WithProvider from RuntimeDependencyProvider. Only dashboard and NodeEdgeProviders can have with blocks. Closes #2946
2023-01-05 18:02:44 +00:00
kai
cd80fa28e4
Remove redundant code. Add issues to TODOs.
2022-12-23 13:15:46 +00:00
kaidaguerre
dfcff84f2d
Add support for param runtime dependencies. Closes #2910
2022-12-22 13:44:40 +00:00
kaidaguerre
3bf90acaf6
Add support for independent execution and resolution of base resource runtime dependencies. Closes #2893
2022-12-19 16:55:26 +00:00
kaidaguerre
d915ce69f4
Refactor base resolution to use nested structs. Remove modified gohcl parsing code. Closes #2884
2022-12-16 13:47:51 +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
3acf46697b
Implement workspace change detection for nodes/edges/with blocks. Close #2827
2022-12-02 13:12:27 +00:00
kaidaguerre
dbd1d10fcc
Add support for plugin sdk v5, with plugin message stream - support update of dynamic plugin schema based on file events. Closes #2767
2022-11-30 10:50:46 +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
Binaek Sarkar
d9e99167b5
Fixes issue where unit tests were not running on new Pull Requests . Closes #2794
2022-11-24 16:17:01 +00:00
kaidaguerre
fe6365b1ef
Remove usage of prepared statements - instead excute sql directly. Wrap with executions in LeafRuns to support runtime dependency resolution. Closes #2789 . #2772
2022-11-23 14:11:56 +00:00
kai
a3e461f396
Add with support for EdgeAndNodeProvider blocks. #2772
2022-11-22 14:11:04 +00:00
kaidaguerre
4f90440d26
Add support for with blocks. Closes #2772
2022-11-21 16:25:51 +00:00
Mike Burgess
39a602c513
Revert "Remove support for Node, Edge and Category resources"
...
This reverts commit d0a3739a95 .
2022-11-08 11:16:49 +00:00
kaidaguerre
cdfc79f8ee
Ensure we report errors from workspace profile parse. Closes #2640
2022-11-01 22:26:44 +00:00
kai
d0a3739a95
Remove support for Node, Edge and Category resources
2022-10-28 16:21:36 +01:00