googleinterns / step229-2020

1 stars 1 forks source link

Add support for aggregating the jobs based on the programming language used for the SDK #39

Closed andreeanica16 closed 4 years ago

andreeanica16 commented 4 years ago
  1. Add JobModel and JobJSON a field that contains the name of the SDK used (that also contains the name of the programming language) and add the instructions to fetch this data in the JobModel Constructor.
  2. Modify JobsServlet to store to DataStore this new data fetched.
  3. Added aggregateByProgrammingLanguage to Agregation Center that group the jobs based on the language found and designed unit test for it
  4. Make the code more modularized in AggregationCenter class (aggregate the jobs based on a key generated as needed) - added an interface (KeyGenerator) that deals with generating the key and use various implementations of this interface when calling aggregateBy
andreeanica16 commented 4 years ago

@iht @juliocc @tblanshard