This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wiremockDir="wiremock" | |
wiremockVersion="2.27.1" | |
wiremockPort="8666" | |
wiremockFile=wiremock-standalone-${wiremockVersion}.jar | |
echo -e "\\nStarting wiremock ...\\n" | |
if ! [ -e "$wiremockFile" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.marcuseisele.springboot_microservices.gateway; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; | |
import org.springframework.security.config.annotation.web.builders.HttpSecurity; | |
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; | |
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; | |
import org.springframework.security.config.http.SessionCreationPolicy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Swagger UI</title> | |
<link rel="icon" type="image/png" href="webjars/springfox-swagger-ui/images/favicon-32x32.png" sizes="32x32"/> | |
<link rel="icon" type="image/png" href="webjars/springfox-swagger-ui/images/favicon-16x16.png" sizes="16x16"/> | |
<link href='webjars/springfox-swagger-ui/css/typography.css' media='screen' rel='stylesheet' type='text/css'/> | |
<link href='webjars/springfox-swagger-ui/css/reset.css' media='screen' rel='stylesheet' type='text/css'/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@formatter:off | |
given() | |
.headers(createBasicAuth()) | |
.body(JsonUtil.toJSON(myPayload)) | |
.log().all() | |
.when() | |
.post(baseUrl + "/v1/myapi/") | |
.then() | |
.statusCode(HttpStatus.BAD_REQUEST.value()); | |
//@formatter:on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error 503 No healthy backends | |
No healthy backends | |
Guru Mediation: | |
Details: cache-fra1251-FRA 1464072103 128735361 | |
Varnish cache server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9) | |
entering extended mode | |
(ausarbeitung.tex | |
LaTeX2e <2016/03/31> | |
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded. | |
(C:\MiKTeX\tex\latex\oberdiek\kvoptions-patch.sty | |
(C:\MiKTeX\tex\generic\oberdiek\etexcmds.sty | |
(C:\MiKTeX\tex\generic\oberdiek\infwarerr.sty) | |
(C:\MiKTeX\tex\generic\oberdiek\ifluatex.sty))) | |
(C:\MiKTeX\tex\latex\nag\nag.sty (C:\MiKTeX\tex\latex\nag\nag-l2tabu.cfg) |