From f0c472b1792779e63fdeb97a470b46300de00050 Mon Sep 17 00:00:00 2001
From: Fabian Mastenbroek <mail.fabianm@gmail.com>
Date: Tue, 26 Oct 2021 16:19:55 +0200
Subject: feat(web/api): Initial API implementation in Kotlin

This change adds the initial implementation of the new API server in Kotlin,
replacing the old API written in Python. The implementation uses Quarkus,
RESTEasy, and Hibernate to implement the new API endpoints.

The reason for replacing the old API server is unifying the build and
deployment toolchains, reducing the number of technologies necessary to
work with OpenDC. Furthermore, we envision bundling the entire OpenDC
project into a single distributions, allowing users to launch their own
deployment trivially.
---
 opendc-web/opendc-web-api/src/main/resources/init-dev.sql | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 opendc-web/opendc-web-api/src/main/resources/init-dev.sql

(limited to 'opendc-web/opendc-web-api/src/main/resources/init-dev.sql')

diff --git a/opendc-web/opendc-web-api/src/main/resources/init-dev.sql b/opendc-web/opendc-web-api/src/main/resources/init-dev.sql
new file mode 100644
index 00000000..756eff46
--- /dev/null
+++ b/opendc-web/opendc-web-api/src/main/resources/init-dev.sql
@@ -0,0 +1,3 @@
+
+-- Add example traces
+INSERT INTO traces (id, name, type) VALUES ('bitbrains-small', 'Bitbrains Small', 'vm');
-- 
cgit v1.2.3

