1

Merge branch 'master' into swagger-api

This commit is contained in:
killerber4t
2020-03-04 14:09:43 +01:00
committed by GitHub
5 changed files with 53 additions and 3 deletions

View File

@ -9,16 +9,25 @@ on:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 13
uses: actions/setup-java@v1
with:
java-version: 13
- uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew check

View File

@ -15,7 +15,7 @@ spotbugs{
}
tasks.withType(SpotBugsTask) {
tasks.withType(com.github.spotbugs.SpotBugsTask) {
reports {
html {
enabled = true
@ -47,6 +47,12 @@ configurations {
}
repositories {
maven {
url = 'https://s3.cs.hhu.de/public/mops/'
metadataSources {
artifact()
}
}
mavenCentral()
}

View File

@ -0,0 +1,14 @@
package mops.gruppen2.controllers;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@RequestMapping("/gruppen2")
@Controller
public class Gruppen2Controller {
@GetMapping("/")
public String index() {
return "index";
}
}

View File

@ -9,7 +9,7 @@ spring.datasource.username=root
spring.datasource.password=geheim
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.security.user.name=root
spring.security.user.password=1234
spring.security.user.roles=ADMIN

View File

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
th:replace="~{mopslayout :: html(name='Name des Subsystems', headcontent=~{:: headcontent}, navigation=~{:: navigation}, bodycontent=~{:: bodycontent})}">
<head>
<meta charset="utf-8">
<title>Name des Subsystems</title>
<th:block th:fragment="headcontent">
<!-- Links, Skripts, Styles hier einfügen! -->
</th:block>
</head>
<body>
<header>
<nav class="navigation navigation-secondary" is="mops-navigation" th:fragment="navigation">
<!-- Navigation als ungeordnete Liste mit einfachen Links hier einfügen! -->
</nav>
</header>
<main th:fragment="bodycontent">
<!-- Restlichen Inhalt hier einfügen! -->
</main>
</body>
</html>