Tuesday 6 December 2016

Manage Bluemix Apps in your own Code using CloudFoundry APIs – Part 2

This post is second part of first section where I outlined the business requirement and possibilities of using Cloud Foundry APIs to schedule the Auto-Start/Stop of Applications in a particular Space.

Link to first Part: Part 1

You can access the Source code of application on Github:

https://github.com/tiwarivikas/bluemix-admin

Live Demo: http://bluemix-admin.mybluemix.net/


Screenshot of Application:


Tuesday 3 May 2016

Manage Bluemix Apps in your own Code using CloudFoundry APIs – Part 1

Bluemix provides a wonderful platform for rapidly developing innovative apps. The following series will guide how you can manage Bluemix applications from your own code.

This capability can be relevant to many UseCases like:

  • Auto-Schedule Start/Stop of Applications in Bluemix Dev Space based on team’s worktime.
  • Integrate Bluemix Application Deployment process with Organization’s Business Process.
  • Create Custom Dashboard displaying All Apps, Services, Billing Details, Usage
  • Setup Custom Notifications based on Bluemix account Usage details.

The Application provided is developed using NodeJS, Bootstrap V3 UI, CloudFoundry APIs, Cloudant Database, Bluemix SSO, Workload Scheduler service.

Following is the screenshot of Application and deployed at following URL:

https://bluemix-admin.mybluemix.net/

In next parts of the series, I’ll cover how to develop such capability.

bmxAdmin-screenshot

Tuesday 9 February 2016

Writing Blogs On the Move – Use ‘Open Live Writer’

I was using Windows Live Writer till last year, but Microsoft stopped updating the same sometime back..

Recently, the code was OpenSourced and a new Project “Open Live Writer” has been launched in Github !

This tool is the future of Windows Live Writer and already contains Security enhancements. So, now you can connect your favourite Blogs to OLW !

I am publishing this post from Open Live Writer..

Link: http://openlivewriter.org/

image

image

Welcome to my blog !

Welcome to my blog !!

Installing Syntax Highlighting.. https://github.com/google/code-prettify

Use one of the following formats to enable highlighting code in blog post.

<!--?prettify lang=js linenums=true?-->
<pre class="prettyprint">
addEventListener('load', function() {
  var code = document.querySelector('#code');
  var worker = new Worker('worker.js');
  worker.onmessage = function(event) { code.innerHTML = event.data; }
  worker.postMessage(code.textContent);
})

<pre class="prettyprint linenums">
addEventListener('load', function() {
  var code = document.querySelector('#code');
  var worker = new Worker('worker.js');
  worker.onmessage = function(event) { code.innerHTML = event.data; }
  worker.postMessage(code.textContent);
})