summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2023-01-08 01:40:40 +0300
committerEd Tanous <ed@tanous.net>2023-01-19 20:49:55 +0300
commitd678d4fc59f131cf9820c1783f86a4a6ede32995 (patch)
tree5bbd76e18b884c1eee44e89b132c9e0934f4acff /static
parent32d7d8ebeaa642950b4ea58af5580f8ad0822c41 (diff)
downloadbmcweb-d678d4fc59f131cf9820c1783f86a4a6ede32995.tar.xz
Remove proprietary OEMSession support
Per https://gerrit.openbmc.org/c/openbmc/bmcweb/+/56088, this feature would be supported to the end of 2022, at which point people will have moved over to the standard Context parameter in the DMTF-published Session schema. Tested: Code removal. Code compiles. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I0ae832bde740b025150242085bf1d2909ed1ec21
Diffstat (limited to 'static')
-rw-r--r--static/redfish/v1/JsonSchemas/OemSession/index.json39
-rw-r--r--static/redfish/v1/schema/OemSession_v1.xml40
2 files changed, 0 insertions, 79 deletions
diff --git a/static/redfish/v1/JsonSchemas/OemSession/index.json b/static/redfish/v1/JsonSchemas/OemSession/index.json
deleted file mode 100644
index 8eefd952f3..0000000000
--- a/static/redfish/v1/JsonSchemas/OemSession/index.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "$id": "http://redfish.dmtf.org/schemas/v1/OemSession.v1_0_0.json",
- "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
- "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
- "definitions": {
- "Session": {
- "additionalProperties": false,
- "description": "OEM Extension for Session",
- "longDescription": "OEM Extension for Session to provide the Client details.",
- "patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
- "description": "This property shall specify a valid odata or Redfish property.",
- "type": [
- "array",
- "boolean",
- "integer",
- "number",
- "null",
- "object",
- "string"
- ]
- }
- },
- "properties": {
- "ClientID" : {
- "description" : "The Id of the client creating this session.",
- "longDescription": "This will be the unique identifier set by the client.",
- "readonly": true,
- "type" : "string"
- },
- "type": "object"
- }
- }
- },
- "owningEntity": "OpenBMC",
- "release": "1.0",
- "title": "#OemSession.v1_0_0"
-}
-
diff --git a/static/redfish/v1/schema/OemSession_v1.xml b/static/redfish/v1/schema/OemSession_v1.xml
deleted file mode 100644
index f02f8617eb..0000000000
--- a/static/redfish/v1/schema/OemSession_v1.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
-
- <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
- <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
- </edmx:Reference>
- <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
- <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
- </edmx:Reference>
- <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
- <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
- </edmx:Reference>
- <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
- <edmx:Include Namespace="Resource"/>
- <edmx:Include Namespace="Resource.v1_0_0"/>
- </edmx:Reference>
- <edmx:DataServices>
-
- <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemSession">
- <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
- </Schema>
-
- <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemSession.v1_0_0">
- <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
- <Annotation Term="Redfish.Release" String="1.0"/>
-
- <EntityType Name="Session" BaseType="Resource.OemObject" Abstract="true">
- <Annotation Term="OData.Description" String="OEM Extension for Session"/>
- <Annotation Term="OData.LongDescription" String="OEM Extension for Session"/>
-
- <Property Name="ClientID" Type="Edm.String">
- <Annotation Term="OData.Description" String="The Id of the client creating this session."/>
- <Annotation Term="OData.LongDescription" String="This will be the unique identifier set by the client."/>
- </Property>
-
- </EntityType>
- </Schema>
- </edmx:DataServices>
-</edmx:Edmx>
-