Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
467 commits
Select commit Hold shift + click to select a range
331e51a
Issue KN-10 fix: Added index configuration
aimansharief Jul 4, 2023
6c683e8
Issue KN-10 fix: copy framework cache issue fix
pallakartheekreddy Jul 4, 2023
ad1745d
Issue KN-10 fix: Updated AuditHistoryActor Test cases
aimansharief Jul 4, 2023
259da9c
Issue KN-10 fix: AuditHistory Test case fix
aimansharief Jul 4, 2023
20bca31
Issue KN-10 fix: framework name issue fix
pallakartheekreddy Jul 5, 2023
c8cba45
Merge pull request #959 from aimansharief/KN-10-848
maheshkumargangula Jul 5, 2023
199c807
Merge pull request #960 from aimansharief/KN-10-848
pallakartheekreddy Jul 5, 2023
144df5e
Issue KN-10 fix: Fix to generate test reports from jacoco plugin
aimansharief Jul 5, 2023
60a5571
Issue KN-10 fix: Added Test case in AuditHistory
aimansharief Jul 5, 2023
9ba5af6
Issue KN-10 fix: Added Test case in AuditHistory
aimansharief Jul 5, 2023
54b4b81
Issue KN-10 fix: Added Test case in AuditHistorySpec
aimansharief Jul 5, 2023
e53a9e4
Issue KN-10 fix: Added Test cases in AuditHistoryActorTest
aimansharief Jul 6, 2023
84f94fb
Issue KN-10 fix: Added the translations validation in the create fram…
aimansharief Jul 6, 2023
d1f46a3
Issue #KN-885 fix: updated test cases
shourya-solanki Jul 7, 2023
e752463
Issue #KN-885 fix: removed cigar dependency
shourya-solanki Jul 7, 2023
54f313e
Issue #KN-885 fix: installing docker
shourya-solanki Jul 7, 2023
33233c6
Issue #KN-885 fix: docker socket strategy fix
shourya-solanki Jul 7, 2023
9eafe35
Issue #KN-885 fix: docker socket strategy fix
shourya-solanki Jul 7, 2023
783f884
Issue #KN-885 fix: docker socket strategy fix
shourya-solanki Jul 7, 2023
9dc80ba
Issue #KN-885 fix: updated wait time
shourya-solanki Jul 10, 2023
deff45d
Issue #KN-885 fix: updated config.yml
shourya-solanki Jul 10, 2023
4b04a4a
Issue #KN-885 fix: updated vmsetup.sh
shourya-solanki Jul 10, 2023
e4ba9c0
Issue #KN-885 fix: removed remote docker config
shourya-solanki Jul 10, 2023
03f7106
Issue #KN-885 fix: added docker image
shourya-solanki Jul 10, 2023
1787d13
Issue #KN-885 fix: docker changes
shourya-solanki Jul 11, 2023
ba1f181
Issue #KN-885 fix: host changes
shourya-solanki Jul 11, 2023
cd0c5da
Issue #KN-885 fix: config.yml chaneges
shourya-solanki Jul 11, 2023
c1be31f
Issue #KN-885 fix: config.yml changes
shourya-solanki Jul 11, 2023
e8e0244
Issue #KN-885 fix: config.yml changes
shourya-solanki Jul 11, 2023
728cfea
Issue #KN-885 fix: config.yml changes
shourya-solanki Jul 11, 2023
af54f70
Issue #KN-885 fix: config.yml changes
shourya-solanki Jul 11, 2023
53a9674
Issue #KN-885 fix: config.yml changes
shourya-solanki Jul 11, 2023
82f63d4
Issue KN-10 fix: Added Test Cases , removed CategoryManager
aimansharief Jul 12, 2023
76b6151
Issue KN-10 fix: Added Fix In Framework Publish API
aimansharief Jul 12, 2023
a1ed361
Issue #KN-885 fix: config.yml changes
shourya-solanki Jul 12, 2023
05a4ce9
Issue KN-10 fix: DIAL code reserve issue fix
pallakartheekreddy Jul 12, 2023
a2f6f05
Issue KN-10 fix: logs added
pallakartheekreddy Jul 12, 2023
ec05a86
Issue KN-10 fix: logs added
pallakartheekreddy Jul 12, 2023
6aabc4e
Issue KN-10 fix: logs added
pallakartheekreddy Jul 12, 2023
3763458
Issue KN-10 fix: logs added
pallakartheekreddy Jul 12, 2023
be8c54a
Issue KN-10 fix: remove logs
pallakartheekreddy Jul 12, 2023
166c295
Issue KN-10 fix: DIAL code reserve issue fix
pallakartheekreddy Jul 12, 2023
27f4142
Issue KN-10 fix: DIAL code reserve issue fix
pallakartheekreddy Jul 12, 2023
4df413a
Issue KN-10 fix: DIAL code reserve issue fix
pallakartheekreddy Jul 12, 2023
aee2303
Merge pull request #963 from pallakartheekreddy/release-5.6.0
maheshkumargangula Jul 12, 2023
2c7962b
Issue KN-10 feat: Added Asset Validate License API and Test Cases
aimansharief Jul 13, 2023
0dc5f4c
Issue #KN-885 fix: host changes
shourya-solanki Jul 26, 2023
fb01d73
Issue #KN-885 fix: host changes
shourya-solanki Jul 27, 2023
d7f7008
Issue #KN-885 fix: host changes
shourya-solanki Jul 27, 2023
007d2ae
Issue #KN-885 fix: host changes
shourya-solanki Jul 27, 2023
249d204
Issue #KN-885 fix: host changes
shourya-solanki Jul 28, 2023
5e6eeb4
Issue #KN-885 fix: host changes
shourya-solanki Jul 28, 2023
5237cb4
Issue #KN-885 fix: host changes
shourya-solanki Jul 28, 2023
4f4e3ae
Issue #KN-885 fix: host changes
shourya-solanki Jul 28, 2023
d859c75
Issue #KN-885 fix: config changes
shourya-solanki Jul 28, 2023
c88f0cf
Issue #KN-885 fix: config changes
shourya-solanki Jul 28, 2023
60143e2
Issue #KN-885 fix: config changes
shourya-solanki Jul 28, 2023
cf80a46
Issue #KN-885 fix: config changes
shourya-solanki Jul 28, 2023
5bb7c9d
Issue #KN-885 fix: config changes
shourya-solanki Jul 28, 2023
ec3f88e
Issue #KN-885 fix: config changes
shourya-solanki Jul 28, 2023
1f17d3f
Issue #KN-885 fix: config changes
shourya-solanki Jul 28, 2023
945bbec
Issue #KN-885 fix: config changes
shourya-solanki Jul 28, 2023
0bc63ca
Issue #KN-885 fix: config changes
shourya-solanki Jul 30, 2023
6787bf1
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
682a6bc
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
f2874ea
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
64deb2f
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
629063d
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
dee75a9
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
161fa27
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
1bf29e6
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
eb23f4e
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
0573861
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
e81124b
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
a177354
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
5609004
Issue #KN-885 fix: config changes
shourya-solanki Jul 31, 2023
494423f
Issue #KN-885 fix: basetest changes
shourya-solanki Aug 1, 2023
a05e75e
Issue #KN-885 fix: config changes
shourya-solanki Aug 1, 2023
1232917
Issue #KN-885 fix: config changes
shourya-solanki Aug 1, 2023
8833879
Issue #KN-885 fix: config changes
shourya-solanki Aug 1, 2023
b59fac8
Issue #KN-885 fix: config changes
shourya-solanki Aug 1, 2023
96be825
Issue #KN-885 fix: config changes
shourya-solanki Aug 2, 2023
fbdc815
Issue #KN-885 fix: neo4j container fix
shourya-solanki Aug 3, 2023
2ec4375
Issue #KN-885 fix: reverted directory path
shourya-solanki Aug 3, 2023
4b0f25a
Issue KN-10 fix:Added 'getRequestString' method
aimansharief Aug 24, 2023
68778a6
Issue KN-10 fix:Test case fix
aimansharief Aug 24, 2023
ae00177
Issue KN-10 fix:Added Test cases for AssetLicenseValidate
aimansharief Aug 24, 2023
9a479ea
Issue KN-10 fix:Added Test case for Request Class
aimansharief Aug 25, 2023
a0a823c
Issue KN-10 fix:Added Test case for Request Class
aimansharief Aug 25, 2023
460a09a
Issue KN-10 fix: Added Fix In Framework Publish API
aimansharief Aug 31, 2023
334f5b0
Issue KN-10 fix: Updated the right version of kafka
aimansharief Aug 31, 2023
e5f72d5
Merge branch 'release-5.7.0' into KN-10-848
aimansharief Aug 31, 2023
0827fd7
Issue KN-10 fix:Test Case fix
aimansharief Aug 31, 2023
aca9a67
Revert changes in DIALManager
aimansharief Aug 31, 2023
4f94085
Update CategoryCacheTest.scala
aimansharief Aug 31, 2023
ac60bd2
merge Release 5.6.0 into 5.7.0 (#983)
pallakartheekreddy Sep 7, 2023
2a630a2
Issue #KN-000 fix: updated postman collection
ShouraySolanki Sep 8, 2023
f5b4a24
Issue #KN-000 fix: updated postman collection
ShouraySolanki Sep 8, 2023
dd51480
Issue #000 feat: Knowlg Taxonomy Service - Cassandra Configurable.
maheshkumargangula Sep 11, 2023
e73dc68
Issue #KN-000 fix: updated env variable
ShouraySolanki Sep 12, 2023
fcf85a3
Merge pull request #966 from aimansharief/KN-10-AssetValidateLicense
pallakartheekreddy Sep 12, 2023
3bd6815
Merge branch 'release-5.7.0' into KN-10-848
aimansharief Sep 12, 2023
a5173be
Merge pull request #962 from ShouraySolanki/KN-885
pallakartheekreddy Sep 12, 2023
207c964
Merge pull request #981 from aimansharief/KN-10-848
pallakartheekreddy Sep 12, 2023
e76703f
Merge pull request #953 from aimansharief/AuditHistory
pallakartheekreddy Sep 12, 2023
b9759ec
Merge branch 'release-5.7.0' into taxonomy-cassandra-db-config
maheshkumargangula Sep 12, 2023
8ebe388
Issue #KN-927 fix: updated collection and environment variables
ShouraySolanki Sep 12, 2023
e92d77a
Merge pull request #988 from Sunbird-Knowlg/taxonomy-cassandra-db-config
pallakartheekreddy Sep 12, 2023
142335f
Issue #KN-927 fix: updated postman collection
ShouraySolanki Sep 12, 2023
3056442
Merge pull request #985 from ShouraySolanki/updated-postman-collection
pallakartheekreddy Sep 13, 2023
8173349
Issue #KN-878 : Refactoring Lock APIs (#977)
aimansharief Sep 13, 2023
112bc4a
Issue #KN-927 fix: updated collections
ShouraySolanki Sep 13, 2023
b22e172
Merge pull request #989 from ShouraySolanki/updated-postman-collection
pallakartheekreddy Sep 13, 2023
981db74
Update schema.json
aimansharief Oct 5, 2023
4107445
Issue #KN-KN-879 fix: updated application conf
ShouraySolanki Oct 12, 2023
241d6c9
Issue #KN-KN-879 fix: updated Dial Manager
ShouraySolanki Oct 12, 2023
7e6deba
Issue #KN-KN-879 fix: created the config.json and schema.json for dia…
ShouraySolanki Oct 12, 2023
155127a
Issue #KN-KN-879 fix: updated default config
ShouraySolanki Oct 12, 2023
91bd763
Issue #KN-KN-879 fix: updated dial eid in dial constants
ShouraySolanki Oct 12, 2023
02722e3
Issue #KN-KN-879 fix: updated field name in config.json
ShouraySolanki Oct 12, 2023
a05d8da
Issue #000 fix: cassandra connection issue. (#997)
pallakartheekreddy Oct 13, 2023
066914f
Issue #KN-878 : Test Case Fix
aimansharief Oct 13, 2023
a2f7d87
Issue #KN-878 : Test Case Fix
aimansharief Oct 13, 2023
fb07c10
Issue #KN-878 : Test Case Fix
aimansharief Oct 13, 2023
836f2dc
Issue #KN-KN-879 fix: updated the max int
ShouraySolanki Oct 13, 2023
7480c4e
Merge pull request #998 from aimansharief/TestCaseFix
pallakartheekreddy Oct 13, 2023
2775874
Issue #KN-KN-879 fix: updated dial process api
ShouraySolanki Oct 17, 2023
05e7bb2
Issue #KN-KN-879 fix: updated dial publisher
Oct 17, 2023
d8b9319
Issue #KN-KN-879 fix: updated dial publisher
Oct 17, 2023
239bff1
Issue #KN-KN-879 fix: updated dial publisher
Oct 17, 2023
6f2deed
Issue #KN-KN-879 fix: updated created_on
Oct 17, 2023
402199e
Issue #KN-KN-879 fix: updated config
Oct 17, 2023
719d1c5
Issue #KN-KN-879 fix: updated request function
Oct 18, 2023
c4d0fe6
Issue #KN-KN-879 fix: updated request function
Oct 18, 2023
f7491ef
Issue #KN-10: Added fix in YouTubeURLManagerImpl
aimansharief Oct 25, 2023
fa13a38
Issue #KN-KN-879 fix: added separate package for inserting record in …
Oct 25, 2023
332cb93
Issue #KN-10: Fix in AssetLicenseValidateManager
aimansharief Oct 25, 2023
b5dddb7
Merge pull request #999 from aimansharief/KN-10-YoutubeUrlManager
pallakartheekreddy Oct 25, 2023
0ce6cf1
Merge branch 'release-5.8.0' into KN879
Oct 25, 2023
6369ebd
Update schema.json
aimansharief Oct 26, 2023
b56f23b
Update schema.json
aimansharief Oct 26, 2023
0c113f0
Merge pull request #9 from Sunbird-Knowlg/release-5.8.0
aimansharief Oct 26, 2023
fe06e2e
Issue #KN-KN-879 fix: added separate package for inserting record in …
Oct 27, 2023
e922f50
Issue #KN-KN-879 fix: reserve testcase
Oct 27, 2023
fc1cb87
Issue #KN-KN-879 fix: DialPropsManger testcase
Oct 27, 2023
51a4b44
Issue #KN-KN-879 fix: Scoverage off
Oct 30, 2023
1c05826
KN-Update Tika Core Dependency (#1002)
aimansharief Oct 30, 2023
d52d212
Issue #KN-937 fix: Updated Framework APIs collection
Priyakashi Oct 30, 2023
42150e3
Update Framework API(s).postman_collection.json
Priyakashi Nov 7, 2023
5c13656
Merge pull request #993 from aimansharief/objectCategorySchemaUpdate
pallakartheekreddy Nov 8, 2023
0aafea6
Merge pull request #1004 from Priyakashi/KN-937
pallakartheekreddy Nov 8, 2023
edaeaf0
Issue #KN-10 Fix : Added V3 Asset License Validate API
aimansharief Nov 9, 2023
7c2bcd6
Merge pull request #1008 from aimansharief/KN-License-Validate
pallakartheekreddy Nov 9, 2023
067b2be
Issue #KN-948 fix: added PII field in the config
shourya-solanki Dec 20, 2023
d055d32
Issue #KN-948 fix: added PII field in the config
shourya-solanki Dec 20, 2023
d29d76a
Merge pull request #1026 from ShouraySolanki/config-update
pallakartheekreddy Dec 21, 2023
102353a
Issue #KN-879 fix: removing duplicate code
shourya-solanki Jan 5, 2024
9bae224
Issue #KN-879 fix: updated the Dial Manager
shourya-solanki Jan 5, 2024
5c172ba
Issue KN-000 fix: framework hierarchy issue fix
pallakartheekreddy Jan 12, 2024
ad69a53
Merge pull request #1032 from Sunbird-Knowlg/framework_issue2
pallakartheekreddy Jan 16, 2024
f22bb4c
Kn 948-Vulnerability Fixes (#1025)
ShouraySolanki Jan 31, 2024
3d422eb
Issue #KN-000 feat : Updated Multiple Term Create Functionality
aimansharief Feb 5, 2024
5df0523
Issue #KN-000 fix : Handling Multi Status Response
aimansharief Feb 6, 2024
dc5d614
Issue KN-967 fix: Framework category issue
pallakartheekreddy Feb 7, 2024
6798972
Issue #KN-000 fix : Test case fixes in term actor
aimansharief Feb 7, 2024
7c143bb
Merge pull request #1044 from Sunbird-Knowlg/framework_issue
pallakartheekreddy Feb 8, 2024
9c68673
Merge pull request #1042 from aimansharief/release-6.0.0
pallakartheekreddy Feb 15, 2024
e37b178
Issue KN-970 fix: categories filter issue fix & Shallow copy fix
pallakartheekreddy Feb 15, 2024
8b83592
Merge pull request #1049 from Sunbird-Knowlg/shallowcopy-6.0.0
pallakartheekreddy Feb 15, 2024
d058fb9
Issue #KN-976 fix : Updated ES version in pom
aimansharief Feb 19, 2024
12353b9
Issue #KN-976 fix : Updated the settings in Test Cases
aimansharief Feb 19, 2024
526c8a1
Issue #KN-976 fix :Updated the total hits count retrieval due to ES v…
aimansharief Feb 19, 2024
64d2c70
Issue #KN-976 fix : Updated the settings in Test Case
aimansharief Feb 19, 2024
fc70ac2
Issue #KN-976 fix : Updated code compatible with ES version 7.17.13
aimansharief Mar 4, 2024
ee79df2
Issue #KN-976 fix : Converting the json string to map object
aimansharief Mar 5, 2024
981a41b
Issue #KN-976 fix : Updated the elasticsearch link
aimansharief Mar 5, 2024
7a101d5
Merge branch 'release-6.0.0' into KN-879-dial_pr
shourya-solanki Mar 8, 2024
e7f0589
Issue #KN-976 fix : Updated the settings
aimansharief Mar 12, 2024
bef0f19
Issue #KN-976 fix : Updated the settings
aimansharief Mar 12, 2024
38f81af
Issue #KN-976 fix : Updated the max_ngram_diff in settings
aimansharief Mar 13, 2024
9563584
Issue #KN-976 fix : Updated the max_ngram_diff in settings
aimansharief Mar 13, 2024
ce68411
Issue #KN-976 fix : Removing the standard token filter
aimansharief Mar 13, 2024
dc3899d
Merge pull request #1058 from aimansharief/KN-976
pallakartheekreddy Mar 14, 2024
40808a2
Merge pull request #1056 from ShouraySolanki/KN-879-dial_pr
pallakartheekreddy Mar 20, 2024
50e73e3
Issue #IQ-750 fix: removed schema and service code for Question
krgauraw Apr 17, 2024
35280c5
Issue #IQ-750 fix: updated test case
krgauraw Apr 17, 2024
7fdf89d
Merge pull request #1063 from krgauraw/release-6.0.0
pallakartheekreddy Apr 17, 2024
dc9d4b0
Merge pull request #1064 from Sunbird-Knowlg/release-6.0.0
pallakartheekreddy Apr 17, 2024
2fb547a
Issue #KN-1071 fix: Dialcode_image table update cassandara
shourya-solanki May 3, 2024
57071ec
Issue #KN-1071 fix: dial cloud container
shourya-solanki May 6, 2024
648127e
Update Jenkinsfile
pallakartheekreddy May 6, 2024
cb6999d
Update DIALManager.scala
pallakartheekreddy May 6, 2024
30d111a
Merge pull request #1068 from Sunbird-Knowlg/pallakartheekreddy-patch-2
pallakartheekreddy May 6, 2024
4e35580
Merge pull request #1069 from Sunbird-Knowlg/release-6.0.0
pallakartheekreddy May 6, 2024
4469b94
Issue #KN-1071 fix: base url updated
shourya-solanki May 7, 2024
1bf360a
Merge pull request #1066 from ShouraySolanki/KN-1071
pallakartheekreddy May 8, 2024
c5cf8c5
Issue #KN-1089 fix: added cloud storage parameters
krgauraw May 17, 2024
ade38aa
Merge pull request #1071 from krgauraw/release-6.1.0
pallakartheekreddy May 17, 2024
c12521d
Issue #KN-1089 fix: fix for jenkins build
krgauraw May 20, 2024
cd807d1
Issue #KN-1089 fix: updated search service build script
krgauraw May 20, 2024
e9c0840
Issue #KN-1089 fix: updated docker file
krgauraw May 20, 2024
2272e93
Merge pull request #1073 from krgauraw/release-6.1.0
pallakartheekreddy May 20, 2024
2b808e4
Issue #KN-000 fix: Dial Image publish issue
ShouraySolanki May 30, 2024
d015528
Issue #KN-000 fix: updated object type
ShouraySolanki May 30, 2024
f6fb77d
Merge pull request #1074 from ShouraySolanki/dial_image_fix
pallakartheekreddy May 30, 2024
887b4dd
Issue #KN-000 fix: publisher coming as null
ShouraySolanki Jun 3, 2024
f18e8f3
Merge pull request #1077 from ShouraySolanki/dial_publisher_issue
pallakartheekreddy Jun 4, 2024
42a351a
Issue #KN-968 fix: Term create API enhancement to create multiple ter…
aimansharief Jun 4, 2024
7e31526
Merge pull request #1080 from aimansharief/KN-968-R6.1.0
pallakartheekreddy Jun 4, 2024
2ae47eb
Issue #KN-000 fix: Downgrade Tika Version to fix Content Review
aimansharief Mar 11, 2025
1f7123d
Merge pull request #1097 from aimansharief/downgradeTikaVersion
pallakartheekreddy Mar 11, 2025
862fa2c
Added content-service workflow
vinodbhorge May 16, 2025
2a4598f
Added workflows for content, taxonomy and search
vinodbhorge May 16, 2025
6f73644
Updated readme mentioned about the workflow pre requisites
vinodbhorge May 16, 2025
6b1353c
Added a registry provider variable
vinodbhorge May 20, 2025
61f5688
added echo statement
vinodbhorge May 20, 2025
6397d49
Updated case statement to use same content for azure and dockerhub
vinodbhorge May 20, 2025
13afee5
Updated Readme
vinodbhorge May 20, 2025
30d105e
Updated github actions. Avoiding duplication of docker login step. Ad…
vinodbhorge May 22, 2025
0be3636
Added content-service to code quality check action.
vinodbhorge May 23, 2025
779ed7b
updated content-service conf
vinodbhorge May 23, 2025
e7236bc
testing the build phase of content service
vinodbhorge May 23, 2025
9fc2513
removed wr in build content step
vinodbhorge May 23, 2025
a7b03eb
Testing the build and test code for content service.
vinodbhorge May 23, 2025
04121eb
updated action
vinodbhorge May 23, 2025
a90f0ec
Updated action workflow.
vinodbhorge May 23, 2025
4d77b3a
updated the build step.
vinodbhorge May 23, 2025
3444697
Update the action
vinodbhorge May 23, 2025
e03f7ea
khrefberiyge
vinodbhorge May 23, 2025
92b1c80
updated the workflow
vinodbhorge May 26, 2025
42cce3f
bcdywfwl
vinodbhorge May 26, 2025
2ec2fa2
Updated content service workflow
vinodbhorge May 29, 2025
3b3ef9d
Updated workflow
vinodbhorge May 29, 2025
ac16c31
Updated to push
vinodbhorge May 29, 2025
3578338
Update to take it in a single job
vinodbhorge May 29, 2025
361d2df
updated workflow
vinodbhorge May 29, 2025
aba1ed2
update
vinodbhorge May 29, 2025
51e7324
Updated sonar step
vinodbhorge May 29, 2025
5b7fa59
update
vinodbhorge May 29, 2025
5cffb90
update
vinodbhorge May 29, 2025
99c6cbb
Update
vinodbhorge May 29, 2025
5e2e382
Update content-service-pr-check.yml
vinodbhorge May 29, 2025
92e185c
Update content-service-pr-check.yml
vinodbhorge May 29, 2025
decf17a
efkhvgerouferou
vinodbhorge May 29, 2025
f6a72c9
Updated content-service-pr-action
vinodbhorge Jun 3, 2025
db641a8
Updated the workflow push
vinodbhorge Jun 3, 2025
ab98542
Updated the commands
vinodbhorge Jun 3, 2025
abed091
Updated the jdk with 17
vinodbhorge Jun 3, 2025
9a3697f
Updated the workflow to take cloud values from variables.
vinodbhorge Jun 4, 2025
748fdf9
Added working directory to sonar analysis
vinodbhorge Jun 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 11 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@ version: 2.1
executorType: machine
jobs:
build:
docker:
- image: circleci/openjdk:14-jdk-buster-node-browsers-legacy
machine:
image: ubuntu-2004:202201-02
steps:
- checkout
- restore_cache:
key: kp-dependency-build-cache-{{ checksum "pom.xml" }}
- run:
name: Run build
command: |
mvn clean install -DskipTests
mvn clean install -DskipTests -DCLOUD_STORE_GROUP_ID=$CLOUD_STORE_GROUP_ID -DCLOUD_STORE_ARTIFACT_ID=$CLOUD_STORE_ARTIFACT_ID -DCLOUD_STORE_VERSION=$CLOUD_STORE_VERSION
- save_cache:
paths:
- ~/.m2
key: kp-dependency-build-cache-{{ checksum "pom.xml" }}

unit-tests:
docker:
- image: circleci/openjdk:14-jdk-buster-node-browsers-legacy
- image: circleci/redis:latest
machine:
image: ubuntu-2004:202201-02
parallelism: 1
steps:
- checkout
- restore_cache:
key: kp-dependency-test-cache-{{ checksum "pom.xml" }}

- run:
name: Setup environment and run tests
command: bash vmsetup.sh
Expand All @@ -45,8 +45,8 @@ jobs:
workflows:
version: 2.1
build-then-test:
jobs:
- build
- unit-tests:
requires:
- build
jobs:
- build
- unit-tests:
requires:
- build
44 changes: 44 additions & 0 deletions .github/actions/registry-login/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: "Container Registry Login"
description: "Reusable action for logging in to container registries using workflow inputs"
inputs:
registry_provider:
required: false
gcp_service_account_key:
required: false
registry_name:
required: false
registry_url:
required: false
registry_username:
required: false
registry_password:
required: false
github_token:
required: false
runs:
using: "composite"
steps:
- run: |
case "${{ inputs.registry_provider }}" in
"gcp")
echo "Using Google Container Registry"
echo "${{ inputs.gcp_service_account_key }}" | base64 --decode > $HOME/gcloud-key.json
gcloud auth activate-service-account --key-file=$HOME/gcloud-key.json
gcloud auth configure-docker ${{ inputs.registry_name }}
REGISTRY_URL=$(echo "${{ inputs.registry_url }}" | tr '[:upper:]' '[:lower:]')
;;
"azure" | "dockerhub")
echo "Logging in to Container Registry"
echo "${{ inputs.registry_password }}" | docker login ${{ inputs.registry_name }} \
--username ${{ inputs.registry_username }} --password-stdin
REGISTRY_URL=$(echo "${{ inputs.registry_url }}" | tr '[:upper:]' '[:lower:]')
;;
*)
echo "Using GitHub Container Registry (GHCR)"
REPO_NAME_LOWERCASE=$(echo "${GITHUB_REPOSITORY}" | tr '[:upper:]' '[:lower:]')
echo "${{ inputs.github_token }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
REGISTRY_URL="ghcr.io/$REPO_NAME_LOWERCASE"
;;
esac
echo "REGISTRY_URL=${REGISTRY_URL}" >> $GITHUB_ENV
shell: bash
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Please describe the tests that you ran to verify your changes in the below check
- [ ] Ran Test B

