Remove OEM schemas and related code for Dump LogServices

In this commit, Oem schemas for Dump LogServices are removed
as per the latest Redfish schemas. Also, the code is changed
w.r.t the latest schema changes.

Redfish Validator Passed.

Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Change-Id: I12c8d283cd54c32e71a2b11857e7c4cce89b9f0a
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 1cda61c..f354f63 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -517,27 +517,31 @@
                     }
                 }
 
-                thisEntry["@odata.type"] = "#LogEntry.v1_5_1.LogEntry";
+                thisEntry["@odata.type"] = "#LogEntry.v1_7_0.LogEntry";
                 thisEntry["@odata.id"] = dumpPath + entryID;
                 thisEntry["Id"] = entryID;
                 thisEntry["EntryType"] = "Event";
                 thisEntry["Created"] = crow::utility::getDateTime(timestamp);
                 thisEntry["Name"] = dumpType + " Dump Entry";
 
-                thisEntry["Oem"]["OpenBmc"]["@odata.type"] =
-                    "#OemLogEntry.v1_0_0.OpenBmc";
-                thisEntry["Oem"]["OpenBmc"]["AdditionalDataSizeBytes"] = size;
+                thisEntry["AdditionalDataSizeBytes"] = size;
 
                 if (dumpType == "BMC")
                 {
-                    thisEntry["Oem"]["OpenBmc"]["DiagnosticDataType"] =
-                        "Manager";
+                    thisEntry["DiagnosticDataType"] = "Manager";
+                    thisEntry["AdditionalDataURI"] =
+                        "/redfish/v1/Managers/bmc/LogServices/Dump/"
+                        "attachment/" +
+                        entryID;
                 }
                 else if (dumpType == "System")
                 {
-                    thisEntry["Oem"]["OpenBmc"]["DiagnosticDataType"] = "OEM";
-                    thisEntry["Oem"]["OpenBmc"]["OEMDiagnosticDataType"] =
-                        "System";
+                    thisEntry["DiagnosticDataType"] = "OEM";
+                    thisEntry["OEMDiagnosticDataType"] = "System";
+                    thisEntry["AdditionalDataURI"] =
+                        "/redfish/v1/Systems/system/LogServices/Dump/"
+                        "attachment/" +
+                        entryID;
                 }
             }
             asyncResp->res.jsonValue["Members@odata.count"] =
@@ -649,7 +653,7 @@
                 }
 
                 asyncResp->res.jsonValue["@odata.type"] =
-                    "#LogEntry.v1_5_1.LogEntry";
+                    "#LogEntry.v1_7_0.LogEntry";
                 asyncResp->res.jsonValue["@odata.id"] = dumpPath + entryID;
                 asyncResp->res.jsonValue["Id"] = entryID;
                 asyncResp->res.jsonValue["EntryType"] = "Event";
@@ -657,33 +661,22 @@
                     crow::utility::getDateTime(timestamp);
                 asyncResp->res.jsonValue["Name"] = dumpType + " Dump Entry";
 
