Fix EventDesition schema version usage
EventService Subscription adds `VerifyCertificate`, but it needs
to use #EventDestination schema version 1.9.0 [1] or higher.
Before the fix, Redfish Service Validator gives the error like
```
1 failAdditional errors in /redfish/v1/EventService/Subscriptions/4022728919
1 fails errors in /redfish/v1/EventService/Subscriptions/4022728919
ERROR - VerifyCertificate not defined in schema EventDestination.v1_8_0 (check version, spelling and casing)
```
Tested:
- Redfish Service Validator passes
[1] http://redfish.dmtf.org/schemas/v1/EventDestination.v1_9_0.json
Change-Id: Id9ece4bd1b69aaa004ab6db863900942023c09ec
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
diff --git a/redfish-core/lib/event_service.hpp b/redfish-core/lib/event_service.hpp
index ff3de82..89487e9 100644
--- a/redfish-core/lib/event_service.hpp
+++ b/redfish-core/lib/event_service.hpp
@@ -676,7 +676,7 @@
const std::string& id = param;
asyncResp->res.jsonValue["@odata.type"] =
- "#EventDestination.v1_8_0.EventDestination";
+ "#EventDestination.v1_14_1.EventDestination";
asyncResp->res.jsonValue["Protocol"] =
event_destination::EventDestinationProtocol::Redfish;
asyncResp->res.jsonValue["@odata.id"] = boost::urls::format(