-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add basic support for search-config-overrides(-v2).
- Loading branch information
Showing
15 changed files
with
250 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"title": "Search Engine Overrides Schema", | ||
"description": "This schema contains the details for overriding application provided search engines defined in search-config. The associated remote settings collection is search-config-overrides.", | ||
"type": "object", | ||
"required": ["telemetryId"], | ||
"properties": { | ||
"telemetryId": { | ||
"type": "string", | ||
"title": "Telemetry Id", | ||
"description": "The telemetry Id used to match the engine that this record will override.", | ||
"pattern": "^[a-zA-Z0-9-$_]{0,100}$" | ||
}, | ||
"params": { | ||
"$ref": "#/definitions/params" | ||
}, | ||
"clickUrl": { | ||
"type": "string", | ||
"format": "uri", | ||
"description": "The url used to for reporting clicks." | ||
}, | ||
"telemetrySuffix": { | ||
"type": "string", | ||
"title": "Telemetry Suffix", | ||
"description": "Suffix that is appended to the search engine identifier following a dash, i.e. `<identifier>-<suffix>`.", | ||
"pattern": "^[a-zA-Z0-9-]*$" | ||
} | ||
}, | ||
"definitions": { | ||
"searchUrlCodes": { | ||
"type": "array", | ||
"title": "Codes", | ||
"description": "A array of objects - map of parameter name to the parameter value.", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"title": "Name", | ||
"pattern": "^[a-zA-Z0-9.-]{0,100}$", | ||
"description": "Name of the parameter that will be used in the query" | ||
}, | ||
"value": { | ||
"type": "string", | ||
"title": "Value", | ||
"pattern": "^[a-zA-Z0-9_{}:/.-]{0,100}$", | ||
"description": "The value of parameter (pref or purpose)" | ||
} | ||
} | ||
} | ||
}, | ||
"params": { | ||
"type": "object", | ||
"title": "Parameters", | ||
"description": "Various parameters for the search engines", | ||
"properties": { | ||
"searchUrlGetParams": { | ||
"title": "Search URL GET Parameters", | ||
"description": "Extra parameters for search URLs (e.g. 'pc=foo').", | ||
"$ref": "#/definitions/searchUrlCodes" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.
e307c37
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh oh! Looks like an error! Details
Taskcluster-GitHub attempted to create a task for this event with the following scopes:
The expansion of these scopes is not sufficient to create the task, leading to the following:
Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:
This request requires the client to satisfy the following scope expression: