guardian / facia-scala-client

Low level client for the Facia JSON API
Other
2 stars 1 forks source link

Add PressType,FrontPath and PressJob models to facia scala client. #207

Closed philmcmahon closed 6 years ago

philmcmahon commented 6 years ago

There have been some problems in the past where the fronts tool has sent messages in a format incompatible with the models in facia-press. Moving these models into the library seems to make sense, as the code is currently almost identical in both apps. Obviously this isn't strictly API behaviour, so arguably shouldn't be in this library.... it seems worth it though. What do people think?

This will replace https://github.com/guardian/frontend/blob/master/common/app/services/faciaPressQueue.scala and https://github.com/guardian/facia-tool/blob/master/app/services/faciaPressQueue.scala