I have a few Spring Boot applications which I would like to add to my IBM DevOps Jazzhub projects. The following shows how to do this.Note: It's assumed you have the following to do this.
- Jazzhub DevOps account. https://hub.jazz.net/
- Existing Spring Boot application project
- Git client installed
1. Log into Jazz Hub using the URL below.https://hub.jazz.net/
2. Create a new project using the "+ Create Project
" button (more...)
The following demo is using the same code IBM Bluemix created when using the Experimental ASP .NET 5 runtime. This can be done using the CF CLI where we clone the project from jazzhub git repository.
1. Clone a sample project as followspas@Pass-MacBook-Pro:~/bluemix-apps/DOTNET$ git clone https://hub.jazz.net/git/pasapples/pas-donet-demo.git
Cloning into 'pas-donet-demo'...
remote: Counting objects: 24, done
remote: Finding sources: 100% (24/24)
remote: Total 24 (delta 0), reused 24 (delta 0)
Unpacking objects: (more...)
I decided to test out the Auto Scale service in IBM Bluemix following this example which shows how to also use the Blazemeter service to Load test the application to simulate extra memory requirement on the application.https://developer.ibm.com/bluemix/2015/04/03/handle-unexpected-bluemix-auto-scaling/
The demo is quite straight forward to setup and the screen shots below show what the service output gives in terms of auto scaling history and of course metric statistics for the selected policy configuration.Policy ConfigurationMetrics StatisticsScaling History
The following simple example shows how to push the basic hello world Python application to IBM Bluemix. We use the buildpack below.
1. Create a file called requirements.txtpas@pass-mbp:~/bluemix-apps/python-demo$ cat requirements.txt
2. Create a file called runtime.txt
to detail the Python version to usepas@pass-mbp:~/bluemix-apps/python-demo$ cat runtime.txt
3. Push the application using the buildpack above.
pas@pass-mbp:~/bluemix-apps/python-demo$ cf push pas-phython-demo -m 128m -b (more...)
I previously blogged about deploying a Meteor application to Bluemix as follows
The following Buildpack created by an Internal IBM employee streamlines the process of deployment and avoids the need for ENV variables with the pushed application, here;s how. It's also detailed in the GitHub buildpack URL below.https://github.com/bancha001/bluemix-buildpack-meteor
1. Create .cfignore
to exclude the path 'local' to be uploadedpas@pass-mbp:~/ibm/software/meteor/simple-todos$ cat .cfignore
2. Create a manifest.yml (more...)
In this post I show what is necessary to deploy a simple Meteor application to IBM Bluemix public instance. In this example we already have a simple Meteor application we have tested and verified using "meteor" itself , running on localhost at port 3000.
1. Lets remove the local DB files, be careful as this will remove the local DB so you should do this when your ready to deploy to Bluemix only.pas@pass-mbp:~/ibm/software/meteor/myfirst_app$ meteor (more...)
I decided to give the IBM Containers service a quick test drive today. I used this very simple example available at the following GitHub URLhttps://github.com/Samze/ibm-containers-simple-node-example
1. Clone the source code as followspas@192-168-1-4:~/temp$ git clone https://github.com/Samze/ibm-containers-simple-node-example
Cloning into 'ibm-containers-simple-node-example'...
remote: Counting objects: 63, done.
remote: Total 63 (delta 0), reused 0 (delta 0), pack-reused 63
Unpacking objects: 100% (63/63), done.
Checking connectivity... done.
2. Build as shown below.pas@Pass-MacBook-Pro:~/bluemix-apps/CONTAINERS/ibm-containers-simple-node-example$ docker build -t (more...)
The IBM Watson Personality Insights service uses linguistic analysis to extract cognitive and social characteristics from input text such as email, text messages, tweets, forum posts, and more. By deriving cognitive and social preferences, the service helps users to understand, connect to, and communicate with other people on a more personalized level.
1. Clone the GitHub repo as shown below.pas@192-168-1-4:~/bluemix-apps/watson$ git clone https://github.com/watson-developer-cloud/personality-insights-nodejs.git
Cloning into 'personality-insights-nodejs'...
remote: Counting objects: 84, done.
The IBM Watson Tradeoff Analytics service helps you make better choices under multiple conflicting goals. The service combines smart visualization and recommendations for tradeoff exploration.
The following demo application shows how to use the IBM Watson Tradeoff Analytics Service from IBM Bluemix. This is the demo application for this service.
1. Clone the GitHub project as shown below.pas@pass-mbp:~/bluemix-apps/watson$ git clone https://github.com/watson-developer-cloud/tradeoff-analytics-nodejs.git
Cloning into 'tradeoff-analytics-nodejs'...
remote: Counting objects: 112, done.
remote: Total 112 (more...)
I previously showed how you can use the Spring Boot CLI to create a simple Restful Application saying Hello World as shown in the link below using Groovy.
If you wanted to extend that demo to include additional dependencies JAR file such as MySQL driver jar file we would do the following
1. You can add extensions to the CLI using the
command as shown below to add MySQL (more...)
The following shows how you can easily read the VCAP_SERVICES postgresql credentials within your Java Code using the maven repo. This assumes your using the ElephantSQL Postgresql service. A single connection won't be ideal but for demo purposes might just be all you need.
1. First add the maven dependency as follows. This will add WebSphere Application Server Liberty Profile to your project
2. In (more...)
Here is how simple Spring Boot makes saying Hello World web based application with no IDE and no no need to package it up. Nearly as easy as NodeJS
1. Firstly install the Spring Boot CLI. From mac use brew as followspas@192-168-1-4:~$ brew tap pivotal/tap
Cloning into '/usr/local/Library/Taps/pivotal/homebrew-tap'...
remote: Counting objects: 366, done.
remote: Total 366 (delta 0), reused 0 (delta 0), pack-reused 366
Receiving objects: 100% (366/366), 60.09 KiB | 84.00 (more...)
We recently upgraded our capability in the IBM public cloud. Before this new version you could build, test, and deploy apps on Bluemix by using open source Cloud Foundry technology. But now you have more choice bringing two new options as follows
1. IBM Containers Beta
Use IBM Containers to run apps and services in a hosted cloud environment. Port your existing applications to IBM Bluemix and make them publicly accessible and composable. Use a (more...)
The post below shows how to create an IBM Bluemix server connection into the USA public hosted PaaS using Eclipse. It assumes you already have an existing account setup with http://bluemix.net/
1. Ensure you have added "IBM Eclipse Tools for Bluemix
" as shown in the marketplace installed items.
More info can be found here.http://marketplace.eclipse.org/content/ibm-eclipse-tools-bluemix
2. In the "Servers
" tab click the link to create a new server (more...)
IBM Bluemix is an open-standards, cloud-based platform for building, managing, and running apps of all types, such as web, mobile, big data, and smart devices. Capabilities include Java, mobile back-end development, and application monitoring, as well as features from ecosystem partners and open source—all provided as-a-service in the cloud.
The example below shows how to deploy an spring boot JPA application to IBM Bluemix. The example is based on the code below.
I recently setup verbose GC logging on a deployed application to Pivotal Cloud Foundry (PCF) and specified a file to write the GC logging info to. Below shows how you can view application files using the CF CLI.
1. Start by invoking the following to show your deployed applications[Tue Dec 16 09:32:10 papicella@:~/cf/APJ-vcloud ] $ cf appsGetting apps in org ANZ / space development as pas...OK
I decided to quickly build an application using Typesafe activator for a play framework scala application and get it to deployed to Pivotal Cloud Foundry. You can read more about Typesafe activator below.https://typesafe.com/activator
Here are the steps to deploy an play framework application created using Typesafe activator. I created a basic hello world scala application with the play framework. The purpose here is what is needed to get it deployed on Pivotal Cloud Foundry. (more...)
The example below shows how to use STS (Spring Tool Suite) to deploy a spring boot web application directly from the IDE itself. I created a basic spring boot web application using the template engine thymeleaf. The application isn't that fancy it simply displays a products page of some mock up Products. This blog entry just shows how you could deploy this to Pivotal Cloud Foundry from the IDE itself.
Pivotal HD for Pivotal CF deliver's Pivotal HD - Pivotal's leading Hadoop distribution as a Pivotal CF Service. Pivotal HD is a commercially supported distribution of Apache Hadoop. The Pivotal HD Data Service includes HDFS, YARN and MapReduce. It also includes HAWQ, Pivotal's high performance SQL database on HDFS and Pivotal's In-memory OLTP SQL processing engine GemFire XD.https://network.pivotal.io/products/pivotal-hd-service
Pivotal PCFHawq*Web is a browser based schema administration tool for HAWQ within Pivotal Cloud (more...)