From 430b4b756eff9be0c722651951552bbdec4b5fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 16 Aug 2021 15:00:08 +0200 Subject: [PATCH] rename class --- src/Application.kt | 4 ++-- .../{OutputServiceRDBServer.kt => SampleServiceServer.kt} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/api/route/{OutputServiceRDBServer.kt => SampleServiceServer.kt} (98%) diff --git a/src/Application.kt b/src/Application.kt index 730071a..a094dea 100644 --- a/src/Application.kt +++ b/src/Application.kt @@ -1,6 +1,6 @@ package com.kmalbz -import com.kmalbz.api.route.OutputServiceRDBServer +import com.kmalbz.api.route.SampleServiceServer import io.ktor.application.* import io.ktor.response.* import io.ktor.routing.* @@ -46,7 +46,7 @@ fun Application.module() { } } - OutputServiceRDBServer().apply { + SampleServiceServer().apply { registerOutput() } } diff --git a/src/api/route/OutputServiceRDBServer.kt b/src/api/route/SampleServiceServer.kt similarity index 98% rename from src/api/route/OutputServiceRDBServer.kt rename to src/api/route/SampleServiceServer.kt index 276ce50..d737110 100644 --- a/src/api/route/OutputServiceRDBServer.kt +++ b/src/api/route/SampleServiceServer.kt @@ -15,7 +15,7 @@ import java.time.format.DateTimeFormatter * * This is the sample interface of the Birbnetes system. */ -class OutputServiceRDBServer { +class SampleServiceServer { /** * sample */