14746 Commits

Author SHA1 Message Date
Chris Roberts
2d2a503f95
Decode value when loading proto 2022-04-25 12:24:44 -05:00
Chris Roberts
48c0c96798
Update namespace for machine 2022-04-25 12:24:44 -05:00
Chris Roberts
d88a1e1346
Load all mappers and support extra args for funcspec processing 2022-04-25 12:24:44 -05:00
Chris Roberts
e94de03560
Include mapper and broker for handling funcspec args 2022-04-25 12:24:44 -05:00
Chris Roberts
4167bf890a
Update dummy capability for testing 2022-04-25 12:24:44 -05:00
Chris Roberts
d37f2ff6fe
Split out mappers implementation to namespaced file 2022-04-25 12:24:44 -05:00
Chris Roberts
d81d505e8a
Add internal tools utilzing graph 2022-04-25 12:24:44 -05:00
Chris Roberts
0a26c040f7
Add a graph implementation and typed vertices 2022-04-25 12:24:44 -05:00
Chris Roberts
87848eec67
Define internal module and add loaders 2022-04-25 12:24:44 -05:00
Chris Roberts
6d682ab7eb
Add simple stack implementation 2022-04-25 12:24:44 -05:00
Chris Roberts
66f8643ae3
Add more mappers 2022-04-25 12:24:43 -05:00
Chris Roberts
c4da3b0cbd
Rename capabilities mapper and convert to symbol 2022-04-25 12:24:43 -05:00
Chris Roberts
eb5969dac0
Add new mappers 2022-04-25 12:24:43 -05:00
Chris Roberts
908135c21e
Fix method name for accessing capability name on message 2022-04-25 12:24:43 -05:00
Chris Roberts
4e35028e3f
Some small mapper adjustments and loaders 2022-04-25 12:24:43 -05:00
Chris Roberts
75b9950ae4
Update capability to request and handle direct args 2022-04-25 12:24:43 -05:00
Chris Roberts
ab6f18093b
Add dummy capability to void host plugin for testing 2022-04-25 12:24:43 -05:00
Chris Roberts
821a982656
Add subcommand for running host capability 2022-04-25 12:24:43 -05:00
Chris Roberts
f06b1a0990
Allow capability platform service module to setup all other required modules 2022-04-25 12:24:43 -05:00
Chris Roberts
2a4eba8435
Be more prescriptive on super usage to make Ruby 2.6 happy 2022-04-25 12:24:43 -05:00
Chris Roberts
35277eff21
Remove machine autoload from client top level 2022-04-25 12:24:43 -05:00
Chris Roberts
9909701544
Update references to machine to nest under target 2022-04-25 12:24:42 -05:00
Chris Roberts
3941438ab3
Make machine path represent namespacing 2022-04-25 12:24:42 -05:00
Chris Roberts
c53c84182a
Nest machine within target namespace to match scopes 2022-04-25 12:24:42 -05:00
Chris Roberts
f24b211746
Provide override to lookup TerminalUI for our Terminal client 2022-04-25 12:24:42 -05:00
Chris Roberts
71ce491197
Allow name lookup overrides for proto integration 2022-04-25 12:24:42 -05:00
Chris Roberts
4420feb9cf
Disable cacher usage until mapper is updated 2022-04-25 12:24:42 -05:00
Chris Roberts
1c0362837a
Re-enable Ruby 2.6 in testing 2022-04-25 12:24:42 -05:00
Chris Roberts
84d2dc1c60
Always extend connector when prepending the client setup module 2022-04-25 12:24:42 -05:00
Chris Roberts
2cd54c6079
Update client implementation module usage 2022-04-25 12:24:42 -05:00
Chris Roberts
fd18051b0d
Update module usage within service implementations 2022-04-25 12:24:42 -05:00
Chris Roberts
0401f9cad4
Check super method to be called and force no arguments if none expected
This fixes an issue with Ruby 2.6 where `super` usage when no
    arguments are passed results in an argument error
2022-04-25 12:24:42 -05:00
Chris Roberts
e89d344770
Extract utility modules into isolated files and add more utils 2022-04-25 12:24:41 -05:00
sophia
2d748eea5d
Bump sdk 2022-04-25 12:24:41 -05:00
sophia
58ffe630a2
Pass statebag to host detect function 2022-04-25 12:24:41 -05:00
sophia
0dbb1d7da3
Drop ruby 2.6 from testing 2022-04-25 12:24:41 -05:00
sophia
ca824644a5
Add tests for host service 2022-04-25 12:24:41 -05:00
sophia
dbb9188f87
Use mappers to get NamedCapability argument 2022-04-25 12:24:41 -05:00
sophia
177b06eb22
Add TODOs for extracting capability args 2022-04-25 12:24:41 -05:00
sophia
14d17dfd9d
Return capability execution result 2022-04-25 12:24:41 -05:00
sophia
97baac8772
Check for parents if host detected 2022-04-25 12:24:41 -05:00
sophia
a23da9bc64
Log ruby detect endpoint 2022-04-25 12:24:41 -05:00
sophia
5892c47ead
Extract common capability platform service for host and guest plugins 2022-04-25 12:24:41 -05:00
sophia
d75f76edf7
Prune old jobs as part of vagrant server clean ups 2022-04-25 12:24:40 -05:00
sophia
b2cce38f48
Add rpc endpoint to prune out old jobs 2022-04-25 12:24:40 -05:00
sophia
57474ac8c8
Periodically prune old jobs from bolt 2022-04-25 12:24:40 -05:00
sophia
2991810e0c
Seperate pruning jobs from memdb and bolt
only prune out old queued jobs in memdb
2022-04-25 12:24:40 -05:00
sophia
21c926523f
Count all the entries in jobs bucket 2022-04-25 12:24:40 -05:00
sophia
63dcc9fbf3
Save point: run prune in background 2022-04-25 12:24:40 -05:00
sophia
4205d0e444
Prune old jobs from state 2022-04-25 12:24:40 -05:00