- MacOS or Linux
- certbot
- these instructions geared for install on Ubuntu Linux via Snap
| package me.pacphi.ai.resos.csv.impl; | |
| import me.pacphi.ai.resos.csv.CsvEntityMapper; | |
| import me.pacphi.ai.resos.csv.CsvMappingException; | |
| import me.pacphi.ai.resos.csv.EntityMapper; | |
| import me.pacphi.ai.resos.jdbc.AreaEntity; | |
| @CsvEntityMapper("areas") | |
| public class AreaMapper implements EntityMapper<AreaEntity> { |
| package me.pacphi.ai.resos.config; | |
| import jakarta.annotation.PostConstruct; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.beans.factory.annotation.Value; | |
| import org.springframework.core.io.Resource; | |
| import org.springframework.core.io.support.PathMatchingResourcePatternResolver; | |
| import org.springframework.core.io.support.ResourcePatternResolver; | |
| import org.springframework.core.type.classreading.CachingMetadataReaderFactory; |
| package me.pacphi.ai.resos.util; | |
| import com.github.javaparser.ParserConfiguration; | |
| import com.github.javaparser.StaticJavaParser; | |
| import com.github.javaparser.ast.CompilationUnit; | |
| import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; | |
| import com.github.javaparser.ast.body.EnumDeclaration; | |
| import com.github.javaparser.ast.body.FieldDeclaration; | |
| import com.github.javaparser.ast.body.VariableDeclarator; | |
| import com.github.javaparser.ast.type.ClassOrInterfaceType; |
| #!/usr/bin/env bash | |
| indent4() { sed 's/^/ /'; } | |
| # Install the necessary resources to support cert-manager deployed on OKE | |
| # vending valid certificate via a Let's Encrypt ClusterIssuer | |
| # Set environemnt variables (these are sample values, please replace with your own) | |
| export DOMAIN=foo.me | |
| export EMAIL_ADDRESS=any@valid.email |
| terraform { | |
| backend "artifactory" { | |
| username = "admin" | |
| password = "xxx" | |
| url = "https://krups.ironleg.me/artifactory" | |
| repo = "terraform-state" | |
| subpath = "tf4k8s/experiments/cluster/gke" | |
| } | |
| } |
| Retrieving logs for app cf-butler in org util / space stage as xxxx... | |
| 2019-06-26T20:08:12.51-0700 [APP/PROC/WEB/0] OUT 2019-06-27T03:08:12,514 WARN [cloudfoundry-client-client-epoll-13] i.p.c.t.AppDetailTask: Could not obtain application details for organization=foo, space=Test, and applicationName=foo-test | |
| 2019-06-26T20:08:12.51-0700 [APP/PROC/WEB/0] OUT java.util.concurrent.TimeoutException: Acquire operation took longer then configured maximum time | |
| 2019-06-26T20:08:12.51-0700 [APP/PROC/WEB/0] OUT at io.netty.channel.pool.FixedChannelPool.<init>(...)(Unknown Source) | |
| 2019-06-26T20:08:12.51-0700 [APP/PROC/WEB/0] OUT Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: | |
| 2019-06-26T20:08:12.51-0700 [APP/PROC/WEB/0] OUT Assembly trace from producer [reactor.core.publisher.MonoPeek] : | |
| 2019-06-26T20:08:12.51-0700 [APP/PROC/WEB/0] OUT reactor.core.publisher.Mono.checkpoint(Mono.java:1681) | |
| 2019-06-26T20:08:12.51-0700 [APP/PROC/WEB/0] OUT org.cloudfoundry.react |
| #!/bin/bash | |
| # BBL Diagnostics | |
| ## @mantainer Chris Phillipson | |
| ## @version 1.0.2 | |
| # Fire up Terminal (or iTerm) | |
| # Execute this sequence of commands to connect and authenticate then emit some diagnostics | |
| if [ $# -eq 0 ] |
| #!/bin/bash | |
| # @name destroy-concourse-with-credhub-on-azure.sh | |
| # @description This script provisions a Jumpbox, BOSH director, Credhub, and Concourse on Azure. | |
| # @assumptions You have installed bbl-cli, terraform, bosh-cli, credhub-cli, git, and openssl on a Mac. | |
| # and that a Service Account has been created in advance, | |
| # @see https://github.com/cloudfoundry/bosh-bootloader/blob/master/docs/getting-started-gcp.md#create-a-service-account. | |
| # @basedUpon https://github.com/pivotalservices/concourse-credhub | |
| # @author Chris Phillipson | |
| # @version 1.0.2 |
| #!/bin/bash | |
| # @name destroy-concourse-with-credhub-on-gcp.sh | |
| # @description This script destroy an existing cluster of a Jumpbox, BOSH director, Credhub, and Concourse on Google Gloud Platform. | |
| # @assumptions You have installed bbl-cli, terraform, bosh-cli, credhub-cli, git, and openssl on a Mac. | |
| # and that a Service Account has been created in advance, | |
| # @see https://github.com/cloudfoundry/bosh-bootloader/blob/master/docs/getting-started-gcp.md#create-a-service-account. | |
| # @basedUpon https://github.com/pivotalservices/concourse-credhub | |
| # @author Chris Phillipson | |
| # @version 1.0.1 |