Last thursday I was asked to do something that looked like
an easy job: create a deployeable package to import a set of
sample data into our system. They wanted me to use a new
"framework" someone had created, and also to use the REST
apis to push the data into the database. I found this last
point a bit silly, as the process will run in the backend --
it has access to the actual services -- but it didn't look
too scary. Man, was I wrong ...
This framework is basically a thousand line Java class
that traverses a nested folder structure containing JSON
files. To figure out the correct shape for these files, you
need to look at some code that is generated from a bunch of
other files. Also the names of the object properties have
been randomly renamed with respect to the originals (the
actual DB schema).
Do you remember that guy from Robocop, whose skin was
melting away after gallons of acid had flooded onto him? I
feel like that right now.