Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ENV.learning.job.request


Message Format

Message format of instruction event will be used for the QR image generation request. Object(optional parameter) will be excluded from this message format to make sure publish pipeline job doesn't pick the QR image generation requests


Sample Message
Code Block
title
{
  "eid": "BE_JOB_REQUEST",
  "ets": 1543306743493,
  "mid": "LP.1543306743493.c41665e1-2f08-4d8a-a117-659d72d4bf0c",
  "actor": {
    "id": "QR Code Image Generator Samza Job",
    "type": "System"
  },
  "context": {
    "pdata": {
      "ver": "1.0",
      "id": "org.ekstep.platform"
    },
    "channel": "0125350797242122243",
    "env": "qa"
  },
  "edata": {
  
 "action": "qrcodeimagegenerator",
    "processId": "574768558758123872345283324",
    "qr": {
      "dialcodes": [
   
    {
   
      "data": "https://diksha.gov.in/dial/ABCDEF",
  
       "text": "ABCDEF",
          "fileNamerequestId": "ABCDEF_1543568148"
        },
  
     {
          "data": "https://diksha.gov.in/dial/123456",
   
      "text": "123456",
   
      "fileNamerequestId": "123456_1543568148"
 
      }
      ],

     "specstorage": {
  
     "errorCorrectionLevelcontainer": "Hdial",
   
    "pixelsPerBlockpath": 2,
        "margin": 3,"channel/publisher/"
  },
     "fontconfig": {
     
    "nameerrorCorrectionLevel": "VerdanaH",

         "sizepixelsPerBlock": 112,
          "characterSpacing"qrCodeMargin": 0.1
        },
   3,
    "imagetextFontName": {
          "format": "png",
     "Verdana",
    "colorModeltextFontSize": "Grayscale"11,
          "borderSize"textCharacterSpacing": 1
        }
      }
    }0.1,
    "storageimageFormat": {
 "png",
    "containercolourModel": "dialGrayscale",
 
    "pathimageBorderSize": "channel/publisher/"1
   }
}
 
}
}