Closed jolevesq closed 1 year ago
A python library called 'model_manager.py' inside cloud-formation/python includes all the functionality to parse every response from several API data sources into standard response. the main function inside this library is: items_from_service(). it takes several parameters:
The returning set of features complains with the expected standard response schema.
Create a function to parse every respond from API/Data source to the standard response. Apply same technique as the parser functionality (schema, lookup, ...)
The goal is to be able to add new sources with a minimum of developers intervention. Use the response schema to build the output.