Skip to content

Commit

Permalink
Issue #KN-1071 fix: base url updated
Browse files Browse the repository at this point in the history
  • Loading branch information
shourya-solanki committed May 7, 2024
1 parent 57071ec commit 4469b94
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ object DIALManager {

val DIAL_SEARCH_API_URL: String = Platform.config.getString("dial_service.api.base_url") + Platform.config.getString("dial_service.api.search")
val DIALCODE_GENERATE_URI: String = Platform.config.getString("dial_service.api.base_url") + Platform.config.getString("dial_service.api.generate")
val CLOUD_STORAGE_ENDPOINT: String = Platform.getString("cloud_storage_endpoint", "https://dev.knowlg.sunbird.org")
val DIAL_CONTAINER: String = Platform.getString("cloud_storage_dial_container", "dial")
val CLOUD_BASE_URL = Platform.getString("cloudstorage.read_base_path", "https://dev.knowlg.sunbird.org")
val DIAL_CONTAINER: String = Platform.getString("cloud_storage_dial_container", "dial")
val DIAL_API_AUTH_KEY: String = ContentConstants.BEARER + Platform.config.getString("dial_service.api.auth_key")
val PASSPORT_KEY: String = Platform.config.getString("graph.passport.key.base")
private val kfClient = new KafkaClient
Expand Down Expand Up @@ -354,7 +354,7 @@ object DIALManager {
val dialCodesMap = data.map { case (dialcode, index) =>
val fileName = s"$index" + "_" + s"$dialcode"
val dialData = Map(
"data" -> s"$CLOUD_STORAGE_ENDPOINT/$DIAL_CONTAINER/$dialcode",
"data" -> s"$CLOUD_BASE_URL/$DIAL_CONTAINER/$dialcode",
"text" -> dialcode,
"id" -> fileName
)
Expand Down

0 comments on commit 4469b94

Please sign in to comment.