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
knowledge-platform
Commits
b9a063e9
Commit
b9a063e9
authored
2 years ago
by
shishir suman
Browse files
Options
Download
Patches
Plain Diff
adding logs
parent
e1c6148e
release-5.1.0-content
Gcloud_copy
Gcloud_fix
Remove_unwantedCode_Gcloud_fix
bulk-upload-comptenecy-mapping
bulk-upload-excelsheet
bulk-upload-test_excel
bulk_upload
master
poc_bulk_upload
rahul_bulk_upload_postgres
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform-modules/mimetype-manager/src/main/scala/org/sunbird/cloudstore/StorageService.scala
+5
-0
...rc/main/scala/org/sunbird/cloudstore/StorageService.scala
with
5 additions
and
0 deletions
+5
-0
platform-modules/mimetype-manager/src/main/scala/org/sunbird/cloudstore/StorageService.scala
+
5
−
0
View file @
b9a063e9
...
@@ -104,6 +104,11 @@ class StorageService {
...
@@ -104,6 +104,11 @@ class StorageService {
val
privateKeyPkcs8
=
Platform
.
config
.
getString
(
"gcloud_private_secret"
)
val
privateKeyPkcs8
=
Platform
.
config
.
getString
(
"gcloud_private_secret"
)
val
privateKeyIds
=
Platform
.
config
.
getString
(
"gcloud_private_bucket_project_key_id"
)
val
privateKeyIds
=
Platform
.
config
.
getString
(
"gcloud_private_bucket_project_key_id"
)
val
projectId
=
Platform
.
config
.
getString
(
"gcloud_private_bucket_projectId"
)
val
projectId
=
Platform
.
config
.
getString
(
"gcloud_private_bucket_projectId"
)
println
(
"uploading file to clientId : "
,
clientId
)
println
(
"uploading file to clientEmail : "
,
clientEmail
)
println
(
"uploading file to privateKeyPkcs8 : "
,
privateKeyPkcs8
)
println
(
"uploading file to privateKeyIds : "
,
privateKeyIds
)
println
(
"uploading file to projectId : "
,
projectId
)
println
(
"uploading file to container : "
,
getContainerName
)
println
(
"uploading file to container : "
,
getContainerName
)
println
(
"file name getting uploaded : "
,
objectName
)
println
(
"file name getting uploaded : "
,
objectName
)
val
credentials
=
ServiceAccountCredentials
.
fromPkcs8
(
clientId
,
clientEmail
,
privateKeyPkcs8
,
privateKeyIds
,
new
java
.
util
.
ArrayList
[
String
]())
val
credentials
=
ServiceAccountCredentials
.
fromPkcs8
(
clientId
,
clientEmail
,
privateKeyPkcs8
,
privateKeyIds
,
new
java
.
util
.
ArrayList
[
String
]())
...
...
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