Get married thanks toJakarta EE and MicroProfile
I recently proposed to my girlfriend. Luckily, she said yes. After a while, we started to plan the wedding, and figured out some dates next year that could be a great fit for celebrating our love. Proximity to public holidays, expected outside temperature and so on into consideration, and we were ready to settle on one of a few possible dates — all of which were Saturdays. The problem? All other couples also want Saturdays as their wedding day, in spring or summer. The municipality of Oslo has a web page where you can see available times. The inspection tab of the browser disclosed that it was a GET call to some endpoint, with a date span and a location as query parameters, and a nicely structured JSON as response, listing all the possible time slots, and a flag stating whether it was available for booking or not. I also found that each wedding location was identified by a specific UUID. Which meant that all I had to do was setting up something that regularly hit that endpoint with our desired dates and locations, and notifying me when something got available.