Chris Roberts
4d0959e10c
Match up constant with proto changes. Use reader for client.
2022-04-25 12:23:56 -05:00
Chris Roberts
93f3c70dd0
Update load path modifications and requires for new proto path
2022-04-25 12:23:56 -05:00
Chris Roberts
9a9331ed4d
Add the machine client back in here isolate by resource id
2022-04-25 12:23:56 -05:00
Chris Roberts
548a0339df
Update name and use constant alias
2022-04-25 12:23:56 -05:00
Chris Roberts
28ebbce108
Update to use the service info helper
2022-04-25 12:23:55 -05:00
Chris Roberts
afa31bff58
Provide client and service loader files
...
The service also includes a service info helper class that
can wrap requests and extract execution context of request.
This includes the vagrant service endpoint for connecting
a client back to the service and the scope of the request.
It also provides a helper for creating and reusing clients.
2022-04-25 12:23:55 -05:00
Chris Roberts
ac34b3bcdc
Clean up requires, use autoload, set vagrant in server mode
2022-04-25 12:23:55 -05:00
Chris Roberts
7350b85902
Implement enough of the command service to get things working.
...
Also updates the UI setup so that we can properly get the
output streaming back to us.
2022-04-25 12:23:55 -05:00
sophia
854a2a4022
Just get the flag names
2022-04-25 12:23:55 -05:00
Chris Roberts
dc64d85adf
Extract option building to standalone method. Update help to use method.
2022-04-25 12:23:54 -05:00
Chris Roberts
11df6c7ae1
Store option parser instance and then extract flags from the result
2022-04-25 12:23:54 -05:00
sophia
1109d89616
Collect flag information
2022-04-25 12:23:54 -05:00
sophia
43e4e968ef
Make help message work
2022-04-25 12:23:54 -05:00
sophia
cadcbe82f7
Hard code less
2022-04-25 12:23:54 -05:00
sophia
078a091709
Start replacing machine variables with calls to core service
2022-04-25 12:23:54 -05:00
sophia
4c26f5b384
Make machine with ui
2022-04-25 12:23:54 -05:00
sophia
fd74318bf5
Pass ui to machine
2022-04-25 12:23:54 -05:00
sophia
c99348413a
Make ui class for interacting with terminal ui service
2022-04-25 12:23:53 -05:00
sophia
b80f19a49d
Add terminal ui to provider
2022-04-25 12:23:53 -05:00
sophia
ea64673e9f
Add terminal client
2022-04-25 12:23:53 -05:00
sophia
f68d470dc9
Fixes from rebase
2022-04-25 12:23:53 -05:00
sophia
3c360722df
Allow communicator to use plugin config
2022-04-25 12:23:53 -05:00
sophia
ad74f18719
Add communicators
2022-04-25 12:23:53 -05:00
sophia
0b1df4593e
Get some more information about Vagrantfile
2022-04-25 12:23:53 -05:00
sophia
8f034b24e2
Parse vagrantfile
2022-04-25 12:23:53 -05:00
sophia
f995a96b09
Setup parse vagrantfile endpoint
2022-04-25 12:23:53 -05:00
Chris Roberts
9071e39782
Remove plugin service. Use internal service instead.
2022-04-25 12:23:52 -05:00
Chris Roberts
8a9c2fe772
Remove internal service as plugin service provides same implementation
2022-04-25 12:23:52 -05:00
Chris Roberts
ae6639d301
Clean up plugin loading and compact registration
2022-04-25 12:23:52 -05:00
Chris Roberts
f915922f7d
Remove generated proto files from within plugin subdirectory
2022-04-25 12:23:52 -05:00
Chris Roberts
851955e1d4
Add command service
2022-04-25 12:23:52 -05:00
Chris Roberts
addf420ca2
Add some helper methods and some adjustments to serve setup
2022-04-25 12:23:52 -05:00
sophia
a268afb945
Setup a batch action for bringin up a machine
2022-04-25 12:23:52 -05:00
sophia
d7f92f9d87
Some update for sdk changes
2022-04-25 12:23:52 -05:00
sophia
7ff0d11582
Move protos into Vagrant module
2022-04-25 12:23:52 -05:00
sophia
773c4bd910
Return an ActionResp
2022-04-25 12:23:52 -05:00
sophia
41f3af51af
Return a result from an up action
2022-04-25 12:23:51 -05:00
sophia
e56013a6b4
Slightly better log location
2022-04-25 12:23:51 -05:00
sophia
a25381b03a
Get the associated requested provider
2022-04-25 12:23:51 -05:00
sophia
7a612698a5
Transform a machine arg to an instance of Vagrant::Machine
2022-04-25 12:23:51 -05:00
sophia
a806a47a1a
Decode incoming machine arg
2022-04-25 12:23:51 -05:00
sophia
a11f5a4dbf
Move proto files into more globally accessible spot
2022-04-25 12:23:51 -05:00
sophia
82e3dd55ad
Setup machine client
2022-04-25 12:23:51 -05:00
sophia
fdcae6e13a
Get a machine instance for action up
2022-04-25 12:23:51 -05:00
sophia
7438d2d7e7
Get to run action up
2022-04-25 12:23:51 -05:00
sophia
6d397a072d
Add provider service
2022-04-25 12:23:51 -05:00
sophia
8cccefb8aa
Add plugin protos
2022-04-25 12:23:51 -05:00
sophia
244bb335c8
Get all plugins
2022-04-25 12:23:50 -05:00
sophia
5a92ba0186
Return list of plugins
2022-04-25 12:23:50 -05:00
sophia
cd04e4385f
Return list of installed plugins
2022-04-25 12:23:50 -05:00