kai
65f59786a6
Update plugin manager makefile and GRPCServer to support protoc-gen-go-grpc 1.1.0_2. Add plugin_manager_grpc.pb.go.
2021-11-30 23:24:54 +00:00
Eng Zer Jun
335a3ee686
refactor: move from io/ioutil to io and os packages ( #1153 )
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2021-11-23 11:54:38 +00:00
Binaek Sarkar
1c02e4afa5
Update plugin_manager service management to be more reslient. Closes #1155
2021-11-22 21:05:46 +00:00
Binaek Sarkar
aea6b017f2
Ensure plugin manager and db service state are managed as a unit - they should always be started and stopped together. Closes #1149
2021-11-19 16:07:20 +00:00
kaidaguerre
8d7d2b6b04
Remove daemon process. Closes #1146
2021-11-18 17:57:06 +00:00
kaidaguerre
c760000652
Do not create plugin manager until db is started - fixes connection watcher causing plugin manager to crash when it fails to get a db client. Daemon command uses steampipe path from currently running running process. Closes #1137
2021-11-17 17:34:52 +00:00
kaidaguerre
b07013c4dd
Tie the connection watcher lifecycle to the plugin manager. Closes #1129
2021-11-16 22:48:10 +00:00
kaidaguerre
99edb970c1
When spawning steampipe daemon, use full steampipe path (derived from running process path). Closes #1115
2021-11-16 10:53:35 +00:00
kaidaguerre
6bcccf306d
session should always be closed by the caller instead of in dbClient.ExecuteInSession. Closes #1068
...
- Return actual error when WaitForConnection fails during client creation
- Do not register a parallel execution in progress display until the session has been acquired
2021-11-05 13:40:29 +00:00
kaidaguerre
7e7e0dd130
Add support for parallel control execution. Only spawn a single plugin per steampipe connection - defer plugin spawning to a PluginManager service. CLoses#1073, Closes #1001
2021-11-04 11:29:28 +00:00
kaidaguerre
bd791223e8
Add support for plugins with dynamic schema. Closes #1012
2021-10-18 12:20:13 +01:00