How to test a Quarkus GraphQL API

With curl, the GraphQL tool, insomnia and Rest-assured In the previous article I described the Quarkus GraphQL support and we discussed some GraphQL topics. Now I’ll show you how to test your GraphQL API with curl, the GraphQL tool, insomnia and Rest-assured. As an example I use my superhero project from my last article, which […]

GraphQL APIs with Quarkus

A query language for your API In this article, I’ll show you Quarkus GraphQL support. As an example, I use the Superheroes application from my previous articles. We will discuss some GraphQL topics. Code, dependencies and modelThe source code for this app is available on Github. If you like, you can try the examples by […]

Document your database

Simply and easily with SchemaSpy It has never been easier to document you db. SchemaSpy analyzes your database with tables, columns, types and indexes. It even creates diagrams with relationships of your existing database. The installation is super easy. You just have to download SchemaSpy and your database driver. Even Graphviz is no longer required. […]

Writing key values from Java to Consul

How to write key values to Consul In the first example we are going to use the HTTP API directly, in the second one we are going to use the Java Consul API ecwid. On Github you’ll find all the examples. So, let’s start. HTTP APIIn this example we store the value „buon giorno“ with […]

Validate JSON in Java with JSON Schema

Describe and validate your JSON documents I programmed a lot with XML and XML Schema helped me to define which elements and attributes can appear in a document. So I always wanted a grammar for JSON too. JSON Schema is exactly what I wanted. It has the following advantages:* describes existing data formats * provides […]