14951 Commits

Author SHA1 Message Date
sophia
168c307aef
Start filling in synced folder service impl 2022-04-25 12:26:03 -05:00
sophia
8bce3e6bd7
Enable remote mode for synced folders 2022-04-25 12:26:03 -05:00
sophia
f70b7268f2
Start adding synced folder client 2022-04-25 12:26:03 -05:00
sophia
9002131281
go generate 2022-04-25 12:26:03 -05:00
Paul Hinze
3df9c55a5c
Service box tests
Continuing with the error messages audit, this service came out the same
as the basis one - I haven't yet found any tests I can write that
expose errors we would want to enhance. In the meantime, more tests are
good though!
2022-04-25 12:26:03 -05:00
Paul Hinze
61d2c80813
Tests for the basis service
Filling these out as a part of a sweep to ensure we return decent error
messages from our GRPC services.

For this service I didn't come up with any error condition that
warranted changing the code yet. The get -> notfound case seems to be
the main one and the pass through error object seems AOK here.
2022-04-25 12:26:03 -05:00
Chris Roberts
319d86e555
Check graph for cycles before sorting. Fix expansion. 2022-04-25 12:26:03 -05:00
Chris Roberts
4f4a2ae916
Use clone before reversing 2022-04-25 12:26:03 -05:00
Chris Roberts
022f17e711
Use final vertex type for destination in mapper 2022-04-25 12:26:02 -05:00
Chris Roberts
7d548517c9
Add final vertex type to define destination 2022-04-25 12:26:02 -05:00
Chris Roberts
e60e43553e
Do not allow output vertices to be unique 2022-04-25 12:26:02 -05:00
Chris Roberts
f07ef26a64
Machine proto arg is within target 2022-04-25 12:26:02 -05:00
Chris Roberts
da8572cb45
Fix broker argument for statebag proto 2022-04-25 12:26:02 -05:00
Chris Roberts
c7d13e62c7
Ensure output of mapper to unpack funcspec is a proto 2022-04-25 12:26:02 -05:00
Chris Roberts
8b7c5efa52
Use custom output to break long log lines. Force encoding. 2022-04-25 12:26:02 -05:00
Chris Roberts
6a1c5f1c7f
Add default map list for blind mappings. Unpack funcspec before map. 2022-04-25 12:26:02 -05:00
Chris Roberts
ed7f1fcd1e
Start adding Hash like methods to state bag 2022-04-25 12:26:02 -05:00
Chris Roberts
3cc92280f8
Update mappers to include maps from funcspec value to proto 2022-04-25 12:26:02 -05:00
sophia
2513d21054
Return 0 when no boxes are installed
Previously the cli returned 1 for `vagrant box list` if there
are no installed boxes. This is somewhat misleading since the
command completes without an error, it should return 0
2022-04-25 12:26:02 -05:00
sophia
de996a6047
Move box loading to machine 2022-04-25 12:26:01 -05:00
sophia
e68c210921
Associate machine config with machines 2022-04-25 12:26:01 -05:00
sophia
d49944a25d
Only init targets when running a job scoped at the project or target 2022-04-25 12:26:01 -05:00
Chris Roberts
59144f74d3
Stub out mapper response to return machine 2022-04-25 12:26:01 -05:00
Chris Roberts
9f3241a5b5
Generated updates 2022-04-25 12:26:01 -05:00
Chris Roberts
675bea93cc
Persist cache for thread 2022-04-25 12:26:01 -05:00
Chris Roberts
796d2f2578
Simplify direct mappers 2022-04-25 12:26:01 -05:00
Chris Roberts
100ad1330d
Remove automatic caching and add short circuits 2022-04-25 12:26:01 -05:00
Chris Roberts
c75c20692c
Cache environment and allow mapping without UI 2022-04-25 12:26:01 -05:00
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
3fc453cde6
Adjust log silencing for ruby mapper output 2022-04-25 12:26:00 -05:00
Chris Roberts
081fcad389
Update guest detection and parent loading in machine 2022-04-25 12:25:59 -05:00
Chris Roberts
a2147ed27f
Update basis ResourceId to match interface 2022-04-25 12:25:59 -05:00
Chris Roberts
22de22e199
Update parent counting when loading plugins 2022-04-25 12:25:59 -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
687189f7b2
Provider name must return as Symbol 2022-04-25 12:25:59 -05:00
Chris Roberts
0c1ff17c43
Only allow mappers logging output if explicitly requested 2022-04-25 12:25:59 -05:00