<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-inventory-manager/example, branch master</title>
<subtitle>OpenBMC Phosphor inventory manager sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-inventory-manager/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-inventory-manager/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/'/>
<updated>2019-04-12T19:58:30+00:00</updated>
<entry>
<title>serialization: Add cereal support for tuples</title>
<updated>2019-04-12T19:58:30+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2019-04-12T19:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/commit/?id=1f4c70a8607f332a505002992825b66ce84a1cfd'/>
<id>urn:sha1:1f4c70a8607f332a505002992825b66ce84a1cfd</id>
<content type='text'>
Add cereal/types/tuple.hpp to our pimgen generated serialization code so
we can serialize xyz.openbmc_project.Association.Definitions

Change-Id: I0fff8eb7c07cbc427aeb6dd65c557b773a9592c2
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>serialization: use the same inflection as sdbus++</title>
<updated>2019-04-12T19:57:36+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2019-04-12T18:05:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/commit/?id=3864659ed532ade6b06fa3e833a2bebb177e5d5f'/>
<id>urn:sha1:3864659ed532ade6b06fa3e833a2bebb177e5d5f</id>
<content type='text'>
When generating code sdbus++ uses python inflection to normalize names.
Use the sdbus++ module that does this when we generate the code that
calls methods in code generated by sdbus++.  This avoids build failures
like:

gen_serialization.hpp:22:68: error: ‘const class
sdbusplus::xyz::openbmc_project::Example::server::Iface2’ has no member
named ‘example_Property4’; did you mean ‘exampleProperty4’?

Change-Id: I4b6dbb1f977465ea176f27d021ed2633ae40c37b
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>Generate functor to read a property</title>
<updated>2018-10-23T14:23:08+00:00</updated>
<author>
<name>Matthew Barth</name>
<email>msbarth@us.ibm.com</email>
</author>
<published>2018-10-05T20:29:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/commit/?id=979eb591652fba30f86ec5b7f5c5f73c06651c70'/>
<id>urn:sha1:979eb591652fba30f86ec5b7f5c5f73c06651c70</id>
<content type='text'>
Given the dbus member class for an interface and property hosted by
inventory manager, generate the getProperty functor for retrieving that
property from inventory. This ability is only supported when using the
`PropertyIs` functor to compare a property within inventory to a given
value before triggering an action.

Example yaml:
filters:
    - name: propertyIs
      service: xyz.openbmc_project.Inventory.Manager
      path: /system/chassis
      interface: xyz.openbmc_project.Inventory.Decorator.CoolingType
      property: WaterCooled
      value:
          value: true
          type: boolean
      dbusMember: "sdbusplus::xyz::openbmc_project::Inventory::\
                Decorator::server::CoolingType"

Generates:
make_filter(functor::propertyIs(
    "/system/chassis",
    "xyz.openbmc_project.Inventory.Decorator.CoolingType",
    "WaterCooled",
    true,
    "xyz.openbmc_project.Inventory.Manager",
    make_get_property&lt;&gt;
    (
        functor::getProperty&lt;sdbusplus::xyz::openbmc_project::
            Inventory::Decorator::server::CoolingType&gt;
        (
            "/system/chassis",
            "xyz.openbmc_project.Inventory.Decorator.CoolingType",
            &amp;sdbusplus::xyz::openbmc_project::Inventory::
                Decorator::server::CoolingType::getPropertyByName,
            "WaterCooled"
        )
    )
))

Tested:
    Code generated as expected with service name given
    Code generated as expected without service name given

Resolves: openbmc/phosphor-inventory-manager#1

Change-Id: I5600854a1b0b9ce3e1511d3bcd9a452d6b1107ba
Signed-off-by: Matthew Barth &lt;msbarth@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add support for type-only interfaces</title>
<updated>2017-09-29T09:35:30+00:00</updated>
<author>
<name>Marri Devender Rao</name>
<email>devenrao@in.ibm.com</email>
</author>
<published>2017-09-02T09:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/commit/?id=fa23d704bd8f0f940ac2dbe055db1763c977005d'/>
<id>urn:sha1:fa23d704bd8f0f940ac2dbe055db1763c977005d</id>
<content type='text'>
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 &lt;devenrao@in.ibm.com&gt;
</content>
</entry>
<entry>
<title>pimgen: Remove interfaces.d</title>
<updated>2017-02-15T17:43:18+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2017-02-06T17:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/commit/?id=834989f3d65e32b18f8a796976d8c116238b016b'/>
<id>urn:sha1:834989f3d65e32b18f8a796976d8c116238b016b</id>
<content type='text'>
Obtain the information encoded in this file via scanning
the filesystem for interface files.

Add an interfaces-dir option to specify the filesystem path to scan.

Change-Id: I7f5220b515a012d6c6e504f54e4fcb324e6f1f87
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;wip
</content>
</entry>
<entry>
<title>Add path conditions</title>
<updated>2017-02-15T17:43:18+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2017-01-30T13:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/commit/?id=d0f48adcb11d1640cc906446f6222c2b95052cb5'/>
<id>urn:sha1:d0f48adcb11d1640cc906446f6222c2b95052cb5</id>
<content type='text'>
Add support to setProperty and destroyObject to conditionally
perform their action based on the result of a condition testing
functor.

Change-Id: I67ded31f4a7ee0f7a29bb6edc06ebf9249cdc070
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>setProperty: Allow multiple objects</title>
<updated>2017-02-15T17:43:18+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2017-01-29T04:25:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/commit/?id=02ca0219c1e20f4f51eba068a9a9e272a60f7385'/>
<id>urn:sha1:02ca0219c1e20f4f51eba068a9a9e272a60f7385</id>
<content type='text'>
Allow multiple objects when using the setProperty action.

Change-Id: Ie65b9abee6240d6a6541b9778d4bf776010f865d
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>Improve example descriptions</title>
<updated>2017-02-02T03:30:04+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2017-01-31T19:43:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/commit/?id=56907e32196fa7e835a54b5e22f771686d619e13'/>
<id>urn:sha1:56907e32196fa7e835a54b5e22f771686d619e13</id>
<content type='text'>
These were all labeled: Example Match - improve the
description slightly.

Change-Id: I1ec78c6512fb66423193b5ce0f42b0fc41cdcc45
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>Add support for application startup events.</title>
<updated>2017-02-02T03:30:04+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2017-01-22T03:17:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/commit/?id=3e4a19a3983b48c6d558d30711ec979e37e17f2b'/>
<id>urn:sha1:3e4a19a3983b48c6d558d30711ec979e37e17f2b</id>
<content type='text'>
Allow clients to specify filters and actions that trigger
on application startup.

Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
Change-Id: Ib36c5bab778d7c87906dd3f61a3a6e033c7ccde1
</content>
</entry>
<entry>
<title>Add support for createObjects action</title>
<updated>2017-02-01T21:28:34+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2017-01-22T05:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-inventory-manager/commit/?id=eb68a687575b31d5d69a8ed9a26a2a0877ebec57'/>
<id>urn:sha1:eb68a687575b31d5d69a8ed9a26a2a0877ebec57</id>
<content type='text'>
Change-Id: I999a5e506a236eac8ca0944b0e2b003c57612e54
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
</feed>
