302 Commits

Author SHA1 Message Date
sophia
8df560d659 Set mock guest/host plugin name 2022-05-02 15:31:41 -05:00
sophia
852a87f9d0 Add mock behaviour for getting seeds 2022-05-02 14:56:27 -05:00
sophia
b381487dd2 Use testing plugins to populate testing plugin manager 2022-05-02 14:52:41 -05:00
Chris Roberts
bd849581f6 Cache the machine instance of the target 2022-04-27 15:56:49 -07:00
Chris Roberts
4e6c24b631 Include target name in debug output 2022-04-27 15:56:27 -07:00
Chris Roberts
a80effe196 Do not set target into cache from options 2022-04-27 15:56:04 -07:00
Chris Roberts
7c93e6b0f1 Update plugin related functions for manager changes 2022-04-25 16:12:38 -07:00
Chris Roberts
eef7eca1c5 Use dedicated function to check for legacy 2022-04-25 16:12:38 -07:00
Chris Roberts
813963cb7b Update log level for trace type message 2022-04-25 16:12:38 -07:00
Chris Roberts
32807020af Update basis to use cleanup 2022-04-25 16:12:38 -07:00
Chris Roberts
f8ac4dd1a5 Close sub plugin manager when basis is closed 2022-04-25 16:12:38 -07:00
Chris Roberts
c2a912bacc Use core manager cleanup for generated internal 2022-04-25 16:12:38 -07:00
Chris Roberts
6c7e154a92 Only register managers if legacy is loaded. Close core manager. 2022-04-25 16:01:10 -07:00
Chris Roberts
287268635a Update basis ResourceId() function to match core signature 2022-04-25 16:01:10 -07:00
Chris Roberts
1a07190bb2 Update core manager to cleanup properly, use regular mapping 2022-04-25 16:01:10 -07:00
sophia
2374af93bb Update tests for path changes 2022-04-25 17:17:52 -05:00
sophia
398d982408 Add decode hook for string -> path.Path 2022-04-25 14:12:28 -05:00
sophia
25dfcd039f Update paths to use Path type instead of string 2022-04-25 14:12:28 -05:00
sophia
02a0409ca8
Make core Project implement the Project interface from the sdk 2022-04-25 12:26:58 -05:00
Chris Roberts
4215232317
Include documentation on seedPlugin function 2022-04-25 12:26:58 -05:00
Chris Roberts
7e68e25994
Seed target and machine into plugins directly 2022-04-25 12:26:58 -05:00
Chris Roberts
373fc9c7b4
Helper for adding individual seed to plugin 2022-04-25 12:26:58 -05:00
sophia
016a9a0efc
Remove box metadata ToMap functions
Box metadata is no longer passed around as a map. Instead it is
it's own service.
2022-04-25 12:26:57 -05:00
sophia
cddcfef0a1
Update Box#UpdateInfo to use box metadata client 2022-04-25 12:26:57 -05:00
sophia
e27e6c7871
Map box metadata 2022-04-25 12:26:57 -05:00
sophia
38c5dcb53c
Implement update info box endpoint 2022-04-25 12:26:57 -05:00
Chris Roberts
341dabcebd
Log seeding as trace level messages 2022-04-25 12:26:54 -05:00
Paul Hinze
ae58d787a0
Fix leaking basis log lines 2022-04-25 12:26:54 -05:00
sophia
cfe4e71a42
Seed target ui 2022-04-25 12:26:54 -05:00
sophia
a7d258abb3
Seed target after creation 2022-04-25 12:26:53 -05:00
sophia
6313596d62
Remove manual seeding of (guest and synced folder) plugins 2022-04-25 12:26:53 -05:00
sophia
c464569794
Remove extra logging 2022-04-25 12:26:53 -05:00
sophia
66524426d0
Update ruby remote box metadata for proto changes 2022-04-25 12:26:53 -05:00
sophia
01b4bbc42d
Specify multiple filters when querying for box metadata version 2022-04-25 12:26:53 -05:00
sophia
d1ea9b5ec7
Remove unused code 2022-04-25 12:26:52 -05:00
sophia
29c6d43cb8
Add LoadMetadata function to BoxMetadata 2022-04-25 12:26:52 -05:00
sophia
3dff26d683
Add version information to box provider metadata 2022-04-25 12:26:52 -05:00
sophia
794eefe191
Rename box metadata Name to BoxName 2022-04-25 12:26:52 -05:00
sophia
9f524bf1b0
Implement box metadata methods 2022-04-25 12:26:52 -05:00
sophia
4b8d4fbe86
Box metadata to implement vagrant-plugin-sdk box metadata interface 2022-04-25 12:26:52 -05:00
sophia
8b586fceb3
Make box metadata implement vagrant-plugin-sdk box metadata 2022-04-25 12:26:51 -05:00
sophia
921e7edb48
Reduce scope of plugins that can be returned from the core plugin manager 2022-04-25 12:26:50 -05:00
sophia
77a06e83d0
Close core plugins 2022-04-25 12:26:50 -05:00
sophia
68ffb3a8cf
Inject core plugin manager into context when running plugins 2022-04-25 12:26:50 -05:00
sophia
c2c784a295
Seed basis with core plugin manager 2022-04-25 12:26:49 -05:00
sophia
863c6a2704
Get BoxMetadata Plugin from the core plugin manager 2022-04-25 12:26:49 -05:00
sophia
211da5be23
Remove box count check when trying to recover boxes
The get box + stat operations are not that slow. No need to also
go through listing out all the boxes in the vagrant box dir.
2022-04-25 12:26:49 -05:00
sophia
c23e617fce
Check for metadata.json 2022-04-25 12:26:49 -05:00
sophia
0d38ccf20c
Create boxes dir if it does not exist 2022-04-25 12:26:49 -05:00
sophia
b3f8c5a99d
Add test for removing boxes that are no longer available 2022-04-25 12:26:48 -05:00