Browse Source

remove gemini firenio snapshot (#5849)

Nate 5 years ago
parent
commit
ff3876acf1

+ 0 - 18
frameworks/Java/gemini/benchmark_config.json

@@ -64,24 +64,6 @@
         "display_name": "Gemini",
         "notes": "",
         "versus": "servlet"
-      },
-      "firenio": {
-        "plaintext_url": "/test/plaintext",
-        "port": 8080,
-        "approach": "Realistic",
-        "classification": "Fullstack",
-        "database": "None",
-        "framework": "Gemini",
-        "language": "Java",
-        "flavor": "None",
-        "orm": "Micro",
-        "platform": "Firenio",
-        "webserver": "None",
-        "os": "Linux",
-        "database_os": "Linux",
-        "display_name": "Gemini",
-        "notes": "",
-        "versus": "servlet"
       }
     }
   ]

+ 0 - 94
frameworks/Java/gemini/firenio/pom.xml

@@ -1,94 +0,0 @@
-<?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/maven-v4_0_0.xsd">
-
-    <name>GhApplication</name>
-    <groupId>hello</groupId>
-    <artifactId>GhApplication</artifactId>
-    <version>0.0.1</version>
-    <description>
-        GhApplication
-    </description>
-    <modelVersion>4.0.0</modelVersion>
-    <packaging>jar</packaging>
-
-    <properties>
-        <maven.compiler.source>11</maven.compiler.source>
-        <maven.compiler.target>11</maven.compiler.target>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-    </properties>
-
-    <organization>
-        <name>TechEmpower, Inc.</name>
-        <url>https://www.techempower.com/</url>
-    </organization>
-
-    <repositories>
-        <repository>
-            <id>oss.sonatype.org-snapshot</id>
-            <url>http://oss.sonatype.org/content/repositories/snapshots</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-    </repositories>
-
-    <dependencies>
-        <dependency>
-            <groupId>com.techempower</groupId>
-            <artifactId>gemini</artifactId>
-            <version>4.0.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>com.techempower</groupId>
-            <artifactId>gemini-firenio</artifactId>
-            <version>4.0.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
-            <version>1.8.0-beta4</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>install</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <configuration>
-                    <archive>
-                        <manifest>
-                            <addClasspath>true</addClasspath>
-                            <mainClass>hello.GhApplication</mainClass>
-                            <classpathPrefix>lib</classpathPrefix>
-                            <!-- Required to make snapshots work with Jar builds -->
-                            <!-- See: https://stackoverflow.com/questions/41982167/maven-jar-plugin-wrong-class-path-entry-for-snapshot-dependency -->
-                            <useUniqueVersions>false</useUniqueVersions>
-                        </manifest>
-                    </archive>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>

+ 0 - 13
frameworks/Java/gemini/firenio/src/main/java/hello/GhApplication.java

@@ -1,13 +0,0 @@
-package hello;
-
-import com.techempower.gemini.FirenioGeminiApplication;
-
-public class GhApplication extends FirenioGeminiApplication {
-    public static final GhApplication INSTANCE = new GhApplication();
-
-    private GhApplication() { super(); }
-
-    public static void main(String[] args) throws Exception {
-        INSTANCE.start();
-    }
-}

+ 0 - 24
frameworks/Java/gemini/firenio/src/main/java/hello/GhHandler.java

@@ -1,24 +0,0 @@
-package hello;
-
-import com.techempower.gemini.Context;
-import com.techempower.gemini.path.annotation.Path;
-
-import java.time.ZoneOffset;
-import java.time.ZonedDateTime;
-import java.time.format.DateTimeFormatter;
-
-@Path("test")
-public class GhHandler {
-
-    @Path("plaintext")
-    public String plaintext(Context context) {
-        // NOTE: This is WIP Hacky Stuff - do not rely on ANY version of Gemini
-        //       working this way until an official release. This is a proof of
-        //       concept build to measure performance ONLY.
-        context.headers().put("Server", "gemini-firenio");
-        context.headers().put("Date", DateTimeFormatter.RFC_1123_DATE_TIME.format(
-                ZonedDateTime.now(ZoneOffset.UTC)));
-
-        return "Hello, World!";
-    }
-}

+ 0 - 19
frameworks/Java/gemini/firenio/src/main/resources/log4j.properties

@@ -1,19 +0,0 @@
-# Default log level if not specified. May be customized by passing the VM arg -DLOG_LEVEL=
-LOG_LEVEL=WARN
-# Default global log level if not specified. May be customized by passing the VM arg -DGLOBAL_LOG_LEVEL=
-# Note: This includes all libraries, etc. It's a lot.
-GLOBAL_LOG_LEVEL=WARN
-log4j.rootLogger=${GLOBAL_LOG_LEVEL}, A1
-
-# This will only work if we use classes for the logger refs.
-log4j.logger.com.fourzeroonesports=${LOG_LEVEL}
-
-# A1 is set to be a ConsoleAppender.
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
-
-# A1 uses PatternLayout.
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-# Default log level if not specified. May be customized by passing the VM arg -DLogConversionPattern=
-LogConversionPattern=[%p] GA %d{HH:mm:ss} %c: %m%n
-log4j.appender.A1.layout.ConversionPattern=${LogConversionPattern}
-

+ 0 - 14
frameworks/Java/gemini/gemini-firenio.dockerfile

@@ -1,14 +0,0 @@
-FROM maven:3.6.1-jdk-11-slim as maven
-
-WORKDIR /gemini
-
-COPY firenio/src src
-COPY firenio/pom.xml pom.xml
-
-RUN mvn -q clean install
-
-WORKDIR target
-
-EXPOSE 8080
-
-CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AggressiveOpts", "-Dlite=false", "-Dcore=1", "-Dframe=16", "-DreadBuf=512", "-Dpool=true", "-Ddirect=true", "-Dinline=true", "-Dlevel=1", "-Dread=false", "-Depoll=true", "-Dnodelay=true", "-Dcachedurl=false", "-DunsafeBuf=true", "-jar", "GhApplication-0.0.1.jar"]