- Polymorphism
- Reflection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Linux permissions exercise | |
## Step 0: Create an example directory hierarchy | |
``` | |
/srv | |
└── telekom | |
├── bin | |
├── gigabit | |
│ ├── bin |
- Imports OpenStreetMap data into PostgreSQL/PostGIS databases.
- https://imposm.org/
imposm import -config imposm_config/config.json -read imposm_data/detmold-regbez-latest.osm.pbf -write -overwritecache -deployproduction
# list comprehension
names = ['Apple', 'Banana', 'wtf']
names_length = [len(v) for v in a]
name_to_length = {v:len(v) for v in a if len(v) < 4}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openjdk:8-jdk-alpine | |
RUN addgroup -S spring && adduser -S spring -G spring | |
USER spring:spring | |
ARG JAR_FILE=target/*.jar | |
COPY ${JAR_FILE} app.jar | |
ENTRYPOINT ["java","-jar","/app.jar"] |
- Integration Tests für alle Endpoints bereitstellen
- Bereitstellung des Codes in eigenem GitHub-Repo
- [Übersicht über Test-Ansätzen für Spring Controller] https://thepracticaldeveloper.com/2017/07/30/guide-spring-boot-controller-tests/
- [Live-Coding zu MVC-Tests (Februar)] https://www.youtube.com/watch?v=TGcE7lEqhN4&list=PLVBvhDBS_eGWm3_N3sx95lGhBWkxuv_Qn&index=17&t=3513s
- [Testing OAuth] https://www.baeldung.com/oauth-api-testing-with-spring-mvc
DISCLAIMER: This document is mostly not about pure REST (or "RESTful") APIs in the original sense intended by Roy Fielding. To my knowledge, most APIs found in the wild do not really qualify to be called RESTful, as they only use a subset of the ideas described by Roy Fielding.
The following concepts are usually found in real-world web APIs that are described as RESTful:
- Resource-orientation: A single base URI per resource type, e.g.
/notes
- Usage of HTTP verbs for CRUD operations (see table below)
NewerOlder