├── .dockerignore ├── .editorconfig ├── .github └── workflows │ ├── docker.yml │ └── gradle.yml ├── .gitignore ├── .gitlab-ci.yml ├── CODE_OF_CONDUCT.md ├── Dockerfile ├── LICENSE ├── README.adoc ├── app.json ├── docker-compose.yml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── img └── shorty.png ├── settings.gradle ├── skeleton.env ├── src ├── main │ ├── java │ │ └── de │ │ │ └── hhu │ │ │ └── propra │ │ │ └── link │ │ │ ├── LinkApplication.java │ │ │ ├── controllers │ │ │ └── LinkController.java │ │ │ ├── entities │ │ │ └── Link.java │ │ │ ├── repositories │ │ │ └── LinkRepository.java │ │ │ ├── security │ │ │ └── SecurityConfiguration.java │ │ │ ├── services │ │ │ ├── AbbreviationService.java │ │ │ └── LinkService.java │ │ │ ├── util │ │ │ ├── StringUtil.java │ │ │ └── ThymeleafConfig.java │ │ │ └── validation │ │ │ ├── UnreservedAbbreviation.java │ │ │ └── UnreservedAbbreviationValidator.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ └── node_modules │ │ │ └── bootstrap │ │ │ └── dist │ │ │ └── css │ │ │ ├── bootstrap.min.css │ │ │ └── bootstrap.min.css.map │ │ └── templates │ │ └── index.html └── test │ └── java │ └── de │ └── hhu │ └── propra │ └── link │ ├── LinkApplicationTests.java │ ├── archtests │ ├── ControllerArchTests.java │ ├── LayeredArchitectureTests.java │ ├── RepositoryArchTests.java │ └── ServiceArchTests.java │ ├── controllers │ └── LinkControllerTest.java │ ├── services │ ├── AbbreviationServiceTest.java │ └── LinkServiceTest.java │ └── util │ └── StringUtilTest.java └── system.properties /.dockerignore: -------------------------------------------------------------------------------- 1 | .gradle/ 2 | .idea/ 3 | build/ 4 | out/ -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/.github/workflows/docker.yml -------------------------------------------------------------------------------- /.github/workflows/gradle.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/.github/workflows/gradle.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/LICENSE -------------------------------------------------------------------------------- /README.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/README.adoc -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/app.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/gradlew.bat -------------------------------------------------------------------------------- /img/shorty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/img/shorty.png -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'link' 2 | -------------------------------------------------------------------------------- /skeleton.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/skeleton.env -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/LinkApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/LinkApplication.java -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/controllers/LinkController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/controllers/LinkController.java -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/entities/Link.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/entities/Link.java -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/repositories/LinkRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/repositories/LinkRepository.java -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/security/SecurityConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/security/SecurityConfiguration.java -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/services/AbbreviationService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/services/AbbreviationService.java -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/services/LinkService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/services/LinkService.java -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/util/StringUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/util/StringUtil.java -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/util/ThymeleafConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/util/ThymeleafConfig.java -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/validation/UnreservedAbbreviation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/validation/UnreservedAbbreviation.java -------------------------------------------------------------------------------- /src/main/java/de/hhu/propra/link/validation/UnreservedAbbreviationValidator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/java/de/hhu/propra/link/validation/UnreservedAbbreviationValidator.java -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/main/resources/static/node_modules/bootstrap/dist/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/resources/static/node_modules/bootstrap/dist/css/bootstrap.min.css -------------------------------------------------------------------------------- /src/main/resources/static/node_modules/bootstrap/dist/css/bootstrap.min.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/resources/static/node_modules/bootstrap/dist/css/bootstrap.min.css.map -------------------------------------------------------------------------------- /src/main/resources/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/main/resources/templates/index.html -------------------------------------------------------------------------------- /src/test/java/de/hhu/propra/link/LinkApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/test/java/de/hhu/propra/link/LinkApplicationTests.java -------------------------------------------------------------------------------- /src/test/java/de/hhu/propra/link/archtests/ControllerArchTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/test/java/de/hhu/propra/link/archtests/ControllerArchTests.java -------------------------------------------------------------------------------- /src/test/java/de/hhu/propra/link/archtests/LayeredArchitectureTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/test/java/de/hhu/propra/link/archtests/LayeredArchitectureTests.java -------------------------------------------------------------------------------- /src/test/java/de/hhu/propra/link/archtests/RepositoryArchTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/test/java/de/hhu/propra/link/archtests/RepositoryArchTests.java -------------------------------------------------------------------------------- /src/test/java/de/hhu/propra/link/archtests/ServiceArchTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/test/java/de/hhu/propra/link/archtests/ServiceArchTests.java -------------------------------------------------------------------------------- /src/test/java/de/hhu/propra/link/controllers/LinkControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/test/java/de/hhu/propra/link/controllers/LinkControllerTest.java -------------------------------------------------------------------------------- /src/test/java/de/hhu/propra/link/services/AbbreviationServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/test/java/de/hhu/propra/link/services/AbbreviationServiceTest.java -------------------------------------------------------------------------------- /src/test/java/de/hhu/propra/link/services/LinkServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/test/java/de/hhu/propra/link/services/LinkServiceTest.java -------------------------------------------------------------------------------- /src/test/java/de/hhu/propra/link/util/StringUtilTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/n2o/url-shortener/HEAD/src/test/java/de/hhu/propra/link/util/StringUtilTest.java -------------------------------------------------------------------------------- /system.properties: -------------------------------------------------------------------------------- 1 | java.runtime.version=11 2 | --------------------------------------------------------------------------------