Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds changelog and renames master to main #11

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
adds changelog and renames master to main
mariusgiger committed Dec 19, 2023
commit 4fab0c1f60d4afca0a38ab16bb3aea55acc614ba
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -3,11 +3,9 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Akenza Grafana Connector

## [1.0.5]

upgrades Grafana dependencies to v10.x.

## [1.0.4]

stores the API key encrypted and makes use of the backend proxy to execute requests to akenza.

existing data sources won't be affected by this change and continue to work as normal.
@@ -20,4 +25,5 @@ sign the plugin for private use for additional grafana instance URLs
sign the plugin for private use for additional grafana instance URLs

## [1.0.0]

initial release which provides the functionality to visualize device data stored in akenza in grafana dashboards.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -68,4 +68,4 @@
"node": ">=20"
},
"packageManager": "[email protected]"
}
}
4 changes: 2 additions & 2 deletions src/plugin.json
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@
},
{
"name": "License",
"url": "https://github.com/akenza-io/grafana-connector-v3/blob/master/LICENSE"
"url": "https://github.com/akenza-io/grafana-connector-v3/blob/main/LICENSE"
}
],
"screenshots": [],
@@ -59,4 +59,4 @@
]
}
]
}
}

Unchanged files with check annotations Beta

import { DataSourcePluginOptionsEditorProps } from '@grafana/data';
import { AkenzaDataSourceConfig, AkenzaSecureDataSourceConfig } from './types/PluginTypes';
const {FormField} = LegacyForms;

Check warning on line 6 in src/ConfigEditor.tsx

GitHub Actions / compatibilitycheck

'LegacyForms' is deprecated. Please use non-legacy versions of these components
interface Props extends DataSourcePluginOptionsEditorProps<AkenzaDataSourceConfig, AkenzaSecureDataSourceConfig> {
}
async query(options: DataQueryRequest<AkenzaQuery>): Promise<DataQueryResponse> {
const from: DateTime = options.range.from;
const to: DateTime = options.range.to;
const panelData: MutableDataFrame[] = [];

Check warning on line 67 in src/DataSource.ts

GitHub Actions / compatibilitycheck

'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame
for (let target of options.targets) {
if (target.deviceId && target.topic && target.dataKey && !target.hide) {
const timeSeriesData = await this.getTimeSeriesData(target, from.toISOString(), to.toISOString());
}
// add the data to the panel
panelData.push(
new MutableDataFrame({

Check warning on line 82 in src/DataSource.ts

GitHub Actions / compatibilitycheck

'MutableDataFrame' is deprecated. use standard DataFrame, or create one with PartialDataFrame
refId: target.refId,
fields: [
{