mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
* fix(catalog): prefer rendering installed version over latest version * feat(catalog): signify installed version in version history * feat(catalog): introduce installedVersion and latestVersion * refactor(catalog): use latestVersion for installation, simplify plugindetails header logic * refactor(catalog): clean up installedVersion and latestVersion * feat(catalog): use table-layout so versions list table has consistent column widths * test(catalog): update failing tests * removed the need of having a latest version in the plugin catalog type root level. * fixed flaky test depending on what locale it was being running with. * added missing test to verify version for a remote plugin. * fixed version in header. * preventing the UI from break if no versions are available. * fixed failing test due to missing mock data. * added todo as a reminder. * refactor(catalog): prefer grafana plugin icons over gcom notfound images * refactor(Plugins/Admin): change constant name * refactor(Plugins/Admin): add comment to make condition easier to understand * chore: update go modules * feat(Backend/Plugins): add "dependencies" field to `PluginListItem` * feat(Plugins/Admin): show the grafana dependency for the installed version * refactor(Plugins/Admin): use the local version of links * refactor(Plugins/Admin): prefer the local version for `.type` * refactor(Plugins/ADmin): prefer the local `.description` field * fix(Plugins/Admin): fix tests * test(plugins/api): update the expected response for the `api/plugins` tests * chore(Plugins/Admin): add todo comments to check preferation of remote/local values * feat(backend/api): always send the grafana version as a header when proxying to GCOM * feat(plugins/admin): use the `isCompatible` flag to get the latest compatible version * feat(plugins/admin): show the latest compatible version in the versions list * fix(plugins/admin): show the grafana dependency for the latest compatible version * fix(plugins/admin): update the version list when installing/uninstalling a plugin * test(plugins/admin): add some test-cases for the latest-compatible-version * fix(plugins/admin): show the grafana dependency for the installed version (if installed) * feat(plugins/backend): add the `dependencies.grafanaDependency` property to the plugin object * test(plugins/backend): fix tests by adjusting expected response json Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com> Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
72 lines
2.0 KiB
TypeScript
72 lines
2.0 KiB
TypeScript
import { LocalPlugin } from '../types';
|
|
|
|
// Copied from /api/plugins
|
|
export default {
|
|
name: 'Zabbix',
|
|
type: 'app',
|
|
id: 'alexanderzobnin-zabbix-app',
|
|
enabled: false,
|
|
pinned: false,
|
|
info: {
|
|
author: {
|
|
name: 'Alexander Zobnin',
|
|
url: 'https://github.com/alexanderzobnin',
|
|
},
|
|
description: 'Zabbix plugin for Grafana',
|
|
links: [
|
|
{
|
|
name: 'GitHub',
|
|
url: 'https://github.com/alexanderzobnin/grafana-zabbix',
|
|
},
|
|
{
|
|
name: 'Docs',
|
|
url: 'https://alexanderzobnin.github.io/grafana-zabbix',
|
|
},
|
|
{
|
|
name: 'License',
|
|
url: 'https://github.com/alexanderzobnin/grafana-zabbix/blob/master/LICENSE',
|
|
},
|
|
],
|
|
logos: {
|
|
small: 'public/plugins/alexanderzobnin-zabbix-app/img/icn-zabbix-app.svg',
|
|
large: 'public/plugins/alexanderzobnin-zabbix-app/img/icn-zabbix-app.svg',
|
|
},
|
|
build: {
|
|
time: 1629903250076,
|
|
repo: 'git@github.com:alexanderzobnin/grafana-zabbix.git',
|
|
hash: 'e9db978235cd6d01a095a37f3aa711ea8ea0f7ab',
|
|
},
|
|
screenshots: [
|
|
{
|
|
path: 'public/plugins/alexanderzobnin-zabbix-app/img/screenshot-showcase.png',
|
|
name: 'Showcase',
|
|
},
|
|
{
|
|
path: 'public/plugins/alexanderzobnin-zabbix-app/img/screenshot-dashboard01.png',
|
|
name: 'Dashboard',
|
|
},
|
|
{
|
|
path: 'public/plugins/alexanderzobnin-zabbix-app/img/screenshot-annotations.png',
|
|
name: 'Annotations',
|
|
},
|
|
{
|
|
path: 'public/plugins/alexanderzobnin-zabbix-app/img/screenshot-metric_editor.png',
|
|
name: 'Metric Editor',
|
|
},
|
|
{
|
|
path: 'public/plugins/alexanderzobnin-zabbix-app/img/screenshot-triggers.png',
|
|
name: 'Triggers',
|
|
},
|
|
],
|
|
version: '4.2.2',
|
|
updated: '2021-08-25',
|
|
},
|
|
hasUpdate: false,
|
|
defaultNavUrl: '/plugins/alexanderzobnin-zabbix-app/',
|
|
category: '',
|
|
state: '',
|
|
signature: 'valid',
|
|
signatureType: 'community',
|
|
signatureOrg: 'Alexander Zobnin',
|
|
} as LocalPlugin;
|