Versions Compared

Key

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

Jira Link : https://project-sunbird.atlassian.net/browse/SB-10786

...

  1. object.rollup.l1 → should be root level id. For ex: textbook id, course id etc

  2. object.rollup.l2 → should be level 1 unit id

  3. object.rollup.l3 → should be level 2 unit/sub-unit id

  4. object.rollup.l4 → should be level 3 unit/sub-unit/topic id

  5. object.rollup.l1 is mandatory whenever events are generated in context of content objects. For ex: in ETB, any interactions in textbook view the object.id will be textbook id and object.rollup.l1 would also be textbook id. When a leaf content is opened, or downloaded or played, the object.id will be the resource id and object.rollup.l1 would be textbook id

      These API's are generating rollup 

          Working as expected./v1/course/batch/search
       /org/v1/search  
       /user/v1/search
       /v1/course/batch/create (wrong rollups got generated l1 having value rootOrgId, should be courseId)

      create batch,update batch. note update API's are not generating rollups  (need to check for all APIs)

      // if actorType is user and rootOrgId is not null the we are adding rollup with l1 with rootOrgId

      // for course batch api we are adding course id for l1

     // for notes api we are generating rollup upto 2 level (Do we need to add null value check for l1 & l2 value   ,"object": {
                 "id": "0127191603151339521",
                 "type": "note",
                 "rollup": {
                      "l1": null,
                      "l2": null
                  }
            })

      

6 SEARCH events needs to be generated for all searches generated within lms

...

  1. CourseBatch, Badge object need to be corrected as instead of CourseBatch we are using Batch and for Badge we are using BadgeClass similarly for location & etc.
  2. What value to be stored in env and objectType field as of now env contains the object for which event is getting generated & objectType has value as User or Consumer.
  3. what value we need to pass in actor type for public and anonymous?(need to add new object type for location, system setting,dashboard,role,note)
  4. Add validation for Object type should be there when object.id is not null. Do we also need to check for cdata.id and cdata.type validation("cdata": [{
    "id": "0127191638961602563",
    "type": "note"
    },
    {
    "id": null,
    "type": "user"
    }])
  5. inside edata  need to pass object type like mentors and participants for batch create and add user to batch APIs.(suggestion)
  6. object.type should be user enroll or user or participants or mentors.(for better understanding or clarification)
  7. Whats the difference between rollup under context and inside object in telemetry event.
  8. In which property of telemetry event we need to store these values.

          x-device-id,x-channel-id,x-app-id