We codeil save kermit

Preview:

Citation preview

Groovy Challenge:Save Kermit!

Victor Trakhtenberg

victortr75@gmail.com @victortr75

Save Kermit!!!

Kermit Server

http://localhost:8080/hinthttp://localhost:8080/whereIsKermit

The Challenge

• Find the street name

• Get the secrets

• Decrypt the street names (hint: reverse the street name )

• Find the highest building on the secret street

– See happy Kermit!

What you will need

• Java 8• sdkman• Groovy• Gradle• Kermit Server• Groovy/Java APIs

– Grape– HTTPBuilder– JsonSlurper– Collection APIs– Desktop browse URI

sdkman.io

http://sdkman.io/

sdkman.io- Installation

Windows powershell:https://github.com/flofreud/posh-gvm

Groovy installation

• sdk install groovy

• Mostly for windows:

• http://www.groovy-lang.org/download.html

groovysh

Gradle

Gradle - install

• Using sdkman.io

– sdk install gradle 2.4

• http://gradle.org/downloads

Ratpack

Kermit Server

• https://github.com/commerce-sciences/kermit-server

• ./gradlew build

• ./gradlew run

• http://localhost:8080/hint

• http://localhost:8080/whereIsKermit

Groovy Grape

http://docs.groovy-lang.org/latest/html/documentation/grape.html

HTTPBuilder

Parse JSON

Collections

Good Luck!!

Recommended