Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Before returning the response , we will iterate over courses objects.
  2. Get batchId and call API to get batch Details.
  3. Create and populate batch data Map with the standard supported batch data fields.
  4. Standard bath data fields can be cached in DataCacheHandler . DataCacheHandler will be initialized from a database query from cassandra.
  5. Using cassandra will give us freedom to add or remove fields from standard metadata batchdata fields.
  6. Append it to the coursesObject.
  7. Do it for all courses Object.
  8. Return the response.

...

 Accepting attributes in request parameters and also providing standard batch data. If request parameter contains any other attribute different from standard meta batch data , the batch data map will also have the requested attributes with standard batch data.

...

  1. Before returning the response , we will iterate over courses objects.
  2. Get batchId and call API to get batch Details.
  3. Create and populate batchData Map with the standard supported metadata batchdata fields.
  4. Standard metadata batchdata fields can be cached in DataCacheHandler . DataCacheHandler will be initialized from a database query from cassandra.
  5. Using cassandra will give us freedom to add or remove fields from standard metadata batchdata fields.
  6. Add the other requested data in the batchData map , if some unsupported field is in request neglect it or put some error message.(NOT_SUPPORTED).
  7. Append it to the coursesObject.
  8. Do it for all courses Object.
  9. Return the response.

...