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.dominikdorn.vaadin7ee.demo.example_one; | |
import com.vaadin.server.VaadinServlet; | |
/** | |
* Subclass of the VaadinServlet to fix issues with the Classloader | |
* not finding our UIs and Themes. | |
* | |
* @author Dominik Dorn <dominik -at- dominikdorn -dot- com> | |
* http://dominikdorn.com/ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.dominikdorn.vaadin7ee</groupId> | |
<artifactId>javaee7demo</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<name>javaee7demo</name> |
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
import play.api._ | |
import play.api.mvc._ | |
import play.filters.csrf._ | |
//object Global extends WithFilters(CSRFFilter(),SecurityHeadersFilter()) with GlobalSettings { | |
object Global extends WithFilters(new ExcludingCSRFFilter(CSRFFilter())) with GlobalSettings { | |
//object Global extends GlobalSettings { | |
// ... onStart, onStop etc | |
} |
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 helpers; | |
import org.jooq.DSLContext; | |
import java.util.Collection; | |
/** | |
* | |
*/ | |
public class DSLWrapper { |
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 framework | |
import javax.inject.Inject | |
import play.api.http.HttpFilters | |
import play.filters.csrf.RouteCommentExcludingCSRFFilterFacade | |
import play.filters.gzip.GzipFilter | |
class Filters @Inject()( | |
routeCommentExcludingCSRFFilterFacade: RouteCommentExcludingCSRFFilterFacade, |
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
{ | |
"ignition": { "version": "2.0.0" }, | |
"storage": { | |
"disks": [ | |
{ | |
"device": "/dev/sda", | |
"wipeTable": false, | |
"partitions": [{ | |
"label": "raid.1.1", | |
"number": 10, |
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
play.shaded.ahc.org.asynchttpclient.threadPoolName=AsyncHttpClient | |
play.shaded.ahc.org.asynchttpclient.maxConnections=-1 | |
play.shaded.ahc.org.asynchttpclient.maxConnectionsPerHost=-1 | |
play.shaded.ahc.org.asynchttpclient.connectTimeout=5000 | |
play.shaded.ahc.org.asynchttpclient.pooledConnectionIdleTimeout=60000 | |
play.shaded.ahc.org.asynchttpclient.connectionPoolCleanerPeriod=1000 | |
play.shaded.ahc.org.asynchttpclient.readTimeout=60000 | |
play.shaded.ahc.org.asynchttpclient.requestTimeout=60000 | |
play.shaded.ahc.org.asynchttpclient.connectionTtl=-1 | |
play.shaded.ahc.org.asynchttpclient.followRedirect=false |
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
import io.micrometer.core.annotation.Timed; | |
import io.swagger.v3.oas.annotations.Operation; | |
import io.swagger.v3.oas.annotations.media.Schema; | |
import io.swagger.v3.oas.annotations.responses.ApiResponse; | |
import io.vavr.concurrent.Future; | |
import io.vavr.control.Option; | |
import lombok.AllArgsConstructor; | |
import lombok.Value; | |
import lombok.extern.slf4j.Slf4j; | |
import lombok.val; |
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.dominikdorn.sample.configuration; | |
import io.swagger.v3.oas.models.OpenAPI; | |
import io.swagger.v3.oas.models.info.Info; | |
import io.vavr.concurrent.Future; | |
import org.springdoc.core.GroupedOpenApi; | |
import org.springdoc.core.converters.ConverterUtils; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; |
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
import io.swagger.v3.core.util.Json; | |
import io.swagger.v3.oas.models.OpenAPI; | |
import io.swagger.v3.oas.models.info.Info; | |
import io.vavr.concurrent.Future; | |
import io.vavr.jackson.datatype.VavrModule; | |
import org.springdoc.core.converters.ConverterUtils; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
@Configuration |