javacodegeeks.com

Extending the Cucumber Test Lifecycle

OverviewThis article is about two things:How do I make the beforeAll and afterAll lifecycle events happen in Cucumber?How can I use TestContainers to set up the system under test before a Cucumber test runs?No, YOU’RE trying to do SEO on YOUR blog.That Cucumber Lifecycle…Cucumber’s lifecycle includes:Before hook – before each scenarioAfter hook – after each scenarioBefore stepAfter...

javacodegeeks.com

Autoscaling Groups with terraform on AWS Part 3: Elastic Load Balancer and health check

Previously we set up some Apache Ignite servers in an autoscaling group. The next step is to add a Load Balancer in front of the autoscaling group.Before any steps let’s add some environmental variables to variables.tf.123456789variable "autoscalling_group_elb_name" {  type = string  default = "autoscallinggroupelb"} variable "elb_security_group_name" {  type...

javacodegeeks.com

One-Time Passwords Do Not Provide Non-Repudiation

The title is obvious and it could’ve been a tweet rather than a blogpost. But let me expand.OTP, or one-time password, used to be mainstream with online banking. You get a dedicated device that generates a 6-digit code which you enter into your online banking in order to login or confirm a transaction. The device (token) is airgapped (with no internet connection), and has a preinstalled secret...

javacodegeeks.com

Solving Problems Properly Is Often Not Viable

How many times you, as a software expert, saw some software or process and thought “damn, this can be done so much better”. Yes, a lot. But why, since large organizations spend a lot of money on IT? Is it because software is too complex, is it because of organizational issues, is it legacy software, or just the way things are?And if what we see is so bad, isn’t common market sense saying...

javacodegeeks.com

Manage multiple Java SDKs with SDKMAN! with ease

SDKMAN! is a convenient tool for managing parallel versions of multiple Software Development Kits. The tool is especially useful for Java developers as it supports SDKs for the JVM such as Java, Groovy, Scala, Kotlin and Ceylon. Gradle, Maven, Spring Boot and many others are also supported.Manage Java VersionsInstall Maven and GradleInstall Spring Boot CLILinksSDKMAN! is supported for all major...