sophia
f3210fff4c
Fill in Ruby machine index client
2022-04-25 12:24:26 -05:00
sophia
7de0fe1bd8
Get machine index remote service setup
2022-04-25 12:24:26 -05:00
sophia
c123335456
Save point: connect to machine index service
2022-04-25 12:24:26 -05:00
sophia
c124a583d7
Add machine index client
2022-04-25 12:24:26 -05:00
sophia
293af5de29
Fill in target index implementation
2022-04-25 12:24:26 -05:00
sophia
a5445b708e
go generate
2022-04-25 12:24:26 -05:00
sophia
be074047eb
wip
2022-04-25 12:24:25 -05:00
sophia
ea313d1291
Implement service endpoint to delete target
2022-04-25 12:24:25 -05:00
sophia
040f02e60d
Add proto to delete target
2022-04-25 12:24:25 -05:00
sophia
551aa2970f
Rename machine index to target index
2022-04-25 12:24:25 -05:00
sophia
16f3ba3574
Setup machine index class
2022-04-25 12:24:25 -05:00
Chris Roberts
92551a4ab5
Update argmapper dependency
2022-04-25 12:24:25 -05:00
Chris Roberts
04c4cce085
Bump go to 1.16 for tests
2022-04-25 12:24:25 -05:00
Chris Roberts
9e514cc8c1
Remove target from spec
2022-04-25 12:24:25 -05:00
Chris Roberts
378019f014
Generated proto updates
2022-04-25 12:24:25 -05:00
Chris Roberts
6bc65c10c8
Update dynamic to use client directly and automatically set scope
2022-04-25 12:24:25 -05:00
Chris Roberts
9caa92a20a
Update command setup to use base client and then load scope
...
There are still some things left to address like how to handle
a target (or targets) and if that is something we should even
be doing. It may be best to just let the command deal with
target loading. There are also some considerations to make
around remote source.
2022-04-25 12:24:25 -05:00
Chris Roberts
dd9f7f19b4
Update types used
2022-04-25 12:24:24 -05:00
Chris Roberts
cd222f4622
Clean loading UI usage. Add an extra logging flag.
...
Use the UI provided by the built client instead of creating a
new one. Add support for an extra `v` flag when enabling logging
via flag. An exclude function is added to the logger to prevent
outputting log lines where the content is extremely long for trace
messages. Adding the extra `v` will prevent the suppression and
all log output will be displayed.
2022-04-25 12:24:24 -05:00
Chris Roberts
b86e9c3e8b
Temporarily disable local check in client UI setup
2022-04-25 12:24:24 -05:00
Chris Roberts
219cfe81c5
Rename client target file to properly reflect contents
2022-04-25 12:24:24 -05:00
Chris Roberts
5a4d607437
Remove things no longer required of target
2022-04-25 12:24:24 -05:00
Chris Roberts
cf7630d14d
Update target and vagrantfile loading in project
2022-04-25 12:24:24 -05:00
Chris Roberts
07dbd15ea6
Attach functions to client instead of basis
2022-04-25 12:24:24 -05:00
Chris Roberts
1c87679bc0
Introduce a base client
...
Provide a base client type that can then be used for loading
scoped items (like basis, project, etc). Allow per-run setup
of server and runner be handled by the client. Add project
loading and project detection support to basis implementation
and load vagrantfiles during client setup.
2022-04-25 12:24:24 -05:00
Chris Roberts
d16eee410f
Add target initialization when loading project
2022-04-25 12:24:24 -05:00
Chris Roberts
4de0da5749
Remove factory usage from test
2022-04-25 12:24:24 -05:00
Chris Roberts
e7c1584822
Use path helper for config path
2022-04-25 12:24:24 -05:00
Chris Roberts
785c38f755
Remove factory usage within runner testing
2022-04-25 12:24:23 -05:00
Chris Roberts
415a6b6b5b
Allow setting a custom context for the runner
2022-04-25 12:24:23 -05:00
Chris Roberts
e9c3494778
Remove path requirement from basis and project in state
2022-04-25 12:24:23 -05:00
Chris Roberts
ff973e380c
When a machine cannot be loaded, raise exception
2022-04-25 12:24:23 -05:00
Chris Roberts
2929a7ab98
Update the go-argmapper dependency to latest release
2022-04-25 12:24:23 -05:00
Chris Roberts
fe293dfd1f
Require client to be set and provide stub on initial startup
...
When running in server mode, make the Environment validate a client
option is provided on instantiation. If no client option is provided,
raise an exception since it is required in server mode.
Since an initial Environment is required during start, include a
stub value for the client so the initial Environment can be instantiated
successfully and the GRPC service can be started.
2022-04-25 12:24:23 -05:00
Chris Roberts
3ca9519f5c
Generated proto updates
2022-04-25 12:24:23 -05:00
Chris Roberts
ef3cde9cd3
Update in-process builtin factory to return plugin registration
2022-04-25 12:24:23 -05:00
Chris Roberts
63fe341ca5
Add plugin discovery support to manager
2022-04-25 12:24:23 -05:00
Chris Roberts
26b9cd37e7
Remove plugin discover function
2022-04-25 12:24:23 -05:00
Chris Roberts
4e28d59806
Temporary updates to force project loading
2022-04-25 12:24:23 -05:00
Chris Roberts
6b9e2561dc
Add plugin discovery when loading basis and project
2022-04-25 12:24:23 -05:00
Chris Roberts
361fb21ba0
Remove plugin from config
2022-04-25 12:24:22 -05:00
Chris Roberts
b553544808
Initial updates for client loading
2022-04-25 12:24:22 -05:00
Chris Roberts
7357fa4017
Update plugin factory definitions to use custom type
2022-04-25 12:24:22 -05:00
Chris Roberts
392ad6d3b7
Define plugin struct in plugin file and remove factories
2022-04-25 12:24:22 -05:00
Chris Roberts
ab0dc954cc
Handle all plugin setup via manager in runner
2022-04-25 12:24:22 -05:00
Chris Roberts
0f05203e0f
Remove plugin config
2022-04-25 12:24:22 -05:00
Chris Roberts
0e364e8946
Need to retain the component
2022-04-25 12:24:22 -05:00
Chris Roberts
a8f8178b59
Use updated function names for fetching plugins from manager
2022-04-25 12:24:22 -05:00
Chris Roberts
4c8dc9a01c
Update runner to load plugins via plugin manager
2022-04-25 12:24:22 -05:00
Chris Roberts
e10cd26407
Use plugin manager for plugins. Remove component specialization.
2022-04-25 12:24:22 -05:00