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
Paul Hinze
61d2c80813
Tests for the basis service
...
Filling these out as a part of a sweep to ensure we return decent error
messages from our GRPC services.
For this service I didn't come up with any error condition that
warranted changing the code yet. The get -> notfound case seems to be
the main one and the pass through error object seems AOK here.
2022-04-25 12:26:03 -05:00
Chris Roberts
9f3241a5b5
Generated updates
2022-04-25 12:26:01 -05:00
sophia
7aaeaf2e46
Update protos
2022-04-25 12:25:57 -05:00
sophia
a63184ef5f
Test target find and duplicate upserts
2022-04-25 12:25:55 -05:00
sophia
04095d2132
Find targets based on name and project
2022-04-25 12:25:55 -05:00
sophia
eeafbe4954
Search for project and target before upserting
2022-04-25 12:25:55 -05:00
sophia
a99bfc65f9
AUse version constraints to find boxes
2022-04-25 12:25:54 -05:00
sophia
e77cb42171
Add tests
2022-04-25 12:25:54 -05:00
sophia
9d01b2c60e
Add endpoint for finding boxes
2022-04-25 12:25:54 -05:00
sophia
63eb76bd60
Find boxes by name, provider, version
2022-04-25 12:25:54 -05:00
sophia
62d7324bfc
go generate
2022-04-25 12:25:52 -05:00
sophia
a8ce240049
Add tests for box
2022-04-25 12:25:52 -05:00
sophia
5fc9dd94fe
Implement box crub endpoints
2022-04-25 12:25:52 -05:00
sophia
93e94186ba
Add box endpoints
2022-04-25 12:25:52 -05:00
sophia
3e3ab869d4
Add box to bolt
2022-04-25 12:25:52 -05:00
sophia
d7737effbf
Add id to box
2022-04-25 12:25:52 -05:00
sophia
1c27a57213
Use Box as part of machine proto
2022-04-25 12:25:51 -05:00
sophia
ed76183470
Add Box proto message
2022-04-25 12:25:51 -05:00
sophia
92d7c7b291
go generate
2022-04-25 12:24:48 -05:00
Chris Roberts
be4bbe902f
Generated proto updates
2022-04-25 12:24:46 -05:00
sophia
d75f76edf7
Prune old jobs as part of vagrant server clean ups
2022-04-25 12:24:40 -05:00
sophia
b2cce38f48
Add rpc endpoint to prune out old jobs
2022-04-25 12:24:40 -05:00