The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Log
By Guest on 15th May 2019 08:33:01 AM | Syntax: TEXT | Views: 11



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. {
  2.     "level": "info",
  3.     "severity": 6,
  4.     "time": "2019-05-15T08:15:41.386Z",
  5.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  6.     "filename": "/srv/package/node_modules/@lifion/core-middleware-tx/lib/index.js",
  7.     "pid": 6,
  8.     "schema": "@lifion/logger",
  9.     "v": "1.0.6",
  10.     "version": "1.18.0",
  11.     "name": "flex-ot-service",
  12.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  13.     "method": "GET",
  14.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  15.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  16.     "startTime": 1557908141386,
  17.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  18.     "action": "in",
  19.     "kind": "tx-tracing"
  20. }
  21.  
  22. {
  23.     "level": "info",
  24.     "severity": 6,
  25.     "time": "2019-05-15T08:15:41.387Z",
  26.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  27.     "filename": "/srv/package/lib/data-access/redis.js",
  28.     "pid": 6,
  29.     "schema": "@lifion/logger",
  30.     "v": "1.0.6",
  31.     "version": "1.18.0",
  32.     "name": "flex-ot-service",
  33.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  34.     "method": "GET",
  35.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  36.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  37.     "startTime": 1557908141386,
  38.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  39.     "msg": "calling redis get method with key: /?structure=hr&traversalType=getMyReportees&scope=0&managesRelation=Manages&belongsToRelation=BelongsTo&associateId=2b654995-1368-4c0e-9a66-872a5964c84a&clientId=6a5e7d64-0e75-4395-a708-410d11e_TEST&withCount=0&skip=0&limit=0&rawMode=true"
  40. }
  41.  
  42. {
  43.     "level": "info",
  44.     "severity": 6,
  45.     "time": "2019-05-15T08:15:41.388Z",
  46.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  47.     "filename": "/srv/package/lib/logger/instrumenter.js",
  48.     "pid": 6,
  49.     "schema": "@lifion/logger",
  50.     "v": "1.0.6",
  51.     "version": "1.18.0",
  52.     "name": "flex-ot-service",
  53.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  54.     "method": "GET",
  55.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  56.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  57.     "startTime": 1557908141386,
  58.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  59.     "msg": "{INSTR} dna_read Msg ID - 5f12cdad Sub Msg ID - 4354 Time taken - 0 sec 0.009494 msec"
  60. }
  61.  
  62. {
  63.     "level": "info",
  64.     "severity": 6,
  65.     "time": "2019-05-15T08:15:41.388Z",
  66.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  67.     "filename": "/srv/package/lib/services/reads/read.js",
  68.     "pid": 6,
  69.     "schema": "@lifion/logger",
  70.     "v": "1.0.6",
  71.     "version": "1.18.0",
  72.     "sensitive": true,
  73.     "name": "flex-ot-service",
  74.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  75.     "method": "GET",
  76.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  77.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  78.     "startTime": 1557908141386,
  79.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  80.     "msg": "{\"payLoad\":{\"structure\":\"hr\",\"traversalType\":\"getMyReportees\",\"scope\":50,\"managesRelation\":\"Manages\",\"belongsToRelation\":\"BelongsTo\",\"associateId\":\"2b654995-1368-4c0e-9a66-872a5964c84a\",\"asOfDate\":1557908141388,\"clientId\":\"6a5e7d64-0e75-4395-a708-410d11e_TEST\",\"context\":\"US\",\"skip\":0,\"limit\":10000,\"withCount\":false,\"rawMode\":true,\"serviceName\":\"flex-ot-service\"}}"
  81. }
  82.  
  83. {
  84.     "level": "info",
  85.     "severity": 6,
  86.     "time": "2019-05-15T08:15:41.388Z",
  87.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  88.     "filename": "/srv/package/lib/services/flex-org-traversal-engine.js",
  89.     "pid": 6,
  90.     "schema": "@lifion/logger",
  91.     "v": "1.0.6",
  92.     "version": "1.18.0",
  93.     "sensitive": true,
  94.     "name": "flex-ot-service",
  95.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  96.     "method": "GET",
  97.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  98.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  99.     "startTime": 1557908141386,
  100.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  101.     "msg": "{\"payLoad\":{\"options\":{\"structure\":\"hr\",\"traversalType\":\"getMyReportees\",\"scope\":50,\"managesRelation\":\"Manages\",\"belongsToRelation\":\"BelongsTo\",\"associateId\":\"2b654995-1368-4c0e-9a66-872a5964c84a\",\"asOfDate\":1557908141388,\"clientId\":\"6a5e7d64-0e75-4395-a708-410d11e_TEST\",\"context\":\"US\",\"skip\":0,\"limit\":10000,\"withCount\":false,\"rawMode\":true,\"serviceName\":\"flex-ot-service\",\"reqId\":4354,\"containerId\":\"5f12cdad\"}}}"
  102. }
  103.  
  104. {
  105.     "level": "info",
  106.     "severity": 6,
  107.     "time": "2019-05-15T08:15:41.388Z",
  108.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  109.     "filename": "/srv/package/lib/services/gremlin-generator.js",
  110.     "pid": 6,
  111.     "schema": "@lifion/logger",
  112.     "v": "1.0.6",
  113.     "version": "1.18.0",
  114.     "name": "flex-ot-service",
  115.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  116.     "method": "GET",
  117.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  118.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  119.     "startTime": 1557908141386,
  120.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  121.     "msg": "Gremlin template name: associate-reportees"
  122. }
  123.  
  124. {
  125.     "level": "info",
  126.     "severity": 6,
  127.     "time": "2019-05-15T08:15:41.389Z",
  128.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  129.     "filename": "/srv/package/lib/services/gremlin-executor.js",
  130.     "pid": 6,
  131.     "schema": "@lifion/logger",
  132.     "v": "1.0.6",
  133.     "version": "1.18.0",
  134.     "sensitive": true,
  135.     "name": "flex-ot-service",
  136.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  137.     "method": "GET",
  138.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  139.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  140.     "startTime": 1557908141386,
  141.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  142.     "msg": "about to execute gremlin: \nbindings: {\"structure\":\"hr\",\"traversalType\":\"getMyReportees\",\"scope\":50,\"managesRelation\":\"Manages\",\"belongsToRelation\":\"BelongsTo\",\"associateId\":\"2b654995-1368-4c0e-9a66-872a5964c84a\",\"asOfDate\":1557908141388,\"clientId\":\"6a5e7d64-0e75-4395-a708-410d11e_TEST\",\"context\":\"US\",\"skip\":0,\"limit\":10000,\"withCount\":false,\"rawMode\":true,\"serviceName\":\"flex-ot-service\",\"reqId\":4354,\"containerId\":\"5f12cdad\"}\ntraversal: g\n  .withSack(0)\n  .V()\n  .hasLabel('associate_bff0')\n  .has('associate_bff0__id', associateId)\n.outE('associate_bff0__id_positionAllocation_associate_87db_false_9PPR')\n  .has('associate_bff0__id_positionAllocation_associate_87db_false_9PPR_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.inV()\n  .hasLabel('Positions_CONST')\n  .has('Positions_CONST_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.outE('Relationships_Positions_CONST__id_Positions_CONST_Relationships_Positions_CONST_false_xKqm')\n  .has('Relationships_Positions_CONST__id_Positions_CONST_Relationships_Positions_CONST_false_xKqm_systemData_ClientID', clientId)\n  .has('ParticipantToUnitRelationship_Relationship', managesRelation)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.inV()\n  .hasLabel('OrgNode_CONST')\n  .has('OrgNode_CONST_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n  .where(\n    or(\n      outE('OrgNode_CONST__id_Relationships_OrgNode_CONST_false_9pBE')\n        .count()\n        .is(eq(0)),\n      outE('OrgNode_CONST__id_Relationships_OrgNode_CONST_false_9pBE')\n        .has('Unit_UnitToStructureRelationship_Structure', structure)\n    )\n  )\n  // TODO: remove this, not sure why we are getting two edges pointing to the same org\n  .dedup()\n.emit()\n.until(loops().is(gte(scope)))\n.repeat(\n  inE('OrgNode_CONST__id_Relationships_OrgNode_CONST_false_9pBE')\n      .has('OrgNode_CONST__id_Relationships_OrgNode_CONST_false_9pBE_systemData_ClientID',clientId)\n      .has('Unit_UnitToStructureRelationship_Structure', structure)\n      .has('Unit_UnitToStructureRelationship_UnitToUnitRelationship_Relationship', 'partOf')\n      .has('__record_effective_start_date', lte(asOfDate))\n      .or(\n        hasNot('__record_effective_end_date'),\n        has('__record_effective_end_date', gt(asOfDate))\n      )\n  .outV()\n    .hasLabel('OrgNode_CONST')\n    .has('OrgNode_CONST_systemData_ClientID', clientId)\n    .has('__record_effective_start_date', lte(asOfDate))\n    .or(\n      hasNot('__record_effective_end_date'),\n      has('__record_effective_end_date', gt(asOfDate))\n    )\n    .sack(sum).by(constant(1))\n    .simplePath()\n)\n.as('orgId')\n.sack()\n.as('depth')\n.select('orgId')\n.inE('Relationships_Positions_CONST__id_Positions_CONST_Relationships_Positions_CONST_false_xKqm')\n  .has('Relationships_Positions_CONST__id_Positions_CONST_Relationships_Positions_CONST_false_xKqm_systemData_ClientID', clientId)\n  .has('ParticipantToUnitRelationship_Relationship', belongsToRelation)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.outV()\n  .hasLabel('Positions_CONST')\n  .has('Positions_CONST_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n  .as('positionId')\n.inE('associate_bff0__id_positionAllocation_associate_87db_false_9PPR')\n  .has('associate_bff0__id_positionAllocation_associate_87db_false_9PPR_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.outV()\n  .hasLabel('associate_bff0')\n  .has('associate_bff0_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.as('_id')\n.select('_id', 'depth', 'positionId', 'orgId')\n.by('associate_bff0__id')\n.by()\n.by('Positions_CONST__id')\n.by('OrgNode_CONST__id')\n\n"
  143. }
  144.  
  145. {
  146.     "level": "error",
  147.     "severity": 3,
  148.     "time": "2019-05-15T08:15:56.645Z",
  149.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  150.     "filename": "/srv/package/node_modules/flex-structures-graph-client/lib/data-access/index.js",
  151.     "pid": 6,
  152.     "schema": "@lifion/logger",
  153.     "v": "1.0.6",
  154.     "version": "1.18.0",
  155.     "name": "flex-ot-service",
  156.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  157.     "method": "GET",
  158.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  159.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  160.     "startTime": 1557908141386,
  161.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  162.     "msg": "FlexGraph DAL => Data Access ExecQuery - Error during query execution Error 1 of 6: 4096: Cannot achieve consistency level QUORUM\n    at Object.defaultCreateError [as createError] (/srv/package/node_modules/ohcm-retry-pattern/lib/index.js:52:18)\n    at func.then.catch.err (/srv/package/node_modules/ohcm-retry-pattern/lib/index.js:90:18)\n    at <anonymous>\n    at process._tickCallback (internal/process/next_tick.js:189:7)\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' }\n\nError 2 of 6: 4096: Cannot achieve consistency level QUORUM\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' }\n\nError 3 of 6: 4096: Cannot achieve consistency level QUORUM\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' }\n\nError 4 of 6: 4096: Cannot achieve consistency level QUORUM\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' }\n\nError 5 of 6: 4096: Cannot achieve consistency level QUORUM\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' }\n\nError 6 of 6: 4096: Cannot achieve consistency level QUORUM\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' } Gremlin: g\n  .withSack(0)\n  .V()\n  .hasLabel('associate_bff0')\n  .has('associate_bff0__id', associateId)\n.outE('associate_bff0__id_positionAllocation_associate_87db_false_9PPR')\n  .has('associate_bff0__id_positionAllocation_associate_87db_false_9PPR_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.inV()\n  .hasLabel('Positions_CONST')\n  .has('Positions_CONST_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.outE('Relationships_Positions_CONST__id_Positions_CONST_Relationships_Positions_CONST_false_xKqm')\n  .has('Relationships_Positions_CONST__id_Positions_CONST_Relationships_Positions_CONST_false_xKqm_systemData_ClientID', clientId)\n  .has('ParticipantToUnitRelationship_Relationship', managesRelation)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.inV()\n  .hasLabel('OrgNode_CONST')\n  .has('OrgNode_CONST_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n  .where(\n    or(\n      outE('OrgNode_CONST__id_Relationships_OrgNode_CONST_false_9pBE')\n        .count()\n        .is(eq(0)),\n      outE('OrgNode_CONST__id_Relationships_OrgNode_CONST_false_9pBE')\n        .has('Unit_UnitToStructureRelationship_Structure', structure)\n    )\n  )\n  // TODO: remove this, not sure why we are getting two edges pointing to the same org\n  .dedup()\n.emit()\n.until(loops().is(gte(scope)))\n.repeat(\n  inE('OrgNode_CONST__id_Relationships_OrgNode_CONST_false_9pBE')\n      .has('OrgNode_CONST__id_Relationships_OrgNode_CONST_false_9pBE_systemData_ClientID',clientId)\n      .has('Unit_UnitToStructureRelationship_Structure', structure)\n      .has('Unit_UnitToStructureRelationship_UnitToUnitRelationship_Relationship', 'partOf')\n      .has('__record_effective_start_date', lte(asOfDate))\n      .or(\n        hasNot('__record_effective_end_date'),\n        has('__record_effective_end_date', gt(asOfDate))\n      )\n  .outV()\n    .hasLabel('OrgNode_CONST')\n    .has('OrgNode_CONST_systemData_ClientID', clientId)\n    .has('__record_effective_start_date', lte(asOfDate))\n    .or(\n      hasNot('__record_effective_end_date'),\n      has('__record_effective_end_date', gt(asOfDate))\n    )\n    .sack(sum).by(constant(1))\n    .simplePath()\n)\n.as('orgId')\n.sack()\n.as('depth')\n.select('orgId')\n.inE('Relationships_Positions_CONST__id_Positions_CONST_Relationships_Positions_CONST_false_xKqm')\n  .has('Relationships_Positions_CONST__id_Positions_CONST_Relationships_Positions_CONST_false_xKqm_systemData_ClientID', clientId)\n  .has('ParticipantToUnitRelationship_Relationship', belongsToRelation)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.outV()\n  .hasLabel('Positions_CONST')\n  .has('Positions_CONST_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n  .as('positionId')\n.inE('associate_bff0__id_positionAllocation_associate_87db_false_9PPR')\n  .has('associate_bff0__id_positionAllocation_associate_87db_false_9PPR_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.outV()\n  .hasLabel('associate_bff0')\n  .has('associate_bff0_systemData_ClientID', clientId)\n  .has('__record_effective_start_date', lte(asOfDate))\n  .or(\n    hasNot('__record_effective_end_date'),\n    has('__record_effective_end_date', gt(asOfDate))\n  )\n.as('_id')\n.select('_id', 'depth', 'positionId', 'orgId')\n.by('associate_bff0__id')\n.by()\n.by('Positions_CONST__id')\n.by('OrgNode_CONST__id')\n"
  163. }
  164.  
  165. {
  166.     "level": "error",
  167.     "severity": 3,
  168.     "time": "2019-05-15T08:15:56.645Z",
  169.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  170.     "filename": "/srv/package/node_modules/flex-structures-graph-client/lib/data-access/index.js",
  171.     "pid": 6,
  172.     "schema": "@lifion/logger",
  173.     "v": "1.0.6",
  174.     "version": "1.18.0",
  175.     "name": "flex-ot-service",
  176.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  177.     "method": "GET",
  178.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  179.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  180.     "startTime": 1557908141386,
  181.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  182.     "msg": "FlexGraph DAL => Data Access ExecQuery - Error during query execution Error 1 of 6: 4096: Cannot achieve consistency level QUORUM\n    at Object.defaultCreateError [as createError] (/srv/package/node_modules/ohcm-retry-pattern/lib/index.js:52:18)\n    at func.then.catch.err (/srv/package/node_modules/ohcm-retry-pattern/lib/index.js:90:18)\n    at <anonymous>\n    at process._tickCallback (internal/process/next_tick.js:189:7)\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' }\n\nError 2 of 6: 4096: Cannot achieve consistency level QUORUM\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' }\n\nError 3 of 6: 4096: Cannot achieve consistency level QUORUM\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' }\n\nError 4 of 6: 4096: Cannot achieve consistency level QUORUM\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' }\n\nError 5 of 6: 4096: Cannot achieve consistency level QUORUM\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' }\n\nError 6 of 6: 4096: Cannot achieve consistency level QUORUM\n    with { code: '4096',\n           message: 'Cannot achieve consistency level QUORUM' } Check sensitive logs for more information on queryBindings"
  183. }
  184.  
  185. {
  186.     "level": "info",
  187.     "severity": 6,
  188.     "time": "2019-05-15T08:15:56.645Z",
  189.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  190.     "filename": "/srv/package/node_modules/flex-structures-graph-client/lib/data-access/index.js",
  191.     "pid": 6,
  192.     "schema": "@lifion/logger",
  193.     "v": "1.0.6",
  194.     "version": "1.18.0",
  195.     "sensitive": true,
  196.     "name": "flex-ot-service",
  197.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  198.     "method": "GET",
  199.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  200.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  201.     "startTime": 1557908141386,
  202.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  203.     "msg": "{\"queryBindings\":\"Bindings: {\\\"structure\\\":\\\"hr\\\",\\\"traversalType\\\":\\\"getMyReportees\\\",\\\"scope\\\":50,\\\"managesRelation\\\":\\\"Manages\\\",\\\"belongsToRelation\\\":\\\"BelongsTo\\\",\\\"associateId\\\":\\\"2b654995-1368-4c0e-9a66-872a5964c84a\\\",\\\"asOfDate\\\":1557908141388,\\\"clientId\\\":\\\"6a5e7d64-0e75-4395-a708-410d11e_TEST\\\",\\\"context\\\":\\\"US\\\",\\\"skip\\\":0,\\\"limit\\\":10000,\\\"withCount\\\":false,\\\"rawMode\\\":true,\\\"serviceName\\\":\\\"flex-ot-service\\\",\\\"reqId\\\":4354,\\\"containerId\\\":\\\"5f12cdad\\\"}\"}"
  204. }
  205.  
  206. {
  207.     "level": "error",
  208.     "severity": 3,
  209.     "time": "2019-05-15T08:15:56.646Z",
  210.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  211.     "filename": "/srv/package/lib/controllers/org-traversal-controller.js",
  212.     "pid": 6,
  213.     "schema": "@lifion/logger",
  214.     "v": "1.0.6",
  215.     "version": "1.18.0",
  216.     "name": "flex-ot-service",
  217.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  218.     "method": "GET",
  219.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  220.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  221.     "startTime": 1557908141386,
  222.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  223.     "msg": "controller Msg ID: 5f12cdad Sub Msg ID: 4354 Http Response: 424 {\"errors\":[{\"status\":424,\"code\":\"Dep_Failure\",\"message\":\"Dependency failure\",\"source\":\"Flex OT Service\"},{\"code\":\"EXECUTION_ERROR\",\"message\":\"\\\"{\\\\\\\"errors\\\\\\\":[{\\\\\\\"code\\\\\\\":\\\\\\\"4096\\\\\\\",\\\\\\\"message\\\\\\\":\\\\\\\"Cannot achieve consistency level QUORUM\\\\\\\"},{\\\\\\\"code\\\\\\\":\\\\\\\"4096\\\\\\\",\\\\\\\"message\\\\\\\":\\\\\\\"Cannot achieve consistency level QUORUM\\\\\\\"},{\\\\\\\"code\\\\\\\":\\\\\\\"4096\\\\\\\",\\\\\\\"message\\\\\\\":\\\\\\\"Cannot achieve consistency level QUORUM\\\\\\\"},{\\\\\\\"code\\\\\\\":\\\\\\\"4096\\\\\\\",\\\\\\\"message\\\\\\\":\\\\\\\"Cannot achieve consistency level QUORUM\\\\\\\"},{\\\\\\\"code\\\\\\\":\\\\\\\"4096\\\\\\\",\\\\\\\"message\\\\\\\":\\\\\\\"Cannot achieve consistency level QUORUM\\\\\\\"},{\\\\\\\"code\\\\\\\":\\\\\\\"4096\\\\\\\",\\\\\\\"message\\\\\\\":\\\\\\\"Cannot achieve consistency level QUORUM\\\\\\\"}]}\\\"\"}]}"
  224. }
  225.  
  226. {
  227.     "level": "info",
  228.     "severity": 6,
  229.     "time": "2019-05-15T08:15:56.646Z",
  230.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  231.     "filename": "/srv/package/lib/logger/instrumenter.js",
  232.     "pid": 6,
  233.     "schema": "@lifion/logger",
  234.     "v": "1.0.6",
  235.     "version": "1.18.0",
  236.     "name": "flex-ot-service",
  237.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  238.     "method": "GET",
  239.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  240.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  241.     "startTime": 1557908141386,
  242.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  243.     "msg": "{INSTR} controller Msg ID - 5f12cdad Sub Msg ID - 4354 Time taken - 15 sec 258.974351 msec"
  244. }
  245.  
  246. {
  247.     "level": "info",
  248.     "severity": 6,
  249.     "time": "2019-05-15T08:15:56.649Z",
  250.     "containerId": "flex-ot-service-57b7bd48d9-qgsp6",
  251.     "filename": "/srv/package/node_modules/@lifion/core-middleware-tx/lib/index.js",
  252.     "pid": 6,
  253.     "schema": "@lifion/logger",
  254.     "v": "1.0.6",
  255.     "version": "1.18.0",
  256.     "name": "flex-ot-service",
  257.     "fromSpanId": "f8de2654-7353-4594-86b5-4dabb10ea241",
  258.     "method": "GET",
  259.     "path": "?structure=G1LzouFRSHMTFL8WcUXFRWXtI4WoYrXrd3Hq9xnk%2BC4%3D&traversalType=mABN8ALxzeYh%2FJ637ROfu%2FnWVXZgIyJyZgJsc89nkp4%3D&scope=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&managesRelation=kw%2BHxYjLsl1q%2BFPqXBzZqkPRUTtvLUN9q71rs3OLe6g%3D&belongsToRelation=1qtIykDdhLV%2B6rqGRLEmO%2BJHxJdJT23bqRQzAIsXNNY%3D&associateId=prUUKW0kd3zNsVaonlK01XqgK6wFrCtt85Cje4FUIIs%3D&clientId=jBZLjPXdiwQkrO9P8%2FOMtKyqoPFh9e7xgo9VoXLuG3w%3D&withCount=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&skip=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&limit=X%2BzrZv%2FIbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V%2Bk%3D&rawMode=tb6kG2xiP3wJ8b8k3K5Y66s8DN2QrZZrxDpFtEhn4Ss%3D",
  260.     "spanId": "8e4f8c41-8f50-4249-8b6f-c6743fb70de1",
  261.     "startTime": 1557908141386,
  262.     "traceId": "9b3c3475-b934-4d75-99fd-37fff18f4167",
  263.     "action": "done",
  264.     "duration": 15263,
  265.     "kind": "tx-tracing",
  266.     "status": "424"
  267. }



  • Recent Pastes