Management of APIs with IBM Bluemix
Learn all about monitoring and management of APIs using IBM Bluemix with the API Management service.
Join the DZone community and get the full member experience.Join For Free
in the previous blog entries i described how to develop and document rest apis with spring boot and swagger and how to deploy spring boot applications to bluemix as docker containers . below i go one step further and explain how to manage and monitor apis on ibm bluemix via the api management service.
with the api management service you can manage your apis without having to write this functionality yourself and redundantly directly in the api implementations. for example you can define how to handle security and throttling and you can monitor which apis are invoked how often at which times by which applications. below i use the same simple greeting rest api from the previous blog entries and show how to enforce a client id and secret for applications.
existing apis can be imported via the swagger 2.0 format into the api management service.
in order to enforce a client id and secret you need to define security schemes and requirements and you need to select “identification” for each operation.
api providers create plans that can contain several apis, that can be versioned and that can be deployed to different environments.
developers register applications to receive client ids and secrets in the developer portal. with these credentials apis of specific plans can be used, either directly in applications or via the test/invocation tool that is available in the portal.
api providers can monitor the usage of their apis in the api management dashboard, e.g. they can filter api calls by application.
Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.