5028 Commits

Author SHA1 Message Date
Chris Roberts
ce3f18ada1
Add machine to_proto mapper and update from target 2022-04-25 12:26:01 -05:00
Chris Roberts
b7c04b4ecc
Add project caching in mapper 2022-04-25 12:26:01 -05:00
Chris Roberts
c3fb475abe
Remove target from String mapper 2022-04-25 12:26:00 -05:00
Chris Roberts
d95147bd6f
Re-enable terminal extraction from project 2022-04-25 12:26:00 -05:00
Chris Roberts
3aa4e1bab4
Add mapping for pathnames 2022-04-25 12:26:00 -05:00
Chris Roberts
a0797da229
Argument is only invalid if nil and expected type is not NilClass 2022-04-25 12:26:00 -05:00
Chris Roberts
4b14221be4
Full extract all nested values when mapping 2022-04-25 12:26:00 -05:00
Chris Roberts
74d6dafccf
Use custom Array and Hash mapping 2022-04-25 12:26:00 -05:00
Chris Roberts
0e8ded18aa
Add significant weight to non-direct type matches 2022-04-25 12:26:00 -05:00
Chris Roberts
4e60160797
Update module loading in clients 2022-04-25 12:26:00 -05:00
Chris Roberts
b327dbe7d8
Add resource_id method to project client 2022-04-25 12:26:00 -05:00
Chris Roberts
b8ed8a495f
Map directly to Any value 2022-04-25 12:26:00 -05:00
Chris Roberts
b195772160
Update capability platform service and host/guest usages
Update default arguments to be a map instead of an array so
    expected result values can be provided. Add new method for
    handling arguments so custom adjustments can be applied before
    calling the capability. Add custom argument adjustments to
    guest service to provide machine if one is not given.
2022-04-25 12:25:59 -05:00
Chris Roberts
faac057cca
Build arguments for command via mapper directly 2022-04-25 12:25:59 -05:00
Chris Roberts
f903b0ee31
Provide an alias to the args for consistency 2022-04-25 12:25:59 -05:00
Chris Roberts
63e253b506
Update cacher to use monitor mixin 2022-04-25 12:25:59 -05:00
Chris Roberts
4a97d86b78
Initial updates for direct to any mapping 2022-04-25 12:25:59 -05:00
Chris Roberts
7f937ea544
Add autoload for types 2022-04-25 12:25:58 -05:00
Chris Roberts
1d16a57d64
Include mapper within host client 2022-04-25 12:25:58 -05:00
Chris Roberts
6135b412d3
Increase edge weight when types do not match 2022-04-25 12:25:58 -05:00
Chris Roberts
909bd68126
Adjust edge weights and connect subtypes 2022-04-25 12:25:58 -05:00
Chris Roberts
1d4c57222f
Validate path starts with source and ends with destination 2022-04-25 12:25:58 -05:00
Chris Roberts
870c5f6808
Updates to existing mappers 2022-04-25 12:25:58 -05:00
Chris Roberts
33bb2ff608
Generate any mappers for any known proto types 2022-04-25 12:25:58 -05:00
Chris Roberts
af13724f56
Adjust wrapper type generated mappers 2022-04-25 12:25:58 -05:00
Chris Roberts
68ed3ba1d9
Add any unpacking. Filter blind maps. 2022-04-25 12:25:58 -05:00
Chris Roberts
2712046a9d
Add mapper for direct type to proto 2022-04-25 12:25:58 -05:00
Chris Roberts
917ac04ef1
Add expected types for funcspec maps 2022-04-25 12:25:58 -05:00
Chris Roberts
8310e1bf95
Loaders for types 2022-04-25 12:25:57 -05:00
Chris Roberts
757b97b882
Create a types namespace and add direct type 2022-04-25 12:25:57 -05:00
Chris Roberts
22e34e87e9
Include a #to_proto method for all clients 2022-04-25 12:25:57 -05:00
sophia
7aaeaf2e46
Update protos 2022-04-25 12:25:57 -05:00
sophia
cb458e707a
Ensure path is a string 2022-04-25 12:25:57 -05:00
sophia
d95b563e86
Ensure 0 is returned for successful command 2022-04-25 12:25:57 -05:00
sophia
cec195cecb
Remove boxes from db when deleting 2022-04-25 12:25:56 -05:00
sophia
c5de0d88f7
Add box from ruby 2022-04-25 12:25:56 -05:00
sophia
c50ca3a991
Assume no box found if find returns an error 2022-04-25 12:25:56 -05:00
sophia
69b15f7140
Return list of box info when requesting all boxes 2022-04-25 12:25:56 -05:00
sophia
f71aa68a69
Get box collection from vagrant-go 2022-04-25 12:25:56 -05:00
sophia
fd0df0865c
Add box collection client 2022-04-25 12:25:56 -05:00
sophia
80f3549716
Initialize remote box with client 2022-04-25 12:25:54 -05:00
sophia
085e30053e
Load box from machine 2022-04-25 12:25:53 -05:00
sophia
99694b210b
Add mappers for box proto to client 2022-04-25 12:25:53 -05:00
sophia
235cafddcc
Add box client 2022-04-25 12:25:53 -05:00
Chris Roberts
3f4e446798
Support mapping to unknown destination type 2022-04-25 12:25:50 -05:00
Chris Roberts
5c6587f688
Allow matching mapper input directly on type 2022-04-25 12:25:50 -05:00
Chris Roberts
d1974d9a00
Remove implementations no longer required 2022-04-25 12:25:50 -05:00
Chris Roberts
481d7185a7
Use graph functions for searching and expanding path 2022-04-25 12:25:50 -05:00
Chris Roberts
a6367553c8
When building graph, set weight on vertices 2022-04-25 12:25:50 -05:00
Chris Roberts
482bf15d57
Rebuild graph on top of RGL 2022-04-25 12:25:50 -05:00