run
mvn clean install -f src/pci-gateway/pom.xmlmvn clean package -f src/pci-gateway/pom.xmljava -Djasypt.encryptor.password=<yoursecret> -jar pci-gateway-0.0.1-SNAPSHOT.jar --spring.config.location=file:application.ymlConfigure the following in the application yml
logging:
path: ./logsPackage the application with the splunk profile enabled
mvn clean package -f src/pci-gateway/pom.xml -P splunkConfigure the following in the application yml
splunk:
url: http://localhost:8080
token: token
source: pci-gatewayDownload the jasypt-1.9.3 binary
To encrypt parameters run:
java -cp <yourjasyptlocation>/jasypt-1.9.3/lib/jasypt-1.9.3.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI input="somevalue" password=somepassword algorithm=PBEWithMD5AndDESAdd secret in run command and in application.yml wrap the encrypted value: ENC(xyz123==)
ex:
myproperty: ENC(your-encripted-string)