Skip to content

Commit

Permalink
Merge pull request #10990 from bbc/WSTEAMA-557-page-invokes-ati-compo…
Browse files Browse the repository at this point in the history
…nent-with-bff-data

WSTEAMA-557: Consume ATI data from BFF for CPS Pages
  • Loading branch information
alex-magana authored Aug 25, 2023
2 parents 36211d6 + 85aed36 commit dd222fc
Show file tree
Hide file tree
Showing 38 changed files with 1,728 additions and 1,386 deletions.
18 changes: 16 additions & 2 deletions data/arabic/legacyAssets/worldnews/2015/11/151120_t_arabic_av.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"analyticsLabels": {
"cps_asset_type": "map",
"cps_asset_id": "17694217",
"contentId": "urn:bbc:topcat:curie:asset:22d6ef3c-8f6e-11e5-b707-b2517c19ac20"
"contentId": "urn:bbc:topcat:curie:asset:22d6ef3c-8f6e-11e5-b707-b2517c19ac20",
"page": "arabic.worldnews.2015.11.151120_t_arabic_av.page"
},
"passport": {
"home": "http://www.bbc.co.uk/ontologies/passport/home/Arabic",
Expand All @@ -41,7 +42,20 @@
"paragraph"
],
"includeComments": false,
"atiAnalytics": {},
"atiAnalytics": {
"campaigns": null,
"categoryName": null,
"contentId": "urn:bbc:topcat:curie:asset:22d6ef3c-8f6e-11e5-b707-b2517c19ac20",
"contentType": "article-media-asset",
"language": "ar",
"ldpThingIds": null,
"ldpThingLabels": null,
"pageIdentifier": "worldnews::arabic.worldnews.2015.11.151120_t_arabic_av.page",
"pageTitle": "شركة شارب للإلكترونيات تحث موظفيها على شراء منتجاتها",
"producerId": null,
"timePublished": "2015-11-20T10:09:33.000Z",
"timeUpdated": "2015-11-20T10:09:33.000Z"
},
"readTime": 1,
"siteUri": "/arabic",
"mediaType": "video",
Expand Down
15 changes: 13 additions & 2 deletions data/gahuza/cpsAssets/23313911.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,19 @@
],
"includeComments": false,
"atiAnalytics": {
"producerName": "GAHUZA",
"producerId": "40"
"campaigns": null,
"categoryName": null,
"contentId": "urn:bbc:cps:curie:asset:48fe44a1-f432-4475-942d-ab017d13b4d0",
"contentType": "article",
"language": "rw",
"ldpThingIds": null,
"ldpThingLabels": null,
"pageIdentifier": "gahuza.story.23313911.page",
"pageTitle": "Test story with different IDT2 typess",
"producerId": null,
"timePublished": "2020-06-09T16:26:57.000Z",
"timeUpdated": "2020-06-09T17:09:42.000Z",
"producerName": "GAHUZA"
},
"readTime": 1,
"siteUri": "/gahuza"
Expand Down
15 changes: 13 additions & 2 deletions data/kyrgyz/cpsAssets/23292889.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,19 @@
],
"includeComments": false,
"atiAnalytics": {
"producerName": "KYRGYZ",
"producerId": "58"
"campaigns": null,
"categoryName": null,
"contentId": "urn:bbc:cps:curie:asset:bb9390aa-4b35-e448-b295-cbd7369fe457",
"contentType": "article",
"language": "ky",
"ldpThingIds": null,
"ldpThingLabels": null,
"pageIdentifier": "kyrgyz.story.23292889.page",
"pageTitle": "Test STY for social embeds",
"producerId": null,
"timePublished": "2020-04-24T14:51:17.000Z",
"timeUpdated": "2020-04-24T14:51:17.000Z",
"producerName": "KYRGYZ"
},
"readTime": 1,
"siteUri": "/kyrgyz",
Expand Down
15 changes: 13 additions & 2 deletions data/mundo/cpsAssets/deportes-36935058.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,19 @@
],
"includeComments": false,
"atiAnalytics": {
"producerName": "MUNDO",
"producerId": "62"
"campaigns": null,
"categoryName": null,
"contentId": "urn:bbc:cps:curie:asset:08e22e90-7361-cd47-b586-7cb53fc5a012",
"contentType": "article-photo-gallery",
"language": "es",
"ldpThingIds": null,
"ldpThingLabels": null,
"pageIdentifier": "sport::mundo.sport.photo_gallery.36935058.page",
"pageTitle": "Río 2016, el antes y el ahora: cómo ha cambiado la ropa deportiva en más de un siglo de juegos olímpicos",
"producerId": null,
"timePublished": "2016-08-07T09:21:02.000Z",
"timeUpdated": "2016-08-07T09:21:02.000Z",
"producerName": "MUNDO"
},
"readTime": 2,
"siteUri": "/mundo",
Expand Down
20 changes: 18 additions & 2 deletions data/mundo/cpsAssets/noticias-internacional-51266689.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,24 @@
],
"includeComments": false,
"atiAnalytics": {
"producerName": "MUNDO",
"producerId": "62"
"campaigns": [
{
"campaignId": "5a988e3739461b000e9dabfa",
"campaignName": "WS - Give me perspective"
}
],
"categoryName": "Explainer",
"contentId": "urn:bbc:cps:curie:asset:faf2993a-dcc0-0746-81a6-a6aca4cd59b1",
"contentType": "article",
"language": "es",
"ldpThingIds": null,
"ldpThingLabels": null,
"pageIdentifier": "world::mundo.world.story.51266689.page",
"pageTitle": "Brexit: qué cambiará para visitar, trabajar y estudiar en Reino Unido tras la salida del país de la Unión Europea",
"producerId": null,
"timePublished": "2020-01-30T06:35:49.000Z",
"timeUpdated": "2020-01-30T06:35:49.000Z",
"producerName": "MUNDO"
},
"readTime": 8,
"siteUri": "/mundo",
Expand Down
5 changes: 3 additions & 2 deletions data/news/articles/c0g992jmmkko.json
Original file line number Diff line number Diff line change
Expand Up @@ -895,11 +895,12 @@
"metadata": {
"id": "urn:bbc:ares::article:c0g992jmmkko",
"atiAnalytics": {
"categoryName": "Wedding%20of%20Prince%20Harry%20and%20Meghan%20Markle~Duchess%20of%20Sussex~Hackney~Windsor",
"categoryName": "Wedding+of+Prince+Harry+and+Meghan+Markle~Duchess+of+Sussex~Hackney~Windsor",
"contentId": "urn:bbc:optimo:asset:c0g992jmmkko",
"contentType": "article",
"language": "en-gb",
"ldpThingIds": "2351f2b2-ce36-4f44-996d-c3c4f7f90eaa~803eaeb9-c0c3-4f1b-9a66-90efac3df2dc~dba7dfeb-87d3-4801-80ba-fa8be6c9555e~f94940f0-476c-4ec7-b48d-e58120bb1956",
"ldpThingLabels": "Wedding%20of%20Prince%20Harry%20and%20Meghan%20Markle~Duchess%20of%20Sussex~Hackney~Windsor",
"ldpThingLabels": "Wedding+of+Prince+Harry+and+Meghan+Markle~Duchess+of+Sussex~Hackney~Windsor",
"nationsProducer": null,
"pageIdentifier": "news.articles.c0g992jmmkko.page",
"pageTitle": "Royal wedding flowers given to Hackney hospice",
Expand Down
1 change: 1 addition & 0 deletions data/persian/articles/c4vlle3q337o.json
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@
"atiAnalytics": {
"categoryName": null,
"contentId": "urn:bbc:optimo:asset:c4vlle3q337o",
"contentType": "article",
"language": "fa",
"ldpThingIds": null,
"ldpThingLabels": null,
Expand Down
15 changes: 13 additions & 2 deletions data/persian/cpsAssets/iran-23231114.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,19 @@
],
"includeComments": false,
"atiAnalytics": {
"producerName": "PERSIAN",
"producerId": "69"
"campaigns": null,
"categoryName": null,
"contentId": "urn:bbc:cps:curie:asset:43667729-4c50-834f-a4b5-c0c95c3cafcf",
"contentType": "article-media-asset",
"language": "fa",
"ldpThingIds": null,
"ldpThingLabels": null,
"pageIdentifier": "iran::persian.iran.media_asset.23231114.page",
"pageTitle": "Trump long headline",
"producerId": null,
"timePublished": "2019-02-15T12:47:51.000Z",
"timeUpdated": "2019-02-15T12:47:51.000Z",
"producerName": "PERSIAN"
},
"siteUri": "/persian",
"mediaType": "audio",
Expand Down
28 changes: 26 additions & 2 deletions data/pidgin/cpsAssets/23248703.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,32 @@
],
"includeComments": false,
"atiAnalytics": {
"producerName": "PIDGIN",
"producerId": "70"
"campaigns": [
{
"campaignId": "5ad8625ac93a9f000eecb253",
"campaignName": "Inspire me"
},
{
"campaignId": "5ad86285c93a9f000eecb256",
"campaignName": "Give me perspective"
},
{
"campaignId": "5ad86291c93a9f000eecb257",
"campaignName": "Keep me on trend"
}
],
"categoryName": "Opinion",
"contentId": "urn:bbc:cps:curie:asset:5679389a-3ea6-0b40-9de4-f4d33d6bcd9f",
"contentType": "article-media-asset",
"language": "pcm",
"ldpThingIds": null,
"ldpThingLabels": null,
"pageIdentifier": "pidgin.media_asset.23248703.page",
"pageTitle": "DO NOT EDIT THIS IS AN AUTOMATED TEST dolor sit amet, consectetur Lorem 'ipsum' dolor sit amet, consectetur Lorem ipsum dolor sit<em>amet</em>, consectetur",
"producerId": null,
"timePublished": "2019-09-13T15:31:44.000Z",
"timeUpdated": "2020-06-10T14:24:07.000Z",
"producerName": "PIDGIN"
},
"readTime": 1,
"siteUri": "/pidgin",
Expand Down
20 changes: 18 additions & 2 deletions data/pidgin/cpsAssets/world-23252817.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,24 @@
],
"includeComments": false,
"atiAnalytics": {
"producerName": "PIDGIN",
"producerId": "70"
"campaigns": [
{
"campaignId": "5ad86265c93a9f000eecb254",
"campaignName": "Educate me"
}
],
"categoryName": "News",
"contentId": "urn:bbc:cps:curie:asset:740a2911-be7a-d945-a968-d812272c2147",
"contentType": "article",
"language": "pcm",
"ldpThingIds": null,
"ldpThingLabels": null,
"pageIdentifier": "world::pidgin.world.story.23252817.page",
"pageTitle": "STY - Blood pressure drugs dey work better",
"producerId": null,
"timePublished": "2019-10-23T12:39:30.000Z",
"timeUpdated": "2019-10-23T12:39:30.000Z",
"producerName": "PIDGIN"
},
"readTime": 2,
"siteUri": "/pidgin"
Expand Down
1 change: 1 addition & 0 deletions data/scotland/articles/czwj5l0n210o.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@
"atiAnalytics": {
"categoryName": null,
"contentId": "urn:bbc:optimo:asset:czwj5l0n210o",
"contentType": "article",
"language": "en-gb",
"ldpThingIds": null,
"ldpThingLabels": null,
Expand Down
24 changes: 21 additions & 3 deletions data/ukrainian/cpsAssets/features-russian-53477115.json
Original file line number Diff line number Diff line change
Expand Up @@ -2718,13 +2718,31 @@
},
"metadata":{
"analyticsLabels":{
"ldp_ids": "5307a8d9-f620-40f5-92d4-f99c919a6ffa~75612fa6-147c-4a43-97fa-fcf70d9cced3~ee8750ed-a7fb-453f-bfca-2aa8b3fb064c",
"ldp_tags": "Society~Politics~Ukraine",
"counterName":"ukrainian.russian_features.story.53477115.page",
"cps_asset_id":"53477115",
"cps_asset_type":"sty"
},
"atiAnalytics":{
"producerId":"94",
"producerName":"UKRAINIAN"
"atiAnalytics": {
"campaigns": [
{
"campaignId": "5a988e4739461b000e9dabfc",
"campaignName": "WS - Update me"
}
],
"categoryName": "News",
"contentId": "urn:bbc:cps:curie:asset:307108d3-9bcc-4829-990c-4b42c1290258",
"contentType": "article",
"language": "ru",
"ldpThingLabels": "Society~Politics~Ukraine",
"ldpThingIds": "5307a8d9-f620-40f5-92d4-f99c919a6ffa~75612fa6-147c-4a43-97fa-fcf70d9cced3~ee8750ed-a7fb-453f-bfca-2aa8b3fb064c",
"pageIdentifier": "russian_features::ukrainian.russian_features.story.53477115.page",
"pageTitle": "Карта новых районов Украины: кто и кого поглотил",
"producerId": null,
"timePublished": "2020-07-21T13:00:09.000Z",
"timeUpdated": "2020-07-21T13:00:09.000Z",
"producerName": "UKRAINIAN"
},
"blockTypes":[
"image",
Expand Down
Loading

0 comments on commit dd222fc

Please sign in to comment.