sophia
e96738bf43
Add protos for supporting colored terminal line events
2022-09-14 11:41:30 -04:00
Chris Roberts
dca389eda0
Generated proto updates
2022-07-25 15:00:49 -07:00
Chris Roberts
8c3393bd61
Add Stop rpc for ruby internal service
2022-07-25 14:30:29 -07:00
Sophia Castellarin
66a22e5254
Merge pull request #303 from hashicorp/synced_folder_has_override_opts
...
Synced folder has override opts
2022-07-07 16:28:14 -05:00
Chris Roberts
f5d778d51a
Revert "Merge pull request #300 from hashicorp/optimize-ruby-command-list"
...
This reverts commit 1c26a4abb0c9e095b3f6ec9944c4b15f6f1cd064, reversing
changes made to 186824a568583d8f6f2a50501d940ed71608fa0b.
The changes broke plugin loading when using subcommands so these
changes will be reverted until the underlying issue can be
investigated and resolved.
2022-07-07 14:03:56 -07:00
sophia
e8c0587c85
go generate
2022-07-07 12:30:24 -05:00
Chris Roberts
1c26a4abb0
Merge pull request #300 from hashicorp/optimize-ruby-command-list
...
Optimize command list generation
2022-07-07 09:29:15 -07:00
Chris Roberts
e7df8b6c52
Properly delete the target from the project
2022-06-30 11:16:09 -07:00
Chris Roberts
b365827f73
Save updated project after deleting target
2022-06-30 11:15:56 -07:00
Chris Roberts
e1d7962ee8
Generated proto updates for get commands
2022-06-29 16:14:01 -07:00
Chris Roberts
29a5c1b855
Add rpc for getting commands
2022-06-29 16:12:36 -07:00
Chris Roberts
b2aafa2469
Include project ref within target ref when listing targets
2022-06-28 08:38:45 -07:00
Chris Roberts
6f7e17a8b3
Update how configuration is set in tests
2022-06-27 11:22:51 -07:00
Chris Roberts
e0d8fa6689
Generated proto updates
2022-06-20 13:13:06 -07:00
Chris Roberts
17fc49cf41
Add provider parsing to internal endpoint
2022-06-20 13:05:26 -07:00
Chris Roberts
21b17e1907
Add extra parsing functions and change result type
2022-06-15 12:50:59 -07:00
Chris Roberts
e262cd02ac
Update Vagrantfile proto representation
2022-06-15 11:15:08 -07:00
Chris Roberts
a8fd255f5b
Update configuration type for target
2022-06-15 11:06:33 -07:00
sophia
6e28e0856c
Update timestamp whenever a box is updated
2022-06-10 15:05:34 -05:00
Paul Hinze
8b5d4b8631
Update and address protobuf package deprecations
...
These changes address the following warning showing up on `go get`
operations:
go: module github.com/golang/protobuf is deprecated: Use the
"google.golang.org/protobuf" module instead.
All changes are made using the recommendations in the per-function
deprecation notices from the docs at
https://pkg.go.dev/github.com/golang/protobuf/ptypes
2022-06-08 11:51:19 -05:00
Paul Hinze
8dbe72a5a0
Use Component Options to implement ProviderOptions
...
* Populates ComponentOptions into plugin structs
* Maps options for legacy Provider Plugins into PluginOptions
* Demos use of PluginOptions in a stub provider
* Honors plugin priority and defaultable settings
2022-06-03 16:37:05 -05:00
Paul Hinze
c60f82d22f
go generate w/ latest version of deps
2022-06-03 14:40:00 -05:00
sophia
dc1687e1ab
go generate
2022-05-17 15:03:24 -05:00
Chris Roberts
bbf7e0fb12
Generated proto updates
2022-04-25 16:12:38 -07:00
sophia
b62bdd8efb
Add missing Target states to proto
2022-04-25 12:26:47 -05:00
sophia
7eccedba12
Add test for box with 0 version number
2022-04-25 12:26:45 -05:00
sophia
fc649b0937
Set first match without version constraint
2022-04-25 12:26:45 -05:00
sophia
5d348e66a1
Update box proto to use struct for metadata
2022-04-25 12:26:44 -05:00
Paul Hinze
ff86d86ac8
Provisioner Plugins
2022-04-25 12:26:37 -05:00
sophia
8bd9a778e9
Test for non merging configs
2022-04-25 12:26:34 -05:00
sophia
34c4bac2ec
Don't merge Vagrantfile configs when merging targets to upsert to db
2022-04-25 12:26:34 -05:00
sophia
1f632d076c
go generate after rebase
2022-04-25 12:26:33 -05:00
sophia
1217189616
go generate
2022-04-25 12:26:32 -05:00
Chris Roberts
fc8b01f0ac
Generated proto updates
2022-04-25 12:26:32 -05:00
Chris Roberts
efd4df030d
Remove job command and use command info from sdk
2022-04-25 12:26:32 -05:00
Chris Roberts
2acd0fa3b8
Generated proto updates
2022-04-25 12:26:30 -05:00
sophia
5fda271283
go generate .
2022-04-25 12:26:23 -05:00
sophia
3dbd9286be
Merge targets with upserting
2022-04-25 12:26:23 -05:00
Paul Hinze
0fef7cc416
Port push plugins
...
This uses the new Push plugin support added to the plugin SDK in https://github.com/hashicorp/vagrant-plugin-sdk/pull/106 to make the following changes:
* The plugin manager on the Go side now registers push plugins
* The the _remote_ plugin manager on the Ruby side now calls over to
the go side to get push plugins
* All the wiring is hooked up such that when a push plugin is replaced
with its remote GRPC-client-wielding equivalent, the messages are
ferried around.
2022-04-25 12:26:21 -05:00
sophia
45e64b9890
Add localized message proto
2022-04-25 12:26:20 -05:00
Chris Roberts
72b8547cce
Generated proto updates
2022-04-25 12:26:15 -05:00
Paul Hinze
c1c215e84e
Round out service tests
...
* Add tests for service Target and catch a panic
* Add skipped stub test for Task w/ a note for future us
2022-04-25 12:26:11 -05:00
Paul Hinze
72c72c4f53
Test for server config service
...
Pretty simple stuff. Also renaming file to match service name
2022-04-25 12:26:11 -05:00
Paul Hinze
e7533103e8
Tests for service project & a small panic guard
...
Tests helped flush out that we would panic if a project was attempting
to be created without a basis.
Sometimes tests help!
2022-04-25 12:26:11 -05:00
sophia
eddc9d916e
Return empty result when deleting target
2022-04-25 12:26:11 -05:00
sophia
514b4e3d89
go generate
2022-04-25 12:26:09 -05:00
Chris Roberts
ac8978eee3
Generated proto updates
2022-04-25 12:26:05 -05:00
sophia
183ceb85eb
go generate
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