Custom rate-limiting policy for OSB services

LimitSign

A rate limiting policy is a policy which you can configure so that certain clients can only make a certain amount of calls on your service. For example you can make it SLA based. Another benefit is that you can prevent clients to flood your service which requests which can overload a backend system. This could be accidental or it might be on purpose (DDOS attack). Most API platforms like Continue ReadingCustom rate-limiting policy for OSB services

Enrich and transform data in ElasticSearch using Ingest Nodes

transformElastic

You can send or ingest all sorts of data in ElasticSearch and here and there you might have the need to enrich or transform certain data. ElasticSearch has some nice features for this. They are called ‘Ingest Nodes’: Ingest Nodes are a new type of Elasticsearch node you can use to perform common data transformation and enrichments. The Ingest Node has multiple built-in processors, for example grok, date, gsub, lowercase/uppercase, Continue ReadingEnrich and transform data in ElasticSearch using Ingest Nodes

Setup a watcher in Kibana to send email notifications

KibanaWatcher

In this blog I showed how you can hook up you SOA Suite stack to ElasticSearch and create dasboards to monitor and report. Another nice feature is that you can set a watcher to monitor the data for you and send emails or post something on Slack when the event occurs. For example I want to be notified by email when more then 25 errors occur in a minute. Lets Continue ReadingSetup a watcher in Kibana to send email notifications

Managing a simple Salesforce API using Anypoint platform.

APIManagement

In Part 1 we designed the API. In Part 2 we made the implementation and in Part 3 I will show you how you can manage the API. Lets get started. Our starting point is a deployed API which is publicly accessible. You can imagine you want at least some form of security for example a client-id en client-secret or IP whitelisting. Next to that you might want to make Continue ReadingManaging a simple Salesforce API using Anypoint platform.

Implementing a simple Salesforce API using Anypoint platform.

Implementation

In Part 1 we saw how you can easily design an API in Anypoint platform. In this next post I will show how to write an implemention of the API based on the design and how to deploy it to CloudHub. Let’s get started. Anypoint studio Start Anypoint studio and the File->New->MuleProject. The wizard opens up and you can then specify the name of the application. In my case Salesforce-API. Continue ReadingImplementing a simple Salesforce API using Anypoint platform.

Designing a simple Salesforce API using Anypoint platform.

RAML

Mulesoft offers an IPaaS platform in which you can design, document, implement, test, deploy, manage and consume API’s. In the next couple of blogs I will demonstrate how you can design a simple API using RAML, document and publish the API in Exchange. Then implement and deploy it and finally manage and monitor it. Lets get started. Prerequisite In the next set of blogs we will need a couple of Continue ReadingDesigning a simple Salesforce API using Anypoint platform.

Deployment strategies

Deployment

With Continuous Integration and Continuous Delivery being a best practice nowadays, you will encounter certain choices you will have to make when implementing it. One of those choices is deployment! Deployment sounds like an easy thing but can be quite complex. Usually it is dropping a war somewhere or starting a container but what if you already have a version running and you want to create zero downtime for your Continue ReadingDeployment strategies

Deploy your docker container on Azure Container Service

Azure

This post is the last post in the series of three. I am going to deploy my custom docker image on Azure using the Azure Container Service. For the other 2 see: Deploy your docker container on the Oracle Cloud, Deploy your docker container on Amazon EC2. Let’s get started. Create a container registry First we need to login to the Azure platform. If you don’t have an account yet, Continue ReadingDeploy your docker container on Azure Container Service

Add some Swag{ger} to your SpringBoot API

SpringFox

A while back we created a simple API with spring-boot. See here. One of the key thing is that people have to know how to find and use your API. You can have the coolest API in the world but if people can’t find it and don’t know how to use it….it rather useless. There are a few tools which can help us document our API. We can use Swagger, Continue ReadingAdd some Swag{ger} to your SpringBoot API