Blog (page 9)

Concourse Fly CLI Examples

How to view the YAML of an installed Pipeline If you need to view the YAML of a Concourse pipeline, run the following command and it will print your pipeline’s YAML code to your console. Change targetname and pipelinename to your respective values. How to list targets and their aliases How to delete a target Run the …

Spring Boot Package Scanning Configuration

This tutorial will guide you on the different ways to configure component scanning within Spring Boot. It will provide examples on how to correctly configure component scanning, and explain the more sophisticated features available such as exclusion filters and patterns. @SpringBootApplication and scanBasePackages If you are working with Spring …

Spring Boot Application Properties and YAML

Spring Boot Application Properties and YML In a typical Maven project setup, the application.properites or application.yml files live within the /src/main/resources folder of your application’s project structure. Application Properties File Application YAML File You can then inject properties into your Spring Boot application’s java code by using the @Value annotation: Depending on which application properties …

SAML2 – Spring Security 5.2 Tutorial

Last updated on 08/10/2021 Introduction While many utilize OAuth in lieu of SAML, SAML2 has its uses in large corporate environments and other legacy infrastructure. In this article, I’ll guide you on how to create a SAML2 identity provider and service provider using in Spring Boot 2.4 while utilizing the latest configuration methods available within Spring Security …

Dockerfile parse error line 5: unknown instruction: RPM

This error can happen when you try to run a Docker image with a CPU architecture that differs from the host operating system. For example, you are trying to run an Alpine 64 Linux image on x86 Oracle Linux. To solve this, add the following ARCH_DIR and ARCH_IMG arguments to your Docker build file: When you …

Creating a Simple Spring Boot and Vue.js Project

Introduction Spring Boot allows Java developers to rapidly assemble sophisticated RESTful web services, it normalizes access to a myriad of different SQL or NoSQL databases and provides all the necessary controls to secure a web application. Many developers don’t want to utilize older solutions such as JSP, nor do they want to commit to the complexity of …

Deleting a fly target in Concourse CLI

Concourse CICD’s fly command-line utility is an incredibly powerful and complex tool. It is not defined within Concourse’s fly CLI tool documentation on how to delete a target connection. To delete a target, run the following and replace TARGET_ALIAS with the fly CLI target name you wish to delete: Note: in Concourse versions prior to 2019 …