WSO2 has recently released a new version of the API Manager: version 2.0.0. So what are the new features of the product?
I will take you through some new features.
The API Manager consists of three packages to be downloaded.
- API Manager
- Tooling (For Eclise)
- Analytics (Full fledged Data Analytics Server, ready to be used)
The API Manager has a new component besides the Publisher, Store and Key Manager: the Traffic Manager. This component handles the throttling policies.
With the previous product it was possible to set throttling limits, i.e. 20 calls per minute allowed. With the new possible some more advanced policies can be configured.
Filtering based on properties:
- IP Address and range
- http request headers
- JWT claims
- Query parameters
Note that this dialog is shown when logging into the admin console: https://<APIMNGR>:9443/admin
Also custom throttling policies can be configured using the scripting language Siddhi. You can use the following keys to define the policy: resourceKey, userId, apiContext, apiVersion, appTenant, apiTenant, appId
It will also be easier to edit the subscription tiers and to add tiers.
This adds a lot of new possible use cases to the throttling possibilities of the api manager. The Message Broker and Complex Event Processor components are used to implement the traffic manager.
The Siddhi syntax is very technical of course but it is a good step.
The log analyzer is added and is especially usefull when you are not able to login to the server yourself. This can be the case in a multi-tenant cloud environment.
You are for example able to view the number of errors and warnings of the application.
I am wondering who usefull this feature is in standalone mode.
API Store look-and-feel
The API Store has a new theme and looks better. Some screen shots are shown below.
For the applications you are able to select the possible grant types fort he token generation of that application.
Configuring analytics with API Manager is easy when you use the analytics server package of the download page of API Manager. Then you just have to set Enable to true within the api-manager.xml configuration file. I think it will be more complex when you want to use an existing DAS or BAM server.
There have been added some more statistics on the usage of the APIs.
Geolocation based statistics is also possible to be configured.
It is also possible to configure realtime analytics and to receive mails when something extraordinary happens. Note that the admin and Publisher/Store possibilities differ. There are more possible settings as admin.
A client recently asked if he could receive mails when new api versions are available. Well WSO2 has added this feature. For now you have to configure that within some configuration files and not through a nice UI, and only a notification is sent when a new api version is available. However, the first step is taken to implement more notifications (for example when an api will become obsolete or deprecated).
This were some of the most important features added to the product. Will keep you informed in case I tried some more!