Remove SCUM server-management client path
This commit is contained in:
-37
@@ -1,37 +0,0 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "SCUMCompanionHealthSnapshot",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["status", "observedAt"],
|
||||
"properties": {
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": ["online", "degraded", "offline"]
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 40
|
||||
},
|
||||
"observedAt": {
|
||||
"type": "string",
|
||||
"maxLength": 64,
|
||||
"format": "date-time"
|
||||
},
|
||||
"latencyMs": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 30000
|
||||
},
|
||||
"capabilities": {
|
||||
"type": "array",
|
||||
"maxItems": 16,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z][a-z0-9.-]{0,79}$"
|
||||
},
|
||||
"uniqueItems": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "SCUMCompanionDiagnosticsPayload",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"includeWindowState": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"maxEntries": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 20
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "SCUMCompanionDiagnosticsResult",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["status"],
|
||||
"properties": {
|
||||
"status": {
|
||||
"type": "string",
|
||||
"maxLength": 16,
|
||||
"enum": ["online", "degraded", "offline"]
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 40
|
||||
},
|
||||
"lastHeartbeatAt": {
|
||||
"type": "string",
|
||||
"maxLength": 64,
|
||||
"format": "date-time"
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
"scope": {
|
||||
"type": "string",
|
||||
"maxLength": 16,
|
||||
"enum": ["server", "database", "companion"]
|
||||
"enum": ["server", "database", "bridge"]
|
||||
},
|
||||
"noticeSeconds": {
|
||||
"type": "integer",
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"platform": {
|
||||
"baseUrl": "https://platform.example.test"
|
||||
},
|
||||
"component": {
|
||||
"installationId": "client-manager-installation-example",
|
||||
"serverInstanceId": "server-example",
|
||||
"pluginId": "game.scum",
|
||||
"profileKey": "scum-client-manager",
|
||||
"artifactId": "artifact-example",
|
||||
"version": "1.0.0",
|
||||
"sourceRevision": "example-revision",
|
||||
"targetOs": "windows",
|
||||
"targetArch": "amd64",
|
||||
"keyGeneration": 1,
|
||||
"deploymentGeneration": 1
|
||||
},
|
||||
"proof": {
|
||||
"mode": "hmac-sha256",
|
||||
"materialEnv": "SCUM_COMPONENT_PROOF"
|
||||
},
|
||||
"session": {
|
||||
"mode": "component-session"
|
||||
},
|
||||
"capabilities": [
|
||||
"component.register",
|
||||
"component.heartbeat",
|
||||
"component.health",
|
||||
"component.control",
|
||||
"game-client.bridge",
|
||||
"logs.stream"
|
||||
],
|
||||
"timing": {
|
||||
"heartbeatIntervalSeconds": 30,
|
||||
"commandPollIntervalSeconds": 5,
|
||||
"requestTimeoutSeconds": 15
|
||||
},
|
||||
"tls": {
|
||||
"policy": "verify-system-roots"
|
||||
}
|
||||
}
|
||||
@@ -1,97 +0,0 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "SCUMPlatformCompanionConfig",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "platform", "component", "proof", "session", "capabilities", "timing", "tls"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"platform": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["baseUrl"],
|
||||
"properties": {
|
||||
"baseUrl": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"pattern": "^https://(?:[A-Za-z0-9](?:[A-Za-z0-9.-]{0,251}[A-Za-z0-9])?|\\[[0-9A-Fa-f:.]+\\])(?::[1-9][0-9]{0,4})?/?$",
|
||||
"maxLength": 228
|
||||
}
|
||||
}
|
||||
},
|
||||
"component": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["installationId", "serverInstanceId", "pluginId", "profileKey", "artifactId", "version", "sourceRevision", "targetOs", "targetArch", "keyGeneration", "deploymentGeneration"],
|
||||
"properties": {
|
||||
"installationId": { "$ref": "#/$defs/identifier" },
|
||||
"serverInstanceId": { "$ref": "#/$defs/identifier" },
|
||||
"pluginId": { "const": "game.scum" },
|
||||
"profileKey": { "const": "scum-client-manager" },
|
||||
"artifactId": { "$ref": "#/$defs/identifier" },
|
||||
"version": { "type": "string", "minLength": 1, "maxLength": 40 },
|
||||
"sourceRevision": { "type": "string", "minLength": 1, "maxLength": 120 },
|
||||
"targetOs": { "const": "windows" },
|
||||
"targetArch": { "const": "amd64" },
|
||||
"keyGeneration": { "type": "integer", "minimum": 1, "maximum": 2147483647 },
|
||||
"deploymentGeneration": { "type": "integer", "minimum": 1, "maximum": 2147483647 }
|
||||
}
|
||||
},
|
||||
"proof": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["mode", "materialEnv"],
|
||||
"properties": {
|
||||
"mode": { "const": "hmac-sha256" },
|
||||
"materialEnv": { "const": "SCUM_COMPONENT_PROOF" }
|
||||
}
|
||||
},
|
||||
"session": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["mode"],
|
||||
"properties": {
|
||||
"mode": { "const": "component-session" }
|
||||
}
|
||||
},
|
||||
"capabilities": {
|
||||
"type": "array",
|
||||
"minItems": 6,
|
||||
"maxItems": 7,
|
||||
"uniqueItems": true,
|
||||
"items": { "enum": ["component.register", "component.heartbeat", "component.health", "component.control", "game-client.bridge", "logs.stream", "handler.vehicle.spawn"] },
|
||||
"allOf": [
|
||||
{ "contains": { "const": "component.register" } },
|
||||
{ "contains": { "const": "component.heartbeat" } },
|
||||
{ "contains": { "const": "component.health" } },
|
||||
{ "contains": { "const": "component.control" } },
|
||||
{ "contains": { "const": "game-client.bridge" } },
|
||||
{ "contains": { "const": "logs.stream" } }
|
||||
]
|
||||
},
|
||||
"timing": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["heartbeatIntervalSeconds", "commandPollIntervalSeconds", "requestTimeoutSeconds"],
|
||||
"properties": {
|
||||
"heartbeatIntervalSeconds": { "const": 30 },
|
||||
"commandPollIntervalSeconds": { "type": "integer", "minimum": 1, "maximum": 60 },
|
||||
"requestTimeoutSeconds": { "type": "integer", "minimum": 1, "maximum": 60 }
|
||||
}
|
||||
},
|
||||
"tls": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["policy"],
|
||||
"properties": {
|
||||
"policy": { "const": "verify-system-roots" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,179}$"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user