Skip to content

Commit

Permalink
fix: update the reference to plugin.json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
leventebalogh committed May 28, 2024
1 parent a86655c commit efa73be
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 43 deletions.
2 changes: 1 addition & 1 deletion examples/app-basic/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "app",
"name": "Basic App",
"id": "myorg-basic-app",
Expand Down
2 changes: 1 addition & 1 deletion examples/app-with-backend/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "app",
"name": "App With Backend",
"id": "myorg-withbackend-app",
Expand Down
6 changes: 2 additions & 4 deletions examples/app-with-dashboards/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "app",
"name": "Basic App With Dashboards",
"id": "myorg-dashboard-app",
"info": {
"keywords": [
"app"
],
"keywords": ["app"],
"description": "A basic grafana app plugin with dashboards",
"author": {
"name": "Your name"
Expand Down
6 changes: 2 additions & 4 deletions examples/app-with-extension-point/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "app",
"name": "Extension Point App",
"id": "myorg-extensionpoint-app",
"preload": true,
"info": {
"keywords": [
"app"
],
"keywords": ["app"],
"description": "Show case how to add an extension point to your plugin",
"author": {
"name": "Myorg"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "app",
"name": "A App",
"id": "myorg-a-app",
"preload": true,
"info": {
"keywords": [
"app"
],
"keywords": ["app"],
"description": "Will extend root app with ui extensions",
"author": {
"name": "Myorg"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "app",
"name": "B App",
"id": "myorg-b-app",
"preload": true,
"info": {
"keywords": [
"app"
],
"keywords": ["app"],
"description": "Will extend root app with ui extensions",
"author": {
"name": "Myorg"
Expand Down
6 changes: 2 additions & 4 deletions examples/app-with-extensions/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "app",
"name": "Extensions App",
"id": "myorg-extensions-app",
"preload": true,
"info": {
"keywords": [
"app"
],
"keywords": ["app"],
"description": "Example on how to extend grafana ui from a plugin",
"author": {
"name": "Myorg"
Expand Down
8 changes: 2 additions & 6 deletions examples/app-with-scenes/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "app",
"name": "Scenes App Example",
"id": "myorg-scenes-app",
"info": {
"keywords": [
"basic",
"app",
"example"
],
"keywords": ["basic", "app", "example"],
"description": "A basic grafana app plugin",
"author": {
"name": "Your name"
Expand Down
2 changes: 1 addition & 1 deletion examples/datasource-http-backend/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "datasource",
"name": "Datasource Http Backend",
"id": "grafana-datasourcehttpbackend-datasource",
Expand Down
6 changes: 2 additions & 4 deletions examples/datasource-http/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "datasource",
"name": "HTTP",
"id": "example-http-datasource",
Expand All @@ -10,9 +10,7 @@
"name": "Grafana Labs",
"url": "https://grafana.com"
},
"keywords": [
"example"
],
"keywords": ["example"],
"logos": {
"small": "img/logo.svg",
"large": "img/logo.svg"
Expand Down
2 changes: 1 addition & 1 deletion examples/datasource-logs/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "datasource",
"name": "example-logs",
"id": "grafana-logs-datasource",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "datasource",
"name": "Streaming Backend Example",
"id": "example-websocket-datasource",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "datasource",
"name": "Streaming websocket example",
"id": "example-websocket-datasource",
Expand Down
7 changes: 2 additions & 5 deletions examples/panel-basic/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "panel",
"name": "Basic Panel",
"id": "basic-panel",
"info": {
"keywords": [
"panel",
"example"
],
"keywords": ["panel", "example"],
"description": "Showcase how to build a basic panel plugin",
"author": {
"name": "Your Name"
Expand Down
2 changes: 1 addition & 1 deletion examples/panel-datalinks/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "panel",
"name": "Data links panel",
"id": "myorg-datalinks-panel",
Expand Down
2 changes: 1 addition & 1 deletion examples/panel-frame-select/src/plugin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"$schema": "https://raw.githubusercontent.com/grafana/grafana/main/docs/sources/developers/plugins/plugin.schema.json",
"type": "panel",
"name": "Example",
"id": "example-frameselect-panel",
Expand Down

0 comments on commit efa73be

Please sign in to comment.