mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 06:52:24 +00:00
3cb0b41b22
Sucessfully queries elasticsearch, but displaying the results poses problems because of asych things.
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"name": "Search View",
|
|
"description": "Allows the user to search through the file tree.",
|
|
"extensions": {
|
|
"views": [
|
|
{
|
|
"key": "search",
|
|
"name": "Search",
|
|
"glyph": "5",
|
|
"description": "Search functionality.",
|
|
"templateUrl": "templates/search.html"
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "SearchController",
|
|
"implementation": "SearchController.js",
|
|
"depends": [ "$scope", "$http", "objectService", "queryService", "ELASTIC_ROOT" ]
|
|
}
|
|
],
|
|
"representations": [
|
|
{
|
|
"key": "search-item",
|
|
"templateUrl": "templates/search-item.html",
|
|
"uses": [ "grid-item" ]
|
|
}
|
|
],
|
|
"services": [
|
|
{
|
|
"key": "queryService",
|
|
"implementation": "QueryService.js",
|
|
"depends": [ "objectService", "ELASTIC_ROOT" ]
|
|
}
|
|
]
|
|
}
|
|
} |