14573 Commits

Author SHA1 Message Date
sophia
eb90501fd1
Make test for project more basic 2022-04-25 12:24:29 -05:00
sophia
806f6e7399
Set a target dir when loading from a project 2022-04-25 12:24:29 -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
bc365ab796
Remote discover tests 2022-04-25 12:24:28 -05:00
sophia
32df0557e0
Fix core tests 2022-04-25 12:24:28 -05:00
sophia
3e74501d26
Get full path to Vagrantfile without Vagrantfile name 2022-04-25 12:24:28 -05:00
sophia
6cde007530
Get Vagrantfile 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
0778e615e9
Remote NewTarget method 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
466c692d1c
Update target index interface to use core.TargetRef instead of protos 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
81913d1042
debug target object in machine index 2022-04-25 12:24:27 -05:00
sophia
991f7db5c5
Find target in index 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
b22c128671
Get a target 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
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