Skip to content

Commit

Permalink
Issue #LR-773 chore: Added the logs to debug the issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmiableAnil committed May 17, 2024
1 parent b4ef098 commit 42fec4b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package org.ekstep.analytics.framework.storage

import org.jclouds.ContextBuilder
import org.jclouds.aws.s3.AWSS3ApiMetadata
import org.jclouds.blobstore.{BlobStore, BlobStoreContext}
import org.sunbird.cloud.storage.BaseStorageService
import org.sunbird.cloud.storage.Model.Blob
import org.sunbird.cloud.storage.factory.StorageConfig

import java.util.Properties


Expand All @@ -19,7 +21,7 @@ class CustomOCIStorageService(config: StorageConfig) extends BaseStorageService
overrides.setProperty("jclouds.s3.signer-version", "4")
// var context: BlobStoreContext = ContextBuilder.newBuilder("aws-s3").credentials(config.storageKey, config.storageSecret).overrides(overrides).endpoint(config.endPoint.get).buildView(classOf[BlobStoreContext])

var context = ContextBuilder.newBuilder("aws-s3")
var context = ContextBuilder.newBuilder(new AWSS3ApiMetadata())
.credentials(config.storageKey, config.storageSecret)
.overrides(overrides)
.endpoint(config.endPoint.get).buildView(classOf[BlobStoreContext])
Expand Down

0 comments on commit 42fec4b

Please sign in to comment.