7 September 2011

Cloud Computing: Too Many Choices?

While working on Cloud governance related ideas, I came accross Alistair Croll's presentation on "Cloud Computing: Too Many Choices?" (http://www.youtube.com/watch?v=pl2ybT2kbgk).

Here is a slide I "completed" based on Alistair's which may be useful to some.



14 July 2011

Grails and hsqldb file in war deployment

This morning I've been trying to deploy my policy and rule driven distributed components governance proof of concept prototype onto a test server (as opposed to my development machine) for a colleague to be able to play with its RESTful API. Problem was, my data is in a hsqldb file and this won't be deployed together with the war.

You need to specify where you want your DB files ("prodDb.log", "prodDb.properties" and "prodDb.script") to be stored when the war is deployed.

in DataSource.groovy:
production {
dataSource {
dbCreate = "update"
url = "jdbc:hsqldb:file:./apache-tomcat-7.0.14/webapps/YieldBRGS-1/WEB-INF/lib/prodDb;shutdown=true"
}
}

Please note that in my case (apache-tomcat-7.0.14) the path is relative to the servlet container installation.

You also need to make sure your db files are copied to that location. For this, create a "_Events.groovy" script using the "create-script " command. This script should be placed in the "scripts" folder of your Grails project's root (there are other possibilities c.f. http://grails.org/doc/latest/guide/4.%20The%20Command%20Line.html#4.3%20Hooking%20into%20Events). This script will be automatically detected and triggered.

_Events.groovy
includeTargets << grailsScript("Init")
includeTargets << grailsScript("_GrailsEvents")

eventCreateWarStart = { warName, stagingDir ->
if (grailsEnv == "production") {
println "Copying hsqldb script into war"
ant.copy(file: "prodDb.script", todir: "${stagingDir}/WEB-INF/lib/")
ant.copy(file: "prodDb.properties", todir: "${stagingDir}/WEB-INF/lib/")
ant.copy(file: "prodDb.log", todir: "${stagingDir}/WEB-INF/lib/")
} else {
println "grailsEnv != \"production\""
}
}

The events are not documented so a bit of googling around is necessary. Alternatively, if you have more patience or want to know what's going on under the hood you can look for the event('...') in the Grails source code (e.g. https://github.com/grails/grails-core/blob/master/scripts/_GrailsWar.groovy).

I hope this helps!

This is the software I will use in my demonstration later this year at ServiceWave 2011 in Poznan (http://servicewave.eu/2011/). C.f. official announcement here: http://servicewave.eu/2011/demonstration-evening/

16 June 2011

HD videos of policy driven components in distributed systems governance

I've been thinking about that for some time now: YouTube has the potential to be a great tool to increase research visibility and generate some feedback. I've already uploaded 3 videos showcasing some of the things I've done in the context of policy driven components in distributed systems governance.

The channel: http://www.youtube.com/user/PDLAGH

A middleware infrastructure for multiple rule-engine distributed systems

The rule technological landscape is becoming ever more complex, with an extended number of specifications and products. It is therefore becoming increasingly difficult to integrate rule-driven components and manage interoperability in multi-rule engine environments. The described work presents the possibility to provide a middleware infrastructure for rule-driven components in a distributed system. The authors' approach leverages on a set of middleware, discovery protocol, rule interchange and user interface to alleviate the environment's complexity.
http://youtu.be/uNvHXPPquCw

Towards governance of rule and policy driven components in distributed systems

The rule and policy technological landscape is becoming ever more complex, with an extended number of specifications and products. It is therefore becoming increasingly difficult to integrate rule and policy driven components and manage interoperability in distributed environments. The described work presents an infrastructure going towards the governance of heterogeneous rule and policy driven components in distributed systems. The authors' approach leverages on a set of middleware, discovery protocol, knowledge interchange and consolidation to alleviate the environment's complexity.
http://youtu.be/i2PTbrTpNpY

yieldrif web console

Short tutorial on http://yieldrif.appspot.com/
http://youtu.be/fOUm55kkBr4

9 May 2011

PhD!

It's been a few months now, but series of rather happy events have kept me from updating this blog.

I've finally managed to defend my PhD thesis on the 13.01.2011. After 3.5 hours of intense debate - at the end of which my external was saying: "let's try to finish today, I can see we're going somewhere now" - my committee gave me "minor corrections" (the best in UK since "admitted immediately" is never awarded AFAIK) and congratulated me on my excellent defense...They just needed to make me work for it, that's how it's supposed to be (yeah welcome to the UK 'old universities' way of awarding a PhD).

Final title is: "Contextual Governance for Service Oriented Architecture Composition".

Of course it was a real blast to be back in Newcastle and meet my mates!

Industrial internship opportunities

I've started the recruitment for the next wave of SOA governance & security related internships.

UK, SOA Governance, BT, summer 2012, http://home.agh.edu.pl/~pdl/index_files/BT%20AGH%20krakow%20uni%20internship%20offer.pdf

Sweden, SOA Security, Axiomatics, summer 2011, http://home.agh.edu.pl/~pdl/index_files/axiomatics%20AGH%20krakow%20uni%20internship%20offer.pdf

Obviously students from AGH-UST, especially from the katedra informatyki, will be considered first.

4 May 2011

Yield RIF console

I've been working on policy-rule translation for a while now and a while back I published this little translation console: http://yieldrif.appspot.com/*. There, users can translate rules to/from DroolsML (http://www.jboss.org/drools), RIF-PRD (http://www.w3.org/2005/rules/wiki/PRD), JessML (www.jessrules.com) and edit translators (XSLT).

If you have any comments on the translators and/or rules, please do let me know. I'll do my best to keep them updated.

I will hopefully post more on this in the coming weeks. Indeed, Mark Proctor (http://markproctor.com/), the JBoss Rules Lead, has agreed to do some work on Drools XML output (aka DroolsML) in exchange for RIF-PRD and RuleML translators.

* Thanks Guillaume Laforge (http://glaforge.free.fr/weblog/) for your great work on Groovy (http://groovy.codehaus.org/), Grails (http://www.grails.org/), Gaelyk (http://gaelyk.appspot.com/) and letting us use the source of your Groovy console app (http://groovyconsole.appspot.com/).