From 374310d13c727afa972928d663c4de3070f7c453 Mon Sep 17 00:00:00 2001 From: jendib Date: Sat, 29 Aug 2015 00:12:15 +0200 Subject: [PATCH] Init stress app --- docs-parent/pom.xml | 6 ++ docs-stress/pom.xml | 66 +++++++++++++++++++ .../java/com/sismics/docs/stress/Main.java | 25 +++++++ .../src/main/resources/log4j.properties | 6 ++ docs-web/pom.xml | 31 --------- 5 files changed, 103 insertions(+), 31 deletions(-) create mode 100644 docs-stress/pom.xml create mode 100644 docs-stress/src/main/java/com/sismics/docs/stress/Main.java create mode 100644 docs-stress/src/main/resources/log4j.properties diff --git a/docs-parent/pom.xml b/docs-parent/pom.xml index 7124e327..ece435aa 100644 --- a/docs-parent/pom.xml +++ b/docs-parent/pom.xml @@ -317,6 +317,12 @@ jersey-multipart ${com.sun.jersey.version} + + + com.sun.jersey + jersey-client + ${com.sun.jersey.version} + com.sun.grizzly diff --git a/docs-stress/pom.xml b/docs-stress/pom.xml new file mode 100644 index 00000000..68c6bc03 --- /dev/null +++ b/docs-stress/pom.xml @@ -0,0 +1,66 @@ + + + + + com.sismics.docs + docs-parent + 1.0-SNAPSHOT + ../docs-parent + + + 4.0.0 + docs-stress + jar + Docs Stress + + + + + com.sun.jersey + jersey-client + + + + + com.google.guava + guava + + + + log4j + log4j + + + + org.slf4j + slf4j-log4j12 + + + + org.slf4j + slf4j-api + + + + org.slf4j + jcl-over-slf4j + + + + + junit + junit + test + + + + + + + + src/main/resources + + + + diff --git a/docs-stress/src/main/java/com/sismics/docs/stress/Main.java b/docs-stress/src/main/java/com/sismics/docs/stress/Main.java new file mode 100644 index 00000000..3e11c534 --- /dev/null +++ b/docs-stress/src/main/java/com/sismics/docs/stress/Main.java @@ -0,0 +1,25 @@ +package com.sismics.docs.stress; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Stress app for Sismics Docs. + * + * @author bgamard + */ +public class Main { + /** + * Logger. + */ + private static final Logger log = LoggerFactory.getLogger(Main.class); + + /** + * Entry point. + * + * @param args Args + */ + public static void main(String[] args) { + log.info("Starting stress test..."); + } +} diff --git a/docs-stress/src/main/resources/log4j.properties b/docs-stress/src/main/resources/log4j.properties new file mode 100644 index 00000000..d7ea887b --- /dev/null +++ b/docs-stress/src/main/resources/log4j.properties @@ -0,0 +1,6 @@ +log4j.rootCategory=WARN, CONSOLE +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout +log4j.appender.CONSOLE.layout.ConversionPattern=%d{DATE} %p %l %m %n + +log4j.logger.com.sismics=DEBUG diff --git a/docs-web/pom.xml b/docs-web/pom.xml index 6177bacc..2df0bf4c 100644 --- a/docs-web/pom.xml +++ b/docs-web/pom.xml @@ -152,37 +152,6 @@ - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - com.samaxes.maven - - minify-maven-plugin - - [1.5,) - - minify - - - - - - - - - - - -