Upgrading to Bash 4 on MacOS [Snippet]

#ICYMI: Incredibly, macOS Mojave comes with Bash 3.22 by default still. Apparently this is due to licensing reasons, however Bash 4 has lots of lovely features including associative arrays that I’d like use. Hence, after reading on the internet for a bit, I’ve installed it on my Mac. This turned out to require just 3 commands: $ brew install bash $ sudo bash -c ‘echo /usr/local/bin/bash >> /etc/shells’ $ chsh -s /usr/local/bin/bash

Close the terminal and open a new one, which now has Bash 4! https://goo.gl/8fVDut

CI/CD For API Development [WSO2 API Manager 2.6.0]

#ICYDK: Introduction 

WSO2 API Manager is a complete platform for lifecycle management of APIs. Although the API Manager comes with a built-in module to publish APIs, it’s not possible to apply CI/CD. To compensate this the API Manager provides a set of useful REST APIs and by using these APIs a CI/CD pipeline can be built easily.

Maven Plugin 

I have created a Maven Plugin using the exposed REST APIs and in this article, I will be showing how to use the plugin in your Maven Based projects to achieve the CI/CD. Please feel free to download/clone the plugin and modify it according to your needs. https://goo.gl/DAASjA