Skip to content

Commit

Permalink
Merge pull request #122 from Sunbird-cQube/staging
Browse files Browse the repository at this point in the history
Merging changes from staging to v5.0.3-nvsk
  • Loading branch information
pandutibil authored Oct 24, 2023
2 parents 7c15940 + 0097df8 commit c82b764
Show file tree
Hide file tree
Showing 59 changed files with 255 additions and 136 deletions.
43 changes: 42 additions & 1 deletion impl/c-qube/ingest/NVSK/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,49 @@
],
"blacklisted": []
}
},
{
"name": "PM SHRI",
"namespace": "pm_shri",
"description": "pm_shri",
"shouldIngestToDB": true,
"input": {
"files": "./ingest/NVSK/programs/pm-shri"
},
"./output": {
"location": "./output/programs/pm-shri"
},
"dimensions": {
"whitelisted": [
"state,categorypmshri"
],
"blacklisted": []
}
},
{
"name": "Telemetry",
"namespace": "telemetry",
"description": "Telemetry",
"shouldIngestToDB": true,
"input": {
"files": "./ingest/NVSK/programs/telemetry"
},
"./output": {
"location": "./output/programs/telemetry"
},
"dimensions": {
"whitelisted": [
"users,pagenames",
"users,devices",
"users,browsers",
"users,pageevents,pagenames",
"pagenames,pageevents"
],
"blacklisted": []
}
}

]
}



Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Index
string
browserName
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PK,Index
string,string
category_id,category_name
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Index
string
deviceName
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Index
string
pageEvent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Index
string
pageName
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Index
string
userId
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
state,grade,subject,medium,
state_id,grade,subject,medium,
string,string,string,string,integer
state_id,grade,subject,medium,total_no_of_plays
state,grade,subject,medium,
state_id,grade,subject,medium,
string,string,string,string,integer
state_id,grade,subject,medium,total_no_of_plays
dimension,dimension,dimension,dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
state,categorypmshri,
state_id,category_name,
string,string,integer
state_id,category_name,category_value
dimension,dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
state,
state_id,
string,integer
state_id,started
dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
state,
state_id,
string,
state_id,total_schools
dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
state,
state_id,
string,
state_id,total_boys_in_schools
dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
state,
state_id,
string,
state_id,total_girls_in_schools
dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
,users,browsers,
,userId,browserName,
date,string,string,integer
date,userId,browserName,browserCount
timeDimension,dimension,dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
,users,devices,
,userId,deviceName,
date,string,string,integer
date,userId,deviceName,deviceCount
timeDimension,dimension,dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
,users,pagenames,pageevents,
,userId,pageName,pageEvent,
date,string,string,string,integer
date,userId,pageName,pageEvent,pageEventCount
timeDimension,dimension,dimension,dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
,pagenames,pageevents,
,pageName,pageEvent,
date,string,string,integer
date,pageName,pageEvent,pageCount
timeDimension,dimension,dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
,users,pagenames,
,userId,pageName,
date,string,string,integer
date,userId,pageName,timespent
timeDimension,dimension,dimension,metric
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
,users,
,userId,
date,string,integer
date,userId,userCount
timeDimension,dimension,metric
34 changes: 26 additions & 8 deletions impl/c-qube/ingest/VSK/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,18 +138,36 @@
},
"dimensions": {
"whitelisted": [
"state,district,programnishtha",
"state,programnishtha,coursenishtha",
"state,programnishtha",
"district,programnishtha,programstatusnishtha",
"district,programnishtha,coursenishtha",
"district,programnishtha",
"coursenishtha,programnishtha"
"district,programnishtha,languagenishtha",
"programnishtha,coursenishtha"
],
"blacklisted": []
}
},
{
"name": "Telemetry",
"namespace": "telemetry",
"description": "Telemetry",
"shouldIngestToDB": true,
"input": {
"files": "./ingest/VSK/programs/telemetry"
},
"./output": {
"location": "./output/programs/telemetry"
},
"dimensions": {
"whitelisted": [
"users,pagenames",
"users,devices",
"users,browsers",
"users,pageevents,pagenames",
"pagenames,pageevents"
],
"blacklisted": []
}
}




]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Index
string
browserName
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Index
string
deviceName
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PK,Index
string,string
language_id,language
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Index
string
pageEvent
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Index
string
pageName
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PK,Index
string,string
program_status_id,program_status
3 changes: 3 additions & 0 deletions impl/c-qube/ingest/VSK/dimensions/users-dimension.grammar.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Index
string
userId

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
state,programnishtha,
state_id,program_name,
string,string,integer
state_id,program_name,total_certifications_achieved
dimension,dimension,metric

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions impl/c-qube/ingest/VSK/programs/nishtha/doe-event.grammar.csv

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
state,programnishtha,
state_id,program_name,
string,string,integer
state_id,program_name,started
dimension,dimension,metric
state,programnishtha,programstatusnishtha,
state_id,program_name,program_status,
string,string,string,integer
state_id,program_name,program_status,started
dimension,dimension,dimension,metric

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
programnishtha,coursenishtha,
program_name,course_name,
string,string,integer
program_name,course_name,total_certification
dimension,dimension,metric

This file was deleted.

Loading

0 comments on commit c82b764

Please sign in to comment.