revert index in order to prevent lots of conflicts

This commit is contained in:
Simon Stürz 2017-10-10 16:37:44 +02:00 committed by Michael Zanetti
parent 17172dd28e
commit 1ae6864d6b

View File

@ -8,6 +8,7 @@
"idName": "configParamInt", "idName": "configParamInt",
"name": "configParamInt", "name": "configParamInt",
"type": "int", "type": "int",
"index": 0,
"defaultValue": 42, "defaultValue": 42,
"minValue": 1, "minValue": 1,
"maxValue": 50 "maxValue": 50
@ -17,6 +18,7 @@
"idName": "configParamBool", "idName": "configParamBool",
"name": "configParamBool", "name": "configParamBool",
"type": "bool", "type": "bool",
"index": 1,
"defaultValue": true "defaultValue": true
} }
], ],
@ -46,6 +48,7 @@
"idName": "resultCount", "idName": "resultCount",
"name": "resultCount", "name": "resultCount",
"type": "int", "type": "int",
"index": 0,
"defaultValue": 2, "defaultValue": 2,
"allowedValues": [1, 2] "allowedValues": [1, 2]
} }
@ -55,6 +58,7 @@
"id": "d4f06047-125e-4479-9810-b54c189917f5", "id": "d4f06047-125e-4479-9810-b54c189917f5",
"idName": "httpport", "idName": "httpport",
"name": "http port", "name": "http port",
"index": 0,
"type": "int" "type": "int"
}, },
{ {
@ -62,6 +66,7 @@
"idName": "async", "idName": "async",
"name": "async", "name": "async",
"type": "bool", "type": "bool",
"index": 1,
"defaultValue": false, "defaultValue": false,
"readOnly": true "readOnly": true
}, },
@ -69,6 +74,7 @@
"id": "ae8f8901-f2c1-42a5-8111-6d2fc8e4c1e4", "id": "ae8f8901-f2c1-42a5-8111-6d2fc8e4c1e4",
"idName": "broken", "idName": "broken",
"name": "broken", "name": "broken",
"index": 2,
"type": "bool", "type": "bool",
"defaultValue": false "defaultValue": false
} }
@ -79,6 +85,7 @@
"idName": "int", "idName": "int",
"name": "Dummy int state", "name": "Dummy int state",
"eventTypeName": "Dummy int state changed", "eventTypeName": "Dummy int state changed",
"index": 0,
"defaultValue": 10, "defaultValue": 10,
"graphRelevant": true, "graphRelevant": true,
"type": "int" "type": "int"
@ -88,6 +95,7 @@
"idName": "boolValue", "idName": "boolValue",
"name": "Dummy bool state", "name": "Dummy bool state",
"eventTypeName": "Dummy bool state changed", "eventTypeName": "Dummy bool state changed",
"index": 1,
"defaultValue": false, "defaultValue": false,
"type": "bool", "type": "bool",
"cached": false "cached": false
@ -96,18 +104,21 @@
"eventTypes": [ "eventTypes": [
{ {
"id": "45bf3752-0fc6-46b9-89fd-ffd878b5b22b", "id": "45bf3752-0fc6-46b9-89fd-ffd878b5b22b",
"index": 0,
"name": "Mock Event 1", "name": "Mock Event 1",
"graphRelevant": true "graphRelevant": true
}, },
{ {
"id": "863d5920-b1cf-4eb9-88bd-8f7b8583b1cf", "id": "863d5920-b1cf-4eb9-88bd-8f7b8583b1cf",
"name": "Mock Event 2", "name": "Mock Event 2",
"index": 1,
"paramTypes": [ "paramTypes": [
{ {
"id": "0550e16d-60b9-4ba5-83f4-4d3cee656121", "id": "0550e16d-60b9-4ba5-83f4-4d3cee656121",
"idName": "mockParamInt", "idName": "mockParamInt",
"name": "mockParamInt", "name": "mockParamInt",
"type": "int", "type": "int",
"index": 0,
"defaultValue": 10 "defaultValue": 10
} }
] ]
@ -118,17 +129,20 @@
"id": "dea0f4e1-65e3-4981-8eaa-2701c53a9185", "id": "dea0f4e1-65e3-4981-8eaa-2701c53a9185",
"name": "Mock Action 1 (with params)", "name": "Mock Action 1 (with params)",
"idName": "withParams", "idName": "withParams",
"index": 0,
"paramTypes": [ "paramTypes": [
{ {
"id": "a2d3a256-a551-4712-a65b-ecd5a436a1cb", "id": "a2d3a256-a551-4712-a65b-ecd5a436a1cb",
"idName": "mockActionParam1", "idName": "mockActionParam1",
"name": "mockActionParam1", "name": "mockActionParam1",
"index": 0,
"type": "int" "type": "int"
}, },
{ {
"id": "304a4899-18be-4e3b-94f4-d03be52f3233", "id": "304a4899-18be-4e3b-94f4-d03be52f3233",
"idName": "mockActionParam2", "idName": "mockActionParam2",
"name": "mockActionParam2", "name": "mockActionParam2",
"index": 1,
"type": "bool" "type": "bool"
} }
] ]
@ -136,21 +150,25 @@
{ {
"id": "defd3ed6-1a0d-400b-8879-a0202cf39935", "id": "defd3ed6-1a0d-400b-8879-a0202cf39935",
"idName": "withoutParams", "idName": "withoutParams",
"index": 1,
"name": "Mock Action 2 (without params)" "name": "Mock Action 2 (without params)"
}, },
{ {
"id": "fbae06d3-7666-483e-a39e-ec50fe89054e", "id": "fbae06d3-7666-483e-a39e-ec50fe89054e",
"idName": "mockAsync", "idName": "mockAsync",
"index": 2,
"name": "Mock Action 3 (async)" "name": "Mock Action 3 (async)"
}, },
{ {
"id": "df3cf33d-26d5-4577-9132-9823bd33fad0", "id": "df3cf33d-26d5-4577-9132-9823bd33fad0",
"idName": "mockFailing", "idName": "mockFailing",
"index": 3,
"name": "Mock Action 4 (broken)" "name": "Mock Action 4 (broken)"
}, },
{ {
"id": "bfe89a1d-3497-4121-8318-e77c37537219", "id": "bfe89a1d-3497-4121-8318-e77c37537219",
"idName": "mockAsyncFailing", "idName": "mockAsyncFailing",
"index": 4,
"name": "Mock Action 5 (async, broken)" "name": "Mock Action 5 (async, broken)"
} }
] ]
@ -174,6 +192,7 @@
"id": "d4f06047-125e-4479-9810-b54c189917f5", "id": "d4f06047-125e-4479-9810-b54c189917f5",
"idName": "httpport", "idName": "httpport",
"name": "http port", "name": "http port",
"index": 0,
"type": "int" "type": "int"
}, },
{ {
@ -181,6 +200,7 @@
"idName": "async", "idName": "async",
"name": "async", "name": "async",
"type": "bool", "type": "bool",
"index": 1,
"defaultValue": false, "defaultValue": false,
"readOnly": true "readOnly": true
}, },
@ -188,6 +208,7 @@
"id": "ae8f8901-f2c1-42a5-8111-6d2fc8e4c1e4", "id": "ae8f8901-f2c1-42a5-8111-6d2fc8e4c1e4",
"idName": "broken", "idName": "broken",
"name": "broken", "name": "broken",
"index": 2,
"type": "bool", "type": "bool",
"defaultValue": false "defaultValue": false
} }
@ -198,6 +219,7 @@
"idName": "int", "idName": "int",
"name": "Dummy int state", "name": "Dummy int state",
"eventTypeName": "Dummy int state changed", "eventTypeName": "Dummy int state changed",
"index": 0,
"defaultValue": 10, "defaultValue": 10,
"graphRelevant": true, "graphRelevant": true,
"type": "int" "type": "int"
@ -207,6 +229,7 @@
"idName": "boolValue", "idName": "boolValue",
"name": "Dummy bool state", "name": "Dummy bool state",
"eventTypeName": "Dummy bool state changed", "eventTypeName": "Dummy bool state changed",
"index": 1,
"defaultValue": false, "defaultValue": false,
"type": "bool", "type": "bool",
"cached": false "cached": false
@ -216,18 +239,21 @@
{ {
"id": "45bf3752-0fc6-46b9-89fd-ffd878b5b22b", "id": "45bf3752-0fc6-46b9-89fd-ffd878b5b22b",
"idName": "event1", "idName": "event1",
"index": 0,
"name": "Mock Event 1" "name": "Mock Event 1"
}, },
{ {
"id": "863d5920-b1cf-4eb9-88bd-8f7b8583b1cf", "id": "863d5920-b1cf-4eb9-88bd-8f7b8583b1cf",
"idName": "event2", "idName": "event2",
"name": "Mock Event 2", "name": "Mock Event 2",
"index": 1,
"paramTypes": [ "paramTypes": [
{ {
"id": "0550e16d-60b9-4ba5-83f4-4d3cee656121", "id": "0550e16d-60b9-4ba5-83f4-4d3cee656121",
"idName": "mockParamInt", "idName": "mockParamInt",
"name": "mockParamInt", "name": "mockParamInt",
"type": "int", "type": "int",
"index": 0,
"defaultValue": 10 "defaultValue": 10
} }
] ]
@ -238,35 +264,42 @@
"id": "dea0f4e1-65e3-4981-8eaa-2701c53a9185", "id": "dea0f4e1-65e3-4981-8eaa-2701c53a9185",
"name": "Mock Action 1 (with params)", "name": "Mock Action 1 (with params)",
"idName": "withParams", "idName": "withParams",
"index": 0,
"paramTypes": [ "paramTypes": [
{ {
"id": "a2d3a256-a551-4712-a65b-ecd5a436a1cb", "id": "a2d3a256-a551-4712-a65b-ecd5a436a1cb",
"idName": "mockActionParam1", "idName": "mockActionParam1",
"name": "mockActionParam1", "name": "mockActionParam1",
"index": 0,
"type": "int" "type": "int"
}, },
{ {
"id": "304a4899-18be-4e3b-94f4-d03be52f3233", "id": "304a4899-18be-4e3b-94f4-d03be52f3233",
"idName": "mockActionParam2", "idName": "mockActionParam2",
"name": "mockActionParam2", "name": "mockActionParam2",
"index": 1,
"type": "bool" "type": "bool"
} }
] ]
}, },
{ {
"id": "defd3ed6-1a0d-400b-8879-a0202cf39935", "id": "defd3ed6-1a0d-400b-8879-a0202cf39935",
"index": 1,
"name": "Mock Action 2 (without params)" "name": "Mock Action 2 (without params)"
}, },
{ {
"id": "fbae06d3-7666-483e-a39e-ec50fe89054e", "id": "fbae06d3-7666-483e-a39e-ec50fe89054e",
"index": 2,
"name": "Mock Action 3 (async)" "name": "Mock Action 3 (async)"
}, },
{ {
"id": "df3cf33d-26d5-4577-9132-9823bd33fad0", "id": "df3cf33d-26d5-4577-9132-9823bd33fad0",
"index": 3,
"name": "Mock Action 4 (broken)" "name": "Mock Action 4 (broken)"
}, },
{ {
"id": "bfe89a1d-3497-4121-8318-e77c37537219", "id": "bfe89a1d-3497-4121-8318-e77c37537219",
"index": 4,
"name": "Mock Action 5 (async, broken)" "name": "Mock Action 5 (async, broken)"
} }
] ]
@ -292,6 +325,7 @@
"idName": "resultCount", "idName": "resultCount",
"name": "resultCount", "name": "resultCount",
"type": "int", "type": "int",
"index": 0,
"defaultValue": 2, "defaultValue": 2,
"allowedValues": [1, 2] "allowedValues": [1, 2]
} }
@ -303,6 +337,7 @@
"name": "color", "name": "color",
"eventTypeName": "color changed", "eventTypeName": "color changed",
"actionTypeName": "Set color", "actionTypeName": "Set color",
"index": 0,
"type": "QColor", "type": "QColor",
"defaultValue": "#000000", "defaultValue": "#000000",
"ruleRelevant": false, "ruleRelevant": false,
@ -316,6 +351,7 @@
"eventTypeName": "percentage changed", "eventTypeName": "percentage changed",
"actionTypeName": "Set percentage", "actionTypeName": "Set percentage",
"type": "int", "type": "int",
"index": 1,
"unit": "Percentage", "unit": "Percentage",
"defaultValue": 0, "defaultValue": 0,
"ruleRelevant": false, "ruleRelevant": false,
@ -330,6 +366,7 @@
"eventTypeName": "allowed values changed", "eventTypeName": "allowed values changed",
"actionTypeName": "Set allowed values", "actionTypeName": "Set allowed values",
"type": "QString", "type": "QString",
"index": 2,
"defaultValue": "String value 1", "defaultValue": "String value 1",
"possibleValues": [ "possibleValues": [
"String value 1", "String value 1",
@ -346,6 +383,7 @@
"eventTypeName": "double value changed", "eventTypeName": "double value changed",
"actionTypeName": "Set double value", "actionTypeName": "Set double value",
"type": "double", "type": "double",
"index": 3,
"defaultValue": 0.0, "defaultValue": 0.0,
"minValue": -100.0, "minValue": -100.0,
"maxValue": 100.0, "maxValue": 100.0,
@ -357,6 +395,7 @@
"name": "bool value", "name": "bool value",
"eventTypeName": "bool value changed", "eventTypeName": "bool value changed",
"actionTypeName": "Set bool value", "actionTypeName": "Set bool value",
"index": 4,
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"writable": true "writable": true
@ -366,6 +405,7 @@
{ {
"id": "54646e7c-bc54-4895-81a2-590d72d120f9", "id": "54646e7c-bc54-4895-81a2-590d72d120f9",
"idName": "timeout", "idName": "timeout",
"index": 0,
"name": "Timeout action" "name": "Timeout action"
} }
] ]
@ -390,6 +430,7 @@
"idName": "resultCount", "idName": "resultCount",
"name": "resultCount", "name": "resultCount",
"type": "int", "type": "int",
"index": 0,
"defaultValue": 2, "defaultValue": 2,
"allowedValues": [1, 2] "allowedValues": [1, 2]
} }
@ -400,6 +441,7 @@
"idName": "pin", "idName": "pin",
"name": "pin", "name": "pin",
"type": "QString", "type": "QString",
"index": 0,
"inputType": "TextLine", "inputType": "TextLine",
"defaultValue": "243681", "defaultValue": "243681",
"readOnly": true "readOnly": true
@ -412,6 +454,7 @@
"name": "color", "name": "color",
"eventTypeName": "color changed", "eventTypeName": "color changed",
"actionTypeName": "Set color", "actionTypeName": "Set color",
"index": 0,
"type": "QColor", "type": "QColor",
"defaultValue": "#000000", "defaultValue": "#000000",
"ruleRelevant": false, "ruleRelevant": false,
@ -425,6 +468,7 @@
"eventTypeName": "percentage changed", "eventTypeName": "percentage changed",
"actionTypeName": "Set percentage", "actionTypeName": "Set percentage",
"type": "int", "type": "int",
"index": 1,
"unit": "Percentage", "unit": "Percentage",
"defaultValue": 0, "defaultValue": 0,
"ruleRelevant": false, "ruleRelevant": false,
@ -439,6 +483,7 @@
"eventTypeName": "allowed values changed", "eventTypeName": "allowed values changed",
"actionTypeName": "Set allowed values", "actionTypeName": "Set allowed values",
"type": "QString", "type": "QString",
"index": 2,
"defaultValue": "String value 1", "defaultValue": "String value 1",
"possibleValues": [ "possibleValues": [
"String value 1", "String value 1",
@ -455,6 +500,7 @@
"eventTypeName": "double value changed", "eventTypeName": "double value changed",
"actionTypeName": "Set double value", "actionTypeName": "Set double value",
"type": "double", "type": "double",
"index": 3,
"defaultValue": 0.0, "defaultValue": 0.0,
"minValue": -100.0, "minValue": -100.0,
"maxValue": 100.0, "maxValue": 100.0,
@ -466,6 +512,7 @@
"name": "bool value", "name": "bool value",
"eventTypeName": "bool value changed", "eventTypeName": "bool value changed",
"actionTypeName": "Set bool value", "actionTypeName": "Set bool value",
"index": 4,
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"writable": true "writable": true
@ -475,6 +522,7 @@
{ {
"id": "54646e7c-bc54-4895-81a2-590d72d120f9", "id": "54646e7c-bc54-4895-81a2-590d72d120f9",
"idName": "timeout", "idName": "timeout",
"index": 0,
"name": "Timeout action" "name": "Timeout action"
} }
] ]
@ -499,6 +547,7 @@
"name": "bool value", "name": "bool value",
"eventTypeName": "bool value changed", "eventTypeName": "bool value changed",
"actionTypeName": "Set bool value", "actionTypeName": "Set bool value",
"index": 0,
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"writable": true "writable": true
@ -520,6 +569,7 @@
"idName": "parentUuid", "idName": "parentUuid",
"name": "parent uuid", "name": "parent uuid",
"type": "QUuid", "type": "QUuid",
"index": 0,
"readOnly": true "readOnly": true
} }
], ],
@ -530,6 +580,7 @@
"name": "bool value", "name": "bool value",
"eventTypeName": "bool value changed", "eventTypeName": "bool value changed",
"actionTypeName": "Set bool value", "actionTypeName": "Set bool value",
"index": 0,
"type": "bool", "type": "bool",
"defaultValue": false, "defaultValue": false,
"writable": true "writable": true
@ -551,6 +602,7 @@
"idName": "textLine", "idName": "textLine",
"name": "Text line", "name": "Text line",
"type": "QString", "type": "QString",
"index": 0,
"inputType": "TextLine", "inputType": "TextLine",
"defaultValue": "This is a text line" "defaultValue": "This is a text line"
}, },
@ -559,6 +611,7 @@
"idName": "textArea", "idName": "textArea",
"name": "Text area", "name": "Text area",
"type": "QString", "type": "QString",
"index": 1,
"inputType": "TextArea", "inputType": "TextArea",
"defaultValue": "This is a text area" "defaultValue": "This is a text area"
}, },
@ -567,6 +620,7 @@
"idName": "password", "idName": "password",
"name": "Password text", "name": "Password text",
"type": "QString", "type": "QString",
"index": 2,
"inputType": "Password", "inputType": "Password",
"defaultValue": "secret" "defaultValue": "secret"
}, },
@ -575,6 +629,7 @@
"idName": "search", "idName": "search",
"name": "Search text", "name": "Search text",
"type": "QString", "type": "QString",
"index": 3,
"inputType": "Search", "inputType": "Search",
"defaultValue": "Search text..." "defaultValue": "Search text..."
}, },
@ -583,6 +638,7 @@
"idName": "mail", "idName": "mail",
"name": "Mail address", "name": "Mail address",
"type": "QString", "type": "QString",
"index": 4,
"inputType": "Mail", "inputType": "Mail",
"defaultValue": "name@example.com" "defaultValue": "name@example.com"
}, },
@ -591,6 +647,7 @@
"idName": "ip4", "idName": "ip4",
"name": "IPv4 address", "name": "IPv4 address",
"type": "QString", "type": "QString",
"index": 5,
"inputType": "IPv4Address", "inputType": "IPv4Address",
"defaultValue": "127.0.0.1" "defaultValue": "127.0.0.1"
}, },
@ -599,6 +656,7 @@
"idName": "ip6", "idName": "ip6",
"name": "IPv6 address", "name": "IPv6 address",
"type": "QString", "type": "QString",
"index": 6,
"inputType": "IPv6Address", "inputType": "IPv6Address",
"defaultValue": "::1" "defaultValue": "::1"
}, },
@ -607,6 +665,7 @@
"idName": "url", "idName": "url",
"name": "URL", "name": "URL",
"type": "QString", "type": "QString",
"index": 7,
"inputType": "Url", "inputType": "Url",
"defaultValue": "http://guh.guru" "defaultValue": "http://guh.guru"
}, },
@ -615,6 +674,7 @@
"idName": "mac", "idName": "mac",
"name": "Mac address", "name": "Mac address",
"type": "QString", "type": "QString",
"index": 8,
"inputType": "MacAddress", "inputType": "MacAddress",
"defaultValue": "11:22:33:aa:bb:cc" "defaultValue": "11:22:33:aa:bb:cc"
} }