Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this PR is needed ManageIQ/manageiq#19531
<model>
is base model - for example base model report(ManageIQ::Providers::InfraManager::Vm) in model class name in string
<autocomplete_actions>
- array of actions to determine which information should be retrieved by the API.Supported autocomplete actions:
<written_input>
- array of element with user input, for example:Virtual Machine.Last Compliance History.Details
Examples:
expression_type
User Input:
Virtual Machine
List only tag (used for expression editor in group edit)
SECONDARY (DISPLAY) FILTER
NOTE: it is columns_order is
@edit[:new][:field_order]
and columns is@edit[:new][:fields]
entity
User Input : NOTHING
User Input :
Virtual Machine
User Input :
Virtual Machine
Last Compliance History
User Input :
Virtual Machine
Last Compliance History
Details
field
User Input : NOTHING
User Input :
Virtual Machine
User Input:
Virtual Machine
Last Compliance History
User Input:
Virtual Machine
Last Compliance History
Details
registry_key
User Input: NOTHING
registry_operator, registry_value
User Input:
HKLM\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Parameters :
registry_operator
User Input:
HKLM\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Parameters :
NtpServer
registry_data
User Input:
HKLM\\SYSTEM\\CurrentControlSet\\Services\\W32Time\\Parameters :
NtpServer
=
tag_field
User Input:
Virtual Machine
or NOTHINGcategory
(it does not depend on user's input)
/api/expressions?model=ManageIQ::Providers::InfraManager::Vm&autocomplete_actions[]=category
tag_value
USER INPUT:
Provider
Auto Approve - Max CPU
tag_operator, expression_operator, check_operator
(those don't depend on user's input)