Chris Roberts
a2e0c5619e
Use __finalized variable to determine finalization
2022-06-27 11:26:08 -07:00
Chris Roberts
0aad3390c9
Add funcspec mappers for finalize and merge wrappers
2022-06-24 18:29:53 -07:00
Chris Roberts
778d009bfb
Mark configs with unique id. Use id for provisioner caching.
2022-06-22 12:33:07 -07:00
Chris Roberts
83467013e9
Handle Set and Logger types
2022-06-20 16:56:30 -07:00
Chris Roberts
70d725f8a0
Add support for origin value restrictions and custom weighting
2022-06-15 10:56:19 -07:00
Chris Roberts
53aae744a4
Allow callables to modify vertex weight
2022-06-15 10:56:19 -07:00
Chris Roberts
439546d58c
Update input vertex to allow origin only setting
2022-06-15 10:56:19 -07:00
Chris Roberts
40cd6e8616
Allow marking inputs as only accepting origin value
2022-06-15 10:56:13 -07:00
Chris Roberts
9da90f0b21
Return false if RHS does not implement hash_code
2022-06-15 10:55:00 -07:00
Chris Roberts
45b9c48f03
Add Class to known types mapper. Indifferent access for hashes.
2022-06-15 10:55:00 -07:00
Chris Roberts
df3cc08b1f
Add mappers for config data and procs
2022-06-15 10:55:00 -07:00
Chris Roberts
0a80ce1ea6
Remove config mappers from provisioner
2022-06-15 10:55:00 -07:00
Chris Roberts
a826287f34
Add mappers for the vagrantfile
2022-06-15 10:55:00 -07:00
Chris Roberts
2d5cb6b0fa
Force the string proto value to be a string
2022-06-15 10:55:00 -07:00
Paul Hinze
06350a7afc
Port default provider selection
...
- Pulls in the SDK changes to Project.DefaultProvider and Project.Target
- Implements the hefty default provider method
- Un-hard-codes provider from Target, and sets it when a Target is
looked up from a Project
2022-05-25 16:19:50 -05:00
sophia
ba1384eb88
Fix machine mappers
2022-05-04 11:51:43 -05:00
sophia
e020c6600e
Hacks to let a remote machine be instantiated with or with out a client
2022-05-04 11:25:54 -05:00
sophia
92a0b1c541
Allow remote machine to be initialized with just a machine client
2022-05-04 11:23:06 -05:00
Chris Roberts
9ab74271cf
Add some comments and expand some method documentation
2022-04-25 12:26:57 -05:00
Chris Roberts
f220ac2f94
Add name based re-weight helper. Add documentation/comments.
2022-04-25 12:26:56 -05:00
Chris Roberts
f9e55a8f9d
Fill in vertex base methods
2022-04-25 12:26:56 -05:00
Chris Roberts
66c9fd45d6
Map key and value when converting Hash types
2022-04-25 12:26:56 -05:00
Chris Roberts
1bf4c8d090
Provide Graph#each_vertex helper to graph
2022-04-25 12:26:56 -05:00
Chris Roberts
12cb795392
Add name support for inputs
2022-04-25 12:26:56 -05:00
Chris Roberts
305fddb49a
Retry cached path executions with full graph
2022-04-25 12:26:55 -05:00
Chris Roberts
8cc6116cdf
Store previous successful lookups for future graph generation
2022-04-25 12:26:54 -05:00
Chris Roberts
aaed7b2d82
Update Method vertex hash code and allow callable access
2022-04-25 12:26:54 -05:00
Chris Roberts
3a6308b7fc
Use blocks for logging content to reduce processing
2022-04-25 12:26:54 -05:00
sophia
1f5d66fd76
Get box metadata client from box
2022-04-25 12:26:52 -05:00
sophia
7dd3649d73
Update Symbol proto mappers
2022-04-25 12:26:51 -05:00
sophia
d5aacc0bc6
Thrash around making to proto for config faster
2022-04-25 12:26:51 -05:00
sophia
ccf2bf6197
Pass config as a SDK hash in order to use the Symbol proto
2022-04-25 12:26:51 -05:00
sophia
b40dde3797
Module for core plugin manager mappers
2022-04-25 12:26:50 -05:00
sophia
05244e67c1
Add mappers for core plugin manager
2022-04-25 12:26:50 -05:00
Chris Roberts
ab8dee7a72
Add some missing mappers for converting to proto
2022-04-25 12:26:39 -05:00
Chris Roberts
b976be72bd
Simplify cacher
2022-04-25 12:26:37 -05:00
Paul Hinze
ff86d86ac8
Provisioner Plugins
2022-04-25 12:26:37 -05:00
Chris Roberts
4679d39039
Fix name and method call in folders mappers
2022-04-25 12:26:37 -05:00
Chris Roberts
c32ba38b70
Add mappers for Folders type
2022-04-25 12:26:36 -05:00
Chris Roberts
a5b3ca9f6d
Return remote plugin instances
2022-04-25 12:26:35 -05:00
Chris Roberts
095a0f8847
WIP checkpoint with callable remote provider action
2022-04-25 12:26:35 -05:00
Paul Hinze
8730b9f100
Fix MachineState mapper so IsRunning actions work
...
The IsRunning action checks if `env[:machine].state.id == :running` but
this check was never passing as the protobuf-washed version of machine
state was yielding a machine state w/ a string value like `"running"`.
Easy fix in the mapper!
2022-04-25 12:26:34 -05:00
Chris Roberts
c6f6bf0c47
Include source and destination in no path exception message
2022-04-25 12:26:31 -05:00
Chris Roberts
32ea6a4509
Add new options type with mappers
2022-04-25 12:26:31 -05:00
Chris Roberts
312080ba60
Only write graph when logging mapper output
2022-04-25 12:26:31 -05:00
Chris Roberts
710adc8f7b
Retain simple hash type for now
2022-04-25 12:26:31 -05:00
Chris Roberts
4c9f14572a
Update target to addr in plugin protos
2022-04-25 12:26:30 -05:00
Chris Roberts
b0f59c40f6
Update the search to use a reversed graph
...
Reverse the graph before searching so we are only working with
a single possible destination. A DFS is used to initially prune
down the graph.
2022-04-25 12:26:30 -05:00
Chris Roberts
3865008b89
Update weights and remove vertices from destination output
2022-04-25 12:26:30 -05:00
Chris Roberts
b26a1ac515
Log error when input type is missing
2022-04-25 12:26:30 -05:00