Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
371 commits
Select commit Hold shift + click to select a range
92a40fc
Fix syntax
santhosh-tg Nov 9, 2022
4a51e49
azure CSP related changes in ansible roles and playbooks
saiakhil46 Nov 10, 2022
16e8e5c
updated azure-cli install role
saiakhil46 Nov 10, 2022
ad25e9b
updated azure-cli install role
saiakhil46 Nov 10, 2022
77f7361
updated azure-cli install role
saiakhil46 Nov 10, 2022
def236b
updated neo4j-backup role
saiakhil46 Nov 10, 2022
3bd526a
updated azure-cli install role
saiakhil46 Nov 10, 2022
af4821b
updated neo4j-backup role
saiakhil46 Nov 10, 2022
36c563e
updated cassandra-backup role
saiakhil46 Nov 10, 2022
b344a15
updated cassandra-backup role
saiakhil46 Nov 10, 2022
661ed56
deleted meta folders
saiakhil46 Nov 10, 2022
e5be6fd
Issue #SB-1788 merge: Merge pull request #1788 from santhosh-tg/relea…
vinukumar-vs Nov 11, 2022
cd6baa1
Issue #KN-603 merge: Merge pull request #1787 from pallakartheekreddy…
vinukumar-vs Nov 11, 2022
8c3bb5d
Issue #KN-603 merge: Merge pull request #1790 from project-sunbird/cs…
AmiableAnil Nov 11, 2022
0275947
delete azure artifact upload and download roles
saiakhil46 Nov 11, 2022
4073a7b
Revert "delete azure artifact upload and download roles"
saiakhil46 Nov 11, 2022
19c97b6
resolved merge conflicts
saiakhil46 Nov 11, 2022
5643d9e
Issue #KN-0000 merge: Merge pull request #1791 from saiakhil46/releas…
AmiableAnil Nov 11, 2022
29ab3cd
Issue #KN-439 feat: CSP Migration Job
Nov 15, 2022
4377cce
fix: using cloud_storage_url instead of hard coded url
beepdot Nov 15, 2022
5656838
Issue #SB-31155 merge: Merge pull request #1792 from keshavprasadms/…
vinukumar-vs Nov 16, 2022
20b0fa4
Issue #IQ-149 feat: sync tool changes for csp migration
krgauraw Nov 16, 2022
43e0d29
Issue #IQ-149 feat: added sync tool & kafka config
krgauraw Nov 16, 2022
a68269c
Issue #KN-439 feat: CSP Migration Job
Nov 16, 2022
ab2c19d
Issue #KN-439 feat: CSP Migration Job
Nov 16, 2022
87fb4ee
Merge remote-tracking branch 'sunbird/csp-migration' into csp-migration
Nov 16, 2022
63161c8
added es5-snapshot-purge role
saiakhil46 Nov 17, 2022
20ec9a8
added es-curator role
saiakhil46 Nov 17, 2022
a65a971
Issue #KN-0000 merge: Merge pull request #1799 from saiakhil46/releas…
AmiableAnil Nov 17, 2022
15335bf
added es5-snapshot-purge es-curator roles
saiakhil46 Nov 17, 2022
7b69567
Issue #KN-0000 merge: Merge pull request #1800 from saiakhil46/releas…
AmiableAnil Nov 17, 2022
661ccc0
Issue #KN-439 feat: CSP Migration Job
Nov 18, 2022
c48107b
Issue #KN-439 feat: CSP Migration Job
Nov 18, 2022
749816d
Issue #KN-439 feat: CSP Migration Job
Nov 18, 2022
cb62933
Issue #KN-439 feat: CSP Migration Job
Nov 18, 2022
16ebfd9
Issue #KN-439 feat: CSP Migration Job
Nov 18, 2022
5621594
Issue #KN-445 merge: Merge pull request #1781 from Jayaprakash8887/cs…
vinukumar-vs Nov 18, 2022
50d053d
Issue #KN-439 feat: CSP Migration Job
Nov 18, 2022
b20cae6
Issue #IQ-149 fix: updated kafka config
krgauraw Nov 18, 2022
53563fc
Issue #KN-439 merge: Merge pull request #1801 from Jayaprakash8887/cs…
vinukumar-vs Nov 18, 2022
adbd2ce
Merge pull request #1798 from krgauraw/csp-migration
maheshkumargangula Nov 20, 2022
28cf5ec
Issue #KN-439 feat: CSP Migration Job
Nov 21, 2022
b263b08
Merge pull request #1802 from Jayaprakash8887/csp-migration
AmiableAnil Nov 21, 2022
23a95dc
Issue #KN-439 feat: CSP Migration Job
Nov 21, 2022
8e42caa
Issue #KN-439 feat: CSP Migration Job
Nov 21, 2022
26a8d7a
Issue #KN-439 feat: CSP Migration Job
Nov 21, 2022
25c206a
Merge pull request #1803 from Jayaprakash8887/csp-migration
AmiableAnil Nov 22, 2022
c3339cf
Merge pull request #1804 from project-sunbird/release-5.1.0
AmiableAnil Nov 22, 2022
7f9cd5a
Merge branch 'release-5.2.0' into csp-migration
vinukumar-vs Nov 23, 2022
bb75c51
Issue #KN-439 merge: Merge pull request #1805 from project-sunbird/cs…
AmiableAnil Nov 23, 2022
a6a5490
Issue #IQ-194 feat: added config and kafka topic
krgauraw Nov 24, 2022
58846ad
Issue #IQ-194 merge: Merge pull request #1809 from krgauraw/csp-migra…
AmiableAnil Nov 24, 2022
8f9157e
Merge pull request #1810 from project-sunbird/csp-migration
AmiableAnil Nov 25, 2022
862fc85
Issue #KN-439 feat: Cloud agnostic changes
anilguptatarento Nov 28, 2022
2744b45
Issue #KN-439 merge: Merge pull request #1816 from AmiableAnil/csp-mi…
AmiableAnil Nov 28, 2022
1b93ca3
Issue #KN-439 merge: Merge pull request #1817 from project-sunbird/cs…
vinukumar-vs Nov 28, 2022
40cf7ae
Issue #KN-439 merge: merging from release-5.2.0-knowlg to release-5.2.0
AmiableAnil Dec 8, 2022
8664e2f
Issue #KN-439 merge: merging from release-5.2.0-knowlg to release-5.2.0
AmiableAnil Dec 8, 2022
20f941a
Issue #KN-439 merge: Merge pull request #1835 from AmiableAnil/releas…
vinukumar-vs Dec 8, 2022
64f2ec8
Issue #KN-439 merge: merging from release-5.2.0-knowlg to release-5.2.0
AmiableAnil Dec 8, 2022
efde708
Issue #KN-439 merge: Merge pull request #1836 from AmiableAnil/releas…
vinukumar-vs Dec 8, 2022
98bba21
Issue #KN-427 debug: Sync Tool data
Dec 9, 2022
153f35e
Issue #KN-427 merge: Merge pull request #1837 from Jayaprakash8887/re…
AmiableAnil Dec 9, 2022
71b6f37
Issue #KN-427 debug: Sync Tool data
Dec 9, 2022
befc4ae
Issue #KN-427 merge: Merge pull request #1838 from Jayaprakash8887/re…
AmiableAnil Dec 9, 2022
1fd7586
Issue #KN-427 fix: Config update
Dec 12, 2022
623afc8
Issue #KN-427 merge: Merge pull request #1839 from Jayaprakash8887/re…
AmiableAnil Dec 12, 2022
48e78a4
Issue #KN-427 fix: Config update
Dec 13, 2022
9686cc9
Issue #KN-427 fix: Config update
Dec 13, 2022
11a49e2
Issue #KN-427 merge: Merge pull request #1840 from Jayaprakash8887/re…
AmiableAnil Dec 13, 2022
2a40453
Issue #KN-427 fix: Config update
Dec 13, 2022
fefce1e
Issue #KN-427 merge: Merge pull request #1842 from Jayaprakash8887/re…
AmiableAnil Dec 13, 2022
9eacf35
added asessment republish and postpublish kafka topic name
G33tha Dec 13, 2022
c0df4aa
Merge pull request #1843 from G33tha/patch-1
AmiableAnil Dec 13, 2022
25f8eae
Issue #KN-427 fix: Config update
Dec 13, 2022
7565ceb
Issue #KN-427 merge: Merge pull request #1844 from Jayaprakash8887/re…
AmiableAnil Dec 13, 2022
bfd2c58
Issue #KN-427 fix: Config update
Dec 14, 2022
e258b7c
Issue #KN-427 merge: Merge pull request #1845 from Jayaprakash8887/re…
AmiableAnil Dec 14, 2022
9e502f8
updated search-indexer taskslots
G33tha Dec 14, 2022
31d3ca9
Merge pull request #1846 from G33tha/patch-2
AmiableAnil Dec 14, 2022
6319df5
Issue #KN-439 chore: Added the quote
AmiableAnil Dec 14, 2022
4530153
Issue #KN-439 chore: Added the quote
AmiableAnil Dec 14, 2022
2121232
Merge pull request #1847 from AmiableAnil/release-5.2.0
maheshkumargangula Dec 14, 2022
9066a74
Issue #KN-427 fix: Config update
Dec 14, 2022
717fe2e
Issue #KN-427 merge: Merge pull request #1848 from Jayaprakash8887/re…
AmiableAnil Dec 14, 2022
e3aa649
Issue #KN-427 fix: Config update
Dec 14, 2022
51b5dec
Issue #KN-427 merge: Merge pull request #1849 from Jayaprakash8887/re…
AmiableAnil Dec 14, 2022
2c8849d
Issue #KN-427 fix: Config update
Dec 14, 2022
a25ce85
Issue #KN-427 merge: Merge pull request #1850 from Jayaprakash8887/re…
AmiableAnil Dec 14, 2022
d6105a3
Issue #KN-427 fix: Config update
Dec 14, 2022
9107602
Issue #KN-427 merge: Merge pull request #1851 from Jayaprakash8887/re…
AmiableAnil Dec 14, 2022
a1069de
Issue #KN-427 fix: Config update
Dec 14, 2022
644fc67
Issue #KN-427 fix: Config update
Dec 14, 2022
14d586d
Issue #KN-427 merge: Merge pull request #1852 from Jayaprakash8887/re…
AmiableAnil Dec 14, 2022
48ee03c
Issue #KN-427 fix: Config update
Dec 14, 2022
cbefed7
Issue #KN-427 merge: Merge pull request #1853 from Jayaprakash8887/re…
AmiableAnil Dec 14, 2022
bae4d2d
Issue #KN-427 fix: Config update
Dec 14, 2022
1d99d5b
Issue #KN-427 merge: Merge pull request #1854 from Jayaprakash8887/re…
AmiableAnil Dec 14, 2022
bdd6e75
Issue #KN-427 fix: Config update
Dec 15, 2022
10ca308
Issue #KN-427 fix: Config update
Dec 15, 2022
85885ba
Merge pull request #1855 from Jayaprakash8887/release-5.2.0
AmiableAnil Dec 15, 2022
7360c9c
Issue #KN-427 fix: Config update
Dec 15, 2022
d861054
Issue #KN-427 fix: Config update
Dec 15, 2022
a327fea
Issue #KN-427 merge: Merge pull request #1856 from Jayaprakash8887/re…
AmiableAnil Dec 15, 2022
2c35184
Issue #KN-427 fix: Config update
Dec 15, 2022
4efe72d
Issue #KN-427 merge: Merge pull request #1857 from Jayaprakash8887/re…
AmiableAnil Dec 15, 2022
dcb07d0
Issue #KN-427 fix: Config update
Dec 15, 2022
91430f9
Issue #KN-427 merge: Merge pull request #1858 from Jayaprakash8887/re…
AmiableAnil Dec 15, 2022
d9e7118
Issue #KN-427 fix: Config update
Dec 15, 2022
01e64e4
Issue #KN-427 merge: Merge pull request #1859 from Jayaprakash8887/re…
AmiableAnil Dec 15, 2022
107ff1b
Issue #KN-427 fix: Config update
Dec 15, 2022
b4db0e3
Issue #KN-427 fix: Config update
Dec 15, 2022
a24ea0c
Issue #KN-427 fix: Config update
Dec 15, 2022
d435d90
Issue #KN-427 merge: Merge pull request #1860 from Jayaprakash8887/re…
AmiableAnil Dec 15, 2022
32e9c6d
Issue #KN-427 fix: Config update
Dec 16, 2022
e30a358
Issue #KN-427 merge: Merge pull request #1866 from Jayaprakash8887/re…
AmiableAnil Dec 16, 2022
4867422
Issue #KN-427 fix: Config update
Dec 19, 2022
a73aa24
Generate sas_token on-demand
santhosh-tg Dec 14, 2022
a63de0f
Update generalized vars
santhosh-tg Dec 14, 2022
fea0f2c
Issue #KN-427 fix: Config update
Dec 19, 2022
844bdf8
Merge pull request #1867 from Jayaprakash8887/release-5.2.0
AmiableAnil Dec 19, 2022
2685407
Add cloud agnostic vars
santhosh-tg Dec 19, 2022
e18e452
Add missing var
santhosh-tg Dec 19, 2022
b68e194
Issue #KN-427 fix: Config update
Dec 20, 2022
af70608
Issue #KN-427 merge: Merge pull request #1868 from Jayaprakash8887/re…
AmiableAnil Dec 20, 2022
f1230db
Update es backup role
santhosh-tg Dec 20, 2022
1760bbf
Issue #KN-439 feat: Adding the replace string feature.
AmiableAnil Dec 20, 2022
b430a1f
Issue #KN-439 merge: Merge pull request #1871 from AmiableAnil/releas…
vinukumar-vs Dec 20, 2022
949727a
Issue #KN-427 feat: Sync Tool Update
Dec 20, 2022
fcc1c88
Issue #KN-427 merge: Merge pull request #1872 from Jayaprakash8887/re…
AmiableAnil Dec 20, 2022
8842941
Issue #KN-427 feat: Sync Tool Update
Dec 20, 2022
f858070
Issue #KN-427 feat: Sync Tool Update
Dec 20, 2022
1d1440e
Issue #KN-427 MERGE: Merge pull request #1873 from Jayaprakash8887/re…
AmiableAnil Dec 20, 2022
59a5927
Merge pull request #1870 from santhosh-tg/release-5.2.0
AmiableAnil Dec 21, 2022
430d207
Issue #KN-427 feat: Sync Tool Update
Dec 21, 2022
a032559
Merge pull request #1874 from Jayaprakash8887/release-5.2.0
AmiableAnil Dec 21, 2022
2a59f1c
Issue #ED-591 fix: Content publish API fix
Dec 22, 2022
f0e6bd8
Issue #KN-445 fix: Collection publish API fix
Dec 23, 2022
3c4dd2b
Merge pull request #1875 from Jayaprakash8887/release-5.2.0
AmiableAnil Dec 23, 2022
f8611bb
Issue #KN-445 fix: MigrateCSPDataCommand enhancement with migrationVe…
Dec 29, 2022
e224866
Add gcp service account
santhosh-tg Dec 29, 2022
2336058
Issue #KN-439 chore: Added the transcripts in cloudstorage_metadata_l…
AmiableAnil Dec 29, 2022
7b5510d
Add gcp vars for service accounts
santhosh-tg Dec 30, 2022
57f9849
Merge pull request #1880 from santhosh-tg/release-5.2.0
AmiableAnil Dec 30, 2022
de7489f
Merge remote-tracking branch 'sunbird/release-5.2.0' into release-5.2.0
Dec 30, 2022
ce23f47
Issue #CO-192 fix: Removing posterImage from VDN import metadata
Dec 30, 2022
1d770ed
Issue #CO-192 fix: Removing posterImage from VDN import metadata
Dec 30, 2022
7bf8ce4
Issue #CO-192 merge: Merge pull request #1881 from Jayaprakash8887/CO192
vinukumar-vs Dec 30, 2022
d9575cb
Merge branch 'release-5.2.0' into release-5.2.0
Jayaprakash8887 Jan 2, 2023
cdb1772
Issue #KN-445 merge: Merge pull request #1877 from Jayaprakash8887/re…
vinukumar-vs Jan 2, 2023
8c0f2ae
Issue #KN-445 fix: MigrateCSPDataCommand enhancement with migrationVe…
Jan 2, 2023
3ffc133
Merge remote-tracking branch 'sunbird/release-5.2.0' into release-5.2.0
Jan 2, 2023
fbb264e
Merge pull request #1882 from Jayaprakash8887/release-5.2.0
AmiableAnil Jan 2, 2023
d75afbf
Issue #CO-192 fix: Removing posterImage from VDN import metadata
Jan 2, 2023
5c26769
Merge pull request #1883 from Jayaprakash8887/release-5.2.0
AmiableAnil Jan 2, 2023
eaf3171
Issue #KN-439 merge: Merge pull request #1878 from AmiableAnil/releas…
vinukumar-vs Jan 3, 2023
4b33d52
Issue #KN-427 fix: Bundle API issue fix.
Jan 3, 2023
5281bb1
Issue #KN-427 merge: Merge pull request #1888 from Jayaprakash8887/re…
AmiableAnil Jan 3, 2023
6ba10a4
Issue #KN-427 fix: Bundle API issue fix.
Jan 3, 2023
f40b619
Issue #KN-427 fix: Bundle API issue fix.
Jan 3, 2023
4f9c363
Issue #KN-427 fix: Bundle API issue fix.
Jan 3, 2023
f828049
Issue #KN-427 fix: Common Vars addition
Jan 3, 2023
00ec4cc
Issue #KN-427 merge: Merge pull request #1889 from Jayaprakash8887/re…
AmiableAnil Jan 3, 2023
8f95468
Issue #KN-445 fix: MigrateCSPDataCommand enhancement with content Ids
Jan 10, 2023
3fb7d74
Issue #KN-445 merge: Merge pull request #1890 from Jayaprakash8887/re…
AmiableAnil Jan 10, 2023
57f1f8f
Issue #KN-445 fix: Revert MigrateCSPDataCommand enhancement with cont…
Jan 10, 2023
241f6c1
Issue #KN-445 merge: Merge pull request #1891 from Jayaprakash8887/re…
AmiableAnil Jan 10, 2023
50e58b3
Issue #KN-445 fix: Revert MigrateCSPDataCommand enhancement with cont…
Jan 10, 2023
e4e31b4
Issue #KN-445 merge: Merge pull request #1892 from Jayaprakash8887/re…
AmiableAnil Jan 10, 2023
94440e8
Issue #KN-445 fix: MigrateCSPDataCommand enhancement with content Ids
Jan 11, 2023
de6a295
Issue #KN-445 merge: Merge pull request #1893 from Jayaprakash8887/re…
AmiableAnil Jan 11, 2023
27fba4b
Issue #KN-445 fix: MigrateCSPDataCommand enhancement with content Ids
Jan 11, 2023
bd46762
Issue #KN-445 merge: Merge pull request #1894 from Jayaprakash8887/re…
AmiableAnil Jan 11, 2023
4446dd9
Issue #KN-445 fix: MigrateCSPDataCommand enhancement with content Ids
Jan 11, 2023
efdafa3
Issue #KN-445 merge: Merge pull request #1896 from Jayaprakash8887/re…
AmiableAnil Jan 11, 2023
e4de2c3
Handling google drive link
amitpriyadarshi Jan 17, 2023
4ea3f87
Update values.j2
amitpriyadarshi Jan 17, 2023
8f7b5b3
configuring the application name
amitpriyadarshi Jan 18, 2023
403ca47
Issue #KN-427 merge: Merge pull request #1904 from amitpriyadarshi/re…
AmiableAnil Jan 19, 2023
6c7bf59
Issue #KN-439 chore: Moved out the query out from condition.
AmiableAnil Jan 30, 2023
6c79a39
Merge pull request #1909 from AmiableAnil/release-5.2.0
pallakartheekreddy Jan 30, 2023
11cde63
Merge pull request #1912 from project-sunbird/release-5.2.0
pallakartheekreddy Feb 2, 2023
f9458be
Issue #KN-801 fix: removing samza jobs from knowlg
pallakartheekreddy Feb 2, 2023
1b81f4a
Merge pull request #1913 from pallakartheekreddy/release-5.4.0
maheshkumargangula Feb 6, 2023
f09f35a
Issue KN-808 fix: removing dead code from repo
pallakartheekreddy Feb 6, 2023
4304f7f
Issue KN-808 fix: removing dead code from repo
pallakartheekreddy Feb 6, 2023
cf3e28a
Merge pull request #1915 from pallakartheekreddy/release-5.4.0
maheshkumargangula Feb 6, 2023
b7376d6
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 21, 2023
7a14aa3
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 21, 2023
5dbfcfa
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 21, 2023
2bad538
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 21, 2023
3f68c45
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 21, 2023
725bd27
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 21, 2023
75de98d
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 21, 2023
405a50a
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 21, 2023
aa71a04
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 22, 2023
71a0a73
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 22, 2023
15660cc
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 22, 2023
b671304
Issue #KN-810 feat: Learning service docker file
pallakartheekreddy Feb 23, 2023
9d7883f
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 27, 2023
b1d90d8
Issue #KN-802 feat: Sync QR Image to DIAL code ES index
Feb 27, 2023
30e2410
Merge pull request #1929 from Jayaprakash8887/release-5.2.0
maheshkumargangula Mar 7, 2023
2846523
Issue #KN-810 fix: build script added for docker build
pallakartheekreddy Mar 8, 2023
3343306
Issue #KN-810 fix: build script added for docker build
pallakartheekreddy Mar 8, 2023
c7a64f7
Issue #KN-810 fix: build script added for docker build
pallakartheekreddy Mar 8, 2023
4c4a6c6
Issue #KN-810 fix: build script added for docker build
pallakartheekreddy Mar 8, 2023
f0b97aa
Issue #KN-810 fix: build script added for docker build
pallakartheekreddy Mar 8, 2023
436855b
Issue #KN-810 fix: build script added for docker build
pallakartheekreddy Mar 8, 2023
143597f
Issue #KN-810 feat: Learning service docker file
pallakartheekreddy Mar 29, 2023
b8dd7b9
Issue #KN-810 feat: Learning service docker file
pallakartheekreddy Mar 30, 2023
e14a3a9
Issue #KN-810 feat: Learning service docker file
pallakartheekreddy Mar 30, 2023
af89597
Issue #KN-810 feat: Learning service docker file
pallakartheekreddy Mar 30, 2023
e6b3adf
Issue #KN-810 feat: Learning service docker file
pallakartheekreddy Mar 30, 2023
746ba40
Issue #KN-810 feat: env variable added
pallakartheekreddy Mar 30, 2023
3ed020f
Issue #KN-810 feat: remove unused docker file
pallakartheekreddy Mar 30, 2023
de86e70
Issue #KN-810 fix: remove unused code
pallakartheekreddy Mar 30, 2023
ad52fcd
Merge pull request #1947 from pallakartheekreddy/release-5.4.0
maheshkumargangula Apr 13, 2023
04a3287
Issue #KN-522 chore: Adding the missing topic for qrimage.request
AmiableAnil May 5, 2023
cd581b9
Merge pull request #1949 from AmiableAnil/release-5.5.0
pallakartheekreddy May 5, 2023
bdb56f6
Issue KN-10 fix: disable content publish, unlisted publish, reject an…
pallakartheekreddy Jun 21, 2023
f5f6127
Revert "Issue KN-10 fix: disable content publish, unlisted publish, r…
pallakartheekreddy Jun 21, 2023
61c288f
Issue KN-10 fix: disable content publish, unlisted publish, reject an…
pallakartheekreddy Jun 21, 2023
6bf07b1
Merge pull request #1955 from pallakartheekreddy/release-5.6.0
maheshkumargangula Jun 22, 2023
cd82397
Issue #KN-889 fix: QR ImageURL bulk sync
Jul 4, 2023
525b6dd
Issue #KN-889 merge: Merge pull request #1959 from Jayaprakash8887/re…
AmiableAnil Jul 4, 2023
0db5059
Merge pull request #1960 from Sunbird-Knowlg/release-5.4.1
maheshkumargangula Jul 13, 2023
40dcd0e
Merge pull request #1961 from Sunbird-Knowlg/release-5.5.0
maheshkumargangula Jul 13, 2023
78d326f
Issue #IQ-493 feat: added code for quml migration event generation
krgauraw Jul 14, 2023
ce38e6c
Merge pull request #1962 from krgauraw/release-5.6.0
pallakartheekreddy Jul 27, 2023
2b4396b
merge Release 5.6.0 into 5.7.0 (#1973)
pallakartheekreddy Oct 16, 2023
5749712
Issue #IQ-670 fix: fix for selective quml migration
krgauraw Feb 2, 2024
aa2d4ab
Merge pull request #1978 from krgauraw/release-5.7.0
pallakartheekreddy Feb 2, 2024
a1f23c8
Update values.j2
pallakartheekreddy Apr 18, 2024
068a881
Update values.j2
pallakartheekreddy Apr 18, 2024
5b6d7c9
Merge pull request #1982 from pallakartheekreddy/release-5.7.0
pallakartheekreddy Apr 19, 2024
f18122d
updated syntax
sanketnagdive Apr 19, 2024
6178d3d
Merge pull request #1983 from sanketnagdive/release-5.7.0
pallakartheekreddy Apr 30, 2024
95f1350
Issue #KN-1089 fix: added default value for endpoint variable
krgauraw May 22, 2024
4a77e83
Merge pull request #1985 from krgauraw/release-5.7.0
pallakartheekreddy May 22, 2024
9f4c194
Issue #KN-1089 fix: added default value for proxy host
krgauraw May 22, 2024
f6e5c3c
Merge pull request #1986 from krgauraw/release-5.7.0
pallakartheekreddy May 22, 2024
f9a6d8e
transaction-event-processor config added
pallakartheekreddy May 22, 2024
f5b3a05
transaction-event-processor config added
pallakartheekreddy May 22, 2024
a69d16a
Merge pull request #1987 from Sunbird-Knowlg/transaction-event-processor
pallakartheekreddy May 22, 2024
e6274c3
transaction-event-processor config added
pallakartheekreddy May 22, 2024
5af1f02
Merge pull request #1988 from Sunbird-Knowlg/transaction-event-processor
pallakartheekreddy May 22, 2024
8fe1c90
Issue KN-1096 feat: Video streaming job MediaKind configurations added
pallakartheekreddy Jun 18, 2024
423e5ba
Merge pull request #1989 from pallakartheekreddy/azure_mediakind
pallakartheekreddy Jun 18, 2024
22aeafd
Issue KN-1096 feat: Removed unused AMS variables
pallakartheekreddy Jun 19, 2024
fc2ca8c
Merge pull request #1990 from Sunbird-Knowlg/mediakind
pallakartheekreddy Jun 19, 2024
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
5 changes: 2 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)
MIT License

