feat(web-app): add the time series manager to the application
This commit is contained in:
@@ -7,15 +7,11 @@
|
||||
import { defineComponent } from "vue";
|
||||
import HelloWorld from "./components/HelloWorld.vue";
|
||||
import { HttpClient } from "./Services/HttpClient";
|
||||
import { TimeSeriesManager } from "./TimeSeriesManager";
|
||||
import { URL, USERNAME, PASSWORD } from "./const";
|
||||
|
||||
const URL = "rest.mse.kb28.ch";
|
||||
|
||||
const username = process.env.VUE_APP_INFLUXDB_USER;
|
||||
const password = process.env.VUE_APP_INFLUXDB_PASSWORD;
|
||||
|
||||
const httpClient = new HttpClient(URL, username, password);
|
||||
|
||||
const series = httpClient.getValues();
|
||||
const httpClient = new HttpClient(URL, USERNAME, PASSWORD);
|
||||
const manager = new TimeSeriesManager(httpClient);
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
|
||||
Reference in New Issue
Block a user