Heiko Rupp

Areas of Expertise

Monitoring, Observability, MicroProfile

Recent Posts

How to ignore files in Git without .gitignore

How to ignore files in Git without .gitignore

Git has a handy feature when it comes to preventing accidental file check-ins when the files are meant to stay local. The obvious candidates are compiled binaries when you only want to check in the source code. Other candidates are files with local configurations.

One can put all of those files and paths into a .gitignore file in the project. To persist those changes (and to share the common file contents with collaborators on the project), one usually adds the .gitignore file to Git like any other file in the project.

The problem

Unfortunately, there are limits to this approach.

Continue reading “How to ignore files in Git without .gitignore”

Share
New Eclipse MicroProfile book provides introduction to enterprise Java microservices

New Eclipse MicroProfile book provides introduction to enterprise Java microservices

Fellow Red Hat associates Cesar Saavedra, Pavol Loffay, Jeff Mesnil, Antoine Sabot-Durand, Scott Stark, and I have written a book on Eclipse MicroProfile, called Hands-On Enterprise Java Microservices with Eclipse MicroProfile

This 256-page book provides an introduction to microservices and why they are important, and it showcases Eclipse MicroProfile as a way to implement so-called 12-factor apps.

Now through December 15, you can use the following link and discount code to receive a 20% discount when purchasing this ebook through the Packt website.

Hands-On Enterprise Java Microservices with Eclipse MicroProfile

Discount code: eclipse20

Continue reading “New Eclipse MicroProfile book provides introduction to enterprise Java microservices”

Share
Observe what your Istio microservices mesh is doing with Kiali

Observe what your Istio microservices mesh is doing with Kiali

The Istio service mesh is a powerful tool for building a service mesh. If you don’t know about Istio yet, have a look at the Introduction to Istio series of articles or download the ebook Introducing Istio Service Mesh for Microservices.

The power of Istio comes with the cost of some complexity at configuration and runtime. To help this, the Kiali project provides observability of the mesh and the services in the mesh. Kiali visualizes the mesh with its services and workloads. It indicates the health of the mesh and shows hints about applied configuration options. You can then drill in on individual services or settings to view details.

This post describes how to use Kiali to observe what the microservices in your Istio service mesh are doing, validate the Istio configuration, and see any issues.

Continue reading “Observe what your Istio microservices mesh is doing with Kiali”

Share
Testing REST APIs with REST Assured

Testing REST APIs with REST Assured

Note: This is an updated version of a post I wrote for my private blog years ago.

While working on the REST API of RHQ a long time ago, I had started writing some integration tests against it. Doing this via pure HTTP calls is very tedious and brittle. So, I was looking for a testing framework to help me and found one that I used for some time. I tried to enhance it a bit to better suit my needs but didn’t really get it to work.

I started searching again and this time found REST Assured, which is almost perfect as it provides a high-level fluent Java API to write tests. REST Assured can be used with the classic test runners like JUnit or TestNG.

Continue reading “Testing REST APIs with REST Assured”

Share
Visualizing Smog Sensor Data with the help of Vert.x, Prometheus, and Grafana

Visualizing Smog Sensor Data with the help of Vert.x, Prometheus, and Grafana

Air pollution is a major problem in many cities around the globe. Some people in Stuttgart, Germany have developed cheap smog sensors that people can install on their balconies and other convenient places and then report data to a central site. I have written about that on OpenSource.com. The data is sent to a central server, from where it is visualized on a map. At the time of writing the above article, there was no way of seeing how the value has changed over time. Meanwhile, there is a visualization of the last 24 hours available on the map.

Continue reading “Visualizing Smog Sensor Data with the help of Vert.x, Prometheus, and Grafana”

Share
JBoss participates in Google Summer of Code 2017

JBoss participates in Google Summer of Code 2017

Google Summer of Code (GSoC), for those who are not familiar, is an initiative led by Google to encourage students to participate in Open Source projects during their summer break. Projects like JBoss Community, Eclipse Vert.X or Fedora apply to be a mentoring organization and if selected by Google, are paired with students with whom they will mentor. Selected and successful students will receive a stipend from Google for their participation.

The JBoss community has been participating in GSoC for the past several years, with outstanding success, and I am happy to announce that the JBoss community has once again been selected as a mentoring organization for GSoC 2017. I have written about last year’s results in the past.

We have posted a list of ideas for proposals for students, but students are also encouraged to submit their own ideas.

Continue reading “JBoss participates in Google Summer of Code 2017”

Share