Spring Boot Cloud CLI 1.3.2 in Groovy 2.4.12.
How Do I Install This?
Spring Boot Cloud CLI 1.3.2 requires Spring Boot CLI 1.5.2+. The newest Spring Boot CLI can be manually installed here:
I'll be using 1.5.7:
A simple bash script has been included with installation steps and some of the common commands for Ubuntu 14.04.
Example configuration .yml files along with Groovy 184.108.40.206 scripts for deploying simple, boilerplate, or otherwise common cloud-based services.
Clarification - I use Git on many machines and across many VM's. All accounts are just me (on different machines).
How Do I Use This?
In '/groovy' you'll find custom Groovy scripts that can be run using:
spring run eureka.groovy
spring run restapi.groovy
Running multiple configured Spring Cloud services is demonstrated in '/custom'.
Configuring core services is made possible through .yml files in '/yml' - see the supplied bash scripts for a list of commands!
Spring Boot Cloud CLI uses Spring Boot Cloud Launcher under the hood. That means that most of the commonly supported properties are available as configuration settings.
"Spring Cloud Launcher uses normal Spring Boot configuration mechanisms. The config name is cloud, so configuration can go in cloud.yml or cloud.properties."
To use Maven, Git, or SVN resources use:
spring.profiles.active= # Comma-separated list (or list if using YAML) of active profiles.
All Spring Cloud-specific configuration uses:
Spring Cloud Configuration Security Prepping
There are some things that have to be done to get Spring Cloud Config Servers to accept symmetric and asymmetric encryption.
Both Spring Boot Cloud CLI as well as Spring Cloud Config Server use org.springframework.security.crypto.encrypt. to handle encrypt and decrypt commands.
As such, both require the JCE Unlimited Strength Extension available here:
References, Resources, and Shoutouts
Inspiration and educational information obtained from the following resources:
Spring Cloud CLI
Encrypt / Decrypt
To install on Windows: just use the Command Prompt and not Cygwin.
You may run into major unsolved problems doing that.
You must install the JCE Unlimited Strength Library to use the encrypt and decrypt commands:
Licensing and Versioning
This is MIT Licensed. My policy is that no repo is ready for consumption until there's at least one star and a tag. This is just a cluster of unpolished examples used to independently develop a solution for an article through Baeldung (a GREAT Java and Java Spring resource). The actual submitted code is available in the https://github.com/eugenp/tutorials repo where you can see all of my official commits. This repo will be taken down shortly. Thanks!