Copyright (c) 2015 EkStep
Copyright (c) 2021 Project Sunbird

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

145 changes: 145 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,148 @@ The platform contains of the following projects:
* platform-modules - Functional/Pedagogy modules to support game based learning and API


## learning-service local setup
This readme file contains the instruction to set up and run the learnin-service in local machine.

### System Requirements:

### Prerequisites:
* Java 11 is required for docker container setups
* Java 8 and Tomcat v9 is required for local service setup via IntelliJ

### Prepare folders for database data and logs

```shell
mkdir -p ~/sunbird-dbs/neo4j ~/sunbird-dbs/cassandra ~/sunbird-dbs/redis ~/sunbird-dbs/es ~/sunbird-dbs/kafka
export sunbird_dbs_path=~/sunbird-dbs
```


### Elasticsearch database setup in docker:
```shell
docker run --name sunbird_es -d -p 9200:9200 -p 9300:9300 \
-v $sunbird_dbs_path/es/data:/usr/share/elasticsearch/data \
-v $sunbird_dbs_path/es/logs://usr/share/elasticsearch/logs \
-v $sunbird_dbs_path/es/backups:/opt/elasticsearch/backup \
-e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:6.8.22

```
> --name - Name your container (avoids generic id)
>
> -p - Specify container ports to expose
>
> Using the -p option with ports 7474 and 7687 allows us to expose and listen for traffic on both the HTTP and Bolt ports. Having the HTTP port means we can connect to our database with Neo4j Browser, and the Bolt port means efficient and type-safe communication requests between other layers and the database.
>
> -d - This detaches the container to run in the background, meaning we can access the container separately and see into all of its processes.
>
> -v - The next several lines start with the -v option. These lines define volumes we want to bind in our local directory structure so we can access certain files locally.
>
> --env - Set config as environment variables for Neo4j database
>


