Agreed


On Aug 2, 2017, 09:51, at 09:51, Thomas Draier <[email protected]> wrote:
><pre class="blue">Hi,<br /><br />+1 for cleaning tags and removing the
>explicit tag hierarchy.<br /><br />If you have a script that
>automatically add parents tags, getting all items<br />for a specific
>tag will be much easier ad faster - no need to do  recursive<br />calls
>to look for all parent tags. The drawback is that all<br
>/>recursive/includeFromSubtags parameters in getXxByTags methods will
>not<br />work anymore, it won't be possible to not include sub tags.
>Internally all<br />calls are done with including sub tags, so no
>impact here - however in the<br />rest api the default value for these
>params are "false". This will change<br />the api, but I don't know if
>these parameters really make sense anyway ?<br />Still in REST api, you
>won't get the subTags anymore. You will only be able<br />to get a flat
>list of tags, returned by an aggregate query. These are<br />changes in
>the public api, but if everybody agrees i'm completely for it.<br />We
>just need to deprecate these methods and do the changes in a major<br
>/>version.<br /><br />Also, note that the script will update existing
>data, but beware that<br />bundles may reimport
>condition/action/properties with tags, that do not<br />include their
>parents. Old plugins may not be compatible and their json<br />will
>need to be updated.<br /><br />Thomas<br /><br /><br /><br />On Tue,
>Aug 1, 2017 at 2:20 PM Damien GAILLARD &lt;[email protected]&gt;
>wrote:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt
>0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hi
>all,<br /><br /> We are planning on refactoring a bit the tags in
>Apache Unomi and as we are<br /> planning to release 1.2.0 soon we want
>to deprecate a number of associated<br /> functions so we can remove
>them in the next release.<br /><br /> As of today, the tags are not
>easy to extend because they are not persisted<br /> in ES, but
>in-memory which is a problem in a cluster environment (e.g. if<br />
>you add a new tag you need to make sure all clusters know about it
>and<br /> they will disappear after next restart).<br /> Also, they
>have a hierarchy so what we would like to do is remove the<br />
>hierarchy and remove the in-memory map so the tags will be an open
>string<br /> list.<br /> Of course, a script executed at the startup
>will add the parent tag to the<br /> children etc...<br /><br /> If you
>have any other ideas to change the behaviour of the tags, please<br />
>share.<br /><br /> Cheers<br /><br /> --<br /> Damien GAILLARD<br />
>Software Developer<br /> &lt;<br /> <a
>href="https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax";>https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax</a><br
>/><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex;
>border-left: 1px solid #ad7fa8; padding-left: 1ex;"><br /></blockquote>
>&lt;<br /> <a
>href="https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax";>https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax</a><br
>/><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex;
>border-left: 1px solid #ad7fa8; padding-left: 1ex;"><br /></blockquote>
>8 rue du sentier | 75002 | France<br /> &lt;<br /> <a
>href="https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax";>https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax</a><br
>/><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex;
>border-left: 1px solid #ad7fa8; padding-left: 1ex;"><br /></blockquote>
>&lt;<br /> <a
>href="https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax";>https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax</a><br
>/><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex;
>border-left: 1px solid #ad7fa8; padding-left: 1ex;"><br /></blockquote>
><a href="http://jahia.com";>jahia.com</a> &lt;<a
>href="http://www.jahia.com";>http://www.jahia.com</a>/&gt;<br /> SKYPE |
>TWITTER &lt;<a href="https://twitter.com";>https://twitter.com</a>/&gt;
>| VCARD<br /> &lt;<a
>href="http://www.jahia.com/vcard/GaillardDamien.vcf";>http://www.jahia.com/vcard/GaillardDamien.vcf</a>&gt;<br
>/><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex
>0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> JAHIA
>&lt;<a href="http://www.jahia.com";>http://www.jahia.com</a>/&gt;
>empowers organizations to create<br /></blockquote> sophisticated
>websites that drive their business growth</blockquote><br /></pre>

Reply via email to