<div dir="ltr">Sorry for the delay, <div><br></div><div>Thank you very much for your help</div><div><br></div><div>Regards </div><div>-Ijlal</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-23 17:44 GMT+02:00 Eric Wittmann <span dir="ltr">&lt;<a href="mailto:eric.wittmann@redhat.com" target="_blank">eric.wittmann@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry for the delay.  I&#39;ve been thinking about this a little bit.<br>
<br>
I think the answer depends a lot on your specific requirements. Obviously if you want fully integrated billing support in the UI and gateway, you&#39;ll have to wait for the official feature.<br>
<br>
However, if you just want to collect usage data and then use that information to send invoices to users, you could implement a custom policy to do that.<br>
<br>
Here are some resources to help you learn how to implement an apiman plugin:<br>
<br>
<a href="http://www.apiman.io/latest/developer-guide.html#_plugins" rel="noreferrer" target="_blank">http://www.apiman.io/latest/developer-guide.html#_plugins</a><br>
<br>
<a href="http://www.apiman.io/blog/plugins/policies/development/maven/2015/03/06/custom-policies.html" rel="noreferrer" target="_blank">http://www.apiman.io/blog/plugins/policies/development/maven/2015/03/06/custom-policies.html</a><br>
<br>
<a href="http://www.apiman.io/blog/policy/junit/testing/2015/05/09/policy-testing.html" rel="noreferrer" target="_blank">http://www.apiman.io/blog/policy/junit/testing/2015/05/09/policy-testing.html</a><br>
<br>
-Eric<br>
<br>
Note: our plugin support will be improving over time as well, in particular we&#39;ll be adding better support for upgrading plugins from older versions to newer ones.<span class=""><br>
<br>
<br>
<br>
<br>
On 6/22/2015 8:36 AM, Ijlal EL HAZITI wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Thank you for your quick answer<br>
<br>
Actually the billing is something I require quiet soon, so I&#39;d like you<br>
to be more explicit on how I can implement ot myself please.<br>
The easiest example would be perfect.<br>
Thank you very much<br>
<br>
Regards<br>
-Ijlal<br>
<br>
2015-06-22 13:44 GMT+02:00 Eric Wittmann &lt;<a href="mailto:eric.wittmann@redhat.com" target="_blank">eric.wittmann@redhat.com</a><br></span>
&lt;mailto:<a href="mailto:eric.wittmann@redhat.com" target="_blank">eric.wittmann@redhat.com</a>&gt;&gt;:<div><div class="h5"><br>
<br>
    Greetings.  Always happy to hear that things are going reasonably well!<br>
<br>
    The billing feature has not yet been implemented.  It is something<br>
    that is on the roadmap.<br>
<br>
    If billing is something you require sooner than we will be<br>
    supporting it, you would need to implement something yourself.<br>
    There are a few options for how you could do this, including a<br>
    custom policy or leveraging the metrics information that will be<br>
    available in version 1.1.4.Final.<br>
<br>
    Simple data accumulation for billing purposes is targeted for<br>
    version 1.2, which is a couple of months away.<br>
<br>
    -Eric<br>
<br>
<br>
    On 6/22/2015 4:23 AM, Ijlal EL HAZITI wrote:<br>
<br>
        Hi all,<br>
        I&#39;m quiet new to apiman, using it just from 3 days. I find it suuper<br>
        easy and complete.<br>
        I&#39;ve seen that billing is a possible use case, however I can&#39;t<br>
        find any<br>
        tutorial about how to implement it.<br>
        Should I add a plugin? or should I code it?<br>
        Thank you for your help :)<br>
<br>
        Regards<br>
<br>
        --<br>
        Cordialement<br>
        IjlaL EL HAZITI<br>
        *<br>
        *<br>
        *Etudiant Ingénieur Etudes et Développement*<br>
        *UBO - Master Professionnel de développement à l&#39;offshore des SI<br>
        *<br>
        *FSK  - Master Spécialisé Qualité du Logiciel*<br>
<br>
<br>
        _______________________________________________<br>
        Apiman-user mailing list<br></div></div>
        <a href="mailto:Apiman-user@lists.jboss.org" target="_blank">Apiman-user@lists.jboss.org</a> &lt;mailto:<a href="mailto:Apiman-user@lists.jboss.org" target="_blank">Apiman-user@lists.jboss.org</a>&gt;<span class=""><br>
        <a href="https://lists.jboss.org/mailman/listinfo/apiman-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/apiman-user</a><br>
<br>
<br>
<br>
<br>
--<br>
Cordialement<br>
IjlaL EL HAZITI<br></span><span class="">
*<br>
*<br>
*Etudiant Ingénieur Etudes et Développement*<br>
*UBO - Master Professionnel de développement à l&#39;offshore des SI<br>
*<br>
*FSK  - Master Spécialisé Qualité du Logiciel*<br>
</span></blockquote>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font size="2">Cord</font>iale<font size="2">ment</font></div><div>IjlaL EL HAZITI<div dir="ltr" style="font-size:12.8000001907349px"><span style="font-family:tahoma,sans-serif"><font color="#666666" size="1"><b><br></b></font></span></div><div dir="ltr" style="font-size:12.8000001907349px"><span style="color:rgb(102,102,102);font-size:x-small;font-family:tahoma,sans-serif"><b>Etudiant Ingénieur Etudes et Développement</b></span></div><div dir="ltr" style="font-size:12.8000001907349px"><b><span style="color:rgb(102,102,102);font-family:tahoma,sans-serif;font-size:x-small">UBO - Master Professionnel de développement à l&#39;offshore des SI</span><font color="#666666" face="tahoma, sans-serif" size="1"><br></font></b><div><span style="color:rgb(102,102,102);font-family:tahoma,sans-serif;font-size:x-small"><b>FSK  - Master Spécialisé Qualité du Logiciel</b></span></div></div></div><font size="2"></font></div></div></div></div>
</div>