-                asyncResp->res.jsonValue["Oem"]["OpenBmc"]["@odata.type"] =
-                    "#OemLogEntry.v1_0_0.OpenBmc";
-                asyncResp->res
-                    .jsonValue["Oem"]["OpenBmc"]["AdditionalDataSizeBytes"] =
-                    size;
+                asyncResp->res.jsonValue["AdditionalDataSizeBytes"] = size;
 
                 if (dumpType == "BMC")
                 {
-                    asyncResp->res
-                        .jsonValue["Oem"]["OpenBmc"]["DiagnosticDataType"] =
-                        "Manager";
-                    asyncResp->res
-                        .jsonValue["Oem"]["OpenBmc"]["AdditionalDataURI"] =
+                    asyncResp->res.jsonValue["DiagnosticDataType"] = "Manager";
+                    asyncResp->res.jsonValue["AdditionalDataURI"] =
                         "/redfish/v1/Managers/bmc/LogServices/Dump/"
                         "attachment/" +
                         entryID;
                 }
                 else if (dumpType == "System")
                 {
-                    asyncResp->res
-                        .jsonValue["Oem"]["OpenBmc"]["DiagnosticDataType"] =
-                        "OEM";
-                    asyncResp->res
-                        .jsonValue["Oem"]["OpenBmc"]["OEMDiagnosticDataType"] =
+                    asyncResp->res.jsonValue["DiagnosticDataType"] = "OEM";
+                    asyncResp->res.jsonValue["OEMDiagnosticDataType"] =
                         "System";
-                    asyncResp->res
-                        .jsonValue["Oem"]["OpenBmc"]["AdditionalDataURI"] =
+                    asyncResp->res.jsonValue["AdditionalDataURI"] =
                         "/redfish/v1/Systems/system/LogServices/Dump/"
                         "attachment/" +
                         entryID;
@@ -2033,7 +2026,7 @@
         asyncResp->res.jsonValue["@odata.id"] =
             "/redfish/v1/Managers/bmc/LogServices/Dump";
         asyncResp->res.jsonValue["@odata.type"] =
-            "#LogService.v1_1_0.LogService";
+            "#LogService.v1_2_0.LogService";
         asyncResp->res.jsonValue["Name"] = "Dump LogService";
         asyncResp->res.jsonValue["Description"] = "BMC Dump LogService";
         asyncResp->res.jsonValue["Id"] = "Dump";
@@ -2044,11 +2037,9 @@
             {"#LogService.ClearLog",
              {{"target", "/redfish/v1/Managers/bmc/LogServices/Dump/"
                          "Actions/LogService.ClearLog"}}},
-            {"Oem",
-             {{"#OemLogService.CollectDiagnosticData",
-               {{"target",
-                 "/redfish/v1/Managers/bmc/LogServices/Dump/"
-                 "Actions/Oem/OemLogService.CollectDiagnosticData"}}}}}};
+            {"#LogService.CollectDiagnosticData",
+             {{"target", "/redfish/v1/Managers/bmc/LogServices/Dump/"
+                         "Actions/LogService.CollectDiagnosticData"}}}};
     }
 };
 
@@ -2135,8 +2126,8 @@
   public:
     BMCDumpCreate(App& app) :
         Node(app, "/redfish/v1/Managers/bmc/LogServices/Dump/"
-                  "Actions/Oem/"
-                  "OemLogService.CollectDiagnosticData/")
+                  "Actions/"
+                  "LogService.CollectDiagnosticData/")
     {
         entityPrivileges = {
             {boost::beast::http::verb::get, {{"Login"}}},
@@ -2204,7 +2195,7 @@
         asyncResp->res.jsonValue["@odata.id"] =
             "/redfish/v1/Systems/system/LogServices/Dump";
         asyncResp->res.jsonValue["@odata.type"] =
-            "#LogService.v1_1_0.LogService";
+            "#LogService.v1_2_0.LogService";
         asyncResp->res.jsonValue["Name"] = "Dump LogService";
         asyncResp->res.jsonValue["Description"] = "System Dump LogService";
         asyncResp->res.jsonValue["Id"] = "Dump";
@@ -2216,11 +2207,9 @@
             {"#LogService.ClearLog",
              {{"target", "/redfish/v1/Systems/system/LogServices/Dump/Actions/"
                          "LogService.ClearLog"}}},
-            {"Oem",
-             {{"#OemLogService.CollectDiagnosticData",
-               {{"target",
-                 "/redfish/v1/Systems/system/LogServices/Dump/Actions/Oem/"
-                 "OemLogService.CollectDiagnosticData"}}}}}};
+            {"#LogService.CollectDiagnosticData",
+             {{"target", "/redfish/v1/Systems/system/LogServices/Dump/Actions/"
+                         "LogService.CollectDiagnosticData"}}}};
     }
 };
 
