Skip to content

Commit

Permalink
Merge pull request #280 from Digital-Engineering/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
DnOberon authored and GitHub Enterprise committed Mar 16, 2023
2 parents a20b489 + 01b7579 commit 2ed0c9a
Show file tree
Hide file tree
Showing 14 changed files with 1,125 additions and 354 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/kubernetes @Digital-Engineering/infrastructure
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ profile-logs
/RedisLoader/RedisLoader.iml
/AdminWebApp/src/**/*.js
/AdminWebApp/src/**/*.js.map
/NodeLibraries/dl-fast-load/build-output.txt
25 changes: 1 addition & 24 deletions AdminWebApp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion AdminWebApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"element-ui": "^2.14.1",
"eslint": "^7.5.0",
"eslint-plugin-vue": "^9.2.0",
"flatpickr": "^4.6.13",
"force-graph": "^1.42.9",
"highlight.js": "^10.4.1",
"is-svg": "^4.3.1",
Expand All @@ -50,7 +51,6 @@
"vue": "^2.6.12",
"vue-class-component": "^7.2.6",
"vue-cli-plugin-vuetify": "~2.5.8",
"vue-flatpickr-component": "^8.1.7",
"vue-i18n": "^8.25.0",
"vue-json-viewer": "^2.2.22",
"vue-observe-visibility": "^1.0.0",
Expand Down
8 changes: 8 additions & 0 deletions AdminWebApp/src/api/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ export class Client {
return this.postRawReturn<any>(`/containers/${containerID}/graphs/nodes/${nodeID}/timeseries`, query);
}

submitDataSourceGraphQLQuery(containerID: string, dataSourceID: string, query: any): Promise<any> {
if (query.query) {
query.query = query.query.replace(/\n/g, '');
}

return this.postRawReturn<any>(`/containers/${containerID}/import/datasources/${dataSourceID}/data`, query);
}

listContainers(): Promise<ContainerT[]> {
return this.get<ContainerT[]>('/containers');
}
Expand Down
Loading

0 comments on commit 2ed0c9a

Please sign in to comment.