Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
UPHRH-lms-service
Commits
deb4fedb
Commit
deb4fedb
authored
2 years ago
by
BharathwajShankar
Browse files
Options
Download
Patches
Plain Diff
LR-278 - correcting the comment and spacing
parent
539f8544
master
bootcamp
helmchart
release-5.0.1
release-5.0.2
release-5.1.0
release-5.2.0
release-5.2.1
release-5.3.0
release-5.3.1
release-5.4.0
release-5.3.1_RC1
release-5.3.0_RC1
release-5.2.0_RC2
release-5.2.0_RC1
release-5.1.0_RC2
release-5.1.0_RC1
release-5.0.1_RC3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
course-mw/course-actors-common/src/main/java/org/sunbird/learner/actors/qrcodedownload/QRCodeDownloadManagementActor.java
+4
-5
.../actors/qrcodedownload/QRCodeDownloadManagementActor.java
with
4 additions
and
5 deletions
+4
-5
course-mw/course-actors-common/src/main/java/org/sunbird/learner/actors/qrcodedownload/QRCodeDownloadManagementActor.java
+
4
−
5
View file @
deb4fedb
...
@@ -234,13 +234,12 @@ public class QRCodeDownloadManagementActor extends BaseActor {
...
@@ -234,13 +234,12 @@ public class QRCodeDownloadManagementActor extends BaseActor {
if
(
CollectionUtils
.
isNotEmpty
(
listOfMap
))
{
if
(
CollectionUtils
.
isNotEmpty
(
listOfMap
))
{
//TODO Resolve it and store. Assuming dial code db will have the template url with data migration script
//TODO Resolve it and store. Assuming dial code db will have the template url with data migration script
//
replace
template url
with
the a
ctual cloud url
//
check if
template url
contains dail storage base path,if yes
the
n
a
ppend it with cnameurl and dial bucket name
String
templateUrl
=
(
String
)
listOfMap
.
get
(
0
).
get
(
"url"
);
String
templateUrl
=
(
String
)
listOfMap
.
get
(
0
).
get
(
"url"
);
if
(
templateUrl
.
contains
(
getConfigValue
(
DIAL_STORAGE_BASE_PATH_PLACEHOLDER
)))
if
(
templateUrl
.
contains
(
getConfigValue
(
DIAL_STORAGE_BASE_PATH_PLACEHOLDER
)))
templateUrl
=
templateUrl
.
replace
(
getConfigValue
(
DIAL_STORAGE_BASE_PATH_PLACEHOLDER
),
templateUrl
=
templateUrl
.
replace
(
getConfigValue
(
DIAL_STORAGE_BASE_PATH_PLACEHOLDER
),
getConfigValue
(
CLOUD_STORAGE_CNAME_URL
.
isEmpty
()
getConfigValue
(
CLOUD_STORAGE_CNAME_URL
.
isEmpty
()
?
CLOUD_STORE_BASE_PATH
:
CLOUD_STORAGE_CNAME_URL
)
?
CLOUD_STORE_BASE_PATH:
CLOUD_STORAGE_CNAME_URL
)
+
"/"
+
getConfigValue
(
CLOUD_STORAGE_DIAL_BUCKET_NAME
));
+
"/"
+
getConfigValue
(
CLOUD_STORAGE_DIAL_BUCKET_NAME
));
return
templateUrl
;
return
templateUrl
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets