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
39a85d1cf3
Support caching plugins within services
2022-04-25 12:26:39 -05: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
6c28de9ea9
Refactor named plugin service/client endpoints
2022-04-25 12:26:33 -05:00
sophia
153d218d68
Set plugin name
2022-04-25 12:26:32 -05:00
Chris Roberts
c9d93f2f8a
Request machines instead of targets
2022-04-25 12:26:29 -05:00
Chris Roberts
5c8f14041c
Update services to provide broker and use proper plugin manager
2022-04-25 12:26:15 -05:00
sophia
d5007d4d85
Use remote plugin module when in server mode
2022-04-25 12:26:13 -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
917ac04ef1
Add expected types for funcspec maps
2022-04-25 12:25:58 -05:00
sophia
4251b2ff7c
Get first level parent from ruby plugins
2022-04-25 12:24:48 -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
fd18051b0d
Update module usage within service implementations
2022-04-25 12:24:42 -05:00
sophia
ca824644a5
Add tests for host service
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
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
29f14c98b7
Get parents chain from guest plugin
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
ce29c48931
Use mapper when loading funcspec arguments in services
2022-04-25 12:24:38 -05:00
sophia
42796be551
Get machine from project for guest service
2022-04-25 12:24:37 -05:00
sophia
d196b8635c
Detect Ruby guest plugin
2022-04-25 12:24:36 -05:00
sophia
a1fca2fde8
Add guest server for using Ruby based guest plugins
2022-04-25 12:24:36 -05:00