wso2con eu 2015: towards a winning api strategy

34
Towards a Winning API Strategy Sumedha Rubasinghe Director – API Architecture, WSO2

Upload: wso2

Post on 28-Jul-2015

185 views

Category:

Technology


0 download

TRANSCRIPT

Towards  a  Winning  API  Strategy  

Sumedha  Rubasinghe  Director  –  API  Architecture,  WSO2  

Lesson  #1:  Why  |  How  -­‐  APIs?  

Why  &  How  –  API  Strategy  

•  Why  would  you  need  an  API?  •  Public  |  Private    -­‐  API?  •  API  as  a  Product  |  API  as  of  business  ?  •  Who  is  your  target  audience?  

Lesson  #2  :  Define  Expected  Outcome  

Lesson  #3:  APIs  are  only  front  facing.  Focus  on  IntegraRon.  

Focus  on  IntegraRon  

•  APIs  expose  backend  funcRonality  •  SOA  vs.  API  •  API  should  connect  to  exisRng  User  Management  Systems  – Eco  System  

•  API  Developer,  API  Consumer  (external  developer),  End  User  

•  MediaRon  –  API  Façade  PaZern  

Lesson  #4:  AdverRse  Your  APIs  

AdverRse  Your  APIs  

•  Applicable  to  Private  |  Public  APIs  •  API  Portal  – Discoverable  – DescripRve  – Organized  – SubscripRon  Ready  – Trying  out  &  Tooling  

•  Create  moRvaRon  to  use  APIs  &  build  Apps  

AdverRse  Your  APIs  

AdverRse  Your  APIs  

AdverRse  Your  APIs  

Lesson  #5  :  Evolve  

Keep  on  Improving  Your  APIs  

•  Step  1:  define  versioning  strategy  •  End  users  interact  with  Apps  •  Apps  use  APIs  •  APIs  should  support  the  ever  demanding  interacRon/usage  paZerns  –  Event  Driven  Programming  –  LocaRon  based  Caching  

•  Evolve  with  feedback  from  developer  community  •  Choose  correct  technology  (REST/SOAP,  XML/JSON)  

Lesson  #6  :  Measure  

Collect  StaRsRcs,  Analyze  &  Improve  

•  Put  in  place  systems  for  collecRng  staRsRcs  •  API  Usage  can  explode  -­‐>  More  staRsRcs  •  Scalable  StaRsRcs  storage  

Lesson  #7  :  Protect  Your  APIs  

Observe  Usage  PaZerns  &  Protect  

•  Measures  for  intruder  detecRon  – SQL  InjecRon  –  JSON/XML  aZacks  

•  Plan  a  failing  strategy  •  Extend/Control  with  workflows  – Eg:  who  can  subscribe,  generate  tokens,  publish  APIs  

Lesson  #8  :  Provide  Tooling  

Provide  Tooling  for  Developer  

•  Trying  out  APIs  •  CreaRng  Test  Plans  •  Status  Dashboard  •  Data  APIs  •  Provide  an  ApplicaRon  Development  Plakorm  

Lesson  #9  :  OperaRon  Planning  

Lesson  #10  :  Legal  ConsideraRons  

How  WSO2  API  Management  Plakorm  can  help?  

Complete  API  Management  Plakorm  

Customizable  API  Store  

Extensions  &  Workflow  Support  

Scalable  StaRsRcs  Processing  

VisualizaRon  Support  

Support  for  ALM  

Thank  You.