Blog
From time to time, I like to blog about stuff. It’s not a lot, since I enjoy working on stuff rather than writing about it, but sometimes it feels good to share one’s failures and successes in various areas.
Posts
Cloud Formation - Boolean as Parameter in template
You’ve most likely noticed, that Cloud Formation does not support any Boolean type for template Parameters (see AWS docs). You will get:
Template format error: Unrecognized parameter type: Boolean
But many of the resources have Boolean parameter, like AWS::RDS::DBInstance -> MultiAZ or its StorageEncrypted property.Testing plugins with Ivy using Powermock
Recently, liferay-plugins SDK (and also its EE version) switched to using Ivy to manage some of the dependencies. Even when there are still static dependencies taken from defined portal – Ivy dependencies are added to the lib/ext and ROOT/WEB-INF/lib ones, see build-common.xml – this makes adding dependencies into plugins so much easier and cleaner.
Want lambdas with jdk6? Here's an IDEA
All Java people are looking forward to jdk8 to bring more functional-like syntax to the language, but it will take some time before we’ll really be able to code like that day to day. It may take years, before jdk8 gets fully adopted as a standard (how many of you already use jdk7 in production these days?) Till then, we’ll still have to write all the verbose code around – if you want to stick with Java language, of course.
SmartGit/Hg 4 and Docky in Ubuntu 12.10
Since the first time I started to use Ubuntu as a primary operating system on my work laptop, I liked the possibility of endless customization possibilities I could make in the OS to have the UI match my preferences. Although I trust UX engineers from Canonical to do the work for me in most cases, sometimes you like to use few things differently or simply try new cool widget in your day to day work.
Creating unit tests in core Liferay sources
Liferay has been catching up lately on the tests coverage. Many improvements have been made in the trunk located in liferay-portal / master branch on GitHub and since I’ve been fixing some things recently, I’ve included unit test for the changed class as well.
OpenDS -- testing LDAP server
Since LDAP integration is part of most modern servers and Liferay also supports this directory service protocol, development on local machine gives us the challenge of testing the integration, without installing (or using remote) full-blown LDAP server. Since I’ve been implementing some LDAP classes changes recently and had to test them manually, I was looking around what could I use easily use for this purpose.
subscribe via RSS