Skip to content

Instantly share code, notes, and snippets.

@chaoyangnz
Last active May 10, 2020 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaoyangnz/825bc20d7906bcd6036a982fd381d479 to your computer and use it in GitHub Desktop.
Save chaoyangnz/825bc20d7906bcd6036a982fd381d479 to your computer and use it in GitHub Desktop.
{"messageType":"DATA_MESSAGE","owner":"513548267075","logGroup":"/ffx/production/ecs","logStream":"stuff-content-service-cq-sync/stuff-content-service-cq-sync/83e9719a-196c-4351-bb6f-50c5f7ffc22b","subscriptionFilters":["kiwiops-ecs-production-lambda-CloudWatchLogsECSFilter-G5BX8F9164MJ"],"logEvents":[{"id":"35437510453221364307759336754505867747353865762156904448","timestamp":1589072927283,"message":"INFO 2020/05/10 01:08:47,282 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.CsAssetPublishedRoute.log:159) - Received publish event with message id = ID-c3d11bbfc887-1588826815662-0-133346, message body = {
 "asset" : {
 "assetType" : "image",
 "id" : 300009089,
 "assetSubType" : "photograph",
 "source" : "Stuff",
 "lastPublishedAt" : "2020-05-10T01:08:46.973700Z",
 "openToComment" : false,
 "excludeFromSeo" : false,
 "lastUpdated" : "2020-05-10T01:08:46.983161Z",
 "lastPublished" : "2020-05-10T01:08:47.063024Z",
 "status" : "PUBLISHED",
 "createdDate" : "2020-05-10T01:08:46.983162Z",
 "lockedBy" : "nicole.mathewson@fairfaxmedia.co.nz",
 "version" : 2,
 "lastPublishedVersion" : 2,
 "caption" : "08052020 NEWS Photo: JOSEPH JOHNSON/STUFF\\rCoronavirus COVID-19 \\rHanmer Spings thermal pools area while it was closed. Day 45 of the Covid-19 pandemic government ordered lockdown operating at Level 3 in New Zealand country wide.",
 "href" : "gs://content-store-newslink-papyrus-5999/08-CHP-hanmer21.jpg",
 "photographer" : {
 "authors" : [ {
 "email" : "joe.johnson@fairfaxmedia.co.nz",
 "name" : "Joe Johnson"
 } ]
 },
 "newslinkId" : "NewsLink,U:639011660;O:0000000001C002D75A3",
 "focalPointX" : 0,
 "focalPointY" : 0,
 "height" : 3088,
 "width" : 4978
 },
 "schemaVersion" : "1.2",
 "messageType" : "IMAGE"
}, message headers = {breadcrumbId=ID-c3d11bbfc887-1588826815662-0-133347, CamelGooglePubsub.Attributes={MESSAGE_SCHEMA_VERSION=1.2, contentType=application/json, ASSET_STATUS_EVENT=PUBLISH, json__TypeId__=class nz.co.stuff.service.content.entrypoints.messaging.dto.ImageCMSUpdateMessage, ASSET_VERSION=2, ASSET_STATUS=PUBLISHED, ASSET_TYPE=IMAGE, ASSET_ID=300009089, MODIFIED_BY=nicole.mathewson@fairfaxmedia.co.nz}, CamelGooglePubsub.MessageId=1172332535658623, CamelGooglePubsub.MsgAckId=TgQhIT4wPkVTRFAGFixdRkhRNxkIaFEOT14jPzUgKEUTC1MTUVx2E0QQbDNcdQdRDRh1fDcmaw5FAgFHWX1VWwk8aH58dAZWDxpxf2R2b1wWCQRHUFbLl7Pni4K0RB1tNbbqkKRASo_xnrd0Zhg9XBJLLD5-PTRFQV5AEkw2AURJUytDCypYEQ, CamelGooglePubsub.PublishTime=2020-05-10T01:08:47.179Z, deadLetterChannel=direct:csPublishUnsuccessful}. "},{"id":"35437510453221364307759336754505867747353865762156904449","timestamp":1589072927283,"message":"INFO 2020/05/10 01:08:47,282 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.p.MessageSchemaProcessor.process:36) - Processing as message v1.x. "},{"id":"35437510453221364307759336754505867747353865762156904450","timestamp":1589072927283,"message":"WARN 2020/05/10 01:08:47,283 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedAt with value 2020-05-10T01:08:46.973700Z in Class ImageDto "},{"id":"35437510453221364307759336754505867747353865762156904451","timestamp":1589072927283,"message":"WARN 2020/05/10 01:08:47,283 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedVersion with value 2 in Class ImageDto "},{"id":"35437510453288266543354928623930474902171810846674845700","timestamp":1589072927286,"message":"INFO 2020/05/10 01:08:47,286 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.p.AssetVersionOnPublishProcessor.doHandle:38) - [asset id 300009089] Latest version synced to CQ is 1. "},{"id":"35437510453422071014546112362779689211807701015710728197","timestamp":1589072927292,"message":"INFO 2020/05/10 01:08:47,292 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.CsSyncRouteManager.log:159) - [asset id 300009089] Processing CS asset message. ImageMessage() "},{"id":"35437510461940955680384810402846333591959375110995247110","timestamp":1589072927674,"message":"INFO 2020/05/10 01:08:47,673 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.t.ImageResizer.resize:74) - [asset id 300009089] Image will be resized to 2000x1240 "},{"id":"35437510461940955680384810402846333591959375110995247111","timestamp":1589072927674,"message":"DEBUG 2020/05/10 01:08:47,674 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:40) - [asset id 300009089] Request: GET https://production-nzcms-internal.fairfaxmedia.co.nz/services/content/v1/image/300009089 | "},{"id":"35437510462386970584355422865677047957412342341114855432","timestamp":1589072927694,"message":"DEBUG 2020/05/10 01:08:47,693 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:46) - [asset id 300009089] Response: 200 OK OK | {"assetId":300009089,"headline":null,"writeOff":null,"indexHeadline":null,"byline":null,"urlSlug":null,"notes":"Stuff Limited","indexIntroText":null,"stuffNationAssignmentId":null,"stuffNationSubmissionId":null,"href":"/services/content/v1/image/300009089","identifier":null,"activated":false,"hideIdentifier":false,"hideByline":false,"excludeFromWeb":false,"excludeFromTablets":false,"sponsored":false,"advertisement":false,"suppressTimeStamp":false,"stuffNationAssignment":false,"stuffNationContribution":false,"status":"READY","jcrReference":null,"jcrSourcePath":"/content/dam/images/4/y/m/8/h/t/image","indexIdentifier":null,"promotedBrand":null,"assetBase36Id":"4ym8ht","propertyAttributes":{},"lastPublishTime":null,"lastSetReviewTime":null,"systemLastModificationTime":"2020-05-10T00:54:27.554Z","lastReplicated":"2020-05-10T00:54:29.629Z","lastModifiedBy":"svc.contentsync","createdBy":"svc.contentsync","created":"2020-05-10T00:54:27.337Z","legacyCategories":[],"relatedAuthors":[],"externalId":null,"freeMetadata":{"dc:format":"application/octet-stream","hideByline":false,"dam:size":450780,"creationTime":1589072066636,"legacyCategories":[],"stuffNationAssignment":false,"excludeFromSearch":false,"tiff:ImageLength":1240,"dam:extracted":1589072067680,"dam:sha1":"804eb549fe1e6501161a21d3bb61844b3a1df365","sponsored":false,"assetBase36Id":"4ym8ht","caption":"08052020 NEWS Photo: JOSEPH JOHNSON/STUFF\\rCoronavirus COVID-19 \\rHanmer Spings thermal pools area while it was closed. Day 45 of the Covid-19 pandemic government ordered lockdown operating at Level 3 in New Zealand country wide.","syndicationId":300009089,"fileName":"300009089","lastBigModificationTime":1589072066636,"onTime":1589072066636,"photographer":"The-Press","photographerPrefix":"","hideIdentifier":false,"originalHeight":3088,"isMigratedImage":false,"excludeFromWeb":false,"description":"","notes":"Stuff Limited","originalWidth":4978,"alttag":"","stuffNationContribution":false,"jcr:mixinTypes":[null],"status":"READY","advertisement":false,"dam:MIMEtype":"application/octet-stream","excludeFromTablets":false,"suppressTimeStamp":false,"activated":false,"photos":false,"newslinkId":"NewsLink,U:639011660;O:0000000001C002D75A3","_discriminator":0,"sourceSystem":["ffx-sources:The-Press"],"assetId":300009089,"illustration":false,"seoNoIndex":false,"tiff:ImageWidth":2000,"seoStandout":false},"numberOfComments":null,"revisionNumber":0,"supressTimeStamp":null,"canonicalUrlBrand":null,"adExclusions":null,"seoNoIndex":false,"syndicationId":300009089,"lastActionPerformed":null,"totalLikes":null,"customRelatedAssets":{},"brandsAndCategories":[{"brands":[{"brand":"stuff"}],"categories":[]}],"relatedAssets":[],"contentTags":[],"onTime":"2020-05-10T00:54:26.636Z","offTime":null,"creationTime":"2020-05-10T00:54:26.636Z","lastBigModificationTime":"2020-05-10T00:54:26.636Z","firstPublishTime":null,"fileName":"300009089","title":null,"description":"","caption":"08052020 NEWS Photo: JOSEPH JOHNSON/STUFF\\rCoronavirus COVID-19 \\rHanmer Spings thermal pools area while it was closed. Day 45 of the Covid-19 pandemic government ordered lockdown operating at Level 3 in New Zealand country wide.","alt":"","photographer":"The-Press","photographerPrefix":"","height":1240,"width":2000,"data":null,"sources":[{"source":"The-Press"}],"imageURL":"/content/dam/images/4/y/m/8/h/t/image","renditions":[{"rank":null,"imageCrop":null,"imageTypeId":"StuffOriginalRendition","urlMap":{"0x0":"/content/dam/images/4/y/m/8/h/t/image.imgtype.StuffOriginalRendition.0x0.png/1589072067554.jpg"}}]} "},{"id":"35437510464683947339804077049255226939495123576230838281","timestamp":1589072927797,"message":"DEBUG 2020/05/10 01:08:47,797 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:40) - [asset id 300009089] Request: PUT https://production-nzcms-internal.fairfaxmedia.co.nz/services/content/v1/image/300009089 | {"assetId":300009089,"activated":false,"hideIdentifier":false,"hideByline":false,"excludeFromWeb":false,"excludeFromTablets":false,"sponsored":false,"advertisement":false,"suppressTimeStamp":false,"stuffNationAssignment":false,"stuffNationContribution":false,"status":"READY","numberOfComments":0,"revisionNumber":0,"adExclusions":[],"seoNoIndex":false,"totalLikes":0,"freeMetadata":{"allowComments":false,"keywords":null,"authors":null,"alertSendForBrands":null,"adExclusions":null,"signPost":null,"stuffNationAssignment":false,"sponsored":false,"assetBase36Id":null,"seoNewsKeywords":null,"indexIdentifier":null,"syndicationId":null,"hideSocialBar":false,"deskType":null,"tabletHeadline":null,"excludeFromWeb":false,"listingId":null,"externalCanonicalURL":null,"lastActionPerformed":null,"notes":null,"suppressAdsenseAds":false,"status":null,"hideAttribution":false,"writeOff":null,"advertisement":false,"suppressTimeStamp":false,"activated":false,"quoteByline":null,"headline":null,"legalStatus":null,"assetId":null,"info":null,"hideByline":false,"creationTime":0,"canonicalUrlBrand":null,"indexIntroText":null,"targetWordCount":0,"printSlug":null,"lastBigModificationTime":0,"sslEnabled":false,"byline":null,"hideIdentifier":false,"contentRequestId":null,"seoTitle":null,"urlSlug":null,"createdByIngestor":false,"excludeFromTablets":false,"introFlag":null,"suppressAds":false,"seoDescription":null,"currentWordCount":0,"desk":null,"indexHeadline":null,"identifier":null,"displayLeadAssetAboveText":false,"quote":null,"seoNoIndex":false,"seoStandout":false,"stuffNationContribution":false,"review":false,"mediaAnchorAuthoringPositionsList":null,"sourceSystem":["ffx-sources:Stuff"],"headlineFlags":null,"legacyCategories":null,"mediaAnchorDisplayPositionsList":null,"_discriminator":0,"isPrivate":false,"jcr:mixinTypes":null},"brandsAndCategories":[{"brands":[{"brand":"stuff"}],"categories":[]}],"relatedAssets":[],"sources":[{"source":"Stuff","tagValue":null,"tagPrefix":null}],"fileName":"300009089","caption":"08052020 NEWS Photo: JOSEPH JOHNSON/STUFF\\rCoronavirus COVID-19 \\rHanmer Spings thermal pools area while it was closed. Day 45 of the Covid-19 pandemic government ordered lockdown operating at Level 3 in New Zealand country wide.","photographer":"Joe Johnson/Stuff","height":1240,"width":2000,"data":"REDACTED","newslinkId":"NewsLink,U:639011660;O:0000000001C002D75A3"} "},{"id":"35437510488300436505048006956141552590229738411064098826","timestamp":1589072928856,"message":"DEBUG 2020/05/10 01:08:48,855 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:46) - [asset id 300009089] Response: 200 OK OK | {"assetId":300009089,"headline":null,"writeOff":null,"indexHeadline":null,"byline":null,"urlSlug":null,"notes":"Stuff Limited","indexIntroText":null,"stuffNationAssignmentId":null,"stuffNationSubmissionId":null,"href":"/services/content/v1/image/300009089","identifier":null,"activated":false,"hideIdentifier":false,"hideByline":false,"excludeFromWeb":false,"excludeFromTablets":false,"sponsored":false,"advertisement":false,"suppressTimeStamp":false,"stuffNationAssignment":false,"stuffNationContribution":false,"status":"READY","jcrReference":null,"jcrSourcePath":"/content/dam/images/4/y/m/8/h/t/image","indexIdentifier":null,"promotedBrand":null,"assetBase36Id":"4ym8ht","propertyAttributes":{},"lastPublishTime":null,"lastSetReviewTime":null,"systemLastModificationTime":"2020-05-10T01:08:48.793Z","lastReplicated":"2020-05-10T00:54:29.629Z","lastModifiedBy":"svc.contentsync","createdBy":"svc.contentsync","created":"2020-05-10T00:54:27.337Z","legacyCategories":[],"relatedAuthors":[],"externalId":null,"freeMetadata":{"dc:format":"application/octet-stream","hideByline":false,"dam:size":450780,"creationTime":1589072927913,"legacyCategories":[],"stuffNationAssignment":false,"excludeFromSearch":false,"tiff:ImageLength":1240,"dam:extracted":1589072067680,"dam:sha1":"804eb549fe1e6501161a21d3bb61844b3a1df365","sponsored":false,"assetBase36Id":"4ym8ht","caption":"08052020 NEWS Photo: JOSEPH JOHNSON/STUFF\\rCoronavirus COVID-19 \\rHanmer Spings thermal pools area while it was closed. Day 45 of the Covid-19 pandemic government ordered lockdown operating at Level 3 in New Zealand country wide.","syndicationId":300009089,"fileName":"300009089","lastBigModificationTime":1589072927884,"onTime":1589072927913,"photographer":"JOSEPH JOHNSON/STUFF","photographerPrefix":"","hideIdentifier":false,"originalHeight":3088,"isMigratedImage":false,"excludeFromWeb":false,"description":"","notes":"Stuff Limited","originalWidth":4978,"alttag":"","stuffNationContribution":false,"jcr:mixinTypes":[null],"status":"READY","advertisement":false,"dam:MIMEtype":"application/octet-stream","excludeFromTablets":false,"suppressTimeStamp":false,"activated":false,"photos":false,"newslinkId":"NewsLink,U:639011660;O:0000000001C002D75A3","_discriminator":0,"sourceSystem":["ffx-sources:The-Press"],"assetId":300009089,"illustration":false,"seoNoIndex":false,"tiff:ImageWidth":2000,"seoStandout":false},"numberOfComments":null,"revisionNumber":0,"supressTimeStamp":null,"canonicalUrlBrand":null,"adExclusions":null,"seoNoIndex":false,"syndicationId":300009089,"lastActionPerformed":null,"totalLikes":null,"customRelatedAssets":{},"brandsAndCategories":[{"brands":[{"brand":"stuff"}],"categories":[]}],"relatedAssets":[],"contentTags":[],"onTime":"2020-05-10T01:08:47.913Z","offTime":null,"creationTime":"2020-05-10T01:08:47.913Z","lastBigModificationTime":"2020-05-10T01:08:47.884Z","firstPublishTime":null,"fileName":"300009089","title":null,"description":"","caption":"08052020 NEWS Photo: JOSEPH JOHNSON/STUFF\\rCoronavirus COVID-19 \\rHanmer Spings thermal pools area while it was closed. Day 45 of the Covid-19 pandemic government ordered lockdown operating at Level 3 in New Zealand country wide.","alt":"","photographer":"JOSEPH JOHNSON/STUFF","photographerPrefix":"","height":1240,"width":2000,"data":null,"sources":[{"source":"The-Press"}],"imageURL":"/content/dam/images/4/y/m/8/h/t/image","renditions":[{"rank":null,"imageCrop":null,"imageTypeId":"StuffOriginalRendition","urlMap":{"0x0":"/content/dam/images/4/y/m/8/h/t/image.imgtype.StuffOriginalRendition.0x0.png/1589072928793.jpg"}}]} "},{"id":"35437510488300436505048006956141552590229738411064098827","timestamp":1589072928856,"message":"INFO 2020/05/10 01:08:48,856 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.p.BaseMessageProcessor.processMessage:69) - [asset id 300009089] Asset 300009089 successfully saved in CQ. "},{"id":"35437510488411940231040660071849231181592980218594000908","timestamp":1589072928861,"message":"DEBUG 2020/05/10 01:08:48,860 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:40) - [asset id 300009089] Request: POST https://production-nzcms-internal.fairfaxmedia.co.nz/bin/ffx/images/metadata/override?id=4ym8ht&newslinkId=NewsLink,U:639011660;O:0000000001C002D75A3&caption=08052020%20NEWS%20Photo:%20JOSEPH%20JOHNSON/STUFF%0DCoronavirus%20COVID-19%20%0DHanmer%20Spings%20thermal%20pools%20area%20while%20it%20was%20closed.%20Day%2045%20of%20the%20Covid-19%20pandemic%20government%20ordered%20lockdown%20operating%20at%20Level%203%20in%20New%20Zealand%20country%20wide.&photographer=Joe%20Johnson/Stuff&source=Stuff | "},{"id":"35437510490084496120930456807464410052041607331542532109","timestamp":1589072928936,"message":"DEBUG 2020/05/10 01:08:48,935 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:46) - [asset id 300009089] Response: 200 OK OK | {"id":"4ym8ht","path":"/content/dam/images/4/y/m/8/h/t/image","message":"Image updated successfully."} "},{"id":"35437510490084496120930456807464410052041607331542532110","timestamp":1589072928936,"message":"INFO 2020/05/10 01:08:48,936 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.CsSyncRouteManager.log:159) - [asset id 300009089] Publishing CQ asset. Image(fileName=300009089, title=null, description=, caption=08052020 NEWS Photo: JOSEPH JOHNSON/STUFF\rCoronavirus COVID-19 \rHanmer Spings thermal pools area while it was closed. Day 45 of the Covid-19 pandemic government ordered lockdown operating at Level 3 in New Zealand country wide., alt=, photographer=Joe Johnson/Stuff, photographerPrefix=, height=1240, width=2000, data=null, imageURL=/content/dam/images/4/y/m/8/h/t/image, renditions=[Renditions(rank=null, imageCrop=null, imageTypeId=StuffOriginalRendition, urlMap={0x0=/content/dam/images/4/y/m/8/h/t/image.imgtype.StuffOriginalRendition.0x0.png/1589072928793.jpg})], newslinkId=NewsLink,U:639011660;O:0000000001C002D75A3) "},{"id":"35437510490106796866128987430605945770314255693048512527","timestamp":1589072928937,"message":"DEBUG 2020/05/10 01:08:48,937 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:40) - [asset id 300009089] Request: POST https://production-nzcms-internal.fairfaxmedia.co.nz/bin/ffx/publishwithaudit | cmd=ACTIVATE&id=300009089&isAuthor=&asset=Image "},{"id":"35437510493496510136305642148119374947756806641957535760","timestamp":1589072929089,"message":"DEBUG 2020/05/10 01:08:49,089 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:46) - [asset id 300009089] Response: 200 OK OK | {"message":"Asset replicated successfully."} "},{"id":"35437510493496510136305642148119374947756806641957535761","timestamp":1589072929089,"message":"INFO 2020/05/10 01:08:49,089 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (n.c.s.s.c.s.c.p.BaseMessageProcessor.publishAsset:114) - [asset id 300009089] CQ Asset ID : 300,009,089 successfully published in CQ. "},{"id":"35437510493518810881504172771260910666029455003463516178","timestamp":1589072929090,"message":"DEBUG 2020/05/10 01:08:49,090 [Camel (camel-1) thread #1 - GooglePubsubConsumer[stuff.content.cs.asset.published.subscription]] (o.a.c.c.g.p.GooglePubsubProducer.process:70) - [asset id 300009089] uploader thread/id: 50 / ID-c3d11bbfc887-1588826815662-0-133347 . api call completed. "},{"id":"35437510508527212400115282145514449063521802296988336147","timestamp":1589072929763,"message":"INFO 2020/05/10 01:08:49,762 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.CsAssetSavedRoute.log:159) - Received save event with message id = ID-c3d11bbfc887-1588826815662-0-133363, message body = {
 "asset" : {
 "assetType" : "story",
 "id" : 300008677,
 "sectionHeadline" : "From jail to home detention",
 "sectionIntro" : "A woman who has 155 convictions to her name has had her 99th jail sentence replaced with a sentence of home detention, so she can get help for her drug addiction.",
 "assetSubType" : "generic",
 "source" : "Stuff",
 "openToComment" : false,
 "excludeFromSeo" : false,
 "primaryTopic" : 259,
 "secondaryTopics" : [ 554 ],
 "lastUpdated" : "2020-05-10T01:08:49.421914Z",
 "status" : "REVIEW",
 "createdBy" : "Edward Gay",
 "createdDate" : "2020-05-10T01:08:49.421915Z",
 "lockedBy" : "anna.loren@fairfaxmedia.co.nz",
 "version" : 6,
 "headline" : "Northland woman with 155 convictions avoids jail because...",
 "body" : [ {
 "asset" : {
 "assetType" : "image",
 "id" : 300003982,
 "assetSubType" : "photograph",
 "source" : "Stuff",
 "lastPublishedAt" : "2020-05-04T01:40:56.829362Z",
 "openToComment" : false,
 "excludeFromSeo" : false,
 "lastUpdated" : "2020-05-04T01:40:56.836776Z",
 "status" : "PUBLISHED",
 "createdDate" : "2020-05-04T01:40:56.836776Z",
 "version" : 3,
 "lastPublishedVersion" : 3,
 "caption" : "03032016 Newsphoto. SIMON MAUDE/FAIRFAX NZ. Whangarei District and High Court, Banks St, Whangarei. 03-N-courtsA",
 "href" : "gs://content-store-newslink-papyrus-5999/03-N-courtsA.JPG",
 "photographer" : {
 "otherContributors" : [ "Simon Maude" ]
 },
 "newslinkId" : "NewsLink,U:632105355;O:000000000440000B349",
 "focalPointX" : -0.1599456735064677,
 "focalPointY" : 0.026250012715657522,
 "height" : 3641,
 "width" : 5368
 },
 "text" : null,
 "captionOverride" : "Whangarei District and High Court where Jaymie Ursula Tuki's appeal was heard.",
 "type" : "IMAGE",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : {
 "assetType" : "widget",
 "id" : 300008516,
 "assetSubType" : "html",
 "lastPublishedAt" : "2020-05-08T04:19:58.818073Z",
 "openToComment" : false,
 "excludeFromSeo" : false,
 "lastUpdated" : "2020-05-08T04:19:58.824465Z",
 "status" : "PUBLISHED",
 "createdBy" : "Patrick Crewdson",
 "createdDate" : "2020-05-08T04:19:58.824465Z",
 "version" : 2,
 "lastPublishedVersion" : 2,
 "headline" : "Stuff Supporter Programme - Homed in-story pointer | 8 May 2020",
 "body" : "<style>\\n .donation-in-story-container{\\n width: 100%;\\n max-width: 650px;\\n margin: 20px auto;\\n box-sizing: border-box;\\n overflow: hidden;\\n position: relative;\\n border-top: 3px solid #F64E19;\\n border-bottom: 3px solid #F64E19;\\n text-align: center;\\n display: flex;\\n flex-direction: column;\\n padding: 10px;\\n font-size: 18px !important;\\n align-items: center;\\n }\\n .donation-in-story-p{\\n font-family: 'Roboto',sans-serif;\\n margin: 10px !important;\\n line-height: 1.4 !important;\\n font-weight: 400 !important;\\n }\\n .donation-in-story-p-bold{\\n font-weight: 700 !important;\\n color: #F64E19 !important;\\n }\\n .donation-link-button{\\n text-decoration: none !important;\\n color: #fff !important; \\n font-family: 'Roboto',sans-serif;\\n line-height: 1.4 !important;\\n background-color: #000 !important;\\n width: 100%;\\n max-width: 220px;\\n padding: 10px 15px;\\n border-radius: 120px;\\n margin: 5px 0 10px 0;\\n transition: all .2s;\\n cursor: pointer;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n position: relative;\\n }\\n .donation-link-button:hover{\\n opacity: .78;\\n max-width: 225px;\\n }\\n .donation-link-button:active,.donation-link-button:visited{\\n text-decoration: none !important;\\n }\\n .donation-link-arrow{\\n width: 30px !important;\\n height: 30px !important;\\n position: absolute;\\n top: 50%;\\n transform: translateY(-50%);\\n right: 5px;\\n }\\n </style> \\n<div class=\\"donation-in-story-container\\">\\n <p class=\\"donation-in-story-p\\">Homed offers inspiration and insight on all things home and property. Support our coverage by <span class=\\"donation-in-story-p-bold\\">making a contribution</span>.</p>\\n <a href=\\"https://interactives.stuff.co.nz/2020/03/support-stuffs-journalism/\\" target=\\"_blank\\" class=\\"donation-link-button\\">Contribute Now<img class=\\"donation-link-arrow\\"src=\\"https://static3.stuff.co.nz/orange-arrow-3957a1dc.png\\" alt=\\"orange-arrow\\"></a>\\n </div>"
 },
 "text" : null,
 "captionOverride" : null,
 "type" : "WIDGET",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "A woman whose criminal record stretches to 155 convictions has avoided her latest jail sentence after a judge determined prison does nothing to deter her from offending." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "At the age of 34, Northlander Jaymie Ursula Tuki has already served 99 prison sentences." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "The mother of four's most recent offending involved theft and shoplifting." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "In April 2019, Tuki stole two shirts from a shop in Auckland's Takapuna. The following month, a bag was stolen from the Glenfield pools and Tuki was caught using credit cards which were in the bag to buy cigarettes." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : null,
 "captionOverride" : null,
 "type" : "LINK",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : {
 "assetType" : "image",
 "id" : 300008708,
 "assetSubType" : "photograph",
 "source" : "Stuff",
 "lastPublishedAt" : "2020-05-08T05:53:57.938714Z",
 "openToComment" : false,
 "excludeFromSeo" : false,
 "lastUpdated" : "2020-05-08T05:53:57.947224Z",
 "status" : "PUBLISHED",
 "createdBy" : "Edward Gay",
 "createdDate" : "2020-05-08T05:53:57.947225Z",
 "lockedBy" : "edward.gay@fairfaxmedia.co.nz",
 "version" : 2,
 "lastPublishedVersion" : 2,
 "caption" : "Criminal defence lawyer Anoushka Bloem",
 "href" : "gs://content-store-papyrus-5999/e5873b08-07dc-44b5-a0d9-e12c241d0056",
 "photographer" : {
 "otherContributors" : [ "SUPPLIED" ]
 },
 "focalPointX" : 0.18725818541887218,
 "focalPointY" : 0.5554166793823242,
 "height" : 864,
 "width" : 1169
 },
 "text" : null,
 "captionOverride" : "Criminal defence lawyer Anoushka Bloem.",
 "type" : "IMAGE",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "Over the following months there was more shoplifting from a supermarket. Tuki also stole an honesty box from a shop and cosmetics from a pharmacy." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "She was sentenced to 16 months in prison." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "However, her lawyer Anoushka Bloem appealed the case to the High Court in Whangārei." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ {
 "type" : "span",
 "content" : [ "In her judgment, released in April, Justice Rebecca Edwards said Tuki had initially told authorities her offending was due to kleptomania." ]
 } ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ {
 "type" : "span",
 "content" : [ "However, she had recently admitted having an addiction to methamphetamine." ]
 } ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "She said she had kept her meth problem a secret because she didn't want to lose her children." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "A Corrections report writer noted Tuki had suffered trauma throughout her life, including the death of her father at the hands of her mother." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "She had recently been given electronically monitored bail after finding her long-term friend and cellmate dead from suicide in prison." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ {
 "type" : "span",
 "content" : [ "Justice Edwards said Tuki had made the move from Auckland to Northland to get away from friends who were a negative influence in her life." ]
 } ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ {
 "type" : "span",
 "content" : [ "She had also enrolled in a drug and alcohol programme, although her attendance had been sporadic." ]
 } ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ {
 "type" : "span",
 "content" : [ "Bloem successfully argued that the district court judge who sentenced her client had failed to give proper discounts for her early guilty plea. There was also no discount for the four months she spent on bail." ]
 } ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ {
 "type" : "span",
 "content" : [ "Justice Edwards said while a short term of imprisonment was the most effective short-term measure to protect the community, prison had done nothing to stop Tuki from re-offending once released. " ]
 } ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ {
 "type" : "span",
 "content" : [ "\\"A sentence of imprisonment does not therefore deter Ms Tuki, nor protect the public from harm long-term.\\"" ]
 } ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "Instead, a sentence of home detention would allow Tuki to continue her drug rehabilitation programme, Justice Edwards said." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ {
 "type" : "span",
 "content" : [ "\\"Addressing the underlying causes of her offending may be the best opportunity to break the cycle of offending and incarceration, thus protecting the community from harm.\\"" ]
 } ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "Justice Edwards noted that since Tuki was sentenced to prison, the country had gone into coronavirus lockdown and Tuki's proposed home detention address may no longer be available." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ "She asked Corrections to re-check it." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : null,
 "text" : {
 "type" : "p",
 "content" : [ {
 "type" : "em",
 "content" : [ "Stuff" ]
 }, " understands that has not yet been carried out and Tuki is still in prison." ]
 },
 "captionOverride" : null,
 "type" : "TEXT",
 "videoId" : null,
 "videoReferenceId" : null
 }, {
 "asset" : {
 "assetType" : "widget",
 "id" : 300007817,
 "assetSubType" : "html",
 "lastPublishedAt" : "2020-05-07T09:11:43.510183Z",
 "openToComment" : false,
 "excludeFromSeo" : false,
 "lastUpdated" : "2020-05-07T09:11:43.517593Z",
 "status" : "PUBLISHED",
 "createdBy" : "Patrick Crewdson",
 "createdDate" : "2020-05-07T09:11:43.517593Z",
 "version" : 3,
 "lastPublishedVersion" : 3,
 "headline" : "Stuff Supporter Programme - Auckland in-story pointer | 7 May 2020",
 "body" : "<style>\\n .donation-in-story-container{\\n width: 100%;\\n max-width: 650px;\\n margin: 20px auto;\\n box-sizing: border-box;\\n overflow: hidden;\\n position: relative;\\n border-top: 3px solid #F64E19;\\n border-bottom: 3px solid #F64E19;\\n text-align: center;\\n display: flex;\\n flex-direction: column;\\n padding: 10px;\\n font-size: 18px !important;\\n align-items: center;\\n }\\n .donation-in-story-p{\\n font-family: 'Roboto',sans-serif;\\n margin: 10px !important;\\n line-height: 1.4 !important;\\n font-weight: 400 !important;\\n }\\n .donation-in-story-p-bold{\\n font-weight: 700 !important;\\n color: #F64E19 !important;\\n }\\n .donation-link-button{\\n text-decoration: none !important;\\n color: #fff !important; \\n font-family: 'Roboto',sans-serif;\\n line-height: 1.4 !important;\\n background-color: #000 !important;\\n width: 100%;\\n max-width: 220px;\\n padding: 10px 15px;\\n border-radius: 120px;\\n margin: 5px 0 10px 0;\\n transition: all .2s;\\n cursor: pointer;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n position: relative;\\n }\\n .donation-link-button:hover{\\n opacity: .78;\\n max-width: 225px;\\n }\\n .donation-link-button:active,.donation-link-button:visited{\\n text-decoration: none !important;\\n }\\n .donation-link-arrow{\\n width: 30px !important;\\n height: 30px !important;\\n position: absolute;\\n top: 50%;\\n transform: translateY(-50%);\\n right: 5px;\\n }\\n </style> \\n<div class=\\"donation-in-story-container\\">\\n <p class=\\"donation-in-story-p\\">Local reporting is vital to a thriving and connected community. Help us keep telling Auckland's stories by <span class=\\"donation-in-story-p-bold\\">making a contribution</span>.</p>\\n <a href=\\"https://interactives.stuff.co.nz/2020/03/support-stuffs-journalism/\\" target=\\"_blank\\" class=\\"donation-link-button\\">Contribute Now<img class=\\"donation-link-arrow\\"src=\\"https://static3.stuff.co.nz/orange-arrow-3957a1dc.png\\" alt=\\"orange-arrow\\"></a>\\n </div>"
 },
 "text" : null,
 "captionOverride" : null,
 "type" : "WIDGET",
 "videoId" : null,
 "videoReferenceId" : null
 } ],
 "byLine" : {
 "authors" : [ {
 "email" : "edward.gay@fairfaxmedia.co.nz",
 "name" : "Edward Gay"
 } ]
 },
 "printSlug" : "n-tuki-08",
 "thumbnailImage" : {
 "assetType" : "image",
 "id" : 300003981,
 "assetSubType" : "photograph",
 "source" : "Stuff",
 "lastPublishedAt" : "2020-05-04T01:39:59.744361Z",
 "openToComment" : false,
 "excludeFromSeo" : false,
 "lastUpdated" : "2020-05-04T01:39:59.751323Z",
 "status" : "PUBLISHED",
 "createdDate" : "2020-05-04T01:39:59.751323Z",
 "version" : 3,
 "lastPublishedVersion" : 3,
 "caption" : "03032016 Newsphoto. SIMON MAUDE/FAIRFAX NZ. Whangarei District and High Court, Banks St, Whangarei. 03-N-courtsC",
 "href" : "gs://content-store-newslink-papyrus-5999/03-N-courtsC.JPG",
 "photographer" : {
 "otherContributors" : [ "Simon Maude" ]
 },
 "newslinkId" : "NewsLink,U:632105358;O:000000000440000B34B",
 "focalPointX" : 0.0483333163791233,
 "focalPointY" : -0.09874998728434248,
 "height" : 4000,
 "width" : 6000
 },
 "relatedLinks" : [ {
 "description" : "Teens who carried out terrifying student flat robbery win appeals, get out of jail",
 "url" : "https://www.stuff.co.nz/national/crime/112433932/teens-who-carried-out-terrifying-student-flat-robbery-win-appeals-get-out-of-jail?rm=a"
 }, {
 "description" : "Shoplifter gets sentence massively reduced on appeal",
 "url" : "https://www.stuff.co.nz/manawatu-standard/news/110334503/shoplifter-gets-sentence-massively-reduced-on-appeal?rm=a"
 }, {
 "description" : "Reformed addict Ursula Addie Case granted home detention",
 "url" : "https://www.stuff.co.nz/the-press/news/92999315/reformed-addict-ursula-addie-case-granted-home-detention?rm=a"
 } ],
 "desk" : {
 "id" : 31,
 "name" : "AucklandProd",
 "type" : "PRODUCTION"
 },
 "legalStatus" : "NONE"
 },
 "notes" : [ ],
 "schemaVersion" : "1.2",
 "messageType" : "STORY"
}, message headers = {breadcrumbId=ID-c3d11bbfc887-1588826815662-0-133364, CamelGooglePubsub.Attributes={ASSET_TYPE=STORY, ASSET_ID=300008677, MODIFIED_BY=anna.loren@fairfaxmedia.co.nz, MESSAGE_SCHEMA_VERSION=1.2, contentType=application/json, ASSET_STATUS_EVENT=SAVE, json__TypeId__=class nz.co.stuff.service.content.entrypoints.messaging.dto.StoryCMSUpdateMessage, ASSET_VERSION=6, ASSET_STATUS=REVIEW}, CamelGooglePubsub.MessageId=1172286785164181, CamelGooglePubsub.MsgAckId=BCEhPjA-RVNEUAYWLF1GSFE3GQhoUQ5PXiM_NSAoRRMLUxNRXHUTWhBpM1x1B1ENGHV8Nyc8WxUBAkJZfVpRGx9ZXH5VBlAKG3B1Z3JiXxIHBkRbf3f178SnzLOcNksxIePljLBfeqaz6JxhZhs9XBJLLD5-PTVFQV5AEkw2AERJUytDCypYEU4, CamelGooglePubsub.PublishTime=2020-05-10T01:08:49.657Z, deadLetterChannel=direct:csSaveUnsuccessful}. "},{"id":"35437510508527212400115282145514449063521802296988336148","timestamp":1589072929763,"message":"INFO 2020/05/10 01:08:49,763 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.p.MessageSchemaProcessor.process:36) - Processing as message v1.x. "},{"id":"35437510508527212400115282145514449063521802296988336149","timestamp":1589072929763,"message":"WARN 2020/05/10 01:08:49,763 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedAt with value 2020-05-04T01:40:56.829362Z in Class ImageDto "},{"id":"35437510508527212400115282145514449063521802296988336150","timestamp":1589072929763,"message":"WARN 2020/05/10 01:08:49,763 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedVersion with value 3 in Class ImageDto "},{"id":"35437510508549513145313812768655984781794450658494316567","timestamp":1589072929764,"message":"WARN 2020/05/10 01:08:49,763 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedAt with value 2020-05-08T04:19:58.818073Z in Class WidgetDto "},{"id":"35437510508549513145313812768655984781794450658494316568","timestamp":1589072929764,"message":"WARN 2020/05/10 01:08:49,764 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedVersion with value 2 in Class WidgetDto "},{"id":"35437510508549513145313812768655984781794450658494316569","timestamp":1589072929764,"message":"WARN 2020/05/10 01:08:49,764 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedAt with value 2020-05-08T05:53:57.938714Z in Class ImageDto "},{"id":"35437510508549513145313812768655984781794450658494316570","timestamp":1589072929764,"message":"WARN 2020/05/10 01:08:49,764 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedVersion with value 2 in Class ImageDto "},{"id":"35437510508549513145313812768655984781794450658494316571","timestamp":1589072929764,"message":"WARN 2020/05/10 01:08:49,764 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedAt with value 2020-05-07T09:11:43.510183Z in Class WidgetDto "},{"id":"35437510508549513145313812768655984781794450658494316572","timestamp":1589072929764,"message":"WARN 2020/05/10 01:08:49,764 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedVersion with value 3 in Class WidgetDto "},{"id":"35437510508571813890512343391797520500067099020000296989","timestamp":1589072929765,"message":"WARN 2020/05/10 01:08:49,764 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedAt with value 2020-05-04T01:39:59.744361Z in Class ImageDto "},{"id":"35437510508571813890512343391797520500067099020000296990","timestamp":1589072929765,"message":"WARN 2020/05/10 01:08:49,764 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field lastPublishedVersion with value 3 in Class ImageDto "},{"id":"35437510508571813890512343391797520500067099020000296991","timestamp":1589072929765,"message":"WARN 2020/05/10 01:08:49,765 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.a.UnknownFieldLogger.setUnknownFields:35) - Unknown field notes with value [] in Class StoryMessage "},{"id":"35437510508638716126107935261222127654885044104518238240","timestamp":1589072929768,"message":"INFO 2020/05/10 01:08:49,768 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.p.AssetVersionOnSaveProcessor.doHandle:38) - [asset id 300008677] Latest version synced to CQ is 5. "},{"id":"35437510508794821342497649623212877682793582635060101153","timestamp":1589072929775,"message":"INFO 2020/05/10 01:08:49,774 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.CsSyncRouteManager.log:159) - [asset id 300008677] Processing CS asset message. StoryMessage() "},{"id":"35437510508817122087696180246354413401066230996566081570","timestamp":1589072929776,"message":"INFO 2020/05/10 01:08:49,776 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.t.ImageResizer.resize:74) - [asset id 300008677] Image will be resized to 2000x1356 "},{"id":"35437510508950926558887363985203627710702121165601964067","timestamp":1589072929782,"message":"INFO 2020/05/10 01:08:49,781 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.t.ImageResizer.resize:74) - [asset id 300008677] Image will be resized to 2000x1333 "},{"id":"35437510509017828794482955854628234865520066250119905316","timestamp":1589072929785,"message":"DEBUG 2020/05/10 01:08:49,784 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:40) - [asset id 300008677] Request: GET https://production-nzcms-internal.fairfaxmedia.co.nz/services/content/v1/article/300008677 | "},{"id":"35437510509218535501269731462902056329973901503673729061","timestamp":1589072929794,"message":"DEBUG 2020/05/10 01:08:49,794 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:46) - [asset id 300008677] Response: 404 NOT_FOUND Not Found | {"error":"No Article with id '300008677' was found"} "},{"id":"35437510509218535501269731462902056329973901503673729062","timestamp":1589072929794,"message":"ERROR 2020/05/10 01:08:49,794 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.s.ResponseErrorHandler.handleError:34) - [asset id 300008677] Server responded with an error on client request. 404 NOT_FOUND Not Found "},{"id":"35437510509240836246468262086043592048246549865179709479","timestamp":1589072929795,"message":"DEBUG 2020/05/10 01:08:49,795 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:40) - [asset id 300008677] Request: POST https://production-nzcms-internal.fairfaxmedia.co.nz/services/content/v1/article | {"assetId":300008677,"headline":"Northland woman with 155 convictions avoids jail because...","indexHeadline":"From jail to home detention","byline":"Edward Gay","urlSlug":"northland-woman-with-155-convictions-avoids-jail-because","indexIntroText":"A woman who has 155 convictions to her name has had her 99th jail sentence replaced with a sentence of home detention, so she can get help for her drug addiction.","activated":false,"hideIdentifier":false,"hideByline":false,"excludeFromWeb":false,"excludeFromTablets":false,"sponsored":false,"advertisement":false,"suppressTimeStamp":false,"stuffNationAssignment":false,"stuffNationContribution":false,"status":"REVIEW","numberOfComments":0,"revisionNumber":0,"adExclusions":[],"seoNoIndex":false,"totalLikes":0,"freeMetadata":{"allowComments":false,"keywords":null,"authors":null,"alertSendForBrands":null,"adExclusions":null,"signPost":null,"stuffNationAssignment":false,"sponsored":false,"assetBase36Id":null,"seoNewsKeywords":null,"indexIdentifier":null,"syndicationId":null,"hideSocialBar":false,"deskType":"production","tabletHeadline":null,"excludeFromWeb":false,"listingId":null,"externalCanonicalURL":null,"lastActionPerformed":null,"notes":null,"suppressAdsenseAds":false,"status":null,"hideAttribution":false,"writeOff":null,"advertisement":false,"suppressTimeStamp":false,"activated":false,"quoteByline":null,"headline":null,"legalStatus":null,"assetId":null,"info":null,"hideByline":false,"creationTime":0,"canonicalUrlBrand":null,"indexIntroText":null,"targetWordCount":0,"printSlug":null,"lastBigModificationTime":0,"sslEnabled":false,"byline":null,"hideIdentifier":false,"contentRequestId":null,"seoTitle":null,"urlSlug":null,"createdByIngestor":false,"excludeFromTablets":false,"introFlag":null,"suppressAds":false,"seoDescription":null,"currentWordCount":0,"desk":"ffx-production-desk:AucklandProd","indexHeadline":null,"identifier":null,"displayLeadAssetAboveText":false,"quote":null,"seoNoIndex":false,"seoStandout":false,"stuffNationContribution":false,"review":false,"mediaAnchorAuthoringPositionsList":null,"sourceSystem":["ffx-sources:Stuff"],"headlineFlags":null,"legacyCategories":null,"mediaAnchorDisplayPositionsList":null,"_discriminator":0,"isPrivate":false,"jcr:mixinTypes":null},"brandsAndCategories":[{"brands":[{"brand":"stuff"}],"categories":[{"category":"nz/national/crime"},{"category":"nz/northland/whangarei-leader"}]}],"relatedAssets":[{"type":"RelatedImage","assetId":300003982,"href":null,"type":"RelatedImage","captionOverride":"Whangarei District and High Court where Jaymie Ursula Tuki's appeal was heard.","imageTypes":[{"rank":"0","imageCrop":"0,99,2000,1223","imageTypeId":"StuffLandscapeSixteenByNine","urlMap":null}]},{"type":"RelatedHtmlAsset","assetId":300008516,"href":null,"type":"RelatedHtmlAsset"},{"type":"RelatedImage","assetId":300008708,"href":null,"type":"RelatedImage","captionOverride":"Criminal defence lawyer Anoushka Bloem.","imageTypes":[{"rank":"1","imageCrop":"0,0,1169,656","imageTypeId":"StuffLandscapeSixteenByNine","urlMap":null}]},{"type":"RelatedHtmlAsset","assetId":300007817,"href":null,"type":"RelatedHtmlAsset"},{"type":"RelatedImage","assetId":300003981,"href":null,"type":"RelatedImage","captionOverride":null,"imageTypes":[{"rank":"0","imageCrop":"0,1,2000,1333","imageTypeId":"StuffThumbnail","urlMap":null},{"rank":"0","imageCrop":"0,1,2000,1333","imageTypeId":"StuffLandscapeThreeByTwo","urlMap":null},{"rank":"0","imageCrop":"495,0,1601,1333","imageTypeId":"StuffPortrait","urlMap":null},{"rank":"0","imageCrop":"549,0,1547,1333","imageTypeId":"StuffSplash","urlMap":null},{"rank":"0","imageCrop":"0,205,2000,1257","imageTypeId":"StuffBigHeadline","urlMap":null},{"rank":"0","imageCrop":"0,151,2000,1311","imageTypeId":"StuffDefcon","urlMap":null},{"rank":"0","imageCrop":"495,0,1601,1333","imageTypeId":"PosterPortrait","urlMap":null},{"rank":"0","imageCrop":"0,167,2000,1295","imageTypeId":"PosterLandscape","urlMap":null},{"rank":"0","imageCrop":"0,169,2000,1293","imageTypeId":"StuffThumbnailSixteenByNine","urlMap":null}]}],"sources":[{"source":"Stuff","tagValue":null,"tagPrefix":null}],"id":300008677,"allowComments":false,"sslEnabled":true,"printSlug":"n-tuki-08","body":"<p class=\\"info-note\\">☸</p><p class=\\"info-note\\">☸</p><p>A woman whose criminal record stretches to 155 convictions has avoided her latest jail sentence after a judge determined prison does nothing to deter her from offending.</p><p>At the age of 34, Northlander Jaymie Ursula Tuki has already served 99 prison sentences.</p><p>The mother of four's most recent offending involved theft and shoplifting.</p><p>In April 2019, Tuki stole two shirts from a shop in Auckland's Takapuna. The following month, a bag was stolen from the Glenfield pools and Tuki was caught using credit cards which were in the bag to buy cigarettes.</p><p><strong>READ MORE:<br />\\n * <a href=\\"https://www.stuff.co.nz/national/crime/112433932/teens-who-carried-out-terrifying-student-flat-robbery-win-appeals-get-out-of-jail?rm=a\\">Teens who carried out terrifying student flat robbery win appeals, get out of jail</a><br />\\n * <a href=\\"https://www.stuff.co.nz/manawatu-standard/news/110334503/shoplifter-gets-sentence-massively-reduced-on-appeal?rm=a\\">Shoplifter gets sentence massively reduced on appeal</a><br />\\n * <a href=\\"https://www.stuff.co.nz/the-press/news/92999315/reformed-addict-ursula-addie-case-granted-home-detention?rm=a\\">Reformed addict Ursula Addie Case granted home detention</a><br />\\n</strong></p><p class=\\"info-note\\">☸</p><p>Over the following months there was more shoplifting from a supermarket. Tuki also stole an honesty box from a shop and cosmetics from a pharmacy.</p><p>She was sentenced to 16 months in prison.</p><p>However, her lawyer Anoushka Bloem appealed the case to the High Court in Whangārei.</p><p>In her judgment, released in April, Justice Rebecca Edwards said Tuki had initially told authorities her offending was due to kleptomania.</p><p>However, she had recently admitted having an addiction to methamphetamine.</p><p>She said she had kept her meth problem a secret because she didn't want to lose her children.</p><p>A Corrections report writer noted Tuki had suffered trauma throughout her life, including the death of her father at the hands of her mother.</p><p>She had recently been given electronically monitored bail after finding her long-term friend and cellmate dead from suicide in prison.</p><p>Justice Edwards said Tuki had made the move from Auckland to Northland to get away from friends who were a negative influence in her life.</p><p>She had also enrolled in a drug and alcohol programme, although her attendance had been sporadic.</p><p>Bloem successfully argued that the district court judge who sentenced her client had failed to give proper discounts for her early guilty plea. There was also no discount for the four months she spent on bail.</p><p>Justice Edwards said while a short term of imprisonment was the most effective short-term measure to protect the community, prison had done nothing to stop Tuki from re-offending once released. </p><p>\\"A sentence of imprisonment does not therefore deter Ms Tuki, nor protect the public from harm long-term.\\"</p><p>Instead, a sentence of home detention would allow Tuki to continue her drug rehabilitation programme, Justice Edwards said.</p><p>\\"Addressing the underlying causes of her offending may be the best opportunity to break the cycle of offending and incarceration, thus protecting the community from harm.\\"</p><p>Justice Edwards noted that since Tuki was sentenced to prison, the country had gone into coronavirus lockdown and Tuki's proposed home detention address may no longer be available.</p><p>She asked Corrections to re-check it.</p><p><em>Stuff</em> understands that has not yet been carried out and Tuki is still in prison.</p><p class=\\"info-note\\">☸</p>","introFlag":"NONE","headlineFlags":[],"suppressAds":false,"suppressAdsenseAds":false,"hideSocialBar":false,"targetWordCount":0,"currentWordCount":0,"review":false,"createdByIngestor":false,"deskType":"production","legalStatus":"None","displayLeadAssetAboveText":false,"hideAttribution":false,"isPrivate":false} "},{"id":"35437510511225602569137487545640270974512254039211966504","timestamp":1589072929884,"message":"DEBUG 2020/05/10 01:08:49,883 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.s.LoggingHttpRequestInterceptor.intercept:46) - [asset id 300008677] Response: 400 BAD_REQUEST Bad Request | [{"message":"invalid value","messageTemplate":"{contentapi.validation.contraint.InvalidValue.message}","path":"ArticleService.postArticle.article.categories","invalidValue":"nz/northland/whangarei-leader"}] "},{"id":"35437510511225602569137487545640270974512254039211966505","timestamp":1589072929884,"message":"ERROR 2020/05/10 01:08:49,883 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.s.ResponseErrorHandler.handleError:34) - [asset id 300008677] Server responded with an error on client request. 400 BAD_REQUEST Bad Request "},{"id":"35437510511270204059534548791923342411057550762223927338","timestamp":1589072929886,"message":"WARN 2020/05/10 01:08:49,886 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (o.a.c.p.DeadLetterChannel.log:165) - [asset id 300008677] Failed delivery for (MessageId: ID-c3d11bbfc887-1588826815662-0-133365 on ExchangeId: ID-c3d11bbfc887-1588826815662-0-133364). On delivery attempt: 0 caught: org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request "},{"id":"35437510511337106295130140661347949565875495846741868587","timestamp":1589072929889,"message":"ERROR 2020/05/10 01:08:49,888 [Camel (camel-1) thread #2 - GooglePubsubConsumer[stuff.content.cs.asset.saved.subscription]] (n.c.s.s.c.s.c.CsSyncRouteManager.lambda$configureErrorHandling$3:173) - [asset id 300008677] Unexpected error encountered while processing message. org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request
\tat org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:79) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:122) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:102) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat nz.co.stuff.service.content.sync.cq.service.ResponseErrorHandler.handleError(ResponseErrorHandler.java:52) ~[entrypoints-0.242.jar!/:na]
\tat org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:778) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:736) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.web.client.RestTemplate.execute(RestTemplate.java:670) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:579) ~[spring-web-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat nz.co.stuff.service.content.sync.cq.service.RestService.execute(RestService.java:71) ~[entrypoints-0.242.jar!/:na]
\tat nz.co.stuff.service.content.sync.cq.service.AssetService.createAsset(AssetService.java:70) ~[entrypoints-0.242.jar!/:na]
\tat nz.co.stuff.service.content.sync.cs.process.BaseMessageProcessor.processMessage(BaseMessageProcessor.java:65) ~[entrypoints-0.242.jar!/:na]
\tat nz.co.stuff.service.content.sync.cs.process.MessageRunner.processMessage(MessageRunner.java:45) ~[entrypoints-0.242.jar!/:na]
\tat nz.co.stuff.service.content.sync.cs.process.MessageRunner$$FastClassBySpringCGLIB$$6750f1e5.invoke(<generated>) ~[entrypoints-0.242.jar!/:na]
\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749) ~[spring-aop-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) ~[spring-tx-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) ~[spring-tx-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) ~[spring-aop-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
\tat nz.co.stuff.service.content.sync.cs.process.MessageRunner$$EnhancerBySpringCGLIB$$5a1ca596.processMessage(<generated>) ~[entrypoints-0.242.jar!/:na]
\tat jdk.internal.reflect.GeneratedMethodAccessor679.invoke(Unknown Source) ~[na:na]
\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
\tat java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
\tat org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:481) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:300) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:273) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.component.bean.AbstractBeanProcessor.process(AbstractBeanProcessor.java:198) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:53) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:76) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.Pipeline.process(Pipeline.java:138) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.Pipeline.process(Pipeline.java:101) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:76) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.Pipeline.process(Pipeline.java:138) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.Pipeline.process(Pipeline.java:101) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) ~[camel-core-2.23.1.jar!/:2.23.1]
\tat org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment