The Intuition of Installing BOSH

We have Cloud Foundry running in the lab, BOSH deployed, in a vSphere environment.  While I worked with a colleague to deploy that Cloud Foundry, and I focused on understanding what was going on with services deployments, I was perfectly content to have him get us to the point where we could do that Cloud […]

Using the Cloud Controller REST interface

When starting out with Cloud Foundry you are likely to use vmc for most of your communications with the cloud, but under the covers, vmc just fires off HTTP requests to the cloud controller REST interface.  This REST interface is completely legitimate for you to use, either “by hand” with something like curl, or from […]

Deploying a service to cloud foundry via BOSH

In this last of a three part series on learning how to add services to a Cloud Foundry cloud we’ll deploy the echo service into a BOSH-based deployment.  In part II you’ll find a more detailed description of the parts of a system service implementation, and also a description of and link to an updated […]

Learning how to add services to Cloud Foundry

There are a lot of things we want to do with Cloud Foundry, at the moment we are focusing on adding services such as Cassandra.  We’ve been studying the code for existing Cloud Foundry services (i.e. Postgres) and we’ve deployed the sample Echo service, a couple of times.  This was a pretty significant investment that […]

Customizing Micro Cloud Foundry?

I love micro cloud foundry.  I spend a fair bit of time on airplanes, and I hate not being able to work because my internet connection is flaky in some hotel room so being self sufficient when I am doing dev is critical. So good thinking, and thanks Cloud Foundry team. Micro cloud foundry is […]

Building Git on Ubuntu 11.10

I struggled a bit with this today but as is often the case, one little tweak (okay, really two) and I was good to go.  I did lots of googling in the process and found many sources for information on building Git from source but most were a bit older and out of date in […]

WS-REST 2012

This post is a bit late – in fact two months late, but what I want to tell you about is interesting enough, the goodness knows the topic remains relevant enough to warrant carrying on.  So here goes. On April 17 was the third annual WS-REST Workshop, a WWW Conference workshop.  I didn’t attend the […]

Passing parameters to an XQuery or XSLT through an XProc Pipeline

I’ve recently been helping someone get started with the XML REST Framework, and they asked about getting query string parameters into the XQueries or XSLTs that were a part of their resource implementation. For those of you who are not familiar, what the XML REST Framework does is leverages Spring MVC for all of the HTTP protocol stuff, a developer builds a very thin Java shim to an XProc pipeline that implements the RESTful service. The post I link to above and two earlier versions explain this all in more detail. What I am focusing on in this post is how I can get values from the query string into the right places within my pipeline; there are two parts to this. 1) you need to get your hands on the query string argument and 2) you need to pass that into the XProc pipeline in such a way that it gets to the XQuery or XSLT. It turns out that #2 was already demonstrated in the class file in combination with the resourceGET.xpl. Let’s drill in on that a little bit.