diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/flowmanager.iml b/.idea/flowmanager.iml new file mode 100644 index 0000000..c956989 --- /dev/null +++ b/.idea/flowmanager.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..0f09b75 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..a1827cd --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/flows/pomp/version1_202510091414.json b/flows/pomp/version1_202510091414.json new file mode 100644 index 0000000..13c0327 --- /dev/null +++ b/flows/pomp/version1_202510091414.json @@ -0,0 +1,60 @@ +[ +{ +"id": "inject1", +"type": "inject", +"name": "Start – tqqtqt v1", +"props": [ { "p": "payload" } ], +"repeat": "", +"crontab": "", +"once": false, +"onceDelay": 0.1, +"topic": "", +"payload": "test", +"payloadType": "str", +"wires": [["function1"]], +"version": 1, +"url": "http://127.0.0.1:1880:3000/api/asset" +}, +{ +"id": "function1", +"type": "function", +"name": "Verwerk asset data v1", +"func": "msg.payload = { \"asset_id\": \"test\", \"asset_name\": \"tqqtqt\", \"version\": 1, \"timestamp\": Date.now() }; return msg;", +"outputs": 1, +"wires": [["change1","debug1","http1"]] +}, +{ +"id": "change1", +"type": "change", +"name": "Voeg status toe v1", +"rules": [ { "t": "set", "p": "payload.status", "pt": "msg", "to": "active", "tot": "str" } ], +"wires": [["debug1"]] +}, +{ +"id": "http1", +"type": "http request", +"name": "Stuur naar API v1", +"method": "POST", +"ret": "txt", +"url": "http://127.0.0.1:1880:3000/api/asset", +"tls": "", +"persist": false, +"proxy": "", +"authType": "", +"wires": [["debug1"]] +}, +{ +"id": "debug1", +"type": "debug", +"name": "Output debug v1", +"active": true, +"tosidebar": true, +"console": false, +"tostatus": false, +"complete": "payload", +"targetType": "msg", +"statusVal": "", +"statusType": "auto", +"wires": [] +} +]