EventService: Add the parameter ResourceTypes to subscription

This commit supports sending the ResourceTypes list while subscribing
to the events. The "Task" resource is added as a supported type to receive
the task life cycle events.
For IBM's management console along with the Task resource, the support
is provided to subscribe to the "IBMConfigFile" ResourceType to receive
events while creating/updating the ConfigFiles.

Tested by:
    1. GET https://${bmc}/redfish/v1/EventService
    2. Create subscription :
       POST  https://${bmc}/redfish/v1/EventService/Subscriptions
       -d '{"Destination" : <>, "Protocol":"Redfish", "ResourceTypes": ["Task"]}'
    3. GET https://${bmc}/redfish/v1/EventService/Subscriptions/<id>
    3. Redfish validator was run successfully

Signed-off-by: Sunitha Harish <sunharis@in.ibm.com>
Change-Id: Ibaf3f4f5f005a1beedf0a1cd049ae11d93a3af36
diff --git a/include/ibm/management_console_rest.hpp b/include/ibm/management_console_rest.hpp
index 525c27d..3038916 100644
--- a/include/ibm/management_console_rest.hpp
+++ b/include/ibm/management_console_rest.hpp
@@ -143,15 +143,15 @@
                                   pathObj.filename().string());
         }
     }
-    res.jsonValue["@odata.type"] = "#FileCollection.v1_0_0.FileCollection";
+    res.jsonValue["@odata.type"] = "#IBMConfigFile.v1_0_0.IBMConfigFile";
     res.jsonValue["@odata.id"] = "/ibm/v1/Host/ConfigFiles/";
     res.jsonValue["Id"] = "ConfigFiles";
     res.jsonValue["Name"] = "ConfigFiles";
 
     res.jsonValue["Members"] = std::move(pathObjList);
-    res.jsonValue["Actions"]["#FileCollection.DeleteAll"] = {
+    res.jsonValue["Actions"]["#IBMConfigFiles.DeleteAll"] = {
         {"target",
-         "/ibm/v1/Host/ConfigFiles/Actions/FileCollection.DeleteAll"}};
+         "/ibm/v1/Host/ConfigFiles/Actions/IBMConfigFiles.DeleteAll"}};
     res.end();
 }
 
@@ -554,7 +554,7 @@
             });
 
     BMCWEB_ROUTE(app,
-                 "/ibm/v1/Host/ConfigFiles/Actions/FileCollection.DeleteAll")
+                 "/ibm/v1/Host/ConfigFiles/Actions/IBMConfigFiles.DeleteAll")
         .requires({"ConfigureComponents", "ConfigureManager"})
         .methods(boost::beast::http::verb::post)(
             [](const crow::Request& req, crow::Response& res) {