@@ -2307,8 +2296,8 @@
   public:
     SystemDumpCreate(App& app) :
         Node(app, "/redfish/v1/Systems/system/LogServices/Dump/"
-                  "Actions/Oem/"
-                  "OemLogService.CollectDiagnosticData/")
+                  "Actions/"
+                  "LogService.CollectDiagnosticData/")
     {
         entityPrivileges = {
             {boost::beast::http::verb::get, {{"Login"}}},
diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py
index 17b98d0..517fd92 100755
--- a/scripts/update_schemas.py
+++ b/scripts/update_schemas.py
@@ -103,7 +103,7 @@
     </edmx:DataServices>
 """)
     # TODO:Issue#32 There's a bug in the script that currently deletes this
-    # schema (because it's an OEM schema). Because it's the only eight, and we
+    # schema (because it's an OEM schema). Because it's the only six, and we
     # don't update schemas very often, we just manually fix it. Need a
     # permanent fix to the script.
     metadata_index.write(
@@ -134,18 +134,6 @@
     metadata_index.write("    </edmx:Reference>\n")
 
     metadata_index.write(
-        "    <edmx:Reference Uri=\"/redfish/v1/schema/OemLogService_v1.xml\">\n")
-    metadata_index.write("        <edmx:Include Namespace=\"OemLogService\"/>\n")
-    metadata_index.write("        <edmx:Include Namespace=\"OemLogService.v1_0_0\"/>\n")
-    metadata_index.write("    </edmx:Reference>\n")
-
-    metadata_index.write(
-        "    <edmx:Reference Uri=\"/redfish/v1/schema/OemLogEntry_v1.xml\">\n")
-    metadata_index.write("        <edmx:Include Namespace=\"OemLogEntry\"/>\n")
-    metadata_index.write("        <edmx:Include Namespace=\"OemLogEntry.v1_0_0\"/>\n")
-    metadata_index.write("    </edmx:Reference>\n")
-
-    metadata_index.write(
         "    <edmx:Reference Uri=\"/redfish/v1/schema/OemSession_v1.xml\">\n")
     metadata_index.write("        <edmx:Include Namespace=\"OemSession\"/>\n")
     metadata_index.write("        <edmx:Include Namespace=\"OemSession.v1_0_0\"/>\n")
diff --git a/static/redfish/v1/$metadata/index.xml b/static/redfish/v1/$metadata/index.xml
index 0a3d878..e7f9d6d 100644
--- a/static/redfish/v1/$metadata/index.xml
+++ b/static/redfish/v1/$metadata/index.xml
@@ -2714,14 +2714,6 @@
         <edmx:Include Namespace="OemAccountService"/>
         <edmx:Include Namespace="OemAccountService.v1_0_0"/>
     </edmx:Reference>
-    <edmx:Reference Uri="/redfish/v1/schema/OemLogService_v1.xml">
-        <edmx:Include Namespace="OemLogService"/>
-        <edmx:Include Namespace="OemLogService.v1_0_0"/>
-    </edmx:Reference>
-    <edmx:Reference Uri="/redfish/v1/schema/OemLogEntry_v1.xml">
-        <edmx:Include Namespace="OemLogEntry"/>
-        <edmx:Include Namespace="OemLogEntry.v1_0_0"/>
-    </edmx:Reference>
     <edmx:Reference Uri="/redfish/v1/schema/OemSession_v1.xml">
         <edmx:Include Namespace="OemSession"/>
         <edmx:Include Namespace="OemSession.v1_0_0"/>
diff --git a/static/redfish/v1/JsonSchemas/OemLogEntry/index.json b/static/redfish/v1/JsonSchemas/OemLogEntry/index.json
deleted file mode 100644
index b38ac51..0000000
--- a/static/redfish/v1/JsonSchemas/OemLogEntry/index.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
-    "$id": "http://redfish.dmtf.org/schemas/v1/OemLogEntry.v1_0_0.json",
-    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_2_0.json",
-    "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
-    "definitions": {
-        "DiagnosticDataType": {
-            "enum": [
-                "Manager",
-                "PreOS",
-                "OS",
-                "OEM"
-            ],
-            "enumDescriptions": {
-                "Manager": "Indicates Manager diagnostic data.",
-                "OEM": "Indicates OEM diagnostic data.",
-                "OS": "Indicates Operating system(OS) diagnostic data.",
-                "PreOS": "Indicates Pre-OS diagnostic data."
-            },
-            "type": "string"
-        },
-        "OpenBmc": {
-            "additionalProperties": true,
-            "description": "Oem properties for OpenBmc.",
-            "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": {
-                "AdditionalDataSizeBytes": {
-                    "description": "The size of diagnostic data in bytes for the log entry if the entry type is `DUMP`.",
-                    "longDescription": "This property shall contain the size of diagnostic data in bytes for the log entry if the entry type is `DUMP`.",
-                    "readonly": true,
-                    "type": [
-                        "integer",
-                        "null"
-                    ]
-                },
-                "AdditionalDataURI": {
-                    "description": "The offload URI of the diagnostic data if the entry type is `DUMP`.",
-                    "longDescription": "This property shall contain the offload URI of the diagnostic data if the entry type is `DUMP`.",
-                    "readonly": true,
-                    "type": [
-                        "string",
-                        "null"
-                    ]
-                },
-                "DiagnosticDataType": {
-                    "anyOf": [
-                        {
-                            "$ref": "#/definitions/DiagnosticDataType"
-                        },
-                        {
-                            "type": "null"
-                        }
-                    ],
-                    "description": "The type of diagnostic data entry",
-                    "longDescription": "This property shall contain the type of diagnostic data entry.",
-                    "readonly": true
-                },
-                "OEMDiagnosticDataType": {
-                    "description": "The OEM type of diagnostic data entry",
-                    "longDescription": "This property shall contain the OEM type of diagnostic data entry.",
-                    "readonly": true,
-                    "type": [
-                        "string",
-                        "null"
-                    ]
-                }
-            },
-            "type": "object"
-        }
-    },
-    "owningEntity": "OpenBMC",
-    "release": "1.0",
-    "title": "#OemLogEntry.v1_0_0"
-}
diff --git a/static/redfish/v1/JsonSchemas/OemLogService/index.json b/static/redfish/v1/JsonSchemas/OemLogService/index.json
deleted file mode 100644
index 5a9ba08..0000000
--- a/static/redfish/v1/JsonSchemas/OemLogService/index.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
-    "$id": "http://redfish.dmtf.org/schemas/v1/OemLogService.v1_0_0.json",
-    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_2_0.json",
-    "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
-    "definitions": {
-        "Actions": {
-            "additionalProperties": false,
-            "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": {
-                "#OemLogService.CollectDiagnosticData": {
-                    "$ref": "#/definitions/CollectDiagnosticData"
-                }
-            },
-            "type": "object"
-        },
-        "CollectDiagnosticData": {
-            "additionalProperties": false,
-            "description": "This action is used to trigger the creation of a dump.",
-            "longDescription": "This action is used to trigger the creation of a dump.",
-            "parameters": {
-                "DiagnosticDataType": {
-                    "$ref": "#/definitions/DiagnosticDataType",
-                    "description": "The type of diagnostic data entry",
-                    "longDescription": "This property shall contain the type of diagnostic data entry.",
-                    "readonly": true,
-                    "requiredParameter": true
-                },
-                "OEMDiagnosticDataType": {
-                    "description": "The OEM type of diagnostic data entry",
-                    "longDescription": "This property shall contain the OEM type of diagnostic data entry.",
-                    "readonly": true,
-                    "requiredParameter": true,
-                    "type": "string"
-                }
-            },
-            "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": {
-                "target": {
-                    "description": "Link to invoke action",
-                    "format": "uri-reference",
-                    "type": "string"
-                },
-                "title": {
-                    "description": "Friendly action name",
-                    "type": "string"
-                }
-            },
-            "type": "object"
-        },
-        "DiagnosticDataType": {
-            "enum": [
-                "Manager",
-                "PreOS",
-                "OS",
-                "OEM"
-            ],
-            "enumDescriptions": {
-                "Manager": "Indicates Manager diagnostic data.",
-                "OEM": "Indicates OEM diagnostic data.",
-                "OS": "Indicates Operating system(OS) diagnostic data.",
-                "PreOS": "Indicates Pre-OS diagnostic data."
-            },
-            "type": "string"
-        }
-    },
-    "owningEntity": "OpenBMC",
-    "release": "1.0",
-    "title": "#OemLogService.v1_0_0"
-}
diff --git a/static/redfish/v1/schema/OemLogEntry_v1.xml b/static/redfish/v1/schema/OemLogEntry_v1.xml
deleted file mode 100644
index de57138..0000000
--- a/static/redfish/v1/schema/OemLogEntry_v1.xml
+++ /dev/null
@@ -1,72 +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="OemLogEntry">
-      <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
-    </Schema>
-
-    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemLogEntry.v1_0_0">
-      <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
-      <Annotation Term="Redfish.Release" String="1.0"/>
-
-      <ComplexType Name="OpenBmc" BaseType="Resource.OemObject">
-        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
-        <Annotation Term="OData.Description" String="Oem properties for OpenBmc."/>
-            <Property Name="AdditionalDataSizeBytes" Type="Edm.Int64">
-                <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
-                <Annotation Term="OData.Description" String="The size of diagnostic data in bytes for the log entry if the entry type is `DUMP`."/>
-                <Annotation Term="OData.LongDescription" String="This property shall contain the size of diagnostic data in bytes for the log entry if the entry type is `DUMP`."/>
-            </Property>
-            <Property Name="AdditionalDataURI" Type="Edm.String">
-                <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
-                <Annotation Term="OData.Description" String="The offload URI of the diagnostic data if the entry type is `DUMP`."/>
-                <Annotation Term="OData.LongDescription" String="This property shall contain the offload URI of the diagnostic data if the entry type is `DUMP`."/>
-            </Property>
-            <Property Name="DiagnosticDataType" Type="OemLogEntry.v1_0_0.DiagnosticDataType">
-                <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
-                <Annotation Term="OData.Description" String="The type of diagnostic data entry"/>
-                <Annotation Term="OData.LongDescription" String="This property shall contain the type of diagnostic data entry."/>
-            </Property>
-            <Property Name="OEMDiagnosticDataType" Type="Edm.String">
-                <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
-                <Annotation Term="OData.Description" String="The OEM type of diagnostic data entry"/>
-                <Annotation Term="OData.LongDescription" String="This property shall contain the OEM type of diagnostic data entry."/>
-            </Property>
-      </ComplexType>
-
-      <EnumType Name="DiagnosticDataType">
-        <Member Name="Manager">
-          <Annotation Term="OData.Description" String="Indicates Manager diagnostic data."/>
-        </Member>
-        <Member Name="PreOS">
-          <Annotation Term="OData.Description" String="Indicates Pre-OS diagnostic data."/>
-        </Member>
-        <Member Name="OS">
-          <Annotation Term="OData.Description" String="Indicates Operating system(OS) diagnostic data."/>
-        </Member>
-        <Member Name="OEM">
-          <Annotation Term="OData.Description" String="Indicates OEM diagnostic data."/>
-        </Member>
-      </EnumType>
-
-    </Schema>
-
-  </edmx:DataServices>
-</edmx:Edmx>
-
diff --git a/static/redfish/v1/schema/OemLogService_v1.xml b/static/redfish/v1/schema/OemLogService_v1.xml
deleted file mode 100644
index d76db2a..0000000
--- a/static/redfish/v1/schema/OemLogService_v1.xml
+++ /dev/null
@@ -1,56 +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://redfish.dmtf.org/schemas/v1/LogService_v1.xml">
-    <edmx:Include Namespace="LogService"/>
-    <edmx:Include Namespace="LogService.v1_0_0"/>
-  </edmx:Reference>
-
-  <edmx:DataServices>
-
-    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemLogService">
-      <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
-    </Schema>
-
-    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemLogService.v1_0_0">
-      <Annotation Term="Redfish.OwningEntity" String="OpenBMC"/>
-      <Annotation Term="Redfish.Release" String="1.0"/>
-
-      <Action Name="CollectDiagnosticData" IsBound="true">
-        <Parameter Name="OemLogService" Type="LogService.v1_0_0.OemActions"/>
-        <Annotation Term="OData.Description" String="This action is used to trigger the creation of a dump." />
-        <Annotation Term="OData.LongDescription" String="This action is used to trigger the creation of a dump." />
-          <Parameter Name="DiagnosticDataType" Type="OemLogService.v1_0_0.DiagnosticDataType" Nullable="false">
-              <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
-              <Annotation Term="OData.Description" String="The type of diagnostic data entry"/>
-              <Annotation Term="OData.LongDescription" String="This property shall contain the type of diagnostic data entry."/>
-          </Parameter>
-          <Parameter Name="OEMDiagnosticDataType" Type="Edm.String" Nullable="false">
-              <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
-              <Annotation Term="OData.Description" String="The OEM type of diagnostic data entry"/>
-              <Annotation Term="OData.LongDescription" String="This property shall contain the OEM type of diagnostic data entry."/>
-          </Parameter>
-      </Action>
-
-      <EnumType Name="DiagnosticDataType">
-        <Member Name="Manager">
-          <Annotation Term="OData.Description" String="Indicates Manager diagnostic data."/>
-        </Member>
-        <Member Name="PreOS">
-          <Annotation Term="OData.Description" String="Indicates Pre-OS diagnostic data."/>
-        </Member>
-        <Member Name="OS">
-          <Annotation Term="OData.Description" String="Indicates Operating system(OS) diagnostic data."/>
-        </Member>
-        <Member Name="OEM">
-          <Annotation Term="OData.Description" String="Indicates OEM diagnostic data."/>
-        </Member>
-      </EnumType>
-    </Schema>
-
-  </edmx:DataServices>
-</edmx:Edmx>
-