Skip to content

Commit

Permalink
Merge pull request #791 from Sunbird-Knowlg/pallakartheekreddy-patch-1
Browse files Browse the repository at this point in the history
Update PostPublishProcessorConfig.scala
  • Loading branch information
pallakartheekreddy authored Apr 19, 2024
2 parents a2fb8de + 9511ffc commit 18c0d23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,13 @@ class PostPublishProcessorConfig(override val config: Config) extends BaseJobCon
val searchBaseUrl: String = config.getString("service.search.basePath")
val lmsBaseUrl: String = config.getString("service.lms.basePath")
val learningBaseUrl: String = config.getString("service.learning_service.basePath")
val contentBaseUrl: String = config.getString("service.content.basePath")
val dialBaseUrl: String = config.getString("service.dial.basePath")

// API URLs
val batchCreateAPIPath: String = lmsBaseUrl + "/private/v1/course/batch/create"
val searchAPIPath: String = searchBaseUrl + "/v3/search"
val reserveDialCodeAPIPath: String = learningBaseUrl + "/content/v3/dialcode/reserve"
val reserveDialCodeAPIPath: String = contentBaseUrl + "/content/v3/dialcode/reserve"

// QR Image Generator
val QRImageGeneratorTopic: String = config.getString("kafka.qrimage.topic")
Expand Down
1 change: 1 addition & 0 deletions post-publish-processor/src/test/resources/test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ service {
lms.basePath = "http://localhost/lms"
learning_service.basePath = "https://localhost"
dial.basePath = "https://localhost/dial/"
content.basePath = "http://localhost/content"
}
Loading

0 comments on commit 18c0d23

Please sign in to comment.