Chris Roberts
17829ff355
Start core updates to make them usable by plugins
2022-04-25 12:24:06 -05:00
Chris Roberts
741ab97565
Remove core machine and environment services
2022-04-25 12:24:06 -05:00
Chris Roberts
e62dd81050
Properly load bases based on scope provided in job
2022-04-25 12:24:05 -05:00
Chris Roberts
f6fa25f185
Machine -> Target naming updates in proto
2022-04-25 12:24:05 -05:00
Chris Roberts
a46f8d0e29
Rename machine to target. Remove core services.
2022-04-25 12:24:05 -05:00
Chris Roberts
91575b6321
proto updates
2022-04-25 12:24:05 -05:00
Chris Roberts
40361a2160
Apply target related updates
2022-04-25 12:24:05 -05:00
Chris Roberts
37c2e3fd51
Rename machine to target
2022-04-25 12:24:05 -05:00
Chris Roberts
ef7c6f58b7
Start adding updates for machine client setup
2022-04-25 12:24:05 -05:00
Chris Roberts
3d000609ec
Update autoload definition for terminal client
2022-04-25 12:24:05 -05:00
Chris Roberts
bb7a3b36eb
Add options to define bind address and range of ports for use
2022-04-25 12:24:05 -05:00
Chris Roberts
d34d70442b
Rename terminal client file
2022-04-25 12:24:05 -05:00
Chris Roberts
7dd331d53e
Update method name for generating a new terminal client
2022-04-25 12:24:05 -05:00
Chris Roberts
356c37fd73
Isolate utility modules. Includes broker and logging helper modules.
2022-04-25 12:24:04 -05:00
Chris Roberts
742f94c9e0
Add modules to services and update exception logger usage
2022-04-25 12:24:04 -05:00
Chris Roberts
b6a0ed111a
Expand broker functionality to include server implementation
2022-04-25 12:24:04 -05:00
sophia
f670b7ca5b
Output special character "%"
...
printf the special character for "things" is % + STUFF, so if you want just a % you have to use the special character % and then combine it with % to get a single %
2022-04-25 12:24:04 -05:00
sophia
1c63921a6c
Clean up ui output to remote extra spaces
...
Previously the clear line function would insert extra lines making
output look like
"""
==> default: Importing base box 'hashicorp/bionic64'...
Progress: 10%!(NOVERB)
Progress: 20%!(NOVERB)
Progress: 30%!(NOVERB)
Progress: 40%!(NOVERB)
"""
now, output for progress looks like
"""
==> default: Importing base box 'hashicorp/bionic64'...
Progress: 10%!(NOVERB)
Progress: 20%!(NOVERB)
Progress: 30%!(NOVERB)
Progress: 40%!(NOVERB)
"""
2022-04-25 12:24:04 -05:00
sophia
9b3d07382a
Enable multi ui to check for interactive uis
2022-04-25 12:24:04 -05:00
sophia
aff6edc31b
Add plugin command that uses interactive input
2022-04-25 12:24:04 -05:00
sophia
2dd286ef4f
Add test go command for interactive input
2022-04-25 12:24:04 -05:00
sophia
552a43744e
Enable getting user input for ruby plugins
2022-04-25 12:24:04 -05:00
sophia
bc095b06dc
Don't initialize hosts with basis
2022-04-25 12:24:04 -05:00
sophia
dfd604bd1b
Run capabilities
2022-04-25 12:24:04 -05:00
sophia
7ab060d70d
Save
2022-04-25 12:24:03 -05:00
sophia
768dcf07da
Rename to alwaystrue host
2022-04-25 12:24:03 -05:00
sophia
be08dfde85
Save point
2022-04-25 12:24:03 -05:00
sophia
5a93140ab5
Run capability funciton using argmappers
2022-04-25 12:24:03 -05:00
sophia
28dd174686
Setup builtin host plugin with capabilities
2022-04-25 12:24:03 -05:00
sophia
c6ad026070
Add sub commands 3 levels deep
2022-04-25 12:24:03 -05:00
sophia
de649b2154
Update protos
2022-04-25 12:24:03 -05:00
Chris Roberts
2f0dcda7e8
Check that the result is something that can be used as an exit code
2022-04-25 12:24:03 -05:00
Chris Roberts
c2fe40854f
Register otherplugin in builtins list
2022-04-25 12:24:03 -05:00
Chris Roberts
91c4414352
Add otherplugin builtin for non-isolated subcommand example
2022-04-25 12:24:03 -05:00
Chris Roberts
96c8e44a33
Update myplugin to proxy commands to subcommands
2022-04-25 12:24:03 -05:00
Chris Roberts
c69710329f
Update message access to use spec
2022-04-25 12:24:02 -05:00
Chris Roberts
64f4d51876
Build command information via component interface + cleanup
...
Uses the CommandInfoFunc via the Command component to extract
command information from the plugin. Mapper type functions
have been removed and extracted to isolated file. Reorganized
the functions a bit for internal consistency
2022-04-25 12:24:02 -05:00
Chris Roberts
799c33d76b
Extract core mappers out of basis and into isolated file
2022-04-25 12:24:02 -05:00
sophia
b4f0ef56df
Remove command metadata from service info
2022-04-25 12:24:02 -05:00
sophia
0e618a4fd1
Execute command with subcommand info
2022-04-25 12:24:02 -05:00
sophia
fd29c9df7c
Clean up ruby command service
2022-04-25 12:24:02 -05:00
sophia
5dd5ec84ee
Allow ruby errors to be caught by exception logger
2022-04-25 12:24:02 -05:00
sophia
36fa931bed
AUpdate ruby protos for sdk chagnes
2022-04-25 12:24:02 -05:00
sophia
4dce4d148d
Specify which command to get command info from
2022-04-25 12:24:02 -05:00
sophia
9f51d87038
Update ruby execute func for new proto
2022-04-25 12:24:02 -05:00
sophia
3107da72af
Execute subcommands
2022-04-25 12:24:02 -05:00
sophia
201b36ab15
Run correct command plugin for subcommands
2022-04-25 12:24:01 -05:00
sophia
475c5b41d8
Allow commands to have subcommands specified as a list of command components
2022-04-25 12:24:01 -05:00
sophia
e9e7768472
Register command with subcommands (subcommands are not seperate plugins)
2022-04-25 12:24:01 -05:00
sophia
5508f7cf39
Rename commands plugin -> command
2022-04-25 12:24:01 -05:00