summaryrefslogtreecommitdiff
path: root/spec/fixtures/lib
diff options
context:
space:
mode:
authorsyasonik <syasonik@gitlab.com>2019-04-25 11:03:50 +0800
committersyasonik <syasonik@gitlab.com>2019-04-25 13:35:05 +0800
commit4a5c48c47cccd8ce2b6bd6912ecff925122778f0 (patch)
treed67a72b736ed069afd1c11fa14b4a789bc3d5b0c /spec/fixtures/lib
parentdde709912f0c186d569ec5fb3d1986b8184d81f1 (diff)
downloadgitlab-ce-4a5c48c47cccd8ce2b6bd6912ecff925122778f0.tar.gz
Move MetricsDashboard to Metrics::Dashboard
Diffstat (limited to 'spec/fixtures/lib')
-rw-r--r--spec/fixtures/lib/gitlab/metrics/dashboard/sample_dashboard.yml (renamed from spec/fixtures/lib/gitlab/metrics_dashboard/sample_dashboard.yml)0
-rw-r--r--spec/fixtures/lib/gitlab/metrics/dashboard/schemas/dashboard.json (renamed from spec/fixtures/lib/gitlab/metrics_dashboard/schemas/dashboard.json)8
-rw-r--r--spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metrics.json (renamed from spec/fixtures/lib/gitlab/metrics_dashboard/schemas/metrics.json)0
-rw-r--r--spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panel_groups.json (renamed from spec/fixtures/lib/gitlab/metrics_dashboard/schemas/panel_groups.json)0
-rw-r--r--spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panels.json (renamed from spec/fixtures/lib/gitlab/metrics_dashboard/schemas/panels.json)0
5 files changed, 2 insertions, 6 deletions
diff --git a/spec/fixtures/lib/gitlab/metrics_dashboard/sample_dashboard.yml b/spec/fixtures/lib/gitlab/metrics/dashboard/sample_dashboard.yml
index c2d3d3d8aca..c2d3d3d8aca 100644
--- a/spec/fixtures/lib/gitlab/metrics_dashboard/sample_dashboard.yml
+++ b/spec/fixtures/lib/gitlab/metrics/dashboard/sample_dashboard.yml
diff --git a/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/dashboard.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/dashboard.json
index 2d7601b64b1..1ee1205e29a 100644
--- a/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/dashboard.json
+++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/dashboard.json
@@ -1,16 +1,12 @@
{
"type": "object",
- "required": [
- "dashboard",
- "priority",
- "panel_groups"
- ],
+ "required": ["dashboard", "priority", "panel_groups"],
"properties": {
"dashboard": { "type": "string" },
"priority": { "type": "number" },
"panel_groups": {
"type": "array",
- "items": { "$ref": "spec/fixtures/lib/gitlab/metrics_dashboard/schemas/panel_groups.json" }
+ "items": { "$ref": "spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panel_groups.json" }
}
},
"additionalProperties": false
diff --git a/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/metrics.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metrics.json
index 2d0af57ec2c..2d0af57ec2c 100644
--- a/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/metrics.json
+++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/metrics.json
diff --git a/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/panel_groups.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panel_groups.json
index d7a390adcdc..d7a390adcdc 100644
--- a/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/panel_groups.json
+++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panel_groups.json
diff --git a/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/panels.json b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panels.json
index 1548daacd64..1548daacd64 100644
--- a/spec/fixtures/lib/gitlab/metrics_dashboard/schemas/panels.json
+++ b/spec/fixtures/lib/gitlab/metrics/dashboard/schemas/panels.json