Skip to content

Commit 251e633

Browse files
committed
Add basic endpoint
1 parent edbdd9d commit 251e633

File tree

4 files changed

+25
-36
lines changed

4 files changed

+25
-36
lines changed

server/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea/
2+
.gradle/
3+
build/

server/HELP.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

server/build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
plugins {
2-
id 'java'
3-
id 'org.springframework.boot' version '3.4.5'
4-
id 'io.spring.dependency-management' version '1.1.7'
2+
id "java"
3+
id "org.springframework.boot" version "3.4.5"
4+
id "io.spring.dependency-management" version "1.1.7"
55
}
66

7-
group = 'org.foerderfunke'
8-
version = '0.0.1-SNAPSHOT'
7+
group = "org.foerderfunke"
8+
version = "0.0.1-SNAPSHOT"
99

1010
java {
1111
toolchain {
@@ -18,11 +18,11 @@ repositories {
1818
}
1919

2020
dependencies {
21-
implementation 'org.springframework.boot:spring-boot-starter-web'
22-
testImplementation 'org.springframework.boot:spring-boot-starter-test'
23-
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
21+
implementation "org.springframework.boot:spring-boot-starter-web"
22+
testImplementation "org.springframework.boot:spring-boot-starter-test"
23+
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
2424
}
2525

26-
tasks.named('test') {
26+
tasks.named("test") {
2727
useJUnitPlatform()
2828
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package org.foerderfunke.sem_ops_server;
2+
import org.springframework.web.bind.annotation.GetMapping;
3+
import org.springframework.web.bind.annotation.RequestParam;
4+
import org.springframework.web.bind.annotation.RestController;
5+
6+
@RestController
7+
public class Controller {
8+
9+
@GetMapping("/sparqlToSpin")
10+
public String sparqlToSpin(@RequestParam(name = "sparql") String sparql) {
11+
return "TODO";
12+
}
13+
}

0 commit comments

Comments
 (0)