Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": 100,
- "name": "rule_1",
- "order": 0,
- "company": 4,
- "created_date": "2019-04-17T09:29:07Z",
- "updated_date": "2019-09-16T11:25:43.502196Z",
- "condition": {
- "id": 100,
- "property": {
- "id": 100,
- "name": "Property",
- "value": "http.get",
- "description": "",
- "context": "req",
- "type": null
- },
- "operator": "==",
- "value": "fotos.emporda.info",
- "logical_operator": "",
- "rule": 100,
- "compound_condition": null
- },
- "action": {
- "id": 100,
- "template": {
- "id": 100,
- "name": "Asignar backend",
- "description": "",
- "value": "req.backend_hint = {}.backend()",
- "has_parameter": true,
- "context": "vcl_recv",
- "paramdefinition_set": [
- {
- "id": 100,
- "name": "attr",
- "type": "str",
- "optional": false,
- "action_template": 100,
- "parameter_set": [
- {
- "id": 100,
- "value": "c170_fotosemp",
- "action": 100,
- "param_def": 100
- }
- ]
- }
- ]
- },
- "rule": 100
- }
- },
- {
- "id": 101,
- "name": "rule_1",
- "order": 0,
- "company": 4,
- "created_date": "2019-04-17T09:29:07Z",
- "updated_date": "2019-04-17T09:29:07Z",
- "condition": {
- "id": 101,
- "property": {
- "id": 101,
- "name": "Property",
- "value": "http.get",
- "description": "",
- "context": "req",
- "type": null
- },
- "operator": "==",
- "value": "fotos.emporda.info",
- "logical_operator": "",
- "rule": 101,
- "compound_condition": null
- },
- "action": {
- "id": 101,
- "template": {
- "id": 101,
- "name": "Asignar backend",
- "description": "",
- "value": "req.backend_hint = {}.backend()",
- "has_parameter": true,
- "context": "vcl_recv",
- "paramdefinition_set": [
- {
- "id": 101,
- "name": "attr",
- "type": "str",
- "optional": false,
- "action_template": 101,
- "parameter_set": [
- {
- "id": 101,
- "value": "c170_fotosemp",
- "action": 101,
- "param_def": 101
- }
- ]
- }
- ]
- },
- "rule": 101
- }
- },
- {
- "id": 798,
- "name": "rule0",
- "order": 3,
- "company": 4,
- "created_date": "2019-04-16T11:39:08.439116Z",
- "updated_date": "2019-04-16T11:39:08.439161Z",
- "condition": {
- "id": 19,
- "property": {
- "id": 1,
- "name": "CVariable",
- "value": "http.host",
- "description": "Test",
- "context": "req",
- "type": null
- },
- "operator": "==",
- "value": "hello",
- "logical_operator": "&&",
- "rule": 798,
- "compound_condition": 20
- },
- "action": {
- "id": 1,
- "template": {
- "id": 3,
- "name": "CAction",
- "description": "Test",
- "value": "{}.http.id = {}",
- "has_parameter": true,
- "context": "vcl_recv",
- "paramdefinition_set": [
- {
- "id": 5,
- "name": "option",
- "type": "str",
- "optional": false,
- "action_template": 3,
- "parameter_set": [
- {
- "id": 103,
- "value": "112",
- "action": 1,
- "param_def": 5
- }
- ]
- },
- {
- "id": 6,
- "name": "id",
- "type": "int",
- "optional": false,
- "action_template": 3,
- "parameter_set": [
- {
- "id": 102,
- "value": "112",
- "action": 102,
- "param_def": 6
- }
- ]
- }
- ]
- },
- "rule": 798
- }
- },
- {
- "id": 799,
- "name": "testingPixel",
- "order": 4,
- "company": 4,
- "created_date": "2019-09-17T14:08:13.484922Z",
- "updated_date": "2019-09-17T14:08:13.484959Z",
- "condition": {
- "id": 102,
- "property": {
- "id": 2,
- "name": "CVariable2",
- "value": "http.post",
- "description": "test",
- "context": "resp",
- "type": null
- },
- "operator": "==",
- "value": "test",
- "logical_operator": "",
- "rule": 799,
- "compound_condition": null
- },
- "action": {
- "id": 102,
- "template": {
- "id": 100,
- "name": "Asignar backend",
- "description": "",
- "value": "req.backend_hint = {}.backend()",
- "has_parameter": true,
- "context": "vcl_recv",
- "paramdefinition_set": [
- {
- "id": 100,
- "name": "attr",
- "type": "str",
- "optional": false,
- "action_template": 100,
- "parameter_set": [
- {
- "id": 100,
- "value": "c170_fotosemp",
- "action": 100,
- "param_def": 100
- }
- ]
- }
- ]
- },
- "rule": 799
- }
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement