Created
February 5, 2015 21:26
-
-
Save andresn/8641df04138d5f0160a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# After | |
[ | |
{ | |
"settings": [ "master" ], | |
"appPort":421, | |
"mojitsDirs": ["mojits", "node_modules/mojito-shaker/mojits"], | |
"routesFiles": [ "routes.json" ], | |
"cacheViewTemplates" : false, | |
"viewLevelCache" : { | |
"enable" : true, | |
"memcache" : false, | |
"ttl" : { | |
"danger" : 16000, | |
"optimal" : 600000, | |
"lazy" : 1800000 | |
}, | |
"dynamicKey":["mid"], | |
"prime" : { | |
"enable" : true, | |
"arg" : "cacheprime" | |
} | |
}, | |
"yui": { | |
"config": { | |
"logLevel" : "error", | |
"debug" : true | |
} | |
}, | |
"config": { | |
"rmpHost": "cricket.yahoo.com", | |
"metadata": { | |
"title" : "Yahoo Cricket LiveScore Page", | |
"keywords": "yahoo, yahoo cricket" | |
}, | |
"ws" :{ | |
"api" : "api.cricket.yahoo.com", | |
"darla" : "darla.cricket.yahoo.com", | |
"predlite" : "api-predict.cricket.yahoo.com" | |
}, | |
"rmp" : { | |
"secretName" : "media_signed_rmp.sig_key" | |
}, | |
"fantasyApi": { | |
"host" : "japi.cricket.yahoo.com", | |
"port": 80 | |
}, | |
"spaceIds" : { | |
"pre" : "2146607116", | |
"live" : "2146607118", | |
"post" : "2146607117" | |
} | |
}, | |
"addons": { | |
"localCache": { | |
"max": 100 | |
} | |
}, | |
"specs": { | |
"CxBase": { | |
"type": "ShakerHTMLFrameMojit", | |
"config": { | |
"deploy": true, | |
"title": "Yahoo Cricket", | |
"child": { | |
"type": "CxRmpFrameLego", | |
"config": { | |
"children": { | |
"TimeStamp": { | |
"type": "TimeStamp", | |
"config": {} | |
}, | |
"MediaHeader": { | |
"type": "MediaHeader", | |
"config": { | |
"uhProperty": "cricket", | |
"languageTag": "en-IN" | |
} | |
}, | |
"MediaNavigationAssembly": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"staticKey" : "livematch", | |
"dynamicKey" : ["region", "mid"] | |
}, | |
"datafetcherCacheApi": "rmp-signed", | |
"module": "MediaNavigationAssembly", | |
"params": { | |
"site_hierarchy_path" : "live-scores", | |
"signUrl" : true | |
} | |
} | |
}, | |
"MediaNavigationFooter": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-signed", | |
"module": "MediaNavigationFooter", | |
"params": { | |
"signUrl" : true | |
} | |
} | |
}, | |
"MediaAlsoOnYahoo": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-signed", | |
"module": "MediaAlsoOnYahoo", | |
"params": { | |
"signUrl" : true | |
} | |
} | |
}, | |
"MediaTrendingCoke": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-signed", | |
"module": "MediaTrendingTTS", | |
"params": { | |
"signUrl" : true | |
} | |
} | |
}, | |
"MediaFooterInfo": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-signed", | |
"module": "MediaFooterInfo", | |
"params": { | |
"signUrl" : true | |
} | |
} | |
}, | |
"comscoreBeacon" : { | |
"type" : "ComscoreBeacon", | |
"config" : { | |
"spaceId" : "2022879169" | |
} | |
}, | |
"ADBCN" : { | |
"type" : "DarlaAds", | |
"config" : { | |
"position" : "ADBCN", | |
"autoRotation" : false | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"baseTemplate":{ | |
"base":"CxBase" | |
}, | |
"demo":{ | |
"base":"CxBase" | |
}, | |
"Login" : { | |
"type" : "HTMLFrameMojit", | |
"config" : { | |
"deploy" : true, | |
"child" : { | |
"type" : "LoginPage" | |
} | |
} | |
}, | |
"liveMatch":{ | |
"base": "CxBase", | |
"config":{ | |
"title": "Live Match - Yahoo cricket", | |
"child":{ | |
"config": { | |
"page" : "live", | |
"children": { | |
"Content":{ | |
"type":"PageLayoutLiveMatch", | |
"config":{ | |
"children":{ | |
"Redirector" : { | |
"type": "Redirector" | |
}, | |
"live-match-stage": { | |
"type": "LiveMatchStage", | |
"action": "lms", | |
"config" : { | |
"cache" : { | |
"staticKey" : "livematch", | |
"dynamicKey":["mid"], | |
"age" : "danger" | |
} | |
} | |
}, | |
"fc-fs-layout":{ | |
"type": "LayoutFcFs", | |
"config":{ | |
"cache" : { | |
"staticKey" : "livematch", | |
"dynamicKey":["mid","region"], | |
"age" : "danger" | |
}, | |
"children":{ | |
"commentary":{ | |
"type":"LayoutFullCommentary", | |
"config":{ | |
"children":{ | |
"NoticeHandler" : { | |
"type" : "NoticeHandler" | |
}, | |
"fullcommentary":{ | |
"type":"FullCommentary" | |
}, | |
"commentarystrip":{ | |
"type":"FullCommentaryIngStrip" | |
} | |
} | |
} | |
}, | |
"FullScorecard": { | |
"type": "FullScorecard" | |
} | |
} | |
} | |
}, | |
"LmsBatsmanOverlay":{ | |
"type":"LmsBatsmanOverlay", | |
"config" : { | |
"cache" : { | |
"staticKey" : "livematch", | |
"dynamicKey":["mid"], | |
"age" : "danger" | |
} | |
} | |
}, | |
"playingeleven": { | |
"type": "playingEleven", | |
"config" : { | |
"cache" : { | |
"staticKey" : "livematch", | |
"dynamicKey":["mid"], | |
"age" : "lazy" | |
} | |
} | |
}, | |
"LivescoreStrip": { | |
"type": "LivescoreStrip", | |
"config": { | |
"children":{ | |
"ScoreStrip" :{ | |
"type": "ScoreStrip" | |
} | |
} | |
} | |
}, | |
"MediaSocialButton":{ | |
"type": "MediaSocialButtons" | |
}, | |
"Comment":{ | |
"type":"Comment" | |
}, | |
"fanshout" : { | |
"type" : "FanShout" | |
}, | |
"NT1" : { | |
"type" : "DarlaAds", | |
"config" : { | |
"position" : "NT1", | |
"autoRotation" : 120000 | |
} | |
}, | |
"LREC" : { | |
"type" : "DarlaAds", | |
"config" : { | |
"position" : "LREC", | |
"autoRotation" : 120000 | |
} | |
}, | |
"LiveFantasyScore" : { | |
"type" : "LiveFantasyScore" | |
}, | |
"timestamp" : { | |
"type" : "TimeStamp" | |
}, | |
"match-header" : { | |
"type" : "MatchHeader" | |
}, | |
"series-schedule-dropdown" : { | |
"type" : "SeriesScheduleDropDown" | |
} | |
, | |
"video-popup" : { | |
"type" : "videoPopup", | |
"config" : { | |
"children":{ | |
"ScoreStrip" :{ | |
"type": "ScoreStrip" | |
} | |
} | |
} | |
}, | |
"MediaCarousel" : { | |
"type" : "MediaCarousel", | |
"config" : { | |
"children" : { | |
"ScoreStrip" : { | |
"type": "ScoreStrip" | |
} | |
} | |
} | |
}, | |
"MatchGraph":{ | |
"type": "MatchGraph", | |
"config": { | |
"children":{ | |
"ScoreStrip" :{ | |
"type": "ScoreStrip" | |
} | |
} | |
} | |
}, | |
"GraphWagonWheel" : { | |
"type" : "GraphWagonWheel" | |
}, | |
"LatestNews": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-long", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id" : "63783ec6-1736-3703-a028-a6da08757627" | |
} | |
} | |
}, | |
"LatestPhotos": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-long", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id": "b682c404-0465-330e-b7d5-82386d5a749a", | |
"mod_units": 8 | |
} | |
} | |
}, | |
"ModuleAppDownload": { | |
"type" : "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-long", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id" : "1e3ffe7f-9b12-3002-9b9b-3780cad2c430" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"preMatch":{ | |
"base": "CxBase", | |
"config":{ | |
"title": "Pre Match - Yahoo cricket", | |
"child":{ | |
"config": { | |
"page" : "pre", | |
"children": { | |
"MediaNavigationAssembly": { | |
"config" : { | |
"cache" : { | |
"staticKey" : "prematch", | |
"dynamicKey" : ["region"] | |
}, | |
"params" : { | |
"site_hierarchy_path" : "mschedule" | |
} | |
} | |
}, | |
"Content":{ | |
"type":"PageLayoutPreMatch", | |
"config":{ | |
"children":{ | |
"Redirector" : { | |
"type": "Redirector" | |
}, | |
"pre-match-stage": { | |
"type": "PreMatchStage", | |
"action": "pms", | |
"config" : { | |
"cache" : { | |
"staticKey" : "prematch", | |
"dynamicKey":["mid"], | |
"age" : "danger" | |
} | |
} | |
}, | |
"PreMatchGroundStats": { | |
"type": "PreMatchGroundStats", | |
"config" : { | |
"cache" : { | |
"staticKey" : "prematch", | |
"dynamicKey":["mid"], | |
"age" : "lazy" | |
} | |
} | |
}, | |
"PreMatchTeamStats": { | |
"type": "PreMatchTeamStats", | |
"config" : { | |
"cache" : { | |
"staticKey" : "prematch", | |
"dynamicKey": ["mid"], | |
"age" : "lazy" | |
} | |
} | |
}, | |
"PreMatchPlayerStats" :{ | |
"type": "PreMatchPlayerStats", | |
"config" : { | |
"cache" : { | |
"staticKey" : "prematch", | |
"dynamicKey": ["mid"], | |
"age" : "lazy" | |
} | |
} | |
}, | |
"MediaSocialButton":{ | |
"type": "MediaSocialButtons" | |
}, | |
"fanshout" : { | |
"type" : "FanShout" | |
}, | |
"timestamp" : { | |
"type" : "TimeStamp" | |
}, | |
"match-header" : { | |
"type" : "MatchHeader" | |
}, | |
"series-schedule-dropdown" : { | |
"type" : "SeriesScheduleDropDown" | |
} | |
, | |
"prematch-commentary" : { | |
"type": "LayoutPreMatchCommentary", | |
"config" : { | |
"cache" : { | |
"staticKey" : "prematch", | |
"dynamicKey":["mid","region"], | |
"age" : "lazy" | |
}, | |
"children" : { | |
"fullcommentary":{ | |
"type":"FullCommentary" | |
}, | |
"NoticeHandler" : { | |
"type" : "NoticeHandler" | |
} | |
} | |
} | |
}, | |
"NT1" : { | |
"type" : "DarlaAds", | |
"config" : { | |
"position" : "NT1", | |
"autoRotation" : 120000 | |
} | |
}, | |
"LREC" : { | |
"type" : "DarlaAds", | |
"config" : { | |
"position" : "LREC", | |
"autoRotation" : 120000 | |
} | |
}, | |
"LatestNews": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-long", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id" : "63783ec6-1736-3703-a028-a6da08757627" | |
} | |
} | |
}, | |
"LatestPhotos": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-long", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id": "b682c404-0465-330e-b7d5-82386d5a749a", | |
"mod_units": 8 | |
} | |
} | |
}, | |
"ModuleAppDownload": { | |
"type" : "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-long", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id" : "1e3ffe7f-9b12-3002-9b9b-3780cad2c430" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"postMatch":{ | |
"base": "CxBase", | |
"config":{ | |
"title": "Post Match - Yahoo cricket", | |
"child":{ | |
"config": { | |
"page" : "post", | |
"children": { | |
"MediaNavigationAssembly": { | |
"config" : { | |
"cache" : { | |
"staticKey" : "postmatch", | |
"dynamicKey" : ["region"] | |
}, | |
"params" : { | |
"site_hierarchy_path" : "marchive" | |
} | |
} | |
}, | |
"Content":{ | |
"type":"PageLayoutPostMatch", | |
"config":{ | |
"children":{ | |
"Redirector" : { | |
"type": "Redirector" | |
}, | |
"post-match-stage": { | |
"type": "PostMatchStage", | |
"action": "oms", | |
"config" : { | |
"cache" : { | |
"staticKey" : "postmatch", | |
"dynamicKey":["mid"], | |
"age" : "lazy" | |
} | |
} | |
}, | |
"fc-fs-layout":{ | |
"type": "LayoutFcFs", | |
"config":{ | |
"cache" : { | |
"staticKey" : "postmatch", | |
"dynamicKey":["mid","region"], | |
"age" : "lazy" | |
}, | |
"children":{ | |
"commentary":{ | |
"type":"LayoutFullCommentary", | |
"config":{ | |
"children":{ | |
"fullcommentary":{ | |
"type":"FullCommentary" | |
}, | |
"commentarystrip":{ | |
"type":"FullCommentaryIngStrip" | |
} | |
} | |
} | |
}, | |
"FullScorecard": { | |
"type": "FullScorecard" | |
} | |
} | |
} | |
}, | |
"playingeleven": { | |
"type": "playingEleven", | |
"config" : { | |
"cache" : { | |
"staticKey" : "postmatch", | |
"dynamicKey":["mid"], | |
"age" : "lazy" | |
} | |
} | |
}, | |
"MediaSocialButton":{ | |
"type": "MediaSocialButtons" | |
}, | |
"LiveFantasyScore" : { | |
"type" : "LiveFantasyScore" | |
}, | |
"timestamp" : { | |
"type" : "TimeStamp" | |
}, | |
"match-header" : { | |
"type" : "MatchHeader" | |
}, | |
"series-schedule-dropdown" : { | |
"type" : "SeriesScheduleDropDown" | |
}, | |
"Comment":{ | |
"type":"Comment" | |
}, | |
"video-popup" : { | |
"type" : "videoPopup" | |
}, | |
"MatchGraph":{ | |
"type": "MatchGraph" | |
}, | |
"GraphWagonWheel" : { | |
"type" : "GraphWagonWheel" | |
}, | |
"NT1" : { | |
"type" : "DarlaAds", | |
"config" : { | |
"position" : "NT1", | |
"autoRotation" : false | |
} | |
}, | |
"LREC" : { | |
"type" : "DarlaAds", | |
"config" : { | |
"position" : "LREC", | |
"autoRotation" : false | |
} | |
}, | |
"MediaCarousel" : { | |
"type" : "MediaCarousel", | |
"config" : { | |
"children" : { | |
"ScoreStrip" : { | |
"type": "ScoreStrip" | |
} | |
} | |
} | |
}, | |
"LatestNews": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-long", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id" : "63783ec6-1736-3703-a028-a6da08757627" | |
} | |
} | |
}, | |
"LatestPhotos": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-long", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id": "b682c404-0465-330e-b7d5-82386d5a749a", | |
"mod_units": 8 | |
} | |
} | |
}, | |
"ModuleAppDownload": { | |
"type" : "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "lazy", | |
"dynamicKey" : ["region"] | |
}, | |
"datafetcherCacheApi": "rmp-long", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id" : "1e3ffe7f-9b12-3002-9b9b-3780cad2c430" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"staticHandling": { | |
"appName": "cricket-global-assets", | |
"useRollups" : false, | |
"cache" : true, | |
"maxAge" : 6000000, | |
"forceUpdate" : false | |
}, | |
"shaker": { | |
"tasks": { | |
"js": { | |
"jslint": false, | |
"jsminify": true | |
}, | |
"css": { | |
"csslint": false, | |
"cssminify": true | |
} | |
}, | |
"routeRollups": { | |
"module": "mojitrollup", | |
"rollups": { | |
"livematch": [ | |
"bug-reporter", | |
"CxRmpFrameLego.index", | |
"NoticeHandler.index", | |
"Redirector.index", | |
"FullScorecard.index", | |
"CxRmpRequest.index", | |
"Comment.index", | |
"MatchGraph.index", | |
"StaticHtmlMojit.index", | |
"LayoutFullCommentary.index", | |
"LayoutFullCommentary.ukIndex", | |
"LayoutFcFs.index", | |
"PredictopusOverlay.index", | |
"PredictopusLiveMatch.index", | |
"PredictopusLiveMatch.pred-matches", | |
"FanShout.index", | |
"FanShout.coverItLive", | |
"FanShout.fanshout", | |
"FanShout.shoutHTML", | |
"PredictopusOverlay.predictopusOverlay", | |
"TimeStamp.index", | |
"MatchHeader.index", | |
"LmsBatsmanOverlay.index", | |
"LmsBatsmanOverlay.playerDetail", | |
"SeriesScheduleDropDown.index", | |
"videoPopup.index", | |
"DarlaAds.index", | |
"GraphWagonWheel.index", | |
"playingEleven.index", | |
"LivescoreStrip.index", | |
"ScoreStrip.index", | |
"ScoreStrip.overDetail", | |
"ScoreStrip.scorestrip", | |
"MediaSocialButtons.index", | |
"LiveMatchStage.lms", | |
"LiveMatchStage.lms-middle-left", | |
"LiveMatchStage.lms-middle-right", | |
"LiveMatchStage.lms-commentary", | |
"LiveMatchStage.lms-bottom", | |
"LiveMatchStage.lms-top-left", | |
"LiveMatchStage.lms-top-right", | |
"FullCommentary.index", | |
"FullCommentary.ukIndex", | |
"FullCommentaryIngStrip.index", | |
"PageLayoutLiveMatch.index", | |
"MediaCarousel.index", | |
"FullCommentary.full-commentary", | |
"FullCommentary.uk-full-commentary", | |
"FullCommentary.one-ball", | |
"FullCommentaryIngStrip.full-commentary-ingnav", | |
"FullScorecard.fullscorecard-post", | |
"FullScorecard.fullscorecard-base", | |
"FullScorecard.one-ball", | |
"MediaCarousel.media-carousel", | |
"MediaCarousel.media-overlay", | |
"Comment.comments", | |
"Comment.overlayUserComment", | |
"LiveFantasyScore", | |
"LiveFantasyScore.fantasyScore", | |
"LiveFantasyScore.yourTeamScore" | |
], | |
"prematch" : [ | |
"bug-reporter", | |
"CxRmpFrameLego.index", | |
"NoticeHandler.index", | |
"PreMatchStage.pms-timer", | |
"Redirector.index", | |
"CxRmpRequest.index", | |
"Comment.index", | |
"MatchGraph.index", | |
"PredictopusOverlay.index", | |
"PredictopusOverlay.predictopusOverlay", | |
"PredictopusLiveMatch.index", | |
"PredictopusLiveMatch.pred-matches", | |
"StaticHtmlMojit.index", | |
"TimeStamp.index", | |
"MatchHeader.index", | |
"SeriesScheduleDropDown.index", | |
"LayoutPreMatchCommentary.index", | |
"DarlaAds.index", | |
"GraphWagonWheel.index", | |
"LivescoreStrip.index", | |
"MediaSocialButtons.index", | |
"ScoreStrip.index", | |
"PreMatchStage.pms", | |
"FullCommentary.index", | |
"FullCommentary.ukIndex", | |
"FullCommentary.full-commentary", | |
"FullCommentary.uk-full-commentary", | |
"FullCommentary.one-ball", | |
"PageLayoutPreMatch.index", | |
"PreMatchTeamStats.index", | |
"PreMatchGroundStats.index", | |
"PreMatchPlayerStats.index", | |
"FanShout.index", | |
"FanShout.coverItLive", | |
"FanShout.fanshout", | |
"FanShout.shoutHTML" | |
], | |
"postmatch" : [ | |
"bug-reporter", | |
"CxRmpFrameLego.index", | |
"Redirector.index", | |
"FullScorecard.index", | |
"CxRmpRequest.index", | |
"Comment.index", | |
"MatchGraph.index", | |
"StaticHtmlMojit.index", | |
"LayoutFullCommentary.index", | |
"LayoutFullCommentary.ukIndex", | |
"LayoutFcFs.index", | |
"TimeStamp.index", | |
"MatchHeader.index", | |
"LmsBatsmanOverlay.index", | |
"SeriesScheduleDropDown.index", | |
"videoPopup.index", | |
"DarlaAds.index", | |
"GraphWagonWheel.index", | |
"playingEleven.index", | |
"MediaSocialButtons.index", | |
"LivescoreStrip.index", | |
"ScoreStrip.index", | |
"PostMatchStage.oms", | |
"PostMatchStage.matchAlbum", | |
"FullCommentary.index", | |
"FullCommentary.ukIndex", | |
"FullCommentary.full-commentary", | |
"FullCommentary.uk-full-commentary", | |
"FullCommentary.one-ball", | |
"FullCommentaryIngStrip.index", | |
"FullCommentaryIngStrip.full-commentary-ingnav", | |
"PageLayoutPostMatch.index", | |
"MediaCarousel.index", | |
"FullScorecard.fullscorecard-post", | |
"FullScorecard.fullscorecard-base", | |
"FullScorecard.one-ball", | |
"MediaCarousel.media-carousel", | |
"MediaCarousel.media-overlay", | |
"Comment.comments", | |
"Comment.overlayUserComment", | |
"LiveFantasyScore", | |
"LiveFantasyScore.fantasyScore", | |
"LiveFantasyScore.yourTeamScore" | |
], | |
"Login" : [ | |
"LoginPage.index" | |
] | |
} | |
}, | |
"locations": { | |
"mobstor": { | |
"mobstorConfig": { | |
"prefix": "qx", | |
"ycs": "l3.yimg.com/qx/", | |
"certificate": "yahoo.mobstor.client.cycimg.prod", | |
"host": "cycimg.zenfs.com" | |
} | |
} | |
}, | |
"settings": { | |
"serveLocation": "mobstor", | |
"inline": false, | |
"serveJs": { | |
"combo": true, | |
"position": "top" | |
}, | |
"serveCss": { | |
"position": "top", | |
"combo": true | |
} | |
}, | |
"resources" : { | |
"bootstrap" : false | |
} | |
}, | |
"middleware": [ | |
"./middleware/mojito-cricket-redirect.js" | |
] | |
}, | |
{ | |
"settings": ["environment:dev"], | |
"config" : { | |
"ws" :{ | |
"api" : "api.cricket.vip.sg3.yahoo.com", | |
"predlite" : "api.staging.cricket.vip.sg3.yahoo.com" | |
}, | |
"fantasyApi": { | |
"host" : "japi.cricket.yahoo.com", | |
"port": 80 | |
} | |
}, | |
"staticHandling": { | |
"cache" : false, | |
"forceUpdate" : true | |
}, | |
"yui": { | |
"config": { | |
"logLevel" : "info", | |
"debug" : true | |
} | |
}, | |
"shaker" : { | |
"resources": { | |
"assets": { | |
"js": true, | |
"css": true | |
}, | |
"binders": true, | |
"controllers": true, | |
"views": true, | |
"langs": true | |
}, | |
"tasks": false, | |
"rollups": false, | |
"locations": false, | |
"settings": { | |
"serveLocation": "default", | |
"serveJs": { | |
"position": "top", | |
"combo": false | |
}, | |
"serveCss": { | |
"position": "top", | |
"combo": false | |
} | |
} | |
}, | |
"viewLevelCache" : { | |
"enable" : false, | |
"memcache" : false | |
} | |
}, | |
{ | |
"settings": ["environment:development"], | |
"config" : { | |
"ws" :{ | |
"api" : "api.cricket.vip.sg3.yahoo.com", | |
"predlite" : "api-predict.cricket.yahoo.com" | |
}, | |
"fantasyApi": { | |
"host" : "japi.cricket.yahoo.com", | |
"port": 80 | |
} | |
}, | |
"viewLevelCache" : { | |
"enable" : false, | |
"memcache" : false | |
} | |
}, | |
{ | |
"settings": ["environment:test"], | |
"config" : { | |
"ws" :{ | |
"api" : "vds4.apac.travel.sg3.yahoo.com", | |
"predlite" : "api-predict.cricket.yahoo.com" | |
}, | |
"fantasyApi": { | |
"host" : "japi.cricket.yahoo.com", | |
"port": 80 | |
} | |
} | |
}, | |
{ | |
"settings": ["environment:stage"], | |
"config" : { | |
"ws" :{ | |
"api" : "vds4.apac.travel.sg3.yahoo.com", | |
"predlite" : "api-predict.cricket.yahoo.com" | |
}, | |
"fantasyApi": { | |
"host" : "japi.cricket.yahoo.com", | |
"port": 80 | |
} | |
} | |
}, | |
{ | |
"settings": ["region:IN"], | |
"selector": "IN", | |
"specs" : { | |
"liveMatch": { | |
"config": { | |
"child": { | |
"config": { | |
"children": { | |
"MediaSubNavigationAssembly": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "danger" | |
}, | |
"datafetcherCacheApi": "rmp-short", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id" : "3da09589-c765-30bb-91eb-0f392bbcd56c" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"settings": ["region:GB"], | |
"selector": "GB", | |
"config" : { | |
"rmpHost": "uk.eurosport.yahoo.com", | |
"spaceIds" : { | |
"pre" : "1197686202", | |
"live" : "1197686200", | |
"post" : "1197686201" | |
} | |
}, | |
"specs" : { | |
"CxBase" : { | |
"config": { | |
"child": { | |
"config": { | |
"children": { | |
"TimeStamp": { | |
"type": "TimeStamp", | |
"config": {} | |
}, | |
"MediaHeader": { | |
"type": "MediaHeader", | |
"config": { | |
"uhProperty": "sports", | |
"languageTag": "en-GB" | |
} | |
}, | |
"NedstatBeacon" : { | |
"type" : "ComscoreBeacon", | |
"action" : "nedStat" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"preMatch": { | |
"config": { | |
"child": { | |
"config": { | |
"children": { | |
"MediaFlyoutSubNavigationAssembly": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "danger" | |
}, | |
"datafetcherCacheApi": "rmp-short", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id" : "41d6a309-dd52-35f1-ab50-4ff781bf8f6a" | |
} | |
} | |
}, | |
"Content" : { | |
"config" : { | |
"children" : { | |
"LatestPhotos" : { | |
"type" : "StaticHtmlMojit", | |
"action" : "blank" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"liveMatch": { | |
"config": { | |
"child": { | |
"config": { | |
"children": { | |
"MediaSubNavigationAssembly": { | |
"config": { | |
"params" : { | |
"site_hierarchy_path" : "cricket/hp" | |
} | |
} | |
}, | |
"MediaFlyoutSubNavigationAssembly": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "danger" | |
}, | |
"datafetcherCacheApi": "rmp-short", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id" : "41d6a309-dd52-35f1-ab50-4ff781bf8f6a" | |
} | |
} | |
}, | |
"Content" : { | |
"type":"PageLayoutLiveMatch", | |
"config" : { | |
"children" : { | |
"MediaCarousel" : { | |
"type" : "StaticHtmlMojit", | |
"action" : "blank" | |
}, | |
"LatestPhotos" : { | |
"type" : "StaticHtmlMojit", | |
"action" : "blank" | |
}, | |
"LatestNews": { | |
"type": "CxRmpRequest", | |
"config": { | |
"params": { | |
"instance_id" : "73f466fa-276e-3f0a-8608-4c4feabe8fdd" | |
} | |
} | |
}, | |
"ModuleAppDownload": { | |
"type" : "CxRmpRequest", | |
"config": { | |
"params": { | |
"instance_id" : "f04e9997-bf28-3aad-a3e6-47b93734a6dc" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"postMatch": { | |
"config": { | |
"child": { | |
"config": { | |
"children": { | |
"MediaFlyoutSubNavigationAssembly": { | |
"type": "CxRmpRequest", | |
"config": { | |
"cache" : { | |
"age" : "danger" | |
}, | |
"datafetcherCacheApi": "rmp-short", | |
"module": "MediaRemoteInstance", | |
"params": { | |
"instance_id" : "41d6a309-dd52-35f1-ab50-4ff781bf8f6a" | |
} | |
} | |
}, | |
"Content" : { | |
"type":"PageLayoutPostMatch", | |
"config" : { | |
"children" : { | |
"MediaCarousel" : { | |
"type" : "StaticHtmlMojit", | |
"action" : "blank" | |
}, | |
"LatestPhotos" : { | |
"type" : "StaticHtmlMojit", | |
"action" : "blank" | |
}, | |
"LatestNews": { | |
"type": "CxRmpRequest", | |
"config": { | |
"params": { | |
"instance_id" : "73f466fa-276e-3f0a-8608-4c4feabe8fdd" | |
} | |
} | |
}, | |
"ModuleAppDownload": { | |
"type" : "CxRmpRequest", | |
"config": { | |
"params": { | |
"instance_id" : "f04e9997-bf28-3aad-a3e6-47b93734a6dc" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment