rename stuff

This commit is contained in:
Stefan Ålund
2020-02-04 10:02:12 +01:00
parent 41a260e919
commit 6b60faf02e
3 changed files with 28 additions and 16 deletions
@@ -0,0 +1,26 @@
{
"data": {
"elasticSearch": {
"data": [
{
"__typename": "Component",
"id": "backstage-backend",
"componentType": "service"
}
],
"aggregations": [
{
"name": "metadata",
"buckets": [{ "key": "data-endpoints", "docCount": 10 }]
},
{
"name": "lifecycle.keyword",
"buckets": [
{ "key": "production", "docCount": 5 },
{ "key": "experimental", "docCount": 5 }
]
}
]
}
}
}
@@ -1,4 +1,4 @@
import search_system_z_backend_json from './search_system-z-backend.json';
import backstage_backend_json from './backstage-backend.json';
export function getOpenProxyHost() {
return 'mocked-proxy';
@@ -8,7 +8,7 @@ export default {
client: {
query: jest.fn().mockImplementation(() => {
return new Promise(resolve => {
resolve(search_system_z_backend_json);
resolve(backstage_backend_json);
});
}),
},
@@ -1,14 +0,0 @@
{
"data": {
"elasticSearch": {
"data": [{ "__typename": "Component", "id": "system-z-backend", "componentType": "service" }],
"aggregations": [
{ "name": "metadata", "buckets": [{ "key": "data-endpoints", "docCount": 10 }] },
{
"name": "lifecycle.keyword",
"buckets": [{ "key": "production", "docCount": 5 }, { "key": "experimental", "docCount": 5 }]
}
]
}
}
}