~/talk

From Untested Spaghetti to Well-Rested Developers

TalkinPolishat Confitura 2015 · on Saturday, 2015-07-04· [testing, api-design]
links:none on file
slides:none on file

A legacy Spring MVC application with heavy code duplication and no tests is transformed into a well-tested REST API using Spring, AspectJ, and custom converters/filters. The approach adds per-request MDC/correlation-ID logging into Logstash/Kibana and Sentry, Git-derived runtime version tags, interactive Swagger docs, and a single-annotation-per-API solution implemented with AspectJ; integration tests use Spock and rest-assured against real testbeds, with CI and Vagrant automating releases, resulting in no nighttime error calls for over a year.

AI-written summary · about

  1. 0:00Project context
  2. 5:49First challenges
  3. 9:47Tracking requests
  4. 17:31Removing redundant code
  5. 23:57Standardizing API responses
  6. 28:17Async operations and integration tests
  7. 30:31Automated tests and Swagger docs
  8. 35:07CI/CD and builds
  9. 40:07Version management
  10. 43:00Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.