summaryrefslogtreecommitdiffstats
path: root/serialize.hpp
Commit message (Collapse)AuthorAgeFilesLines
* formatter: update clang-format and fix-up file(s)Patrick Venture2018-10-141-2/+2
| | | | | | | | clang-format-6.0 introduced new changes, also then updates to .clang-format introduce more new changes. Change-Id: Iec9f84e3a7a5bf254d66eee46cdc9b3070e06687 Signed-off-by: Patrick Venture <venture@google.com>
* Enable clang-formatBrad Bishop2018-03-291-3/+2
| | | | | | | Fix up problems and enable clang-format during CI builds. Change-Id: Ia5c88281f7090c0aa09ba586d968f1fcd8aba4f1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add support for type-only interfacesMarri Devender Rao2017-09-291-0/+15
| | | | | | | | | | Modify Maker template for type-only interfaces that do not have properties. Resolves openbmc/openbmc#1786 Change-Id: I2c48b37cf273943a0c696f6b92db0bc901a1c9b4 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* phosphor-inventory: Fix for deserialize cereal exceptionJayanth Othayoth2017-09-191-4/+15
| | | | | | | | | This commit provides a fix for an issue in which the cereal deserialize() would crash the phosphor-inventory, incase persistence file is empty in restore path. Change-Id: Id1d40a0e401af8acea92775d1f3337c8a897a7ec Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* inventory: implement deserializationDeepak Kodihalli2017-08-231-0/+21
| | | | | | | | | Use Cereal to deserialize inventory information persisted in the filesystem and restore that to create inventory d-bus objects. Perform the restore when the app starts. Change-Id: I0f36a9cbdde223e4bfd9e178e33f5677217ba881 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* inventory: implement serializationDeepak Kodihalli2017-08-231-0/+34
Use Cereal to serialize and persist inventory items to the filesystem. Serialize inventory objects as and when they're created/updated via the notify() API. Create a template API to perform serialization on the sdbusplus inventory interface type. An inventory item path /foo/bar/baz implementing interfaces iface1 and iface2 would be stored in paths /foo/bar/baz/iface1 and /foo/bar/baz/iface2. Change-Id: I9a175185eac1740d6f2ca86a3ee13457edfc8ea9 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
OpenPOWER on IntegriCloud