Category: Technical
-
Java 16 logging
One of the features I liked in Java16 are the logging changes. The updated logging API works on handlers. There are different handlers FileHandler, MemoryHandler and ConsoleHandler. Depending on the need, these handlers can be configured in runtime. Here is a scenario., if you want to debug or pipe entry of the logging information going…
-
JAVA 16 and some Spring Boot lessons
Some interesting observations when upgrading boot to JAVA 16. I use IntelliJ for my development. Make sure the pom file is updated with latest JDK version <properties><java.version>16</java.version></properties> Boot version that was compatible with 2.4.4. Upgrade of boot prevents this following error Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file – probably due to…
-
Cloud opinion summary 2020.
cloud-opinion.medium.com/taking-stock-of-cloud-providers-2020-9e31454ef8d5 One of the better summaries. The point about the focus on GCP is very much likely. The catch up is Azure and not Google, cannot agree more. GitHub from azure is probably the best market strategy to get developers to appreciate the stack. But I liked some of the new goodies that came out…
-
Azure functions Photo upload function using JAVA
We will go over a working example that uploads a photo to Azure Container as a Blob. The final codebase will run to upload a photo-based on a CURL command curl -w “\n” http://localhost:7071/api/uploadSathishPhoto –data /Users/sathishjayapal/Downloads/DSCN4934.JPG High level architecture Prerequisites: Azure CLI Azure subscription NPM JAVA 8. Maven CLI Now let us see how to…
-
Cloudformation YAML file pass parameters
We have a simple cloud formation file in a YAML format. There are couple of parameters that need to be passed to this template. We want to make sure the parameters that are being passed are based on whether it is a PROD/Test environment. Here is the sample simple S3 upload file template Now based…