**Test Configuration**:
* Software versions: Java 11, scala-2.11, play-2.7.2
* Software versions: Java 11, scala-2.12, play-2.7.2
* Hardware versions: 2 CPU/ 4GB RAM

### Checklist:
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Please describe the tests that you ran to verify your changes in the below check
- [ ] Ran Test B

**Test Configuration**:
* Software versions: Java 11, scala-2.11, play-2.7.2
* Software versions: Java 11, scala-2.12, play-2.7.2
* Hardware versions:

### Checklist:
Expand Down
102 changes: 102 additions & 0 deletions .github/workflows/content-service-pr-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: Pull Request Checks

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
test-and-quality:
runs-on: ubuntu-latest
env:
CLOUD_STORE_GROUP_ID: ${{ vars.CLOUD_STORE_GROUP_ID }}
CLOUD_STORE_ARTIFACT_ID: ${{ vars.CLOUD_STORE_ARTIFACT_ID }}
CLOUD_STORE_VERSION: ${{ vars.CLOUD_STORE_VERSION }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Important for SonarQube to get full history

- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'

- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- name: Build and Run Tests
run: |
mvn clean install -DskipTests \
-DCLOUD_STORE_GROUP_ID=${CLOUD_STORE_GROUP_ID} \
-DCLOUD_STORE_ARTIFACT_ID=${CLOUD_STORE_ARTIFACT_ID} \
-DCLOUD_STORE_VERSION=${CLOUD_STORE_VERSION}
cd content-api/content-service/
mvn clean test org.jacoco:jacoco-maven-plugin:0.8.8:prepare-agent test org.jacoco:jacoco-maven-plugin:0.8.8:report \
-DCLOUD_STORE_GROUP_ID=${CLOUD_STORE_GROUP_ID} \
-DCLOUD_STORE_ARTIFACT_ID=${CLOUD_STORE_ARTIFACT_ID} \
-DCLOUD_STORE_VERSION=${CLOUD_STORE_VERSION}

- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: 'content-api/content-service/target/surefire-reports/*.xml'

- name: Publish Test Results
if: always()
uses: dorny/test-reporter@v1
with:
name: Test Results
path: content-api/content-service/target/surefire-reports/*.xml
reporter: java-junit
fail-on-error: true

- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'

- name: SonarCloud Analysis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
working-directory: content-api/content-service
run: |
mvn sonar:sonar \
-DCLOUD_STORE_GROUP_ID=${CLOUD_STORE_GROUP_ID} \
-DCLOUD_STORE_ARTIFACT_ID=${CLOUD_STORE_ARTIFACT_ID} \
-DCLOUD_STORE_VERSION=${CLOUD_STORE_VERSION} \
-Dsonar.projectKey=vinodbhorge \
-Dsonar.organization=vinodbhorge \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.coverage.jacoco.xmlReportPaths=content-api/content-service/target/site/jacoco/jacoco.xml \
-Dsonar.token=${SONAR_TOKEN}


- name: Comment PR with SonarQube Results
uses: actions/github-script@v6
if: github.event_name == 'pull_request' && always()
with:
script: |
const sonarUrl = `https://sonarcloud.io/dashboard?id=${process.env.GITHUB_REPOSITORY.replace('/', '_')}`;
const message = `### Quality Gate Results
Check the detailed SonarQube analysis at: ${sonarUrl}`;
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: message
});
68 changes: 68 additions & 0 deletions .github/workflows/content-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Build and Push Content Service Image

on:
push:
tags:
- '*'

jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
# Step 1: Checkout the code
- name: Checkout code
uses: actions/checkout@v2

# Step 2: Set up JDK 11 and Maven
- name: Set up JDK 11 and Maven
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'

# Step 3: Set up Login to Docker registry
- name: Registry Login
uses: ./.github/actions/registry-login
with:
registry_provider: ${{ vars.REGISTRY_PROVIDER }}
gcp_service_account_key: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
registry_name: ${{ secrets.REGISTRY_NAME }}
registry_url: ${{ secrets.REGISTRY_URL }}
registry_username: ${{ secrets.REGISTRY_USERNAME }}
registry_password: ${{ secrets.REGISTRY_PASSWORD }}
github_token: ${{ secrets.GITHUB_TOKEN }}

# Step 4: Build the project
- name: Build Content Service
run: |
mvn clean install -DskipTests=true \
-DCLOUD_STORE_GROUP_ID=${{ vars.CLOUD_STORE_GROUP_ID }} \
-DCLOUD_STORE_ARTIFACT_ID=${{ vars.CLOUD_STORE_ARTIFACT_ID }} \
-DCLOUD_STORE_VERSION=${{ vars.CLOUD_STORE_VERSION }}

# Step 5: Package the project
- name: Package Content Service
run: |
cd content-api
mvn play2:dist -pl content-service \
-DCLOUD_STORE_GROUP_ID=${{ vars.CLOUD_STORE_GROUP_ID }} \
-DCLOUD_STORE_ARTIFACT_ID=${{ vars.CLOUD_STORE_ARTIFACT_ID }} \
-DCLOUD_STORE_VERSION=${{ vars.CLOUD_STORE_VERSION }}

# Step 6: Build Docker image
- name: Build Docker Image
run: |
IMAGE_NAME="content-service"
IMAGE_TAG=$(echo "${{ github.ref_name }}_$(echo $GITHUB_SHA | cut -c1-7)" | tr '[:upper:]' '[:lower:]')
docker build -f build/content-service/Dockerfile -t $REGISTRY_URL/${IMAGE_NAME}:${IMAGE_TAG} .

echo "IMAGE_NAME=${IMAGE_NAME}" >> $GITHUB_ENV
echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_ENV

# Step 7: Push Docker Image
- name: Push Docker Image
run: |
docker push $REGISTRY_URL/${IMAGE_NAME}:${IMAGE_TAG}
echo "Pushed Docker image: $REGISTRY_URL/${IMAGE_NAME}:${IMAGE_TAG}"
68 changes: 68 additions & 0 deletions .github/workflows/search-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Build and Push Search Service Image

on:
push:
tags:
- '*'

jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
# Step 1: Checkout the code
- name: Checkout code
uses: actions/checkout@v2

# Step 2: Set up JDK 11 and Maven
- name: Set up JDK 11 and Maven
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'

# Step 3: Set up Login to Docker registry
- name: Registry Login
uses: ./.github/actions/registry-login
with:
registry_provider: ${{ vars.REGISTRY_PROVIDER }}
gcp_service_account_key: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
registry_name: ${{ secrets.REGISTRY_NAME }}
registry_url: ${{ secrets.REGISTRY_URL }}
registry_username: ${{ secrets.REGISTRY_USERNAME }}
registry_password: ${{ secrets.REGISTRY_PASSWORD }}
github_token: ${{ secrets.GITHUB_TOKEN }}

# Step 4: Build the project
- name: Build Search API Service
run: |
mvn clean install -DskipTests=true \
-DCLOUD_STORE_GROUP_ID=${{ vars.CLOUD_STORE_GROUP_ID }} \
-DCLOUD_STORE_ARTIFACT_ID=${{ vars.CLOUD_STORE_ARTIFACT_ID }} \
-DCLOUD_STORE_VERSION=${{ vars.CLOUD_STORE_VERSION }}

# Step 5: Package the project
- name: Package Search API Service
run: |
cd search-api
mvn play2:dist -pl search-service \
-DCLOUD_STORE_GROUP_ID=${{ vars.CLOUD_STORE_GROUP_ID }} \
-DCLOUD_STORE_ARTIFACT_ID=${{ vars.CLOUD_STORE_ARTIFACT_ID }} \
-DCLOUD_STORE_VERSION=${{ vars.CLOUD_STORE_VERSION }}

# Step 6: Build Docker image
- name: Build Docker Image
run: |
IMAGE_NAME="search-api"
IMAGE_TAG=$(echo "${{ github.ref_name }}_$(echo $GITHUB_SHA | cut -c1-7)" | tr '[:upper:]' '[:lower:]')
docker build -f build/search-service/Dockerfile -t $REGISTRY_URL/${IMAGE_NAME}:${IMAGE_TAG} .

echo "IMAGE_NAME=${IMAGE_NAME}" >> $GITHUB_ENV
echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_ENV

# Step 7: Push Docker Image
- name: Push Docker Image
run: |
docker push $REGISTRY_URL/${IMAGE_NAME}:${IMAGE_TAG}
echo "Pushed Docker image: $REGISTRY_URL/${IMAGE_NAME}:${IMAGE_TAG}"
Loading
Loading