4494 Commits

Author SHA1 Message Date
sophia
ca3d76ca7d
Use project client to populate environment options 2022-04-25 12:24:36 -05:00
sophia
5ca687cad4
Implement project home path, cwd and default private key 2022-04-25 12:24:36 -05:00
Chris Roberts
c1bbc7284b
Generated proto updates 2022-04-25 12:24:35 -05:00
Chris Roberts
f618d991f8
Update RemoteUI name to Remote 2022-04-25 12:24:35 -05:00
Chris Roberts
e090fa4e10
Move UI to remote file and include options to client 2022-04-25 12:24:34 -05:00
Chris Roberts
df53588de5
Store machine client within index entry for use in generating environment 2022-04-25 12:24:34 -05:00
Chris Roberts
99aef42342
Check for server mode before setting constant 2022-04-25 12:24:34 -05:00
Chris Roberts
927fd5e52f
Remove proto requires
They will only be needed when running in server mode, and when
in server mode, they will be loaded at startup
2022-04-25 12:24:34 -05:00
Chris Roberts
b609a44452
Fix method name called on machine client 2022-04-25 12:24:34 -05:00
Chris Roberts
fb629ae4a2
Fix name and use provider_name from client 2022-04-25 12:24:33 -05:00
Chris Roberts
1ae6ca0522
Generated protobuf updates 2022-04-25 12:24:33 -05:00
Chris Roberts
7a1aba1cb9
Use has with indifferent access when loading entry 2022-04-25 12:24:32 -05:00
Chris Roberts
e5184c5719
Call id on client instead of get_id 2022-04-25 12:24:32 -05:00
Chris Roberts
34ecea07bc
Fix method calls when building entry and setting ID 2022-04-25 12:24:32 -05:00
Chris Roberts
9fb979d44c
Extend module on entry not index 2022-04-25 12:24:32 -05:00
Chris Roberts
aaf0ae8504
Generated proto updates 2022-04-25 12:24:31 -05:00
Chris Roberts
8f4bb571a5
Update remote function name and setup 2022-04-25 12:24:30 -05:00
Chris Roberts
b243868ce9
Add remote module for machine index entry 2022-04-25 12:24:30 -05:00
sophia
10a1f1011b
Get datadir for machine and project 2022-04-25 12:24:29 -05:00
sophia
68aa184bee
Get local data path from project 2022-04-25 12:24:28 -05:00
sophia
f722b15661
Remove references to SDK from remote machine index 2022-04-25 12:24:28 -05:00
sophia
f761af3c55
Move client creation into client module 2022-04-25 12:24:28 -05:00
sophia
c71eb9ea0e
UQuery machine index by uuid 2022-04-25 12:24:28 -05:00
sophia
154a4e56f0
Use uuid as Target Index identifier 2022-04-25 12:24:28 -05:00
sophia
83495a4f8b
Fix each machine index machine yielder 2022-04-25 12:24:27 -05:00
sophia
47a0a2d7d2
Record machine client in machine index entry 2022-04-25 12:24:27 -05:00
sophia
6eea1b0afd
Add endpoint for getting all machines from the index 2022-04-25 12:24:27 -05:00
sophia
c5e6a97892
Cache machines in machine index 2022-04-25 12:24:27 -05:00
sophia
8808ef353e
Clean up logging 2022-04-25 12:24:27 -05:00
sophia
f103797592
go generate . 2022-04-25 12:24:27 -05:00
sophia
01fc2926c9
Save machine index entries remotely 2022-04-25 12:24:27 -05:00
sophia
6f54cf51a2
Allow Machine Index entries to have a remote machine reference 2022-04-25 12:24:27 -05:00
sophia
90968ea430
pPss environment client to machine index eentry environment 2022-04-25 12:24:27 -05:00
sophia
3bda8b24ef
Save point: Get a target successfully from target index 2022-04-25 12:24:26 -05:00
sophia
6dae3576a3
Get project ref 2022-04-25 12:24:26 -05:00
sophia
1ea5b2ba91
Save point: use target ref to retrieve info from target index 2022-04-25 12:24:26 -05:00
sophia
663fbab87a
Fill in remote machine index module 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
a5445b708e
go generate 2022-04-25 12:24:26 -05:00
sophia
040f02e60d
Add proto to delete target 2022-04-25 12:24:25 -05:00
Chris Roberts
378019f014
Generated proto updates 2022-04-25 12:24:25 -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
cad5a7f717
Generated proto update 2022-04-25 12:24:21 -05:00
sophia
0d0ff5c5c6
Define communicator configs as plugin configs 2022-04-25 12:24:21 -05:00
sophia
a128d98dea
Move to_proto to config classes 2022-04-25 12:24:21 -05:00
sophia
5128f604ca
go generate 2022-04-25 12:24:20 -05:00
sophia
0e40c2eb97
to_proto save point 2022-04-25 12:24:20 -05:00
sophia
ada96f13a3
Upload targets found in Vagrantfile 2022-04-25 12:24:20 -05:00