337 Commits

Author SHA1 Message Date
Meet Rajesh Gor
3854bbedf2 Use jd to compare between json outputs in relevant acceptance tests. Closes #3556 (#3947) 2023-12-14 15:52:12 +05:30
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
Meet Rajesh Gor
a4457be5c8 Fixes issue where a query would return 'null' for an empty resultset when output is set to json in 'query'. Closes #3955 (#3959)
(cherry picked from commit 6cb04c6b5e)
2023-11-29 12:55:13 +00:00
kaidaguerre
12079986d5 Add steampipe_plugin_column introspection table to internal schema. Closes #4003 2023-11-29 12:49:12 +00:00
Meet Rajesh Gor
6cb04c6b5e Fixes issue where a query would return 'null' for an empty resultset when output is set to json in 'query'. Closes #3955 (#3959) 2023-10-17 15:25:33 +05:30
kaidaguerre
0199aaceca Add function to clear connection cache. Closes #3937
* Add function to clear connection cache.
* Update FDW to v1.9.0 - Add ability to clear connection cache by inserting into settings table.
* Update plugin sdk to v5.6.1
* fix listen unit tests

(cherry picked from commit 4fa11a424e)
2023-09-29 20:20:08 +01:00
kaidaguerre
4fa11a424e Add function to clear connection cache. Closes #3937
* Add function to clear connection cache. 
* Update FDW to v1.9.0 - Add ability to clear connection cache by inserting into settings table.
* Update plugin sdk to v5.6.1
* fix listen unit tests
2023-09-29 19:48:17 +01:00
Binaek Sarkar
3f84a2630a Fixes issue where 'cloud-*' needed to be global flags. Closes #3923 2023-09-28 15:20:55 +01:00
Binaek Sarkar
12162b38c4 Fix issue where control fails with empty list as a param. Closes #2094 2023-09-28 12:34:36 +01:00
Binaek Sarkar
0c5b20d922 Fixes issue where cloud login is not recognised even if successful. Closes #3916 2023-09-27 17:22:39 +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
269a74b945 Tweaks to export behaviour in 'check'. Closes #3777
Named exports now combined into a single export. Closes #3773
Do not create export files for Cancelled control runs. Closes #3578
check export should not be silent.  Closes #3577
2023-09-22 17:57:38 +01:00
Binaek Sarkar
3353f00c3f Fixes issue where 'stdin' would get consumed even if there are arguments. Closes #3879. Closes #1985. 2023-09-22 17:15:59 +01:00
kaidaguerre
79606c5bcd Rename internal introspection tables. Fix warning notifications from RefreshConnections. Improve error handlingh for config inconsistencies in conneciton and plugin config. Closes #3886 2023-09-22 16:02:41 +01:00
Binaek Sarkar
c85b6c336f Adds support for installing all referenced plugins when no arguments are given to 'plugin install'. Closes #3451 2023-09-18 16:27:17 +01:00
Binaek Sarkar
671baeb36a Fixes issue where multiple 'service start' would error even on same listen params. Closes #3861 2023-09-18 16:24:47 +01:00
Puskar Basu
9be7fb74f1 Cloud and workspace flags should not be Global Flags as they are not used for all commands. Closes #3542 2023-09-12 15:27:56 +01:00
Puskar Basu
fa5240064f Fix issue where ensureDefaultConfigFile was always overwriting default.spc. Closes #3814 2023-09-11 14:36:39 +01:00
Binaek Sarkar
09898c7ca1 Fixes issue where Fetch and Hydrate data are not shown with timing enabled. Closes #3808 (#3815) 2023-09-08 17:37:29 +01:00
Puskar Basu
e416f48f5f Set BATS_TEST_TIMEOUT for each test (#3804) 2023-09-08 12:10:18 +05:30
Puskar Basu
df6b8ae874 Re-design plugin tests (#3809) 2023-09-07 17:44:10 +01:00
kaidaguerre
2a86d08445 Add support to retrieve plugin rate limiter definitions and use to populate steampipe_rate_limiter table. Closes #3805 (#3803) 2023-09-06 13:28:22 +01:00
Binaek Sarkar
2f889e462e Merge branch 'v0.20.x' 2023-09-01 23:05:16 +05:30
Binaek Sarkar
b0fa6b6cbf Rotate SSL certificates before server starts, if necessary. Closes #3599 2023-09-01 22:57:58 +05:30
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
Binaek Sarkar
3b2cdd1e68 Upgrades go version to 1.21. Closes #3763 2023-08-25 13:54:28 +01:00
kai
d9cc25eccf Merge branch 'v0.20.x' 2023-08-25 10:50:49 +01:00
Puskar Basu
7b1d75cfed Fix support for mixed case schema names. Closes #3753 2023-08-25 10:32:03 +01:00
Puskar Basu
6b6e093e35 Fix base inheritance for dashboard input blocks. Closes #3755 2023-08-25 10:24:12 +01:00
kai
e5ac3eff06 Merge remote-tracking branch 'origin/main' 2023-08-11 15:30:15 +01:00
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
kai
02654f8d4d Merge branch 'v0.20.x'
# Conflicts:
#	pkg/pluginmanager_service/plugin_manager.go
#	tests/acceptance/test_files/dynamic_schema.bats
2023-08-11 14:18:53 +01:00
Puskar Basu
c9dfc8df0b Fixes timing issue where refresh connections was sometimes not run when starting service. Closes #3734 2023-08-11 10:36:20 +01:00
Puskar Basu
123d5efef0 Update config precedence tests. Closes #3704 2023-08-09 13:08:56 +01:00
Binaek Sarkar
a01776b78f Migrate from 'cloud.steampipe.io' to 'pipes.turbot.com'. Closes #3724 2023-08-08 12:24:38 +01:00
Puskar Basu
f905a2296f Split service and plugin acceptance tests 2023-08-07 10:44:47 +01:00
Puskar Basu
c0860f551c Fix installation.bats tests and increase BATS_TIMEOUT for service tests (#3701) 2023-07-28 15:38:12 +01:00
Meet Rajesh Gor
ce2bc0cb5b Add flag for disabling writing of default plugin config during plugin installation. Closes #3531. Closes #2206 2023-07-28 10:15:37 +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
74f2f6ae24 Removes deprecated 'workspace-chdir' flag. Closes #3658 2023-07-26 11:39:56 +01:00
Binaek Sarkar
854819f8f1 Validates workspace profile cache settings. Closes #3646 2023-07-14 13:22:08 +01:00
Puskar Basu
3c54f81e94 Add acceptance tests to verify steampipe db, fdw, plugins installation from registry. Closes #3656 2023-07-10 15:59:50 +01:00
Binaek Sarkar
448ee3b401 Fixes issue where 'service start' is not listening on 'network' by default. Closes #3593 2023-07-06 16:05:47 +01:00
Puskar Basu
00e4e9169d Organise test_data directory. Closes #3630 2023-07-03 11:57:20 +01:00
Binaek Sarkar
9754ed0c1a Creates 'version.json' in each plugin directory. Recompose the global plugin versions.json if it is missing or corrupt. Closes #3492 2023-06-30 08:56:59 +01:00
kai
9dd177204f Merge branch 'v0.20.x'
# Conflicts:
#	.github/workflows/test.yml
#	tests/acceptance/test_files/migration.bats
2023-06-22 18:22:35 +01:00
Puskar Basu
f176fdca17 Add tests after each test file to check for running/leftover steampipe processes 2023-06-22 16:20:13 +01:00
kaidaguerre
43dd6c7a61 Refactor Plugin manager:remove support for plugins which do not support multiple connections, simplify startup.
If plugin process crashes, benchmark or dashboard runs can leave running plugin processes after shutdown. Fixes #3598
2023-06-21 16:18:49 +01:00