WebHooks: A way to integrate systems
For example, I've integrated StatusCake with our Slack communication channel. When Status Cake needs to send a message that our website is down, it will email, SMS, and alert our Slack Channel #vship. Incoming Webhooks
Slack: Calling WebHooks from Java
Setup Instructions We'll guide you through the steps necessary to configure an Incoming Webhook so you can start sending data to Slack. Webhook URL https://hooks.slack.com/services/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 Sending Messages You have two options for sending data to
What is CSRF Protection?
Spring Secruity Docs:http://docs.spring.io/spring-security/site/docs/3.2.7.RELEASE/reference/htmlsingle/#csrf-include-csrf-token When using Spring Security, all PUT, POST, and DELETE requests require "authentication" or you will get the error below { "timestamp": 1460035702156, "status": 403, "error": "Forbidden", "message": "Invalid CSRF Token 'null'
Unsupported major.minor version 51.0 Error
For OpenShift->doesn't support 1.8, so you must compile against 1.7 as setup in maven pom However, to run SpringBoot locally in Tomcat, you must run against 1.8 (set by going to File->Properties) and selecting 1.8
H2 Database (In-Memory Database)
The H2 database is a popular database to use when developing Spring applications. H2 is written in Java and is easily runs as an embedded in-memory database. Because it is an embedded in memory database,
SpringBoot deployment error to OpenShift
When I initially deployed my SpringBoot application to OpenShift, index.html and no other webpages within the app would show up...saw the error below: 503 Service Unavailable No server is available to handle this request. I then