Skip to content

Define version 1 of REST Endpoints #3

@hendrikebbers

Description

@hendrikebbers

Blocked by

On a Developer client multiple JMH benchmarks can be executed. We need to collect the outcome of that benchmarks and enrich it with some additional information of the environment (memory, CPU, OS, JVM) and then send it to the server.

Next to that we want to have a web frontend that shows all that results in a good & graphics way. For a benchmark we want to show the evolution overt time in a chart diagram and we want to show an overview of all different benchmarks.

An initial Version of the date that should be send to the server can be found here: https://github.com/OpenElements/jmh-store/tree/main/jmh-common/src/main/java/com/openelements/jmh/common I created that classes for the prototype. The data that is stored in the DB of the server can be found here: https://github.com/OpenElements/jmh-store/tree/main/jmh-store/src/main/java/com/openelements/jmh/store/db/entities

We need to define a solid first version of the REST API that we can use to

  1. upload the results of multiple benchmarks to the server
  2. get all information for 1 benchmark (but no time series information)
  3. get metadata for all benchmarks (to show them in a table)
  4. get the time series for 1 benchmark (between a defined start and endtime)
  5. ???

Best would be if we can define it in a way that we can see it directly in swagger ui (see #1 and #2)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions