From 3d51743f8bf32349be4caf4c768fa43c334f9251 Mon Sep 17 00:00:00 2001 From: Jan Garaj Date: Mon, 20 Nov 2023 00:41:03 +0000 Subject: [PATCH] Footer update --- .github/workflows/standards.py | 59 ++++++++++++++++++++ aws-sns/aws-sns.json | 2 +- aws-sqs/aws-sqs.json | 2 +- aws-step-functions/aws-step-functions.json | 2 +- aws-storage-gateway/aws-storage-gateway.json | 2 +- aws-transit-gateway/aws-transit-gateway.json | 2 +- aws-vpn/aws-vpn.json | 2 +- aws-waf/aws-waf.json | 2 +- aws-x-ray/aws-x-ray.json | 2 +- 9 files changed, 67 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/standards.py diff --git a/.github/workflows/standards.py b/.github/workflows/standards.py new file mode 100644 index 0000000..c4355fb --- /dev/null +++ b/.github/workflows/standards.py @@ -0,0 +1,59 @@ +import os +import json +import re + +standard_footer = " | \nAWS CloudWatch Transfer Family documentation | \nInstalled from Grafana.com dashboards\n" +standard_footer = re.sub(r'https://docs.aws.amazon.com/.*\"', r'https://docs.aws.amazon.com/\"', standard_footer) +standard_footer = re.sub(r'>AWS CloudWatch .* documentationAWS CloudWatch documentationAWS CloudWatch .* documentationAWS CloudWatch documentationAWS CloudWatch .* documentationAWS CloudWatch documentation\nAWS CloudWatch SNS documentation
\nInstalled from Grafana.com dashboards\n
", + "contenr": " | \nAWS CloudWatch SNS documentation | \nInstalled from Grafana.com dashboards\n", "editable": true, "error": false, "gridPos": { diff --git a/aws-sqs/aws-sqs.json b/aws-sqs/aws-sqs.json index 36631a4..593fbd6 100644 --- a/aws-sqs/aws-sqs.json +++ b/aws-sqs/aws-sqs.json @@ -752,7 +752,7 @@ } }, { - "content": "\nAWS CloudWatch SQS documentation
\nInstalled from Grafana.com dashboards\n
", + "content": " | \nAWS CloudWatch SQS documentation | \nInstalled from Grafana.com dashboards\n", "editable": true, "error": false, "gridPos": { diff --git a/aws-step-functions/aws-step-functions.json b/aws-step-functions/aws-step-functions.json index 0469107..0dda320 100644 --- a/aws-step-functions/aws-step-functions.json +++ b/aws-step-functions/aws-step-functions.json @@ -998,7 +998,7 @@ } }, { - "content": " | \nAWS CloudWatch Step Functions documentation | \nInstalled from Grafana.com dashboards", + "content": " | \nAWS CloudWatch Step Functions documentation | \nInstalled from Grafana.com dashboards\n", "editable": true, "error": false, "gridPos": { diff --git a/aws-storage-gateway/aws-storage-gateway.json b/aws-storage-gateway/aws-storage-gateway.json index 3c2ec27..e0542ab 100644 --- a/aws-storage-gateway/aws-storage-gateway.json +++ b/aws-storage-gateway/aws-storage-gateway.json @@ -2277,7 +2277,7 @@ "links": [], "mode": "html", "options": { - "content": " | \nAWS CloudWatch Storage Gateway documentation | \nInstalled from Grafana.com dashboards", + "content": " | \nAWS CloudWatch Storage Gateway documentation | \nInstalled from Grafana.com dashboards\n", "mode": "html" }, "pluginVersion": "7.1.0", diff --git a/aws-transit-gateway/aws-transit-gateway.json b/aws-transit-gateway/aws-transit-gateway.json index 6b4a225..074f3f6 100644 --- a/aws-transit-gateway/aws-transit-gateway.json +++ b/aws-transit-gateway/aws-transit-gateway.json @@ -1444,7 +1444,7 @@ "id": 2, "links": [], "options": { - "content": " | \nAWS CloudWatch Transit Gateway documentation | \nInstalled from Grafana.com dashboards", + "content": " | \nAWS CloudWatch Transit Gateway documentation | \nInstalled from Grafana.com dashboards\n", "mode": "html" }, "pluginVersion": "8.4.3", diff --git a/aws-vpn/aws-vpn.json b/aws-vpn/aws-vpn.json index 4876eb0..c61ccba 100644 --- a/aws-vpn/aws-vpn.json +++ b/aws-vpn/aws-vpn.json @@ -336,7 +336,7 @@ "height": "25px", "panels": [ { - "content": "\nAWS CloudWatch VPN documentation
\nInstalled from Grafana.com dashboards\n
", + "content": " | \nAWS CloudWatch VPN documentation | \nInstalled from Grafana.com dashboards\n", "editable": true, "error": false, "id": 2, diff --git a/aws-waf/aws-waf.json b/aws-waf/aws-waf.json index 73c07be..2145d51 100644 --- a/aws-waf/aws-waf.json +++ b/aws-waf/aws-waf.json @@ -766,7 +766,7 @@ "showLineNumbers": false, "showMiniMap": false }, - "content": " | \nAWS CloudWatch WAF documentation | \nInstalled from Grafana.com dashboards\n", + "content": " | \nAWS CloudWatch WAF documentation | \nInstalled from Grafana.com dashboards\n", "mode": "html" }, "pluginVersion": "10.2.0", diff --git a/aws-x-ray/aws-x-ray.json b/aws-x-ray/aws-x-ray.json index e85bc7b..32de4fc 100644 --- a/aws-x-ray/aws-x-ray.json +++ b/aws-x-ray/aws-x-ray.json @@ -234,7 +234,7 @@ "id": 2, "links": [], "options": { - "content": " | \nInstalled from Grafana.com dashboards", + "content": " | \nInstalled from Grafana.com dashboards", "mode": "html" }, "pluginVersion": "8.1.3",