WSO2 API Management - UFF

Post on 18-Aug-2015

43 views 4 download

Transcript of WSO2 API Management - UFF

WSO2  –  API  Management  Organizing  your  APIs  the  right  way.  

Hugo  Arraes  Henley  hugohenley@id.uff.br  

What  happens  when  the  number  of  APIs  grows?  

How  can  we  control  our  APIs?  

API  Management  

WSO2  API  Manager  

Is  a  complete  solu-on  for  designing  and  publishing  APIs,  crea-ng  and  managing  a  developer  community.  

100%  Open  Source  

Advantages  •  100%  Open  Source  

•  API  gateway  hands  more  than  100M  requests/day  

•  You  can  use  each  component  as  a  node  in  your  cluster  to  handle  even  more  requests  

•  Can  use  LDAP  for  access  control  

•  Decouple  your  APIs  

Advantages  •  Clustering  

•  Public  Store  

•  OAuth2  by  default,  no  implementaJon  needed  

•  Limit  requests  per  user  per  day  

Architecture  

Publishing  an  API  

Publishing  an  API  

Publishing  an  API  

Publishing  an  API  

Publishing  an  API  

Store  

Store  

Create  an  Application  

Choose  an  API  

Subscribe  

Subscriptions  

Subscriptions  

Access  Token  Request  

Decode  Base64  

YA_2SdbdKbf38bw6IAx3_jCu3X4a:  _NGSM50jebkL0gDgv9cFRBHJMWQa  

Access  Token  Response  

{"scope":"am_applica-on_scope  default","token_type":"bearer","expires_in":3281,"access_token":"e2b31cb89ceb7eb4b887a01ced76bba7”}  

API  Request  

curl  -­‐k  -­‐H  "Accept:  applica-on/json"  -­‐-­‐header  "Authoriza-on:  Bearer  e2b31cb89ceb7eb4b887a01ced76bba7"  "hfps://172.17.0.34:8243/dados?iduff=12319231923"  

No  need  to  manage  API  Keys  yourself  

OAuth2!  

You  know  who  is  consuming  your  APIs  

You  can  manage  your  API’s  lifecycle  

You  can  manage  your  API’s  versions  

You  can  manage  your  API’s  subscrip-ons  

You  have  access  to  Sta-s-cs  

What  if  I  want  to  allow  Computer  Science  students  to  have  access  to  some  of  our  APIs?  

Now  we  have  the  power  of  many  students  to  make  our  applica-ons  even  befer!  

Now  we  have  the  power  of  many  students  to  make  our  applica-ons  even  befer!  

Now  we  have  the  power  of  many  nerds  to  make  our  applica-ons  even  befer!  

Why  not  STI  Open  Data?  

Why  not  STI  Open  Data?  

Why  not  STI  Dados  Abertos?  

Thanks!  

Hugo  Arraes  Henley  Solutions  Architect  hugohenley@id.uff.br