<div dir="ltr">So, I went ahead and created a PoC on what I mean could be done on the rails side of things on the previous email:<div><br></div><div><a href="https://github.com/cfcosta/dynamic-entity-poc">https://github.com/cfcosta/dynamic-entity-poc</a> , and specially this: <a href="https://github.com/cfcosta/dynamic-entity-poc/commit/01df9ca6bdc0f9580845a3311c3bdc4b5a9a25a5">https://github.com/cfcosta/dynamic-entity-poc/commit/01df9ca6bdc0f9580845a3311c3bdc4b5a9a25a5</a></div><div><br></div><div>It has some advantages from what we have now:</div><div><br></div><div>* Entity objects are not dependant on ActiveRecord, so we can use them as value objects anywhere we want.</div><div>* We can define some conditions on spawning objects, so that we can have, lets say, MutableServer and ImmutableServer as different classes</div><div><br></div><div>What do you guys think?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 26, 2017 at 10:25 AM, Heiko W.Rupp <span dir="ltr">&lt;<a href="mailto:hrupp@redhat.com" target="_blank">hrupp@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 26 May 2017, at 5:58, Josejulio Martinez Magana wrote:<br>
<br>
&gt;&gt; Do we really need to drive off an agent or server-side config?  Perhaps<br>
</span><span class="">&gt; +1<br>
&gt; I think we should consider this option. The agent provides general<br>
<br>
</span>I am not married to the agent providing this metadata, which<br>
is shown by the &quot;or on the server&quot; part ;-)<br>
<br>
Driving the UI from metadata on the Hawkular-services<br>
side allows us to add support for new kinds of servers<br>
- outside of MiQ release cycles<br>
- by the people that write those servers without them becoming MiQ experts<br>
<br>
Also issues like e.g. a missing property can be fixed on the H-S<br>
side by adding this to the metdata.<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">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/<wbr>mailman/listinfo/hawkular-dev</a><br>
</div></div></blockquote></div><br></div>