Skip to content

Commit

Permalink
Render tag pages with tag page rendering service (#27147)
Browse files Browse the repository at this point in the history
Co-authored-by: Ioanna Kokkini <[email protected]>
Co-authored-by: Max Duval <[email protected]>
Co-authored-by: Jamie B <[email protected]>
  • Loading branch information
4 people authored May 15, 2024
1 parent 2a25264 commit c917e22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions common/app/common/configuration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class GuardianConfiguration extends GuLogging {
lazy val baseURL = configuration.getMandatoryStringProperty("rendering.baseURL")
lazy val articleBaseURL = configuration.getMandatoryStringProperty("article-rendering.baseURL")
lazy val faciaBaseURL = configuration.getMandatoryStringProperty("facia-rendering.baseURL")
lazy val tagPageBaseURL = configuration.getMandatoryStringProperty("tag-page-rendering.baseURL")
lazy val interactiveBaseURL = configuration.getMandatoryStringProperty("interactive-rendering.baseURL")
lazy val sentryHost = configuration.getMandatoryStringProperty("rendering.sentryHost")
lazy val sentryPublicApiKey = configuration.getMandatoryStringProperty("rendering.sentryPublicApiKey")
Expand Down
2 changes: 1 addition & 1 deletion common/app/renderers/DotcomRenderingService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class DotcomRenderingService extends GuLogging with ResultWithPreconnectPreload
)

val json = DotcomTagPagesRenderingDataModel.toJson(dataModel)
post(ws, json, Configuration.rendering.faciaBaseURL + "/TagPage", CacheTime.Facia)
post(ws, json, Configuration.rendering.tagPageBaseURL + "/TagPage", CacheTime.Facia)
}

def getInteractive(
Expand Down
1 change: 1 addition & 0 deletions common/conf/env/DEVINFRA.properties
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ rendering.endpoint=http://localhost:3030
rendering.baseURL=http://localhost:3030
article-rendering.baseURL=http://localhost:3030
facia-rendering.baseURL=http://localhost:3030
tag-page-rendering.baseURL=http://localhost:3030
interactive-rendering.baseURL=http://localhost:3030
misc-rendering.baseURL=http://localhost:3030

Expand Down

0 comments on commit c917e22

Please sign in to comment.