├── .gitignore ├── LICENSE-2.0.txt ├── README.md ├── url-shortener-build ├── .gitignore └── pom.xml ├── url-shortener-domain ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── repaskys │ │ │ ├── domain │ │ │ └── ShortUrl.java │ │ │ ├── repositories │ │ │ └── UrlRepository.java │ │ │ ├── services │ │ │ ├── UrlShortenerService.java │ │ │ └── UrlShortenerServiceImpl.java │ │ │ └── url │ │ │ └── algorithms │ │ │ ├── AlphaNumericCodec.java │ │ │ └── Codec.java │ └── resources │ │ ├── META-INF │ │ └── persistence.xml │ │ ├── ValidationMessages.properties │ │ ├── env-prod.properties │ │ ├── env-test.properties │ │ ├── spring-data.xml │ │ ├── spring-dataSource.xml │ │ └── spring-h2-database.xml │ └── test │ └── java │ └── com │ └── repaskys │ ├── domain │ └── ShortUrlTest.java │ └── url │ └── algorithms │ └── AlphaNumericCodecTest.java └── url-shortener-web ├── .gitignore ├── pom.xml └── src ├── main ├── java │ └── com │ │ └── repaskys │ │ └── actions │ │ ├── UrlExpandAction.java │ │ ├── UrlShortenerAction.java │ │ └── UrlShortenerAdminAction.java ├── resources │ ├── log4j.properties │ ├── spring-aspects.xml │ └── struts.xml └── webapp │ ├── META-INF │ └── context.xml │ ├── WEB-INF │ ├── addUrl.jsp │ ├── admin.jsp │ ├── applicationContext.xml │ ├── badShortUrl.jsp │ ├── cloudbees-web.xml │ ├── saveFailed.jsp │ ├── success.jsp │ └── web.xml │ └── static │ └── styles.css └── test └── java └── com └── repaskys └── UrlShortenerActionTest.java /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | h2db.h2.db 3 | .classpath 4 | .project 5 | .settings 6 | h2 7 | -------------------------------------------------------------------------------- /LICENSE-2.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/LICENSE-2.0.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/README.md -------------------------------------------------------------------------------- /url-shortener-build/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | *.swp 3 | -------------------------------------------------------------------------------- /url-shortener-build/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-build/pom.xml -------------------------------------------------------------------------------- /url-shortener-domain/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | *.swp 3 | -------------------------------------------------------------------------------- /url-shortener-domain/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/pom.xml -------------------------------------------------------------------------------- /url-shortener-domain/src/main/java/com/repaskys/domain/ShortUrl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/java/com/repaskys/domain/ShortUrl.java -------------------------------------------------------------------------------- /url-shortener-domain/src/main/java/com/repaskys/repositories/UrlRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/java/com/repaskys/repositories/UrlRepository.java -------------------------------------------------------------------------------- /url-shortener-domain/src/main/java/com/repaskys/services/UrlShortenerService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/java/com/repaskys/services/UrlShortenerService.java -------------------------------------------------------------------------------- /url-shortener-domain/src/main/java/com/repaskys/services/UrlShortenerServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/java/com/repaskys/services/UrlShortenerServiceImpl.java -------------------------------------------------------------------------------- /url-shortener-domain/src/main/java/com/repaskys/url/algorithms/AlphaNumericCodec.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/java/com/repaskys/url/algorithms/AlphaNumericCodec.java -------------------------------------------------------------------------------- /url-shortener-domain/src/main/java/com/repaskys/url/algorithms/Codec.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/java/com/repaskys/url/algorithms/Codec.java -------------------------------------------------------------------------------- /url-shortener-domain/src/main/resources/META-INF/persistence.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/resources/META-INF/persistence.xml -------------------------------------------------------------------------------- /url-shortener-domain/src/main/resources/ValidationMessages.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/resources/ValidationMessages.properties -------------------------------------------------------------------------------- /url-shortener-domain/src/main/resources/env-prod.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/resources/env-prod.properties -------------------------------------------------------------------------------- /url-shortener-domain/src/main/resources/env-test.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/resources/env-test.properties -------------------------------------------------------------------------------- /url-shortener-domain/src/main/resources/spring-data.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/resources/spring-data.xml -------------------------------------------------------------------------------- /url-shortener-domain/src/main/resources/spring-dataSource.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/resources/spring-dataSource.xml -------------------------------------------------------------------------------- /url-shortener-domain/src/main/resources/spring-h2-database.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/main/resources/spring-h2-database.xml -------------------------------------------------------------------------------- /url-shortener-domain/src/test/java/com/repaskys/domain/ShortUrlTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/test/java/com/repaskys/domain/ShortUrlTest.java -------------------------------------------------------------------------------- /url-shortener-domain/src/test/java/com/repaskys/url/algorithms/AlphaNumericCodecTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-domain/src/test/java/com/repaskys/url/algorithms/AlphaNumericCodecTest.java -------------------------------------------------------------------------------- /url-shortener-web/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | *.swp 3 | -------------------------------------------------------------------------------- /url-shortener-web/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/pom.xml -------------------------------------------------------------------------------- /url-shortener-web/src/main/java/com/repaskys/actions/UrlExpandAction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/java/com/repaskys/actions/UrlExpandAction.java -------------------------------------------------------------------------------- /url-shortener-web/src/main/java/com/repaskys/actions/UrlShortenerAction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/java/com/repaskys/actions/UrlShortenerAction.java -------------------------------------------------------------------------------- /url-shortener-web/src/main/java/com/repaskys/actions/UrlShortenerAdminAction.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/java/com/repaskys/actions/UrlShortenerAdminAction.java -------------------------------------------------------------------------------- /url-shortener-web/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/resources/log4j.properties -------------------------------------------------------------------------------- /url-shortener-web/src/main/resources/spring-aspects.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/resources/spring-aspects.xml -------------------------------------------------------------------------------- /url-shortener-web/src/main/resources/struts.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/resources/struts.xml -------------------------------------------------------------------------------- /url-shortener-web/src/main/webapp/META-INF/context.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/webapp/META-INF/context.xml -------------------------------------------------------------------------------- /url-shortener-web/src/main/webapp/WEB-INF/addUrl.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/webapp/WEB-INF/addUrl.jsp -------------------------------------------------------------------------------- /url-shortener-web/src/main/webapp/WEB-INF/admin.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/webapp/WEB-INF/admin.jsp -------------------------------------------------------------------------------- /url-shortener-web/src/main/webapp/WEB-INF/applicationContext.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/webapp/WEB-INF/applicationContext.xml -------------------------------------------------------------------------------- /url-shortener-web/src/main/webapp/WEB-INF/badShortUrl.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/webapp/WEB-INF/badShortUrl.jsp -------------------------------------------------------------------------------- /url-shortener-web/src/main/webapp/WEB-INF/cloudbees-web.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/webapp/WEB-INF/cloudbees-web.xml -------------------------------------------------------------------------------- /url-shortener-web/src/main/webapp/WEB-INF/saveFailed.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/webapp/WEB-INF/saveFailed.jsp -------------------------------------------------------------------------------- /url-shortener-web/src/main/webapp/WEB-INF/success.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/webapp/WEB-INF/success.jsp -------------------------------------------------------------------------------- /url-shortener-web/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/main/webapp/WEB-INF/web.xml -------------------------------------------------------------------------------- /url-shortener-web/src/main/webapp/static/styles.css: -------------------------------------------------------------------------------- 1 | body, label { 2 | font-family: Arial, sans-serif; 3 | } 4 | 5 | -------------------------------------------------------------------------------- /url-shortener-web/src/test/java/com/repaskys/UrlShortenerActionTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d-rep/URL-Shortener/HEAD/url-shortener-web/src/test/java/com/repaskys/UrlShortenerActionTest.java --------------------------------------------------------------------------------