Author Archives: stevewall123

About stevewall123

I am a Lead Software Engineer in Minneapolis working for Thomson Reuters. I am currently working on projects using Java, JavaScript, Spring, Drools, Hazelcast, Liquibase and Tomcat. Previously, I used C#, GWT, Grails, Groovy, JMS and JBoss Drools Guvnor. In the past I have worked on projects using J2EE, Swing, Webwork, Hibernate, Spring, Spring-WS, JMS, JUnit and Ant.

Elasticsearch 5 Determining if nested field exists

Consider an index with documents such as these, where the team location may or may not be populated: { “status” : “active”, “name” : “Jimmy Chitwood”, “team” : { “name” : “Hickory Huskers”, “location” : “Hickory, Indiana” } } Note … Continue reading

Posted in Elasticsearch | Tagged | Leave a comment

Elasticsearch deprecation warning: [deprecation.search.aggregations.bucket.terms] sorting by ascending count is deprecated and will be removed in the next major version

I am currently attempting to upgrade from Elasticsearch 2.4.1 to Elasticsearch 5.  While running ES 2.4.1 I turned on deprecation logging and executed the following search  (which was generated by my application): GET publicaccess/cases/_search { “from” : 0, “size” : … Continue reading

Posted in Elasticsearch | Tagged | 1 Comment

Using Spring to populate Hazelcast Map at Start-up

The application I work on has been using Hazelcast for awhile now, but today we had a new scenario where we wanted to initially populate the Hazelcast Map from a relational database but did not want the our Map to … Continue reading

Posted in Hazelcast, Spring | Tagged , | Leave a comment

Spring Boot Web Application – Starting in Eclipse

I am going through the Spring Boot Getting Started Tutorial and trying to follow the steps in Eclipse (and not STS).  I made it to the end and was thrown off a little by how to “start” it up. I … Continue reading

Posted in Eclipse, Maven, Spring, Spring Boot, Tomcat | Tagged , , , , | 3 Comments

Spring Boot Application and Tomcat error: A child container failed during start

I was attempting to create my first Spring Boot web application this afternoon by following the Spring Boot Getting Started Tutorial on spring.io, yet attempting to do the steps in Eclipse Luna with Java 8 and an embedded Tomcat 7 server. … Continue reading

Posted in Java 8, Maven, Spring, Spring Boot, Tomcat | Tagged , , , , | 7 Comments

Drupal Superfish Menu is rendering without styles

I am upgrading a Drupal website I administer and decided to install the Superfish module for the first time.  As part of the installation, I also uploaded the Superfish-for-Drupal-master.zip to my /sites/all/libraries directory and then extracted all the files.  I then went through … Continue reading

Posted in Drupal | Tagged | Leave a comment

Using Matches for null parameter with Mockito

I was using Mockito to write a unit test today and had a brief struggle trying to write a Matcher for a parameter I expected to be null. Here is the method in my interface that was causing problems: public … Continue reading

Posted in Java, Mockito | Tagged , | Leave a comment