14713 Commits

Author SHA1 Message Date
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
sophia
772e786eee
Import Waypoint state pruning code
ref: b333b059a0/internal/server/singleprocess/state/prune.go
b333b059a0/internal/server/singleprocess/state/prune_test.go
4f71748610/internal/server/singleprocess/prune.go

Squash: import prune
2022-04-25 12:24:40 -05:00
sophia
f845222c44
Add statebag to basis 2022-04-25 12:24:40 -05:00
sophia
881502654b
Create statebag ruby client 2022-04-25 12:24:40 -05:00
sophia
631a630e68
Implement statebag 2022-04-25 12:24:40 -05:00
sophia
f5fe88de15
Add tests for target 2022-04-25 12:24:39 -05:00
sophia
72225abc28
Add test for basis state 2022-04-25 12:24:39 -05:00
sophia
b30bbcb13a
Don't check for 'found' in basis/project/target query results 2022-04-25 12:24:39 -05:00
sophia
bb336592ea
Remove 'found' from basis/project/target query results 2022-04-25 12:24:39 -05:00
sophia
54c0b0528d
Add remote host module 2022-04-25 12:24:39 -05:00
sophia
eeb950b987
Support to_proto for ui's 2022-04-25 12:24:39 -05:00
sophia
a2ade36a74
Setup host client so that a golang based host may be used 2022-04-25 12:24:39 -05:00
sophia
0016baef36
Use mappers to extract string funcspec arguments 2022-04-25 12:24:39 -05:00
sophia
434e613856
Test has capability 2022-04-25 12:24:39 -05:00
sophia
04222f0eb6
Define initialize function to be compatible with ruby 2.6 2022-04-25 12:24:39 -05:00
sophia
7477455380
Get parents from guest plugin 2022-04-25 12:24:39 -05:00
sophia
493343abb6
Add test guest 2022-04-25 12:24:38 -05:00
sophia
7fe582037f
Add a few tests for detection of guests 2022-04-25 12:24:38 -05:00
sophia
29f14c98b7
Get parents chain from guest plugin 2022-04-25 12:24:38 -05:00
sophia
34637c616e
Add tests for guest service parents 2022-04-25 12:24:38 -05:00
sophia
da64ea69d1
Execute capabilities 2022-04-25 12:24:38 -05:00
sophia
f74037e71d
Try accepting many arguments as protobuf any messages 2022-04-25 12:24:38 -05:00
sophia
dc5b13f930
Save point: get guest capablity function parameters 2022-04-25 12:24:38 -05:00
sophia
19dafb3d85
Add service to check guest for capabilities 2022-04-25 12:24:38 -05:00
Chris Roberts
dc32d6e9a0
Clean up constant aliases and set at top level for everyone 2022-04-25 12:24:38 -05:00
Chris Roberts
ce29c48931
Use mapper when loading funcspec arguments in services 2022-04-25 12:24:38 -05:00
Chris Roberts
fc88c8d580
Add basic mappers for client types 2022-04-25 12:24:38 -05:00
Chris Roberts
c0304101f4
Add a helper utility for setting up the mapper 2022-04-25 12:24:38 -05:00
Chris Roberts
65f733a288
Add a basic mappers implementation 2022-04-25 12:24:37 -05:00
sophia
0588584438
Get local_data from project client 2022-04-25 12:24:37 -05:00
sophia
591dcced22
Remotve machine names function from project 2022-04-25 12:24:37 -05:00
sophia
54146d6570
Bump sdk 2022-04-25 12:24:37 -05:00
sophia
9599024fa5
Don't setup paths for remote environment 2022-04-25 12:24:37 -05:00
sophia
42796be551
Get machine from project for guest service 2022-04-25 12:24:37 -05:00