Tools

WebHooks: A way to integrate systems

By |July 9th, 2016|Categories: Slack, Status Cake, Web Hooks|

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

Comments Off on WebHooks: A way to integrate systems

Slack: Calling WebHooks from Java

By |July 9th, 2016|Categories: Slack, Web Hooks|

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

Comments Off on Slack: Calling WebHooks from Java

What is CSRF Protection?

By |July 9th, 2016|Categories: Concepts, Spring Security|Tags: , , |

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'

Comments Off on What is CSRF Protection?

Unsupported major.minor version 51.0 Error

By |July 9th, 2016|Categories: Java 1.7, OpenShift, Technical Learnings|

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

Comments Off on Unsupported major.minor version 51.0 Error

H2 Database (In-Memory Database)

By |July 9th, 2016|Categories: Concepts, H2, Tools|

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,

Comments Off on H2 Database (In-Memory Database)

SpringBoot deployment error to OpenShift

By |July 9th, 2016|Categories: Spring Boot, Technical Learnings|

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

Comments Off on SpringBoot deployment error to OpenShift