Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SB-21700 - Conflicts Resolve ( Release 4.4.0 Into Master ) #494

Open
wants to merge 677 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
677 commits
Select commit Hold shift + click to select a range
90a7388
Issue #SB-24872: Validate invalid batchId in data-exhaust job
utk14 Jun 30, 2021
9e6dc20
Merge branch 'release-4.1.0' of https://github.com/Sunbird-Ed/sunbird…
utk14 Jun 30, 2021
07731e6
Issue #SB-24872: Added testcase for failed scenario if all batches ar…
utk14 Jul 1, 2021
13abd20
Merge pull request #412 from ishawakankar/4.0.0
sowmya-dixit Jul 1, 2021
b559f6d
Merge branch 'release-4.0.0' of https://github.com/Sunbird-Ed/sunbird…
utk14 Jul 1, 2021
72ba3e0
Merge Conflict issue resolved
utk14 Jul 1, 2021
3330be0
Merge pull request #414 from utk14/merge-branch-4.0
sowmya-dixit Jul 1, 2021
42e4597
SB-24841 checking cluster and block locations of user, since block an…
Hari-stackroute Jul 1, 2021
3cb0239
Issue SC-000: Code changes to load parallel batches from report cluster
RevathiKotla Jul 2, 2021
a562998
Merge remote-tracking branch 'upstream/release-4.1.0' into SB-24841
Hari-stackroute Jul 2, 2021
fa514ae
Merge branch 'release-4.1.0' of https://github.com/Sunbird-Ed/sunbird…
utk14 Jul 2, 2021
ca5ccaf
Merge Conflict issue resolved
utk14 Jul 2, 2021
4678eda
Merge pull request #413 from utk14/validate-batch-4.1
SanthoshVasabhaktula Jul 2, 2021
27aae6e
Issue SC-000: Remove the println statement
RevathiKotla Jul 2, 2021
12239c0
SB-24841 checking cluster and block locations of user, since block an…
Hari-stackroute Jul 2, 2021
24507a7
Issue SC-000:Merge branch 'release-4.0.0' of https://github.com/Sunbi…
RevathiKotla Jul 2, 2021
e90d629
Merge pull request #410 from RevathiKotla/release-4.0.0
SanthoshVasabhaktula Jul 2, 2021
d336d2e
Issue SC-000: Fix the persist code issue
RevathiKotla Jul 2, 2021
eea1b9e
Issue SC-000:Merge branch 'release-4.0.0' of https://github.com/Sunbi…
RevathiKotla Jul 2, 2021
b64f9f6
Merge pull request #415 from RevathiKotla/release-4.0.0
sowmya-dixit Jul 2, 2021
88fdec7
Issue DIK-5379 fix: Collection Summary V2 Job Issue fix
manjudr Jul 6, 2021
0d28092
Issue DIK-5379 fix: Collection Summary V2 Job Issue fix
manjudr Jul 6, 2021
8d085c5
Issue DIK-5379 fix: Collection Summary V2 Job Issue fix
manjudr Jul 6, 2021
2baf21c
Issue DIK-5379 fix: Added batchsize config
manjudr Jul 6, 2021
4471fc7
Merge pull request #417 from manjudr/collection-summary-v2-job-fix
SanthoshVasabhaktula Jul 6, 2021
dba1521
SB-24841 shadow-user, validated-user reports code
Hari-stackroute Jun 29, 2021
1ab6eaf
SB-24841 checking cluster and block locations of user, since block an…
Hari-stackroute Jul 1, 2021
3c7de7c
SB-24841 checking cluster and block locations of user, since block an…
Hari-stackroute Jul 2, 2021
739bc05
Issue DIK-5379 fix: removed the duplicate cassandra connection
manjudr Jul 7, 2021
4462d65
Merge pull request #418 from manjudr/collection-summary-v2-job-fix
manjudr Jul 7, 2021
abfafc4
Issue #TG-1016 feat: Fix JOB_END log and metrics generation for exhau…
sowmya-dixit Jul 8, 2021
aa80462
Issue #TG-1016 feat: Fix JOB_END log and metrics generation for exhau…
sowmya-dixit Jul 8, 2021
1adab42
Merge pull request #419 from sowmya-dixit/release-4.1.0
RevathiKotla Jul 8, 2021
6053fed
fix(Jenkinsfile): remove hardcoded tag
rjshrjndrn Jul 8, 2021
9ea7464
Issue merge DIK-5379: - Merge remote-tracking branch 'upstream/releas…
manjudr Jul 8, 2021
a883e08
Issue #SB-25551: Enhancement in data exhuast jobs
utk14 Jul 8, 2021
ddd80c4
Issue #SB-25551: Review comments resolved
utk14 Jul 8, 2021
46e2e2a
Issue #SB-25551: Review comments resolved
utk14 Jul 8, 2021
11270b0
Issue DIK-5379 fix: Optimised the imports
manjudr Jul 8, 2021
05b414f
Issue #SB-25551: Enhancement in data exhuast jobs for excluding expir…
utk14 Jul 8, 2021
86fd6c2
Issue #SB-25551: Circle ci issue resolved
utk14 Jul 8, 2021
41b2997
Merge pull request #422 from utk14/validate-batch-4.1
manjudr Jul 8, 2021
38c98ee
Issue #SB-24966: Course User Info exhaust to exclude rows for users w…
utk14 Jul 9, 2021
14addb4
Issue DIK-5431 fix: Users not able to join the Course Issue fix
manjudr Jul 9, 2021
79dd0e8
Issue DIK-5431 fix: Removed the unused job
manjudr Jul 9, 2021
8df030f
Issue DIK-5431 fix: Removed the unused job
manjudr Jul 9, 2021
6454728
Issue DIK-5431 fix: Removed the unused job
manjudr Jul 9, 2021
c5ee52a
Issue DIK-5431 fix: Adding persist to collection summary v2 job
manjudr Jul 9, 2021
0443d4f
Issue #SB-24966: Testcase issue resolved
utk14 Jul 9, 2021
eed8eaa
Issue #SB-24966: Testcase issue resolved
utk14 Jul 9, 2021
7a627d3
Issue #SB-24966: Testcase issue resolved
utk14 Jul 9, 2021
ef256e0
Merge pull request #424 from manjudr/course-batch-status-updater-fix
RevathiKotla Jul 9, 2021
5d8f94f
Merge pull request #423 from utk14/validate-batch-4.1
manjudr Jul 9, 2021
1dfdd3f
Issue #DIK5379 merge: Merge remote-tracking branch 'upstream/release-…
manjudr Jul 12, 2021
b7fb9c9
Merge remote-tracking branch 'upstream/release-4.1.0' into conflict-r…
manjudr Jul 12, 2021
37d9ecb
Merge pull request #421 from manjudr/conflict-resolve
RevathiKotla Jul 13, 2021
a1f0c63
Merge remote-tracking branch 'upstream/release-4.1.0' into SB-25676
Hari-stackroute Jul 14, 2021
1604621
SB-25676 user declared phone is not coming, taken the value from user…
Hari-stackroute Jul 14, 2021
26e3516
Merge pull request #428 from Hari-stackroute/SB-25676
anandp504 Jul 15, 2021
693bce4
Password Protected CSV Data Product Completed
Jul 15, 2021
3227858
Data Product for Password Protection CSV
Jul 16, 2021
334115a
Issue #SB-25480 feat: UCI Response Exhaust - initial commit
sowmya-dixit Jul 20, 2021
e044fd3
Issue #SB-25480 feat: UCI Response Exhaust - base trait implementation
sowmya-dixit Jul 20, 2021
0c69d67
Issue #SB-25480 feat: UCI Response Exhaust - base trait implementation
sowmya-dixit Jul 20, 2021
cf26b52
Issue SB-25481 feat: Implementation of UCI Private Exhaust Job
manjudr Jul 20, 2021
52d7356
Issue SB-25481 feat: Testcase Implementation of UCI Private Exhaust Job
manjudr Jul 20, 2021
309514e
Issue SB-25481 feat: Code refactor - Moved the connection logic to ba…
manjudr Jul 20, 2021
6e5d52e
Issue SB-25481 feat: Testcase fixes UCI Private Exhaust Job
manjudr Jul 20, 2021
4278576
Issue SB-25481 feat: Testcase Configuration Update UCI Private Exhaus…
manjudr Jul 20, 2021
bc6b934
Issue SB-25481 feat: Testcase Configuration Update UCI Private Exhaus…
manjudr Jul 20, 2021
070c4a1
Issue SB-25481 feat: Testcase Configuration Update UCI Private Exhaus…
manjudr Jul 20, 2021
8a01649
Issue SB-25481 feat: UCI Exhaust Job - File path changes
manjudr Jul 20, 2021
87064e9
Issue SB-25481 feat: UCI Exhaust Job - Testcase fixes
manjudr Jul 20, 2021
aa309bf
Issue SB-25481 feat: UCI Exhaust Job - Testcase fixes
manjudr Jul 20, 2021
e6690c7
Issue SB-25481 feat: UCI Exhaust Job - Enhancements of UCI Testcases
manjudr Jul 21, 2021
6fc6acc
Issue #SB-25480 feat: UCI Response Exhaust - implementation
sowmya-dixit Jul 21, 2021
79a1e2a
Issue #SB-25480 feat: UCI Response Exhaust - implementation
sowmya-dixit Jul 21, 2021
b394ff6
SC-000: Fix the druid report submitter issue to handle exceptions
RevathiKotla Jul 21, 2021
c643851
Issue SB-25481 feat: AEC Decryption logic to decrypt the username to …
manjudr Jul 21, 2021
f79bff2
Issue SB-25481:merge Merge branch 'UCI-exhaust' of https://github.com…
manjudr Jul 21, 2021
9a20b68
Issue SB-25481 feat: Added more testcase assertions
manjudr Jul 21, 2021
7cdc32c
Merge pull request #433 from RevathiKotla/release-4.1.0
anandp504 Jul 21, 2021
538a210
Issue #SB-25480 feat: UCI Response Exhaust - implementation
sowmya-dixit Jul 21, 2021
17dcde2
Merge branch 'UCI-exhaust' of github.com:sowmya-dixit/sunbird-data-pr…
sowmya-dixit Jul 21, 2021
f7b51e9
Issue SB-25481 feat: Classname issue fix
manjudr Jul 21, 2021
50be913
Issue SB-25481 feat: UCI Response exhaust test telemetry data
manjudr Jul 21, 2021
b9366a6
On Demand Druid getDateRange datasource parameter addition
Jul 21, 2021
f2d7ba9
On Demand Druid getDateRange datasource parameter addition
Jul 21, 2021
a645dbb
Delete TestOnDemandDruidExhaust.scala
Shakthieshwari Jul 21, 2021
580f0ba
On Demand Druid getDateRange datasource parameter addition
Jul 21, 2021
8adf5f3
Merge branch 'SB-24105' of github.com:shikshalokam/sunbird-data-produ…
Jul 21, 2021
290aaf8
SB-25851 in geo-reports location details now picked from orglocation …
Hari-stackroute Jul 21, 2021
191eee5
Merge remote-tracking branch 'upstream/release-4.1.0' into SB-25851
Hari-stackroute Jul 21, 2021
069c3a3
SB-25851 removed deleted columns from data.cql
Hari-stackroute Jul 22, 2021
5eaa85e
Merge pull request #435 from Hari-stackroute/SB-25851
RevathiKotla Jul 22, 2021
f855d14
Issue #SB-25480 feat: UCI Response Exhaust - implementation
sowmya-dixit Jul 22, 2021
0ae458b
Merge branch 'UCI-exhaust' of github.com:sowmya-dixit/sunbird-data-pr…
sowmya-dixit Jul 22, 2021
909c05b
Issue #SB-25480 feat: UCI Response Exhaust - implementation
sowmya-dixit Jul 22, 2021
23178f5
Issue #SB-25480 feat: UCI Response Exhaust - test cases
sowmya-dixit Jul 22, 2021
02f1ef5
Issue #SB-25480 feat: UCI Response Exhaust - test cases
sowmya-dixit Jul 22, 2021
5eef990
Issue SB-25481 feat: UCI Private Exhaust Job Testcase Enhancement
manjudr Jul 22, 2021
b53f554
Issue SB-25481 feat: UCI Private Exhaust Job Testcase Enhancement
manjudr Jul 22, 2021
af9713d
Merge branch 'UCI-exhaust' of https://github.com/sowmya-dixit/sunbird…
manjudr Jul 22, 2021
8c4cd85
Issue #SB-25480 feat: UCI Response Exhaust - remove commented code
sowmya-dixit Jul 22, 2021
7530eb0
Merge branch 'UCI-exhaust' of github.com:sowmya-dixit/sunbird-data-pr…
sowmya-dixit Jul 22, 2021
2d467a1
Issue SB-25481 feat: Removed the null value from the AES Decryption l…
manjudr Jul 22, 2021
7dede85
Merge branch 'UCI-exhaust' of https://github.com/sowmya-dixit/sunbird…
manjudr Jul 22, 2021
8caafe4
Issue #SB-25287 fix : Fixed CourseBatch status update issue
Jul 22, 2021
92189de
Issue SB-25481 fix: Disabling the course consumption testcase
manjudr Jul 23, 2021
fb06da9
Ignored test case
Jul 23, 2021
6637016
Issue SB-25481 fix: Disabling the assessment correction job testcase
manjudr Jul 23, 2021
de67f4d
Ignored test case
Jul 23, 2021
70c5af5
Merge pull request #434 from sowmya-dixit/UCI-exhaust
sowmya-dixit Jul 23, 2021
a719407
Issue #SB-25287 fix : Fixed CourseBatch status update issue
Jul 23, 2021
9d68e6b
Merge remote-tracking branch 'upstream/release-4.1.0' into SB-25287-f…
Jul 27, 2021
92aa61e
Merge pull request #441 from PradyumnaNagendra/SB-25287-fix-4.1.0
manjudr Jul 27, 2021
3ef725a
circle cli build failed issue fix by mocking the test case
Jul 28, 2021
7c8be36
circle cli build failed issue fix by mocking the test case
Jul 28, 2021
22e40af
circle cli build failed issue fix by mocking the test case
Jul 28, 2021
514af78
test assessment correction event print
Jul 29, 2021
9555f35
Issue #0000: AssessmentCorrectionModel testcase fixed for V3Event des…
utk14 Jul 29, 2021
9687a57
Issue #0000: AssessmentCorrectionModel testcase fixed for V3Event des…
utk14 Jul 29, 2021
556b859
Issue #0000: AssessmentCorrectionModel testcase fixed for V3Event des…
utk14 Jul 29, 2021
8a07b1f
Merge branch 'release-4.2.0' of github.com:Sunbird-Ed/sunbird-data-pr…
Jul 29, 2021
e4b9432
test assessment correct model event change
Jul 29, 2021
7057bc7
Merge pull request #442 from utk14/release-4.2.0
sowmya-dixit Jul 29, 2021
cbe14e7
test assessment correct model event change
Jul 29, 2021
0c7b247
test assessment correct model event change
Jul 29, 2021
0f4878c
Issue SB-25287 feat: course batch status updater job error handling -…
manjudr Aug 2, 2021
6f9b51a
Merge pull request #446 from manjudr/course-batch
manjudr Aug 2, 2021
f0bd834
Modify the code according to PR changes
Ashwiniev95 Aug 5, 2021
f0a37f8
Merge branch 'SB-24105' of https://github.com/shikshalokam/sunbird-da…
Ashwiniev95 Aug 5, 2021
a50b704
re-used existing case class
Aug 5, 2021
8c7c28a
re-used existing case class
Aug 5, 2021
a2f17b7
re-used existing case class
Aug 5, 2021
942f41a
filesMutable variable issue fixed
Aug 6, 2021
eb5f8ea
changes raised by santhosh
Aug 6, 2021
8325ab0
Modify according to design
Ashwiniev95 Aug 11, 2021
619c5ea
Merge pull request #431 from shikshalokam/SB-24105
SanthoshVasabhaktula Aug 12, 2021
116af90
Issue #000 feat: Assessment Score Correction Job
manjudr Aug 16, 2021
2dbe620
Issue SB-24793 feat: Assessment score migration Job
manjudr Aug 16, 2021
b8d8602
Issue SB-24793 feat: Assessment score migration Job
manjudr Aug 16, 2021
a9929d2
Issue SB-24793 feat: Enabling the code coverage
manjudr Aug 16, 2021
cbd393a
Issue #DIK-5641 feat: Review comments chagnes - Correcting the score…
manjudr Aug 17, 2021
53e62f6
Issue #DIK-5641 feat: Reverting unwanted changes
manjudr Aug 17, 2021
18a7bc4
Issue #SB-25381: Sourcing report changes
ishawakankar Aug 17, 2021
162ddce
Issue #DIK-5641 feat: Enabling the code coverage
manjudr Aug 17, 2021
10d3c62
Test case changes
ishawakankar Aug 17, 2021
c639669
Merge pull request #454 from ishawakankar/4.2
sowmya-dixit Aug 17, 2021
f84736d
Issue #SB-26292: Exhaust job fix to restrict expired collection reque…
utk14 Aug 18, 2021
f1bd026
Issue #SB-26292: print statements removed
utk14 Aug 18, 2021
28671cb
Issue #SB-26292: fix for invalid batchid testcase failure
utk14 Aug 18, 2021
47eb257
Merge pull request #455 from utk14/release-4.1
sowmya-dixit Aug 18, 2021
39a02a5
Issue #DIK-5641 feat: Save csv file issue fix
manjudr Aug 19, 2021
a46f91e
Merge pull request #447 from Sunbird-Ed/release-4.1.0
manjudr Aug 19, 2021
c342246
Issue SB-24793 feat: Assessment score migration data product job imp…
manjudr Aug 22, 2021
4078195
Issue SB-24793 feat: Assessment score correction cleanup
manjudr Aug 23, 2021
ec5ed08
Issue SB-24793 feat: Assessment score correction cleanup
manjudr Aug 23, 2021
f9ef9cb
Issue SB-24793 feat: Score metrics correction script update
manjudr Aug 23, 2021
60afe37
Issue SB-24793 feat: Score metrics correction script update
manjudr Aug 23, 2021
5dd8aed
Issue SB-24793 feat: Score metrics correction script job config update
manjudr Aug 23, 2021
f5702c2
Issue SB-24793 feat: Score migration testcase issue fix
manjudr Aug 25, 2021
a82e20b
Issue #0 | lastcompletedtime field issue fixes
kumarks1122 Aug 25, 2021
1a5d03d
Issue SB-24793 feat: Score migration testcase issue fix
manjudr Aug 25, 2021
95ab162
Merge pull request #457 from kumarks1122/release-4.1.0-collection-rec…
manjudr Aug 25, 2021
4e25923
Issue #0 | Refresh user data feature in Usercacheindexer
kumarks1122 Aug 25, 2021
7aef423
Issue SB-24793 feat: Code review comments changes -
manjudr Aug 26, 2021
1bce986
Issue SB-24793 feat: Code review comments changes -
manjudr Aug 26, 2021
673f833
Issue #0 | language field removed in Usercacheindexer
kumarks1122 Aug 27, 2021
5c08eb0
Issue #0 | language field removed in Usercacheindexer
kumarks1122 Aug 27, 2021
a4933d5
Issue SB-24793 feat: Certificate deletion logic implementation
manjudr Aug 30, 2021
474317d
Issue SB-24793 feat: Certificate deletion logic implementation
manjudr Aug 30, 2021
a29b5df
Unknown job type Bug Fix
Ashwiniev95 Aug 31, 2021
f55a647
Issue SB-24793 feat: Certificate deletion logic implementation
manjudr Aug 31, 2021
ac0c3fc
Merge pull request #459 from shikshalokam/SB-24105
sowmya-dixit Aug 31, 2021
3c55414
Issue SB-24793 feat: assessment record deletion
manjudr Aug 31, 2021
3fa2342
Issue SB-24793 feat: Assessment logic change for removing invalid att…
manjudr Sep 1, 2021
3fb0dc5
Issue SB-24793 feat: Assessment logic change for removing invalid att…
manjudr Sep 1, 2021
aacd825
Issue SB-24793 feat: Adding write consistency level to the job.
manjudr Sep 1, 2021
11efe75
Issue SB-24793 feat: Testcase fixes
manjudr Sep 1, 2021
5895880
Issue SB-24793 feat: Code coverage update
manjudr Sep 2, 2021
0e6a937
Remove state_slug from code
Ashwiniev95 Sep 2, 2021
6280714
Issue SB-24793 feat: Code review comments fixes
manjudr Sep 2, 2021
5943ba0
close sparksession in main method under onDemandDruidExhaustJob
Sep 3, 2021
85b24d7
Issue SB-24793 feat: removed the unwanted files
manjudr Sep 3, 2021
8df916c
Issue SB-24793 feat: Added the error handling in the file write
manjudr Sep 3, 2021
5b9db79
druid datasource name and project status column add
Sep 3, 2021
7c1e530
druid datasource name and project status column add
Sep 3, 2021
859dc35
coverage bug fix on new code
Sep 3, 2021
3f24e7d
coverage bug fix on new code
Sep 3, 2021
997a6cd
Issue #0 | Usercacheindexer fixes added
kumarks1122 Sep 4, 2021
430d315
coverage off for main methof exception block
Sep 6, 2021
3e92c9a
Merge pull request #461 from shikshalokam/SB-24105
RevathiKotla Sep 6, 2021
2d51efa
Issue SB-24793 feat: Code review comments fixes -
manjudr Sep 7, 2021
a95db0b
Issue #0 | Usercacheindexer fixes added
kumarks1122 Sep 7, 2021
cbdac81
Merge pull request #456 from manjudr/assessment-score-migration-update
sowmya-dixit Sep 8, 2021
c8c8ca3
Merge pull request #458 from kumarks1122/release-4.1.0-user-cache-ind…
anandp504 Sep 8, 2021
2e24cc6
Issue SB-24793 feat: Changing the reporting cluster IP
manjudr Sep 13, 2021
ac5a898
Issue SB-24793 feat: Changing the reporting cluster IP
manjudr Sep 13, 2021
532e672
Issue SB-24793 feat: Changing the reporting cluster IP
manjudr Sep 13, 2021
1729755
Merge pull request #463 from manjudr/assessment-score-migration-update
RevathiKotla Sep 13, 2021
189b909
Merge pull request #464 from Sunbird-Ed/release-4.1.0
sowmya-dixit Sep 15, 2021
8eea3d3
Revert "SB-24793 Release 4.1.0 into Release-4.2.0"
manjudr Sep 15, 2021
1c1e28a
Add Logger statements
Ashwiniev95 Sep 15, 2021
323b606
Merge pull request #468 from shikshalokam/SB-24105_1
sowmya-dixit Sep 15, 2021
9576235
Merge pull request #465 from Sunbird-Ed/revert-464-release-4.1.0
manjudr Sep 16, 2021
bf7ab1c
Issue #0 | 4.1 user cache indexer and collection reconciliation chang…
kumarks1122 Sep 16, 2021
80d36fe
Merge pull request #469 from kumarks1122/release-4.2.0-etl-cache-indexer
manjudr Sep 16, 2021
c4e2fad
Issue #0000: VDN Reports Job Start Logs Added
utk14 Sep 16, 2021
76faa33
Issue #0000: VDN Reports Job Error handling added
utk14 Sep 16, 2021
f014fca
Merge pull request #472 from utk14/VDN-reports-4.2
manjudr Sep 16, 2021
b22a162
Non-Password CSV Logic Fix
Sep 16, 2021
b95986f
Non-Password CSV Logic Fix
Sep 16, 2021
d85eac7
Merge branch 'release-4.2.0' of github.com:Sunbird-Ed/sunbird-data-pr…
Sep 16, 2021
f5b14be
Non-Password CSV Logic Fix
Sep 16, 2021
d839feb
Merge pull request #473 from shikshalokam/SB-24105_1
sowmya-dixit Sep 16, 2021
35e101f
Issue DIK-5812: Soucing Metrics Report Fix With Druid Stream Query Pa…
utk14 Sep 20, 2021
0f82409
Issue DIK-5812: Testcase resolved
utk14 Sep 20, 2021
f3c59b2
Issue DIK-5812: Testcase resolved
utk14 Sep 20, 2021
71c008d
Merge pull request #474 from utk14/VDN-reports-4.2
RevathiKotla Sep 20, 2021
475beab
Revert "SB-24793 - " Revert Release 4.1.0 into Release-4.2.0""
manjudr Sep 21, 2021
efa4459
Merge pull request #478 from Sunbird-Ed/release-4.2.0
manjudr Sep 21, 2021
f1ca95b
Merge pull request #476 from Sunbird-Ed/revert-465-revert-464-release…
sowmya-dixit Sep 21, 2021
fd7edba
Issue #0000: ETB Metrics fix for druid issue
utk14 Sep 22, 2021
d305517
Issue #0000: Testcase fixed
utk14 Sep 22, 2021
410dcb4
Merge pull request #479 from utk14/release-4.2.1
RevathiKotla Sep 22, 2021
eb7e776
Issue #TG-1089 fix: Remove On-demand druid exhaust jobs from this rep…
sowmya-dixit Sep 27, 2021
21754db
Merge pull request #480 from sowmya-dixit/release-4.3.0
RevathiKotla Oct 4, 2021
e0ce038
Merge remote-tracking branch 'upstream/release-4.2.1' into conflict-f…
manjudr Oct 6, 2021
0353ccb
Merge pull request #483 from manjudr/conflict-fixes
manjudr Oct 6, 2021
2a81465
Merge pull request #484 from Sunbird-Ed/release-4.3.0
manjudr Oct 7, 2021
7c9fe87
Issue DD-1717 feat: Generating the duplicate metric to check the numb…
manjudr Oct 8, 2021
d53a6ee
Issue DD-1717 feat: Generating the duplicate metric to check the numb…
manjudr Oct 8, 2021
afd7d67
Issue DD-1717 feat: Generating the duplicate metric to check the numb…
manjudr Oct 8, 2021
4680c09
Issue DD-1717 feat: Testcase update
manjudr Oct 8, 2021
cb57979
Issue DD-1717 feat: Testcase update
manjudr Oct 8, 2021
9952930
Merge pull request #485 from manjudr/update-metrics
sowmya-dixit Oct 8, 2021
8c5739f
Issue #TG-1114 fix: Logging for Cassandra migration script
sowmya-dixit Oct 8, 2021
5b57558
Issue #TG-1114 fix: Logging for Cassandra migration script
sowmya-dixit Oct 8, 2021
5081ade
Merge pull request #486 from sowmya-dixit/release-4.3.0
RevathiKotla Oct 11, 2021
dc9bd3b
SB-26472 filtering active user consent into the reports
reshmi-nair Oct 26, 2021
dc6e69a
Merge pull request #489 from Sunbird-Ed/release-4.3.0
RevathiKotla Oct 26, 2021
97ca886
SB-26472 filtering active user consent into the reports
reshmi-nair Oct 26, 2021
63e4dee
SB-26472 filtering active user consent into the reports
reshmi-nair Oct 26, 2021
90ba2ce
SB-26472 filtering active user consent into the reports
reshmi-nair Oct 26, 2021
30b5e2f
Merge pull request #490 from reshmi-nair/SB-26472
anandp504 Oct 26, 2021
f517779
SB-27386 filtering common rows in consent and user_declarations
Hari-stackroute Oct 27, 2021
56cbd33
SB-27386 join condition first should be done on userid's
Hari-stackroute Oct 27, 2021
b3ee6d1
Merge pull request #491 from Hari-stackroute/SB-27386
anandp504 Oct 27, 2021
b38f2df
Merge remote-tracking branch 'upstream/release-4.4.0' into HEAD
manjudr Nov 30, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 44 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,71 @@
version: 2.1
jobs:
sunbird-ed-dp-build:
machine: true
machine:
image: ubuntu-2004:202008-01
steps:
- checkout
- run:
name: clone analytics core
command: |
if [ -z $CIRCLE_PR_NUMBER ]; then
target_branch=$CIRCLE_BRANCH
git clone https://github.com/project-sunbird/sunbird-analytics-core.git -b $target_branch
git clone https://github.com/project-sunbird/sunbird-core-dataproducts.git -b $target_branch
target_branch=$CIRCLE_BRANCH
else
prdata=$(curl -X GET -u $GITHUB_USER_TOKEN:x-oauth-basic https://api.github.com/repos/Sunbird-Ed/sunbird-data-products/pulls/$CIRCLE_PR_NUMBER)
target_branch=$(echo "${prdata}" | jq -r '.base.ref')
git clone https://github.com/project-sunbird/sunbird-core-dataproducts.git -b $target_branch
git clone https://github.com/project-sunbird/sunbird-analytics-core.git -b $target_branch
prdata=$(curl -X GET -u $GITHUB_USER_TOKEN:x-oauth-basic https://api.github.com/repos/Sunbird-Ed/sunbird-data-products/pulls/$CIRCLE_PR_NUMBER)
target_branch=$(echo "${prdata}" | jq -r '.base.ref')
fi
echo $target_branch
git clone https://github.com/project-sunbird/sunbird-analytics-core.git
branchExists=$(cd sunbird-analytics-core && git ls-remote --heads origin $target_branch)
echo $branchExists
if [ -z ${branchExists} ]; then
latest_branch=$(cd sunbird-analytics-core && git for-each-ref --count=1 --sort=-committerdate 'refs/remotes/**/release*' --format='%(refname:short)' | head -1)
echo $latest_branch
cd sunbird-analytics-core && git checkout $latest_branch
else
cd sunbird-analytics-core && git checkout $target_branch
fi
cd ../ && git clone https://github.com/project-sunbird/sunbird-core-dataproducts.git
branchExists=$(cd sunbird-core-dataproducts && git ls-remote --heads origin $target_branch)
echo $branchExists
if [ -z ${branchExists} ]; then
latest_branch=$(cd sunbird-core-dataproducts && git for-each-ref --count=1 --sort=-committerdate 'refs/remotes/**/release*' --format='%(refname:short)' | head -1)
echo $latest_branch
cd sunbird-core-dataproducts && git checkout $latest_branch
else
cd sunbird-core-dataproducts && git checkout $target_branch
fi
- restore_cache:
keys:
- dp-dependency-cache-{{ checksum "data-products/pom.xml" }}
- run: cd sunbird-analytics-core && mvn install -DskipTests
- run: cd sunbird-core-dataproducts && mvn install -DskipTests
- run:
name: Build analytics-core dependency jar
command: |
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
cd sunbird-analytics-core && mvn install -DskipTests
- run:
name: Build core-data-products dependency jar
command: |
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
cd sunbird-core-dataproducts && mvn install -DskipTests
- run:
name: Ed-data-products-build
command: cd data-products && mvn scoverage:report
command: |
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
cd data-products && mvn scoverage:report
- save_cache:
key: dp-dependency-cache-{{ checksum "data-products/pom.xml" }}
paths: ~/.m2
- run:
name: sonar
command: |
export JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64
cd data-products && mvn -X sonar:sonar -Dsonar.projectKey=Sunbird-Ed_sunbird-data-products -Dsonar.host.url=https://sonarcloud.io -Dsonar.exclusions=/home/circleci/project/adhoc-scripts/**,/home/circleci/project/replay-scripts/** -Dsonar.scala.coverage.reportPaths=/home/circleci/project/data-products/target/scoverage.xml -Dsonar.organization=sunbird-ed
workflows:
version: 2.1
workflow:
jobs:
- sunbird-ed-dp-build
- sunbird-ed-dp-build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ dependency-reduced-pom.xml
data-products/.settings
data-products/data-products.iml
python-scripts/.pybuilder
anomaly-detection/.pybuilder
**/bin/*
etl-jobs/.settings
50 changes: 50 additions & 0 deletions anomaly-detection/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
@Library('deploy-conf') _
node() {
try {
String ANSI_GREEN = "\u001B[32m"
String ANSI_NORMAL = "\u001B[0m"
String ANSI_BOLD = "\u001B[1m"
String ANSI_RED = "\u001B[31m"
String ANSI_YELLOW = "\u001B[33m"

ansiColor('xterm') {
stage('Checkout') {
cleanWs()
checkout scm
commit_hash = sh(script: 'git rev-parse --short HEAD', returnStdout: true).trim()
artifact_version = sh(script: "echo " + params.github_release_tag.split('/')[-1] + "_" + commit_hash + "_" + env.BUILD_NUMBER, returnStdout: true).trim()
echo "artifact_version: "+ artifact_version
}
}

stage('Build') {
sh '''
cd anomaly-detection
docker run --rm -v /etc/passwd:/etc/passwd -u $(id -u):$(id -g) -v$(pwd):/home/work -e HOME=/home/work -w /home/work python:3.8 ./build.sh
'''
}

stage('Archive artifacts'){
sh """
cd anomaly-detection
mkdir anomaly_detection_artifacts
cp bin/anomaly_detection.tar.gz anomaly_detection_artifacts/
zip -j anomaly_detection_artifacts.zip:${artifact_version} anomaly_detection_artifacts/*
"""
archiveArtifacts artifacts: "anomaly-detection/anomaly_detection_artifacts.zip:${artifact_version}", fingerprint: true, onlyIfSuccessful: true
sh """echo {\\"artifact_name\\" : \\"anomaly_detection_artifacts.zip\\", \\"artifact_version\\" : \\"${artifact_version}\\", \\"node_name\\" : \\"${env.NODE_NAME}\\"} > metadata.json"""
archiveArtifacts artifacts: 'metadata.json', onlyIfSuccessful: true
currentBuild.result = "SUCCESS"
currentBuild.description = "Artifact: ${artifact_version}, Public: ${params.github_release_tag}"
}
}

catch (err) {
currentBuild.result = "FAILURE"
throw err
}
finally {
slack_notify(currentBuild.result)
email_notify()
}
}
9 changes: 9 additions & 0 deletions anomaly-detection/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# anomaly-detection

## Getting started

### Setup
* Python 3.8
* Create virtual environment `python3 -m venv /path/to/virtual/environment`
* Activate virtual environment `source /path/to/virtual/environment/bin activate`
* Install required packages `pip install -r requirements.txt`
14 changes: 14 additions & 0 deletions anomaly-detection/build.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from pybuilder.core import use_plugin, init

use_plugin("python.core")
use_plugin("python.install_dependencies")
use_plugin("python.distutils")

default_task = "publish"
name = "anomaly_detection"
version = "3.6.0"
license = "MIT License"

@init
def initialize(project):
project.depends_on_requirements("requirements.txt")
25 changes: 25 additions & 0 deletions anomaly-detection/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

cd "$(dirname "$0")"

rm -rf .local || true
pybuilderInstalled=`pip3 freeze | grep 'pybuilder' | wc -l`

if [ $pybuilderInstalled != 1 ]
then
echo "Installing pybuilder"
pip3 install -U pybuilder --pre
fi
export PATH=$PATH:$(pwd)/.local/bin

pyb

if [ ! -d "bin" ]; then
mkdir 'bin'
fi

cp target/dist/anomaly_detection*/dist/* bin/
mv bin/anomaly_detection-*.tar.gz bin/anomaly_detection.tar.gz
mv bin/anomaly_detection-*.whl bin/anomaly_detection.whl

rm -rf target
7 changes: 7 additions & 0 deletions anomaly-detection/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
flask
requests
sqlparse
ciso8601
dataclasses-json
jsons
APScheduler==3.7.0
Empty file.
Loading