Advertisement
Guest User

Rule Output

a guest
Sep 19th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.24 KB | None | 0 0
  1. [
  2.     {
  3.         "id": 100,
  4.         "name": "rule_1",
  5.         "order": 0,
  6.         "company": 4,
  7.         "created_date": "2019-04-17T09:29:07Z",
  8.         "updated_date": "2019-09-16T11:25:43.502196Z",
  9.         "condition": {
  10.             "id": 100,
  11.             "property": {
  12.                 "id": 100,
  13.                 "name": "Property",
  14.                 "value": "http.get",
  15.                 "description": "",
  16.                 "context": "req",
  17.                 "type": null
  18.             },
  19.             "operator": "==",
  20.             "value": "fotos.emporda.info",
  21.             "logical_operator": "",
  22.             "rule": 100,
  23.             "compound_condition": null
  24.         },
  25.         "action": {
  26.             "id": 100,
  27.             "template": {
  28.                 "id": 100,
  29.                 "name": "Asignar backend",
  30.                 "description": "",
  31.                 "value": "req.backend_hint = {}.backend()",
  32.                 "has_parameter": true,
  33.                 "context": "vcl_recv",
  34.                 "paramdefinition_set": [
  35.                     {
  36.                         "id": 100,
  37.                         "name": "attr",
  38.                         "type": "str",
  39.                         "optional": false,
  40.                         "action_template": 100,
  41.                         "parameter_set": [
  42.                             {
  43.                                 "id": 100,
  44.                                 "value": "c170_fotosemp",
  45.                                 "action": 100,
  46.                                 "param_def": 100
  47.                             }
  48.                         ]
  49.                     }
  50.                 ]
  51.             },
  52.             "rule": 100
  53.         }
  54.     },
  55.     {
  56.         "id": 101,
  57.         "name": "rule_1",
  58.         "order": 0,
  59.         "company": 4,
  60.         "created_date": "2019-04-17T09:29:07Z",
  61.         "updated_date": "2019-04-17T09:29:07Z",
  62.         "condition": {
  63.             "id": 101,
  64.             "property": {
  65.                 "id": 101,
  66.                 "name": "Property",
  67.                 "value": "http.get",
  68.                 "description": "",
  69.                 "context": "req",
  70.                 "type": null
  71.             },
  72.             "operator": "==",
  73.             "value": "fotos.emporda.info",
  74.             "logical_operator": "",
  75.             "rule": 101,
  76.             "compound_condition": null
  77.         },
  78.         "action": {
  79.             "id": 101,
  80.             "template": {
  81.                 "id": 101,
  82.                 "name": "Asignar backend",
  83.                 "description": "",
  84.                 "value": "req.backend_hint = {}.backend()",
  85.                 "has_parameter": true,
  86.                 "context": "vcl_recv",
  87.                 "paramdefinition_set": [
  88.                     {
  89.                         "id": 101,
  90.                         "name": "attr",
  91.                         "type": "str",
  92.                         "optional": false,
  93.                         "action_template": 101,
  94.                         "parameter_set": [
  95.                             {
  96.                                 "id": 101,
  97.                                 "value": "c170_fotosemp",
  98.                                 "action": 101,
  99.                                 "param_def": 101
  100.                             }
  101.                         ]
  102.                     }
  103.                 ]
  104.             },
  105.             "rule": 101
  106.         }
  107.     },
  108.     {
  109.         "id": 798,
  110.         "name": "rule0",
  111.         "order": 3,
  112.         "company": 4,
  113.         "created_date": "2019-04-16T11:39:08.439116Z",
  114.         "updated_date": "2019-04-16T11:39:08.439161Z",
  115.         "condition": {
  116.             "id": 19,
  117.             "property": {
  118.                 "id": 1,
  119.                 "name": "CVariable",
  120.                 "value": "http.host",
  121.                 "description": "Test",
  122.                 "context": "req",
  123.                 "type": null
  124.             },
  125.             "operator": "==",
  126.             "value": "hello",
  127.             "logical_operator": "&&",
  128.             "rule": 798,
  129.             "compound_condition": 20
  130.         },
  131.         "action": {
  132.             "id": 1,
  133.             "template": {
  134.                 "id": 3,
  135.                 "name": "CAction",
  136.                 "description": "Test",
  137.                 "value": "{}.http.id = {}",
  138.                 "has_parameter": true,
  139.                 "context": "vcl_recv",
  140.                 "paramdefinition_set": [
  141.                     {
  142.                         "id": 5,
  143.                         "name": "option",
  144.                         "type": "str",
  145.                         "optional": false,
  146.                         "action_template": 3,
  147.                         "parameter_set": [
  148.                             {
  149.                                 "id": 103,
  150.                                 "value": "112",
  151.                                 "action": 1,
  152.                                 "param_def": 5
  153.                             }
  154.                         ]
  155.                     },
  156.                     {
  157.                         "id": 6,
  158.                         "name": "id",
  159.                         "type": "int",
  160.                         "optional": false,
  161.                         "action_template": 3,
  162.                         "parameter_set": [
  163.                             {
  164.                                 "id": 102,
  165.                                 "value": "112",
  166.                                 "action": 102,
  167.                                 "param_def": 6
  168.                             }
  169.                         ]
  170.                     }
  171.                 ]
  172.             },
  173.             "rule": 798
  174.         }
  175.     },
  176.     {
  177.         "id": 799,
  178.         "name": "testingPixel",
  179.         "order": 4,
  180.         "company": 4,
  181.         "created_date": "2019-09-17T14:08:13.484922Z",
  182.         "updated_date": "2019-09-17T14:08:13.484959Z",
  183.         "condition": {
  184.             "id": 102,
  185.             "property": {
  186.                 "id": 2,
  187.                 "name": "CVariable2",
  188.                 "value": "http.post",
  189.                 "description": "test",
  190.                 "context": "resp",
  191.                 "type": null
  192.             },
  193.             "operator": "==",
  194.             "value": "test",
  195.             "logical_operator": "",
  196.             "rule": 799,
  197.             "compound_condition": null
  198.         },
  199.         "action": {
  200.             "id": 102,
  201.             "template": {
  202.                 "id": 100,
  203.                 "name": "Asignar backend",
  204.                 "description": "",
  205.                 "value": "req.backend_hint = {}.backend()",
  206.                 "has_parameter": true,
  207.                 "context": "vcl_recv",
  208.                 "paramdefinition_set": [
  209.                     {
  210.                         "id": 100,
  211.                         "name": "attr",
  212.                         "type": "str",
  213.                         "optional": false,
  214.                         "action_template": 100,
  215.                         "parameter_set": [
  216.                             {
  217.                                 "id": 100,
  218.                                 "value": "c170_fotosemp",
  219.                                 "action": 100,
  220.                                 "param_def": 100
  221.                             }
  222.                         ]
  223.                     }
  224.                 ]
  225.             },
  226.             "rule": 799
  227.         }
  228.     }
  229. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement