Browse Source

[c++/cuehttp] Remove Cuehttp (#9658)

CueHttp only implements the plaintext test and the framework hasn't been
updated in 4 years:

    https://github.com/doraxcyle/cuehttp
Petrik de Heus 4 months ago
parent
commit
6dad79d62b

+ 0 - 13
frameworks/C++/cuehttp/README.md

@@ -1,13 +0,0 @@
-# cuehttp Benchmarking Test
-
-https://github.com/xcyl/cuehttp
-
-## Testing Source Code
-
-* [PLAINTEXT](plaintext/main.cpp)
-
-## Test URLs
-
-### PLAINTEXT
-
-http://localhost:8080/plaintext

+ 0 - 25
frameworks/C++/cuehttp/benchmark_config.json

@@ -1,25 +0,0 @@
-{
-  "framework": "cuehttp",
-  "tests": [
-    {
-      "default": {
-        "plaintext_url": "/plaintext",
-        "port": 8080,
-        "approach": "Realistic",
-        "classification": "Fullstack",
-        "database": "None",
-        "framework": "cuehttp",
-        "language": "C++",
-        "flavor": "None",
-        "orm": "None",
-        "platform": "None",
-        "webserver": "None",
-        "os": "Linux",
-        "database_os": "Linux",
-        "display_name": "cuehttp",
-        "notes": "",
-        "versus": "cuehttp"
-      }
-    }
-  ]
-}

+ 0 - 14
frameworks/C++/cuehttp/config.toml

@@ -1,14 +0,0 @@
-[framework]
-name = "cuehttp"
-
-[main]
-urls.plaintext = "/plaintext"
-approach = "Realistic"
-classification = "Fullstack"
-database = "None"
-database_os = "Linux"
-os = "Linux"
-orm = "None"
-platform = "None"
-webserver = "None"
-versus = "cuehttp"

+ 0 - 18
frameworks/C++/cuehttp/cuehttp.dockerfile

@@ -1,18 +0,0 @@
-FROM ubuntu:18.04
-
-RUN apt-get update -yqq
-RUN apt-get install -yqq g++-7 cmake git libboost-all-dev
-
-ENV CUEHTTP=/cuehttp
-
-WORKDIR /
-RUN git clone https://github.com/xcyl/cuehttp.git
-
-WORKDIR /cuehttp
-
-RUN git checkout a7f5a4c935e22d110b70c5928c8ea2ce4dcbeeb5
-
-WORKDIR /cuehttp/examples/plaintext
-RUN mkdir build && cd build && cmake .. && make -j8
-EXPOSE 8080
-CMD ./build/plaintext

+ 0 - 21
frameworks/C++/cuehttp/plaintext/CMakeLists.txt

@@ -1,21 +0,0 @@
-cmake_minimum_required(VERSION 2.6)
-
-project(plaintext)
-
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -msse4.2 -Wall -std=c++17")
-
-set(SRC main.cpp)
-include_directories($ENV{CUEHTTP}/include)
-
-find_package(Boost COMPONENTS system REQUIRED)
-include_directories(${Boost_INCLUDE_DIRS})
-
-add_executable(${PROJECT_NAME} ${SRC})
-
-target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES})
-
-if (WIN32)
-    target_link_libraries(${PROJECT_NAME} ws2_32 wsock32)
-else ()
-    target_link_libraries(${PROJECT_NAME} pthread)
-endif ()

+ 0 - 17
frameworks/C++/cuehttp/plaintext/main.cpp

@@ -1,17 +0,0 @@
-#include <cuehttp.hpp>
-
-using namespace cue::http;
-
-int main(int argc, char** argv) {
-    router route;
-    route.post("/plaintext", [](context& ctx) {
-        ctx.type("text/plain");
-        ctx.status(200);
-        ctx.body("Hello, World!");
-    });
-    cuehttp app;
-    app.use(route);
-    app.listen(8080).run();
-
-    return 0;
-}