Commit Graph

196 Commits

Author SHA1 Message Date
Meet Rajesh Gor
7a5abf86bb fix: trim protocol in url for mod commands. Closes #3257 2023-04-13 14:47: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
299697ae2f Updates in cache configuration to allow disabling of all caching on server. Closes #3258
STEAMPIPE_CACHE environment variable resolves to service cache enabled as well as client cache enabled

service cache enabled is used by the plugin manager to enable/disable caching on the plugins during startup (runtime toggle is not allowed) - with a max_ttl

client cache enabled is used to enable/disable the cache on the database connection (fdw)
A TTL can also be set on the client side capped to max_ttl on the server
2023-03-31 15:12:25 +01:00
Puskar Basu
121dd72407 Update bats. Closes #3270 2023-03-31 14:18:37 +01: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
Puskar Basu
77a4565068 Add a test to catch schema cloning errors. Closes #3248 2023-03-21 11:58:41 +00:00
Puskar Basu
8cb5935a36 Add query column in introspection tables to populate FullName if a QueryProvider references a named query. Closes #3161 2023-03-13 15:32:51 +00:00
Puskar Basu
523358d73f Add acceptance test to verify --dashboard-input flag in dashboard runs 2023-03-07 09:45:27 +00:00
Binaek Sarkar
06af870908 Fix running a single dashboard from the command line failing if the dashboard needs inputs and the dashboard name is not fully qualified. Closes #3168. Closes #3154 2023-02-28 15:27:09 +00:00
Puskar Basu
68399b39ef Add acceptance tests for dynamic aggregators. Closes #3147 2023-02-28 11:38:21 +00:00
Puskar Basu
e7c8327401 Update the snapshot acceptance tests to delete the snapshot created after each test run to avoid exceeding quota. Closes #3117 2023-02-16 12:33:57 +00:00
kai
d266917597 Merge branch 'v0.18.x' into main
# Conflicts:
#	CHANGELOG.md
#	pkg/version/version.go
2023-02-15 14:52:34 +00:00
Binaek Sarkar
d75ab0372e Fixes issue where snapshot mode in query leads to duplicate rows in console/file output 2023-02-15 19:08:19 +05:30
Binaek Sarkar
3096f9bfb8 Adds tests around service lifecycle 2023-02-03 16:32:06 +00:00
Mike Burgess
9669829827 Merge branch 'v0.18.x' 2023-02-03 13:04:02 +00:00
Puskar Basu
557d68c464 Add logs in test workflow to debug intermittent failures/stalls. Closes #3036 2023-02-03 12:07:10 +00:00
Binaek Sarkar
fbf086f39c Fixes issue where config from 'default.spc' was taking precedence over ENV var settings. Closes #3060 2023-02-03 12:05:30 +00:00
kaidaguerre
34bea3d1ef Add support for aggregator connections with dynamic tables. Closes #2886 2023-01-27 19:47:43 +00:00
Binaek Sarkar
ed4fc2d293 Updates 'csv' output for 'query' to output empty string for cells with 'null' values. Closes #2847 2023-01-20 09:26:30 +00:00
Puskar Basu
e4c50a9477 Ensure correct exit code is returned when a mod plugin requirements are not met. Closes #2986 2023-01-18 14:43:44 +00:00
Puskar Basu
0f511e11e7 Acceptance tests which run on PR should do a merge with base before running the tests #2869 2023-01-18 14:34:14 +00:00
Binaek Sarkar
5dc46c4e09 Increase database connection timeout and improve the error message if connection failure occurs. Closes #2377 2023-01-18 14:31:26 +00:00
Puskar Basu
8b68c0779f Update introspection tables acceptance test suite. Closes #2906 2023-01-18 14:31:15 +00:00
Puskar Basu
43502c6447 Clean up test and release workflows #2996 2023-01-18 14:31:15 +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
dbd0c861b4 temporarily disable check acc test 2023-01-12 15:41:00 +00:00
kai
608cc0980f temporarily disable check acc test 2023-01-12 15:17:17 +00:00
Mike Burgess
1ba8c7d7a1 Dashboard panels should not show if dependent inputs are not populated. Closes #2894. (#2982) 2023-01-11 17:54:21 +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
kai
46d84ca8bd Revert "Re-enable docker tests in release workflow (#2960)"
This reverts commit 4195dc26a6.
2023-01-10 10:20:42 +00:00
kaidaguerre
faf7039bad Fix acceptance tests - remove tests using control search path 2023-01-10 09:58:24 +00:00
kaidaguerre
cf81bbcee4 Remove search_path and search_path_prefix from Control and Query. Closes #2963 2023-01-09 22:35:08 +00:00
kaidaguerre
db2cd925bd Update parsing to validate hcl properties. Closes #2923 2023-01-09 21:44:05 +00:00
Puskar Basu
4195dc26a6 Re-enable docker tests in release workflow (#2960) 2023-01-09 21:34:21 +00:00
Puskar Basu
a687326a7d Add dashboard acceptance tests. Closes #2818 2023-01-09 11:48:56 +05:30
kai
04a3daa7c4 Revert "Add dashboard acceptance tests. Closes #2818 "
This reverts commit 0a5aecf6c1.
2023-01-06 18:41:17 +00:00
Puskar Basu
0a5aecf6c1 Add dashboard acceptance tests. Closes #2818 2023-01-06 17:19:31 +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
Puskar Basu
34ecf67496 Use consistent and defined exit codes. Closes #2935 2023-01-06 14:14:05 +00:00
Puskar Basu
4f72c3bceb Add acceptance tests to verify query outputs containing null values. Closes #2897 (#2898) 2023-01-03 17:40:25 +00:00
kaidaguerre
689ed6d06b Add support for dependencies between withs. Closes #2914 2022-12-23 13:36:40 +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
kai
1cbf7bdd77 Populate 'withs' property of leaf nodes at construction, not execution to ensure they appear in ExecutionStarted event. Add the actual error to LeafNodeError event when raising it. Closes #2877 2022-12-15 11:09:19 +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