Skip to content

Commit

Permalink
delete commercial vendorlist apis (#27724)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakeii authored Jan 23, 2025
1 parent 55da620 commit 1d76fd5
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 9,121 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ artifacts.zip
/dist
/coverage

# Generated CMP data
static/src/javascripts/projects/commercial/modules/cmp/vendorlist.js
static/vendor/data/cmp_vendorlist.json

*.min.css
*.min.css.map
*.csv
Expand Down
25 changes: 0 additions & 25 deletions commercial/app/controllers/CmpDataController.scala

This file was deleted.

1 change: 0 additions & 1 deletion commercial/app/controllers/CommercialControllers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ trait CommercialControllers {
lazy val travelOffersController = wire[TravelOffersController]
lazy val trafficDriverController = wire[TrafficDriverController]
lazy val piggybackPixelController = wire[PiggybackPixelController]
lazy val cmpDataController = wire[CmpDataController]
lazy val adsDotTextFileController = wire[AdsDotTextViewController]
lazy val passbackController = wire[PassbackController]
lazy val ampIframeHtmlController = wire[AmpIframeHtmlController]
Expand Down
4 changes: 0 additions & 4 deletions commercial/conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ GET /advertiser-content/:campaignName/:pageName comm
GET /advertiser-content/:campaignName/:pageName/:cType/onward.json commercial.controllers.HostedContentController.renderOnwardComponent(campaignName, pageName, cType)
GET /advertiser-content/:campaignName/:pageName/autoplay.json commercial.controllers.HostedContentController.renderAutoplayComponent(campaignName, pageName)

# AIB / CMP / TCF vendorlist.json
GET /commercial/cmp/vendorlist.json commercial.controllers.CmpDataController.renderVendorlist()
GET /commercial/cmp/shortvendorlist.json commercial.controllers.CmpDataController.renderShortVendorlist()

# ADS.TXT + APP-ADS.txt Standard
GET /ads.txt commercial.controllers.AdsDotTextViewController.renderTextFile()
GET /app-ads.txt commercial.controllers.AdsDotTextViewController.renderAppTextFile()
Expand Down
5 changes: 1 addition & 4 deletions common/app/templates/javaScriptConfig.scala.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@
}
},
"libs": {
"googletag": "@{Configuration.javascript.config("googletagJsUrl")}",
"cmp": { "fullVendorDataUrl": "/commercial/cmp/vendorlist.json",
"shortVendorDataUrl": "/commercial/cmp/shortvendorlist.json"
}
"googletag": "@{Configuration.javascript.config("googletagJsUrl")}"
},
"stage": "@Configuration.environment.stage"
}
Expand Down
2 changes: 0 additions & 2 deletions dev-build/conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ GET /advertiser-content/:campaignName/:pageName
GET /advertiser-content/:campaignName/:pageName/:cType/onward.json commercial.controllers.HostedContentController.renderOnwardComponent(campaignName, pageName, cType)
GET /advertiser-content/:campaignName/:pageName/autoplay.json commercial.controllers.HostedContentController.renderAutoplayComponent(campaignName, pageName)
GET /commercial/anx/anxresize.js commercial.controllers.PiggybackPixelController.resize()
GET /commercial/cmp/vendorlist.json commercial.controllers.CmpDataController.renderVendorlist()
GET /commercial/cmp/shortvendorlist.json commercial.controllers.CmpDataController.renderShortVendorlist()
GET /commercial/amp-iframe.html commercial.controllers.AmpIframeHtmlController.renderAmpIframeHtml()
GET /commercial/non-refreshable-line-items.json commercial.controllers.nonRefreshableLineItemsController.getIds

Expand Down
Loading

0 comments on commit 1d76fd5

Please sign in to comment.