[Apiman-user] Billing
Eric Wittmann
eric.wittmann at redhat.com
Tue Jun 23 11:44:33 EDT 2015
Sorry for the delay. I've been thinking about this a little bit.
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'll have to wait for the official feature.
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.
Here are some resources to help you learn how to implement an apiman plugin:
http://www.apiman.io/latest/developer-guide.html#_plugins
http://www.apiman.io/blog/plugins/policies/development/maven/2015/03/06/custom-policies.html
http://www.apiman.io/blog/policy/junit/testing/2015/05/09/policy-testing.html
-Eric
Note: our plugin support will be improving over time as well, in
particular we'll be adding better support for upgrading plugins from
older versions to newer ones.
On 6/22/2015 8:36 AM, Ijlal EL HAZITI wrote:
> Thank you for your quick answer
>
> Actually the billing is something I require quiet soon, so I'd like you
> to be more explicit on how I can implement ot myself please.
> The easiest example would be perfect.
> Thank you very much
>
> Regards
> -Ijlal
>
> 2015-06-22 13:44 GMT+02:00 Eric Wittmann <eric.wittmann at redhat.com
> <mailto:eric.wittmann at redhat.com>>:
>
> Greetings. Always happy to hear that things are going reasonably well!
>
> The billing feature has not yet been implemented. It is something
> that is on the roadmap.
>
> If billing is something you require sooner than we will be
> supporting it, you would need to implement something yourself.
> There are a few options for how you could do this, including a
> custom policy or leveraging the metrics information that will be
> available in version 1.1.4.Final.
>
> Simple data accumulation for billing purposes is targeted for
> version 1.2, which is a couple of months away.
>
> -Eric
>
>
> On 6/22/2015 4:23 AM, Ijlal EL HAZITI wrote:
>
> Hi all,
> I'm quiet new to apiman, using it just from 3 days. I find it suuper
> easy and complete.
> I've seen that billing is a possible use case, however I can't
> find any
> tutorial about how to implement it.
> Should I add a plugin? or should I code it?
> Thank you for your help :)
>
> Regards
>
> --
> Cordialement
> IjlaL EL HAZITI
> *
> *
> *Etudiant Ingénieur Etudes et Développement*
> *UBO - Master Professionnel de développement à l'offshore des SI
> *
> *FSK - Master Spécialisé Qualité du Logiciel*
>
>
> _______________________________________________
> Apiman-user mailing list
> Apiman-user at lists.jboss.org <mailto:Apiman-user at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/apiman-user
>
>
>
>
> --
> Cordialement
> IjlaL EL HAZITI
> *
> *
> *Etudiant Ingénieur Etudes et Développement*
> *UBO - Master Professionnel de développement à l'offshore des SI
> *
> *FSK - Master Spécialisé Qualité du Logiciel*
More information about the Apiman-user
mailing list