### Neo4j database setup in docker:
1. First, we need to get the neo4j image from docker hub using the following command.
```shell
docker pull neo4j:3.3.0
```
2. We need to create the neo4j instance, By using the below command we can create the same and run in a container.
```shell
docker run --name sunbird_neo4j -p7474:7474 -p7687:7687 -d \
-v $sunbird_dbs_path/neo4j/data:/var/lib/neo4j/data \
-v $sunbird_dbs_path/neo4j/logs:/var/lib/neo4j/logs \
-v $sunbird_dbs_path/neo4j/plugins:/var/lib/neo4j/plugins \
--env NEO4J_dbms_connector_https_advertised__address="localhost:7473" \
--env NEO4J_dbms_connector_http_advertised__address="localhost:7474" \
--env NEO4J_dbms_connector_bolt_advertised__address="localhost:7687" \
--env NEO4J_AUTH=none \
neo4j:3.3.0
```
> --name - Name your container (avoids generic id)
>
> -p - Specify container ports to expose
>
> Using the -p option with ports 7474 and 7687 allows us to expose and listen for traffic on both the HTTP and Bolt ports. Having the HTTP port means we can connect to our database with Neo4j Browser, and the Bolt port means efficient and type-safe communication requests between other layers and the database.
>
> -d - This detaches the container to run in the background, meaning we can access the container separately and see into all of its processes.
>
> -v - The next several lines start with the -v option. These lines define volumes we want to bind in our local directory structure so we can access certain files locally.
>
> --env - Set config as environment variables for Neo4j database
>
> Using Docker on Windows will also need a couple of additional configurations because the default 0.0.0.0 address that is resolved with the above command does not translate to localhost in Windows. We need to add environment variables to our command above to set the advertised addresses.
>
> By default, Neo4j requires authentication and requires us to first login with neo4j/neo4j and set a new password. We will skip this password reset by initializing the authentication none when we create the Docker container using the --env NEO4J_AUTH=none.

