Updates for new association interface

The association interface name changed to
xyz.openbmc_project.Association.Definitions and its property changed to
Associations.  Update the code accordingly.

Tested: Created an event log with a callout association, and verified
that the correct callout object was created.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Id48b6f2093410757ca6119cda09544d81f708ba5
diff --git a/configure.ac b/configure.ac
index c789863..c540350 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,7 +72,7 @@
           [The xyz logging busname])
 AC_DEFINE(IBM_LOGGING_BUSNAME, "com.ibm.Logging",
           [The IBM log manager DBus busname to own])
-AC_DEFINE(ASSOC_IFACE, "org.openbmc.Associations",
+AC_DEFINE(ASSOC_IFACE, "xyz.openbmc_project.Association.Definitions",
           [The associations interface])
 AC_DEFINE(ASSET_IFACE, "xyz.openbmc_project.Inventory.Decorator.Asset",
           [The asset interface])
diff --git a/manager.cpp b/manager.cpp
index 2342743..7055e43 100644
--- a/manager.cpp
+++ b/manager.cpp
@@ -193,7 +193,7 @@
     }
 
     const auto& properties = associations->second;
-    auto assocProperty = properties.find("associations");
+    auto assocProperty = properties.find("Associations");
     auto assocValue =
         sdbusplus::message::variant_ns::get<AssociationsPropertyType>(
             assocProperty->second);