27 Commits

Author SHA1 Message Date
hashicorp-copywrite[bot]
36a312ee26
add missing license headers and update copyright file headers to BUS-1.1 2023-08-10 21:53:25 +01:00
Chris Roberts
b8fbe1ace5 Remove some extraneous logging 2022-06-20 13:07:31 -07:00
Chris Roberts
83ca40e239
Refactor Ruby service implementations
Update the Ruby service implementations to use the funcspec util
    module for generating spec content. A helper method is now used
    for generating a parent class for services to subclass which
    automatically includes all required modules for usage.
2022-04-25 12:26:37 -05:00
sophia
19f3d2f0b6
Refactor named plugin bits to apply to all components 2022-04-25 12:26:33 -05:00
sophia
df5f7d40e8
Rename exception logger to exception transformer
The exception logger no longer logs errors. Instead it transforms
the errors into a grpc friendly format. The exception that would
have been logged at this point gets logged when the task completes.
2022-04-25 12:26:20 -05:00
sophia
c70da0f548
Raise Vagrant error 2022-04-25 12:26:20 -05:00
sophia
441f82760b
Include exception logger and attach to all available methods 2022-04-25 12:26:19 -05:00
Chris Roberts
6bdc7baf39
Update name from Types to Type 2022-04-25 12:26:16 -05:00
Chris Roberts
5c8f14041c
Update services to provide broker and use proper plugin manager 2022-04-25 12:26:15 -05:00
sophia
88e1e5c1a7
Map ouput of capabilities 2022-04-25 12:26:12 -05:00
sophia
1ce82cf14c
Re-enable cap service return values 2022-04-25 12:26:10 -05:00
sophia
4bc2a51748
Pass communincator command 2022-04-25 12:26:08 -05:00
Chris Roberts
167b8bf70d
Use seed util module for clients/services 2022-04-25 12:26:05 -05:00
sophia
45cfcc4c34
Return empty response if capability returns an empty response 2022-04-25 12:26:04 -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
c6c7455c8e
Clean up and add some logging output 2022-04-25 12:24:47 -05:00
Chris Roberts
defd8c9073
Add todo note on capability service seed methods 2022-04-25 12:24:46 -05:00
Chris Roberts
5052e1b9bf
Convert proto list to array using #to_a 2022-04-25 12:24:45 -05:00
Chris Roberts
f99911b3ec
Add seed(s) endpoints to capability services 2022-04-25 12:24:45 -05:00
Chris Roberts
4331b09421
Include default args in spec and add readers 2022-04-25 12:24:45 -05:00
Chris Roberts
e94de03560
Include mapper and broker for handling funcspec args 2022-04-25 12:24:44 -05:00
Chris Roberts
75b9950ae4
Update capability to request and handle direct args 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
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
5892c47ead
Extract common capability platform service for host and guest plugins 2022-04-25 12:24:41 -05:00