forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plugins: Ignore trailing slash in root URL check (grafana#35338)
* ignore trailing slash in root URL check * apply pr feedback
- Loading branch information
Showing
4 changed files
with
88 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
pkg/plugins/manager/testdata/valid-v2-pvt-signature-root-url-uri/plugin/MANIFEST.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
-----BEGIN PGP SIGNED MESSAGE----- | ||
Hash: SHA512 | ||
|
||
{ | ||
"manifestVersion": "2.0.0", | ||
"signatureType": "private", | ||
"signedByOrg": "willbrowne", | ||
"signedByOrgName": "Will Browne", | ||
"rootUrls": [ | ||
"http://localhost:3000/grafana/" | ||
], | ||
"plugin": "test", | ||
"version": "1.0.0", | ||
"time": 1623165794939, | ||
"keyId": "7e4d0c6a708866e7", | ||
"files": { | ||
"plugin.json": "2bb467c0bfd6c454551419efe475b8bf8573734e73c7bab52b14842adb62886f" | ||
} | ||
} | ||
-----BEGIN PGP SIGNATURE----- | ||
Version: OpenPGP.js v4.10.1 | ||
Comment: https://openpgpjs.org | ||
|
||
wqEEARMKAAYFAmC/i2MACgkQfk0ManCIZudCEgII80waYmySwVuB2cdeU3Vy | ||
FvYrhViYYimvTy5EQbDfC955UpHphcr4V5S+09se7D2bK8XZ/MYufnUp9QIU | ||
gOxCDrkCCQHTQ/aWxt8JAHGG/eoydKQEeAc9aFJyphdX57qXHVkAjvLzY5aO | ||
y9UltPQKOAN/soDra2m39VUf6DBi9K/sXfjwaA== | ||
=cd6n | ||
-----END PGP SIGNATURE----- |
16 changes: 16 additions & 0 deletions
16
pkg/plugins/manager/testdata/valid-v2-pvt-signature-root-url-uri/plugin/plugin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"type": "datasource", | ||
"name": "Test", | ||
"id": "test", | ||
"backend": true, | ||
"executable": "test", | ||
"state": "alpha", | ||
"info": { | ||
"version": "1.0.0", | ||
"description": "Test", | ||
"author": { | ||
"name": "Will Browne", | ||
"url": "https://willbrowne.com" | ||
} | ||
} | ||
} |