GithubHelp home page GithubHelp logo

backend's Issues

Fix codegen

  • Create branch swagger-generated with pure output of swagger-codegen
  • Create branch swagger-impl with changes to swagger-generated

For updates from codegen

  1. commit the new output to swagger-generated
  2. merge changes to swagger-impl
  3. partey

Anmeldebogen

  1. Die Formatierung des Anmeldebogens sieht falsch aus.
  2. Wenn bei den Teilnahmen Zahlen eingetragen werden, kommt eine Fehlermeldung.
    (Es kann kein String aus einem Zahlenfeld gelesen werden)

KlasseResource

  • GET /klasse
  • GET /klasse/{kid}
  • GET /klasse/{sid}
  • PUT /klasse
  • DTO
  • GET /klasse/{kid}/punkte
  • GET /klasse/punkte

Anmeldeupload

Fehlermeldung beim Upload.

Response Status: 500

<exceptionResponse>
<error>
true
</error>
<exception>
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException
</exception>
<message>
Cannot add or update a child row: a foreign key constraint fails (`sportfest`.`anmeldung`, CONSTRAINT `FKanmeldung224868` FOREIGN KEY (`DisziplinID`) REFERENCES `disziplin` (`DisziplinID`) ON DELETE CASCADE ON UPDATE CASCADE)
</message>
</exceptionResponse>

UserResource

  • GET /user/login
  • GET /user/privileges
  • POST /user/privileges
  • GET /user
  • POST /user
  • DELETE /user/{uid}
  • DTO

ErgebnisResource

  • GET /ergebnis/{did}
  • POST /ergebnis/{did}/{eid}
  • PUT /ergebis/{did}
  • DELETE /ergebnis/{did}/{eid} ({did} überflüssig?)
  • DTO
  • #36

Punkteberechnung

  • GET /leistung/disziplin/{did}
  • GET /klasse/{kid}/leistungen
  • ...?

Sonderregeln

  • Variable: Sortierreihenfolge (ASC/DESC)
  • Variable: Sortierindex (primär, sekundär, ...)
  • Regel: counter

Rollenzuordnung verifizieren

Die Zuordnung von Nutzer zu den Rollen scheint beim Login nicht zu funktionieren, es wird immer gast vergeben.

"Formbuilder"-Schnittstellen

Jedes Forumular zum Erfassen im Backend erhält ein JSON in dem definiert ist, wie die Daten zu erfassen sind.

Bsp.-JSON:

{
  "name": "Staffellauf",
  "desc": "...Beschreibung...",
  "team": false,
  "variables": [
    {
      "name": "Zeit",
      "desc": "Gelaufene Zeit in Minuten.",
      "type": {
        "type": "int"
      }
    },
    {
      "name": "Platzierung",
      "desc": "Erlaufene Platzierung (1., 2., 3., ...)",
      "type": {
        "type": "int",
        "min": 1
      }
    },
    {
      "name": "Blubb",
      "desc": "Nur um nen Auswahlfeld zu Demonstrieren",
      "type": {
        "type": "select",
        "values": [
          "bli",
          "bla",
          "blubb",
          "trulla",
          "troet"
        ]
      }
    }
  ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.