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
sophia
c02baa9219
Start server as vagrant command
2022-04-25 12:23:50 -05:00
Ikko Ashimine
3ccbb3d24b
Fix typo in command.rb
...
separater -> separator
2021-09-15 02:20:26 +09:00
Chris Roberts
32757d56e1
Merge pull request #12304 from grahamhub/issue-12191
...
implement --info flag for package cmd #12191
2021-06-29 13:07:47 -07:00
Chris Roberts
218f8323fb
Return original when access token is not removed
...
When scrubbing box urls of access token parameters, only return
the processed URL if the access token was removed. If it was not
removed, return the original URL string. This prevents issues with
local file URLs being parsed and replaced with invalid paths.
Fixes : #12340 #12350 #12320
2021-06-11 16:59:35 -07:00
grahamhub
bfa73b06c6
cli: implement --info flag for package #12191
2021-04-15 00:28:41 -05:00
grahamhub
8ecf0fb0d8
specify correct dir for info.json #12191
2021-04-14 16:18:48 -05:00
Chris Roberts
cf51c18ad8
Update authentication middleware access token handling
...
Replace the `VAGRANT_ALLOW_PARAM_AUTH_TOKEN` environment variable
with `VAGRANT_SERVER_ACCESS_TOKEN_BY_URL` and update the behavior
when the environment variable is set to add the access token as
a query parameter and disable the addition of the authentication
header.
Fixes #12080
2021-03-24 17:24:47 -07:00
Chris Roberts
fd4da92245
Check file size prior to upload and automatically adjust options
...
When uploading box file, check if the size is greater than
5GB. If the size is larger and the direct to storage option
is enabled, disable the option due to current 5GB restriction
on direct uploads.
2021-03-23 15:11:32 -07:00
Chris Roberts
60323fdd6c
Merge pull request #12235 from chrisroberts/api-notify-ups
...
Prevent notification on default store, fix client end point
2021-03-17 13:57:47 -07:00
Chris Roberts
16e91e4ba2
Do not convert value to allow nil value to pass through
2021-03-17 13:08:43 -07:00
Chris Roberts
d580fbbee2
Use the server url helper method within the client
...
Some client setup locations where not using the custom helper
method for the vagrant server URL value so they have been
updated. The api path is also appended if it is not set for
custom server URLs
2021-03-15 17:17:10 -07:00
Chris Roberts
867d65b079
Remove access token parameter if found on URL
2021-03-15 15:17:48 -07:00
Chris Roberts
51382a0d0a
Deprecate hook and disable access token parameter by default
...
This sets the `authenticate_box_url` hook as deprecated and also
disables the cloud auth middleware from adding an access token
as a URL parameter by default. An environment variable has been
added which can be used for re-enabling the access token URL
parameter behavior if required for some legacy system which does
not support the authorization header.
2021-03-15 14:46:46 -07:00
sophia
a2fdbc5625
Don't count not created machines as declined when destroying
2021-02-22 16:14:16 -06:00
Chris Roberts
4253f27901
Prevent printing token warning more than once
...
Mark warning of double tokens set when initially print to prevent
the warning from being shown multiple times during a single run.
2020-11-03 13:47:53 -08:00