This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # macOS: LazyVim (Java + Kotlin) + SDKMAN Amazon Corretto | |
| # + headless bootstrap that installs ONLY treesitter parsers: bash, java, kotlin | |
| # + Mason installs: jdtls, kotlin-language-server, ktlint, java-debug-adapter, java-test | |
| # + Autoformat-on-save OFF globally | |
| STAMP="$(date +%Y%m%d-%H%M%S)" | |
| NVIM_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/nvim" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @SpringBootApplication | |
| public class CamundaApplication { | |
| public static void main(String[] args) { | |
| SpringApplication.run(CamundaApplication.class, args); | |
| } | |
| @Bean | |
| public ExternalTaskClient externalTaskClient() { | |
| return ExternalTaskClient.create() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @SpringBootApplication | |
| public class Application { | |
| public static void main(String[] args) { | |
| SpringApplication.run(Application.class, args); | |
| } | |
| @Bean | |
| public DataSource dataSource() { | |
| OracleDataSource dataSource = new OracleDataSource(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Bean | |
| public MeterRegistryCustomizer<MeterRegistry> metricsCommonTags() { | |
| return registry -> registry.config().commonTags("application", "my-spring-boot-app"); | |
| } | |
| @Bean | |
| public RestTemplate restTemplate() { | |
| return new RestTemplateBuilder() | |
| .interceptors((request, body, execution) -> { | |
| try { |