Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 15:09:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 15:09:00 +0300
commitae78b85a25cb0c19c3d6a2e4e6c7ca91ed50787d (patch)
treec53ad0fcdab26725814f1dc5267f6a04ebe4cf73 /spec/fixtures/api/schemas/internal
parent38149afcf95e7669a7a99828c579d185b70c04dc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures/api/schemas/internal')
-rw-r--r--spec/fixtures/api/schemas/internal/serverless/lookup_path.json28
-rw-r--r--spec/fixtures/api/schemas/internal/serverless/virtual_domain.json14
2 files changed, 42 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/internal/serverless/lookup_path.json b/spec/fixtures/api/schemas/internal/serverless/lookup_path.json
new file mode 100644
index 00000000000..c20ea926587
--- /dev/null
+++ b/spec/fixtures/api/schemas/internal/serverless/lookup_path.json
@@ -0,0 +1,28 @@
+{
+ "type": "object",
+ "required": [
+ "source"
+ ],
+ "properties": {
+ "source": { "type": "object",
+ "required": ["type", "service", "cluster"],
+ "properties" : {
+ "type": { "type": "string", "enum": ["serverless"] },
+ "service": { "type": "string" },
+ "cluster": { "type": "object",
+ "required": ["hostname", "address", "port", "cert", "key"],
+ "properties": {
+ "hostname": { "type": "string" },
+ "address": { "type": "string" },
+ "port": { "type": "integer" },
+ "cert": { "type": "string" },
+ "key": { "type": "string" }
+ },
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false
+}
diff --git a/spec/fixtures/api/schemas/internal/serverless/virtual_domain.json b/spec/fixtures/api/schemas/internal/serverless/virtual_domain.json
new file mode 100644
index 00000000000..50e899ef2f8
--- /dev/null
+++ b/spec/fixtures/api/schemas/internal/serverless/virtual_domain.json
@@ -0,0 +1,14 @@
+{
+ "type": "object",
+ "required": [
+ "lookup_paths",
+ "certificate",
+ "key"
+ ],
+ "properties": {
+ "certificate": { "type": ["string", "null"] },
+ "key": { "type": ["string", "null"] },
+ "lookup_paths": { "type": "array", "items": { "$ref": "lookup_path.json" } }
+ },
+ "additionalProperties": false
+}