Skip to content

Commit

Permalink
feat: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gk-kindred committed Apr 2, 2024
1 parent 729f613 commit 796ce5b
Show file tree
Hide file tree
Showing 15 changed files with 3,602 additions and 78 deletions.
238 changes: 238 additions & 0 deletions k8s-deployer/clone-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
{
"$ref": "#/definitions/ExecutedTestScenario",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ExecutedTestScenario": {
"additionalProperties": false,
"properties": {
"componentIds": {
"items": {
"type": "string"
},
"type": "array"
},
"endTime": {
"format": "date-time",
"type": "string"
},
"metadata": {
"additionalProperties": false,
"properties": {
"constructor": {
"additionalProperties": false,
"properties": {
"arguments": {},
"caller": {
"$ref": "#/definitions/interface-1921653759-9888-11315-1921653759-0-213718"
},
"length": {
"type": "number"
},
"prototype": {}
},
"required": [
"prototype",
"length",
"arguments",
"caller"
],
"type": "object"
}
},
"required": [
"constructor"
],
"type": "object"
},
"name": {
"type": "string"
},
"startTime": {
"format": "date-time",
"type": "string"
},
"streams": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"observations": {
"items": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"type": {
"enum": [
"SCALAR",
"DISTRIBUTION"
],
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"type",
"name",
"value"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"type": {
"enum": [
"SCALAR",
"DISTRIBUTION"
],
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"size": {
"type": "number"
}
},
"required": [
"size"
],
"type": "object"
}
},
"required": [
"type",
"name",
"value"
],
"type": "object"
}
]
},
"type": "array"
},
"outcome": {
"enum": [
"PASS",
"FAIL"
],
"type": "string"
},
"requirements": {
"items": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"type": {
"enum": [
"SCALAR",
"DISTRIBUTION"
],
"type": "string"
},
"value": {
"type": "number"
}
},
"required": [
"type",
"name",
"value"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"type": {
"enum": [
"SCALAR",
"DISTRIBUTION"
],
"type": "string"
},
"value": {
"additionalProperties": false,
"properties": {
"size": {
"type": "number"
}
},
"required": [
"size"
],
"type": "object"
}
},
"required": [
"type",
"name",
"value"
],
"type": "object"
}
]
},
"type": "array"
}
},
"required": [
"name",
"requirements",
"observations",
"outcome"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"name",
"startTime",
"endTime",
"streams",
"componentIds"
],
"type": "object"
},
"interface-1921653759-9888-11315-1921653759-0-213718": {
"additionalProperties": false,
"properties": {
"arguments": {},
"caller": {
"$ref": "#/definitions/interface-1921653759-9888-11315-1921653759-0-213718"
},
"length": {
"type": "number"
},
"prototype": {}
},
"required": [
"prototype",
"length",
"arguments",
"caller"
],
"type": "object"
}
}
}
21 changes: 21 additions & 0 deletions k8s-deployer/json-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$id": "https://example.com/person.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Person",
"type": "object",
"properties": {
"firstName": {
"type": "string",
"description": "The person's first name."
},
"lastName": {
"type": "string",
"description": "The person's last name."
},
"age": {
"description": "Age in years which must be equal to or greater than zero.",
"type": "integer",
"minimum": 0
}
}
}
Loading

0 comments on commit 796ce5b

Please sign in to comment.