OK, the format of the data is less a concern to me - I just want to make sure what I want
is possible. I have no problem converting from bulk/ to sync/ if the agent gets this
create-and-automatic-update. And it sounds like it does.
I created a HWKAGENT JIRA for this:
https://issues.jboss.org/browse/HWKAGENT-119
----- Original Message -----
On čtvrtek 14. července 2016 8:41:44 CEST John Mazzitelli wrote:
> > Yes, /bulk is just for creating stuff. So if your entities already exist,
> > bulk just skips them, never updates. This is exactly what /sync is for.
>
> So can I assume I can just switch over my URL from "bulk/" to
"sync/" and
> things will just work as expected? (i.e. resources and their related data
> like config props that don't exist are created, resources and their related
> data that do exist are updated)??
Unfortunately the format of the data is different to what is used in /bulk.
It
still uses the various blueprint types but they are composed together
differently. Also, there now is a builder for the whole structure, so it
might
be easier for you to make use of it.
See
https://github.com/hawkular/hawkular-inventory/blob/master/hawkular-inven...
InventoryStructure.java#L348
--
Lukas Krejci