3. Load seed data to neo4j using the instructions provided in the [link](master-data/loading-seed-data.md#loading-seed-data-to-neo4j-database)

4. Verify whether neo4j is running or not by accessing neo4j browser(http://localhost:7474/browser).

5. To SSH to neo4j docker container, run the below command.
```shell
docker exec -it sunbird_neo4j bash
```

### Redis database setup in docker:
1. we need to get the redis image from docker hub using the below command.
```shell
docker pull redis:6.0.8
```
2. We need to create the redis instance, By using the below command we can create the same and run in a container.
```shell
docker run --name sunbird_redis -d -p 6379:6379 redis:6.0.8
```
3. To SSH to redis docker container, run the below command
```shell
docker exec -it sunbird_redis bash
```
### cassandra database setup in docker:
1. we need to get the cassandra image and can be done using the below command.
```shell
docker pull cassandra:3.11.8
```
2. We need to create the cassandra instance, By using the below command we can create the same and run in a container.
```shell
docker run --name sunbird_cassandra -d -p 9042:9042 \
-v $sunbird_dbs_path/cassandra/data:/var/lib/cassandra \
-v $sunbird_dbs_path/cassandra/logs:/opt/cassandra/logs \
-v $sunbird_dbs_path/cassandra/backups:/mnt/backups \
--network bridge cassandra:3.11.8
```
For network, we can use the existing network or create a new network using the following command and use it.
```shell
docker network create sunbird_db_network
```
3. To start cassandra cypher shell run the below command.
```shell
docker exec -it sunbird_cassandra cqlsh
```
4. To ssh to cassandra docker container, run the below command.
```shell
docker exec -it sunbird_cassandra /bin/bash
```
5. Load seed data to cassandra using the instructions provided in the [link](master-data/loading-seed-data.md#loading-seed-data-to-cassandra-database)


### Steps to start learning-service in debug or development mode using IntelliJ:
1. Navigate to downloaded repository folder and run below command in terminal.
```shell
export JAVA_HOME = #JDK1.8 folder location
mvn clean install -DskipTests
```
2. Open the project in IntelliJ.
3. Add 'Smart Tomcat' plugin. (File -> Settings -> plugin -> Search for 'Smart Tomcat' -> install)
4. Configure the tomcat server using 'Smart Tomcat' plugin under 'Add configuration'.
![img.png](img.png)
5. Give the 'name' as 'learning-service'.
6. Specify the Tomcat v9 server location in 'Tomcat Server'.
7. Specify the absolute path of the 'webapp' folder (under ../sunbird-learning-platform/platform-modules/service/src/main/webapp).
8. Mention '/learning-service' as the context path. Click on 'Apply'.
9. Click on 'File' -> 'Project Structure'. Check if Java version is set to jdk1.8 in both 'Project' and 'Modules'.
![img_1.png](img_1.png)
![img_2.png](img_2.png)
10. Click on 'File' -> Settings -> Build, Execution, Deployment -> compiler -> scala compiler -> scala compiler server. Check if Java version is set to jdk1.8.
![img_3.png](img_3.png)
11. Service configuration file is available at '../sunbird-learning-platform/platform-modules/service/src/main/resources/application.conf'. Update config file to connect to local databases.
12. Start Redis, neo4j, cassandra and ElasticSearch docker containers.
13. Start the 'learning-service' configuration in IntelliJ. Verify the health of learning service by trying to connect to 'http://localhost:8080/learning-service/health'.
55 changes: 50 additions & 5 deletions ansible/artifacts-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,53 @@
become: yes
vars_files:
- "{{inventory_dir}}/secrets.yml"
environment:
AZURE_STORAGE_ACCOUNT: "{{sunbird_artifact_storage_account_name}}"
AZURE_STORAGE_SAS_TOKEN: "{{sunbird_artifact_storage_account_sas}}"
roles:
- artifacts-download-azure
tasks:
- name: download artifact from azure storage
include_role:
name: azure-cloud-storage
tasks_from: blob-download.yml
vars:
blob_container_name: "{{ cloud_storage_artifacts_bucketname }}"
blob_file_name: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
storage_account_name: "{{ cloud_artifact_storage_accountname }}"
storage_account_key: "{{ cloud_artifact_storage_secret }}"
when: cloud_service_provider == "azure"

- name: download artifact from gcloud storage
include_role:
name: gcp-cloud-storage
tasks_from: download.yml
vars:
gcp_storage_service_account_name: "{{ cloud_artifact_storage_accountname }}"
gcp_storage_key_file: "{{ cloud_artifact_storage_secret }}"
gcp_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
gcp_path: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
when: cloud_service_provider == "gcloud"

- name: download artifact from aws s3
include_role:
name: aws-cloud-storage
tasks_from: download.yml
vars:
local_file_or_folder_path: "{{ artifact_path }}"
s3_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
s3_path: "{{ artifact }}"
aws_default_region: "{{ cloud_public_storage_region }}"
aws_access_key_id: "{{ cloud_artifact_storage_accountname }}"
aws_secret_access_key: "{{ cloud_artifact_storage_secret }}"
when: cloud_service_provider == "aws"

- name: download artifact from oci oss storage
include_role:
name: oci-cloud-storage
apply:
environment:
OCI_CLI_AUTH: "instance_principal"
tasks_from: download.yml
vars:
oss_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
oss_object_name: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
when: cloud_service_provider == "oci"
57 changes: 52 additions & 5 deletions ansible/artifacts-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,55 @@
become: yes
vars_files:
- "{{inventory_dir}}/secrets.yml"
environment:
AZURE_STORAGE_ACCOUNT: "{{sunbird_artifact_storage_account_name}}"
AZURE_STORAGE_SAS_TOKEN: "{{sunbird_artifact_storage_account_sas}}"
roles:
- artifacts-upload-azure
tasks:
- name: upload artifact to azure storage
include_role:
name: azure-cloud-storage
tasks_from: blob-upload.yml
vars:
blob_container_name: "{{ cloud_storage_artifacts_bucketname }}"
container_public_access: "off"
blob_file_name: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
storage_account_name: "{{ cloud_artifact_storage_accountname }}"
storage_account_key: "{{ cloud_artifact_storage_secret }}"
when: cloud_service_provider == "azure"

- name: upload artifact to gcloud storage
include_role:
name: gcp-cloud-storage
tasks_from: upload.yml
vars:
gcp_storage_service_account_name: "{{ cloud_artifact_storage_accountname }}"
gcp_storage_key_file: "{{ cloud_artifact_storage_secret }}"
gcp_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
gcp_path: "{{ artifact }}"
local_file_or_folder_path: "{{ artifact_path }}"
when: cloud_service_provider == "gcloud"


- name: upload artifact to aws s3
include_role:
name: aws-cloud-storage
tasks_from: upload.yml
vars:
local_file_or_folder_path: "{{ artifact_path }}"
s3_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
s3_path: "{{ artifact }}"
aws_default_region: "{{ cloud_public_storage_region }}"
aws_access_key_id: "{{ cloud_artifact_storage_accountname }}"
aws_secret_access_key: "{{ cloud_artifact_storage_secret }}"
when: cloud_service_provider == "aws"

- name: upload artifact to oci oss
include_role:
name: oci-cloud-storage
apply:
environment:
OCI_CLI_AUTH: "instance_principal"
tasks_from: upload.yml
vars:
local_file_or_folder_path: "{{ artifact_path }}"
oss_bucket_name: "{{ cloud_storage_artifacts_bucketname }}"
oss_path: "{{ artifact }}"
when: cloud_service_provider == "oci"
3 changes: 0 additions & 3 deletions ansible/cassandra-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
become: yes
vars_files:
- ['{{inventory_dir}}/secrets.yml']
environment:
AZURE_STORAGE_ACCOUNT: "{{sunbird_management_storage_account_name}}"
AZURE_STORAGE_KEY: "{{sunbird_management_storage_account_key}}"
roles:
- cassandra-backup
3 changes: 0 additions & 3 deletions ansible/cassandra-restore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
gather_facts: no
vars_files:
- ['{{inventory_dir}}/secrets.yml']
environment:
AZURE_STORAGE_ACCOUNT: "{{sunbird_management_storage_account_name}}"
AZURE_STORAGE_KEY: "{{sunbird_management_storage_account_key}}"
roles:
- cassandra-restore
24 changes: 17 additions & 7 deletions ansible/es_backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,29 @@
vars_files:
- ['{{inventory_dir}}/secrets.yml']
tasks:
- name: Create a container for storing backups
command: az storage container create --name elasticsearch-snapshots --public-access blob
environment:
AZURE_STORAGE_ACCOUNT: "{{sunbird_management_storage_account_name}}"
AZURE_STORAGE_KEY: "{{sunbird_management_storage_account_key}}"

- name: Ensure azure blob storage container exists
include_role:
name: azure-cloud-storage
tasks_from: container-create.yml
vars:
blob_container_name: "elasticsearch-snapshots"
container_public_access: "off"
storage_account_name: "{{ cloud_management_storage_accountname }}"
storage_account_key: "{{ cloud_management_storage_secret }}"
when: cloud_service_provider == "azure"

- hosts: composite-search-cluster
become: yes
vars_files:
- ['{{inventory_dir}}/secrets.yml']
roles:
- es-azure-snapshot
- role: es-azure-snapshot
when: cloud_service_provider == "azure"
- role: es-s3-snapshot
when: cloud_service_provider == "aws"
- role: es-gcs-snapshot
when: cloud_service_provider == "gcloud"
- role: es5-snapshot-purge
tags:
- es_backup
run_once: true
15 changes: 13 additions & 2 deletions ansible/inventory/env/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ search_es7_host: "{{ groups['es7']|join(':9200,')}}:9200"

mlworkbench: "{{ groups['mlworkbench'][0]}}"

azure_account: "{{ sunbird_public_storage_account_name }}"
azure_secret: "{{ sunbird_public_storage_account_key }}"
azure_account: "{{ cloud_public_storage_accountname }}"
azure_secret: "{{ cloud_public_storage_secret }}"
dedup_redis_host: "{{ dp_redis_host }}"
kp_redis_host: "{{ groups['redisall'][0] }}"
neo4j_route_path: "bolt://{{ groups['learning-neo4j-node1'][0] }}:7687"
Expand All @@ -97,6 +97,7 @@ middleware_hierarchy_keyspace: "{{ instance }}_hierarchy_store"
kp_print_service_base_url: "http://{{private_ingressgateway_ip}}/print"
cert_reg_service_base_url: "http://{{private_ingressgateway_ip}}/certreg"
kp_search_service_base_url: "http://{{private_ingressgateway_ip}}/search"
kp_dial_service_base_url: "http://{{private_ingressgateway_ip}}/dial"
lms_service_base_url: "http://{{private_ingressgateway_ip}}/lms"
learner_service_base_url: "http://{{private_ingressgateway_ip}}/learner"
sourcing_content_service_base_url: "http://{{dock_private_ingressgateway_ip | default('localhost') }}/content"
Expand All @@ -116,3 +117,13 @@ cert_azure_storage_key: "{{sunbird_private_storage_account_name}}"
default_channel: "org.sunbird"
download_neo4j: true
neo4j_upstream_download: false
enable_suppress_exception: false
enable_rc_certificate: true

# SB-31155
plugin_storage: "{{ plugin_container_name }}"

cloud_storage_endpoint: "{{ cloud_public_storage_endpoint }}"
cloudstorage_relative_path_prefix_content: "CONTENT_STORAGE_BASE_PATH"
cloudstorage_relative_path_prefix_dial: "DIAL_STORAGE_BASE_PATH"
cloudstorage_metadata_list: '["appIcon", "artifactUrl", "posterImage", "previewUrl", "thumbnail", "assetsMap", "certTemplate", "itemSetPreviewUrl", "grayScaleAppIcon", "sourceURL", "variants", "downloadUrl", "streamingUrl", "toc_url", "data", "question", "solutions", "editorState", "media", "pdfUrl", "transcripts"]'
3 changes: 0 additions & 3 deletions ansible/lp_neo4j-backup.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
- hosts: learning-neo4j-node1 #if it is a cluster learning-neo4j-node1 should be always master node
vars_files:
- "{{inventory_dir}}/secrets.yml"
environment:
AZURE_STORAGE_ACCOUNT: "{{sunbird_management_storage_account_name}}"
AZURE_STORAGE_KEY: "{{sunbird_management_storage_account_key}}"
become: yes
become_user: "{{ learner_user }}"
roles:
Expand Down
Loading