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

Disable username/password header fields for multimedia download endpoint #1183

Open
wants to merge 48 commits into
base: v2.1
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
5de2595
add redis test container
bennsimon Jul 6, 2022
a607ee9
Disable username/password header fields for multimedia download endpoint
ekigamba Jan 18, 2023
f05f49f
overide JdbcTokenStore storeAcessToken mthd
hilpitome Feb 14, 2023
111a29b
use reflection to access private fields
hilpitome Feb 14, 2023
0853933
refactor code
hilpitome Feb 14, 2023
bea4049
apply openMRS formatter
hilpitome Feb 14, 2023
0cf4fa4
use bean in OAuth2SecurityConfig
hilpitome Feb 14, 2023
a0a528b
update version and add logging
hilpitome Feb 15, 2023
5dc1f4e
Update pom.xml
hilpitome Feb 17, 2023
e6cde50
refactor storeaAccessToken method
hilpitome Feb 20, 2023
02feef0
Merge branch 'duplicate-auth-id-fix' of github.com:opensrp/opensrp-se…
hilpitome Feb 20, 2023
690124e
Update pom.xml
hilpitome Feb 21, 2023
953575a
add extra logging
hilpitome Feb 27, 2023
de19219
Merge branch 'duplicate-auth-id-fix' of github.com:opensrp/opensrp-se…
hilpitome Feb 27, 2023
3dcb9ca
update pom version
hilpitome Feb 27, 2023
dbdbf4f
apply formatter;
hilpitome Mar 2, 2023
d24820f
log when entering storAccessToken mthd
hilpitome Mar 2, 2023
fba0d5d
init unit test for jdbctokenstore
hilpitome Mar 3, 2023
a2bf76b
create OAuth2Request instance for testing
hilpitome Mar 6, 2023
bf86f64
mock connection;
hilpitome Mar 6, 2023
e7a5c42
add env with annotations
hilpitome Mar 7, 2023
8334adc
enable redis
hilpitome Mar 7, 2023
eeb57f7
add password to TestRedisConfig
hilpitome Mar 7, 2023
638662d
init use real objects instead of mocks
hilpitome Mar 10, 2023
920f743
delete OAth2SecurityTest and update server version
hilpitome Mar 13, 2023
ccd6ecd
retrigger checks
hilpitome Mar 13, 2023
84009bb
merge with branck add-redis-test-container
hilpitome Mar 13, 2023
4ed7f57
revert test postgres settings
hilpitome Mar 13, 2023
66066ac
Bump up version to 2.1.70.10-ALPHA1-SNAPSHOT
qiarie Mar 15, 2023
00a8316
Refactor profile image download
qiarie Mar 15, 2023
212ee51
Update unit tests
qiarie Mar 15, 2023
14f5127
Refactor file download by baseEntityId method signature
qiarie Mar 15, 2023
da13ff4
Remove credentials params from multimedia download
qiarie Mar 16, 2023
10df54e
Bump up version to 2.1.70.10-ALPHA3-SNAPSHOT
qiarie Mar 16, 2023
5a41a17
Remove unused downloadFileWithAuth method in MultimediaController
qiarie Mar 16, 2023
b387854
fix merge conflict
hilpitome Mar 16, 2023
204d8c1
test downloadFileByBaseEntityId in MultiMediaController
hilpitome Mar 16, 2023
cfaea93
add test to MultimediaController
hilpitome Mar 17, 2023
b970342
remove unused import
hilpitome Mar 17, 2023
c3b14b6
remove more unused imports
hilpitome Mar 17, 2023
4a94289
rest JdbcTokenStore
hilpitome Mar 22, 2023
842733b
subclass jdbcTokenStore for easier testing
hilpitome Mar 23, 2023
123ffd9
temp postgres port change
hilpitome Mar 23, 2023
dc37c14
suppress call to jdbctokenstore super during test
hilpitome Mar 23, 2023
85291d1
fix codacy issues
hilpitome Mar 23, 2023
0f5f680
fix codacy issue
hilpitome Mar 24, 2023
e0bc95f
remove unused connection mock
hilpitome Mar 24, 2023
86c675f
Update version to 2.1.70.10-ALPHA4-SNAPSHOT
hilpitome Mar 27, 2023
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
Prev Previous commit
Next Next commit
fix codacy issue
  • Loading branch information
hilpitome committed Mar 24, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 0f5f680f180d3da41e8dd196f772f4609204e0a6
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.opensrp.web.controller;

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.*;