<div dir="ltr">Yes, I’m gonna build the inventory for vertx applications.<div>So I have to create a feed for it.</div><div><br></div><div>Thanks!</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 21, 2016 at 7:55 PM Lukas Krejci &lt;<a href="mailto:lkrejci@redhat.com">lkrejci@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Austin,<br>
<br>
Inventory offers a /hawkular/inventory/sync endpoint that is used to<br>
synchronize the &quot;world view&quot; of feeds (feed being something that pushes data<br>
into inventory).<br>
<br>
You said though that a &quot;user creates&quot; the resources, so I am not sure if /sync<br>
would be applicable to your scenario. Would you please elaborate more on where<br>
in the inventory hierarchy you create your resources and how? I.e. are you<br>
using some sort of feed akin to Hawkular&#39;s Wildfly Agent or are you just<br>
creating your resources &quot;manually&quot; under environments?<br>
<br>
On Tuesday, June 21, 2016 02:20:33 AM Austin Kuo wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I’m currently investigating how to sync with inventory server.<br>
&gt; Here’s the example scenario:<br>
&gt; Consider the following problem. A user creates version 1 of the app with<br>
&gt; two http servers, one listening on port 8080, the other on port 8181. In<br>
&gt; version 2, the http server listening on port 8181 is no longer needed.<br>
&gt; When the old version is stopped and the new version started, there will be<br>
&gt; just one http server listening. The application is not aware of the<br>
&gt; previous state. What should we do so that the second http server is removed<br>
&gt; from Inventory?<br>
&gt;<br>
&gt; Thanks in advance.<br>
<br>
--<br>
Lukas Krejci<br>
<br>
_______________________________________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org" target="_blank">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
</blockquote></div>