Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PostPublishProcessorConfig.scala #792

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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