mirror of
https://github.com/kmitresse/Compo-Service-Log-Project.git
synced 2026-05-13 17:11:49 +00:00
feat: Use container for the API service
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="definitions_16re855" name="definitions" namespace="http://camunda.org/schema/1.0/dmn" exporter="dmn-js (https://demo.bpmn.io/dmn)" exporterVersion="16.6.2">
|
||||
<decision id="decision_02zhvl1" name="">
|
||||
<decisionTable id="decisionTable_0k2npw5">
|
||||
<input id="input1" label="Web Service" biodi:width="350">
|
||||
<inputExpression id="inputExpression1" typeRef="string">
|
||||
<text></text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<input id="InputClause_0eqj4n9" label="Barcode (EAN 13)">
|
||||
<inputExpression id="LiteralExpression_1u9u1as" typeRef="string">
|
||||
<text></text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<output id="output1" label="Country" name="" typeRef="string" />
|
||||
<rule id="DecisionRule_0oklu3j">
|
||||
<inputEntry id="UnaryTests_1bzd25m">
|
||||
<text>"http://localhost:4321/randomize/nudger"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_19vxqzm">
|
||||
<text>string length(?)=13 and starts with(?, "3") and not matches(?, "^3[89]")</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_01ucmmd">
|
||||
<text>"France-Monaco"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_18xknsg">
|
||||
<inputEntry id="UnaryTests_0i7s6qy">
|
||||
<text>"http://localhost:4321/randomize/nudger"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0uflcxg">
|
||||
<text>matches(?, "^46\d{11}$")</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0hpx07f">
|
||||
<text>"Russia"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0jko2nu">
|
||||
<inputEntry id="UnaryTests_1yeeeae">
|
||||
<text>"http://localhost:4321/randomize/nudger"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0u30ape">
|
||||
<text>string length(?)=13 and starts with(?, "560")</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0v8lp29">
|
||||
<text>"Portugal"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_1nsy4ze">
|
||||
<inputEntry id="UnaryTests_1gw0lsa">
|
||||
<text>"http://localhost:4321/randomize/nudger"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_15tlrit">
|
||||
<text>
|
||||
matches(?, "^9[0-1]{1}\d{10}$")</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1hbw2ir">
|
||||
<text>"AT"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_1i8wl7f">
|
||||
<inputEntry id="UnaryTests_1gvjpaa">
|
||||
<text>"http://localhost:4321/randomize/nudger"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_183xj46">
|
||||
<text>matches(?, "^9[0-1]{1}\d{10}$")</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_08v0zvo">
|
||||
<text>"Austria"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
</definitions>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="definitions_01gvi3e" name="definitions" namespace="http://camunda.org/schema/1.0/dmn" exporter="dmn-js (https://demo.bpmn.io/dmn)" exporterVersion="16.6.2">
|
||||
<decision id="decision_1i2kko9" name="">
|
||||
<decisionTable id="decisionTable_0gr70vc">
|
||||
<input id="input1" label="GeonameID" biodi:width="192">
|
||||
<inputExpression id="inputExpression1" typeRef="number">
|
||||
<text>GeonameID</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<output id="output1" label="Country" name="Country" typeRef="string" />
|
||||
<rule id="DecisionRule_00g5ohx">
|
||||
<description>Cities with geonameId between 2967245 and 3038789 are in France</description>
|
||||
<inputEntry id="UnaryTests_00ykcgn">
|
||||
<text>includes(2967245, 3038789)</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_03k0z7u">
|
||||
<text>"France"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_1w8cov6">
|
||||
<description>Cities with geonameId between 3104316 and 3130616 are in Spain</description>
|
||||
<inputEntry id="UnaryTests_1utcn4l">
|
||||
<text>includes(3104316, 3130616)</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1yd23ys">
|
||||
<text>"Spain"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0bqrzts">
|
||||
<description>Cities with geonameId between 5881791 and 6185607 are in Spain</description>
|
||||
<inputEntry id="UnaryTests_0ny4o6c">
|
||||
<text>includes(5881791,6185607)</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1xdxvkd">
|
||||
<text>"Canada"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
</definitions>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" id="definitions_16re855" name="definitions" namespace="http://camunda.org/schema/1.0/dmn" exporter="dmn-js (https://demo.bpmn.io/dmn)" exporterVersion="16.6.2">
|
||||
<decision id="decision_02zhvl1" name="">
|
||||
<decisionTable id="decisionTable_0k2npw5">
|
||||
<input id="InputClause_0eqj4n9" label="Barcode (EAN 13)">
|
||||
<inputExpression id="LiteralExpression_1u9u1as" typeRef="string">
|
||||
<text></text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<output id="output1" label="Country" name="" typeRef="string" />
|
||||
<rule id="DecisionRule_0oklu3j">
|
||||
<inputEntry id="UnaryTests_19vxqzm">
|
||||
<text>string length(?)=13 and starts with(?, "3") and not matches(?, "^3[89]")</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_01ucmmd">
|
||||
<text>"France-Monaco"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_18xknsg">
|
||||
<inputEntry id="UnaryTests_0uflcxg">
|
||||
<text>matches(?, "^46\d{11}$")</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0hpx07f">
|
||||
<text>"Russia"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0jko2nu">
|
||||
<inputEntry id="UnaryTests_0u30ape">
|
||||
<text>string length(?)=13 and starts with(?, "560")</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0v8lp29">
|
||||
<text>"Portugal"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_1nsy4ze">
|
||||
<inputEntry id="UnaryTests_15tlrit">
|
||||
<text>
|
||||
matches(?, "^9[0-1]{1}\d{10}$")</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1hbw2ir">
|
||||
<text>"AT"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_1i8wl7f">
|
||||
<inputEntry id="UnaryTests_183xj46">
|
||||
<text>matches(?, "^9[0-1]{1}\d{10}$")</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_08v0zvo">
|
||||
<text>"Austria"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
</definitions>
|
||||
@@ -0,0 +1,485 @@
|
||||
{
|
||||
"_type": "export",
|
||||
"__export_format": 4,
|
||||
"__export_date": "2024-12-17T10:03:26.336Z",
|
||||
"__export_source": "insomnia.desktop.app:v10.2.0",
|
||||
"resources": [
|
||||
{
|
||||
"_id": "req_f28881e1a1de4089ab714b56858b3a31",
|
||||
"parentId": "wrk_b6f7ea92d2f443b2bf923a99dc6fca88",
|
||||
"modified": 1734426547137,
|
||||
"created": 1734387131560,
|
||||
"url": "{{ _.base_url }}",
|
||||
"name": "Show routes",
|
||||
"description": "",
|
||||
"method": "GET",
|
||||
"body": {},
|
||||
"parameters": [],
|
||||
"headers": [
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "insomnia/10.2.0"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"metaSortKey": -1734387131560,
|
||||
"isPrivate": false,
|
||||
"pathParameters": [],
|
||||
"settingStoreCookies": true,
|
||||
"settingSendCookies": true,
|
||||
"settingDisableRenderRequestBody": false,
|
||||
"settingEncodeUrl": true,
|
||||
"settingRebuildPath": true,
|
||||
"settingFollowRedirects": "global",
|
||||
"_type": "request"
|
||||
},
|
||||
{
|
||||
"_id": "wrk_b6f7ea92d2f443b2bf923a99dc6fca88",
|
||||
"parentId": null,
|
||||
"modified": 1727867693579,
|
||||
"created": 1727867693579,
|
||||
"name": "Compo-Service-Log-Project",
|
||||
"description": "",
|
||||
"scope": "collection",
|
||||
"_type": "workspace"
|
||||
},
|
||||
{
|
||||
"_id": "req_55b9623b1d824b52b34d13279176c354",
|
||||
"parentId": "fld_31fe929a6fb9434c9a93ec6c98b8eef7",
|
||||
"modified": 1734426078790,
|
||||
"created": 1727867720980,
|
||||
"url": "{{ _.base_url }}/randomize",
|
||||
"name": "XML",
|
||||
"description": "",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/xml",
|
||||
"text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" id=\"definitions_16re855\" name=\"definitions\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"dmn-js (https://demo.bpmn.io/dmn)\" exporterVersion=\"16.6.2\">\n <decision id=\"decision_02zhvl1\" name=\"\">\n <decisionTable id=\"decisionTable_0k2npw5\">\n <input id=\"InputClause_0eqj4n9\" label=\"Barcode (EAN 13)\">\n <inputExpression id=\"LiteralExpression_1u9u1as\" typeRef=\"string\">\n <text></text>\n </inputExpression>\n </input>\n <output id=\"output1\" label=\"Country\" name=\"\" typeRef=\"string\" />\n <rule id=\"DecisionRule_0oklu3j\">\n <inputEntry id=\"UnaryTests_19vxqzm\">\n <text>string length(?)=13 and starts with(?, \"3\") and not matches(?, \"^3[89]\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_01ucmmd\">\n <text>\"France-Monaco\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_18xknsg\">\n <inputEntry id=\"UnaryTests_0uflcxg\">\n <text>matches(?, \"^46\\d{11}$\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_0hpx07f\">\n <text>\"Russia\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_0jko2nu\">\n <inputEntry id=\"UnaryTests_0u30ape\">\n <text>string length(?)=13 and starts with(?, \"560\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_0v8lp29\">\n <text>\"Portugal\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_1nsy4ze\">\n <inputEntry id=\"UnaryTests_15tlrit\">\n <text>\nmatches(?, \"^9[0-1]{1}\\d{10}$\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_1hbw2ir\">\n <text>\"AT\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_1i8wl7f\">\n <inputEntry id=\"UnaryTests_183xj46\">\n <text>matches(?, \"^9[0-1]{1}\\d{10}$\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_08v0zvo\">\n <text>\"Austria\"</text>\n </outputEntry>\n </rule>\n </decisionTable>\n </decision>\n</definitions>\n"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": "pair_6e4d20c1c5ca42f79d13dfeeb6d11edb",
|
||||
"name": "size",
|
||||
"value": "1000",
|
||||
"description": "",
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/xml"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "insomnia/10.0.0"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"metaSortKey": -1734425931804,
|
||||
"isPrivate": false,
|
||||
"pathParameters": [],
|
||||
"settingStoreCookies": true,
|
||||
"settingSendCookies": true,
|
||||
"settingDisableRenderRequestBody": false,
|
||||
"settingEncodeUrl": true,
|
||||
"settingRebuildPath": true,
|
||||
"settingFollowRedirects": "global",
|
||||
"_type": "request"
|
||||
},
|
||||
{
|
||||
"_id": "fld_31fe929a6fb9434c9a93ec6c98b8eef7",
|
||||
"parentId": "wrk_b6f7ea92d2f443b2bf923a99dc6fca88",
|
||||
"modified": 1734426000926,
|
||||
"created": 1734425846873,
|
||||
"name": "randomize",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"environmentPropertyOrder": null,
|
||||
"metaSortKey": -1731127426257.5,
|
||||
"environmentType": "kv",
|
||||
"_type": "request_group"
|
||||
},
|
||||
{
|
||||
"_id": "req_acb6ee0958e14336814603597e55df3a",
|
||||
"parentId": "fld_31fe929a6fb9434c9a93ec6c98b8eef7",
|
||||
"modified": 1734426288553,
|
||||
"created": 1734425918670,
|
||||
"url": "{{ _.base_url }}/randomize",
|
||||
"name": "JSON",
|
||||
"description": "",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"Barcode (EAN 13)\": { \"type\": \"string\" },\n\t\t\"Country\": { \"type\": \"string\" }\n\t},\n\t\"required\": [ \"Barcode (EAN 13)\", \"Country\" ]\n}"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": "pair_6e4d20c1c5ca42f79d13dfeeb6d11edb",
|
||||
"name": "size",
|
||||
"value": "1000",
|
||||
"description": "",
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "insomnia/10.0.0"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"metaSortKey": -1734425931754,
|
||||
"isPrivate": false,
|
||||
"pathParameters": [],
|
||||
"settingStoreCookies": true,
|
||||
"settingSendCookies": true,
|
||||
"settingDisableRenderRequestBody": false,
|
||||
"settingEncodeUrl": true,
|
||||
"settingRebuildPath": true,
|
||||
"settingFollowRedirects": "global",
|
||||
"_type": "request"
|
||||
},
|
||||
{
|
||||
"_id": "req_cc7e8367ddb843da91ef50d9d0df6ed2",
|
||||
"parentId": "fld_f9db710057ee4588b18768a3fed0ef92",
|
||||
"modified": 1734426089740,
|
||||
"created": 1727867896038,
|
||||
"url": "{{ _.base_url }}/randomize/nudger",
|
||||
"name": "XML",
|
||||
"description": "",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/xml",
|
||||
"text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" id=\"definitions_16re855\" name=\"definitions\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"dmn-js (https://demo.bpmn.io/dmn)\" exporterVersion=\"16.6.2\">\n <decision id=\"decision_02zhvl1\" name=\"\">\n <decisionTable id=\"decisionTable_0k2npw5\">\n <input id=\"InputClause_0eqj4n9\" label=\"Barcode (EAN 13)\">\n <inputExpression id=\"LiteralExpression_1u9u1as\" typeRef=\"string\">\n <text></text>\n </inputExpression>\n </input>\n <output id=\"output1\" label=\"Country\" name=\"\" typeRef=\"string\" />\n <rule id=\"DecisionRule_0oklu3j\">\n <inputEntry id=\"UnaryTests_19vxqzm\">\n <text>string length(?)=13 and starts with(?, \"3\") and not matches(?, \"^3[89]\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_01ucmmd\">\n <text>\"France-Monaco\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_18xknsg\">\n <inputEntry id=\"UnaryTests_0uflcxg\">\n <text>matches(?, \"^46\\d{11}$\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_0hpx07f\">\n <text>\"Russia\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_0jko2nu\">\n <inputEntry id=\"UnaryTests_0u30ape\">\n <text>string length(?)=13 and starts with(?, \"560\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_0v8lp29\">\n <text>\"Portugal\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_1nsy4ze\">\n <inputEntry id=\"UnaryTests_15tlrit\">\n <text>\nmatches(?, \"^9[0-1]{1}\\d{10}$\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_1hbw2ir\">\n <text>\"AT\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_1i8wl7f\">\n <inputEntry id=\"UnaryTests_183xj46\">\n <text>matches(?, \"^9[0-1]{1}\\d{10}$\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_08v0zvo\">\n <text>\"Austria\"</text>\n </outputEntry>\n </rule>\n </decisionTable>\n </decision>\n</definitions>\n"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": "pair_d55b3a61f8fc4ad89303e5b70fc19df6",
|
||||
"name": "size",
|
||||
"value": "1000",
|
||||
"description": "",
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/xml"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "insomnia/10.0.0"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"metaSortKey": -1734426021998,
|
||||
"isPrivate": false,
|
||||
"pathParameters": [],
|
||||
"settingStoreCookies": true,
|
||||
"settingSendCookies": true,
|
||||
"settingDisableRenderRequestBody": false,
|
||||
"settingEncodeUrl": true,
|
||||
"settingRebuildPath": true,
|
||||
"settingFollowRedirects": "global",
|
||||
"_type": "request"
|
||||
},
|
||||
{
|
||||
"_id": "fld_f9db710057ee4588b18768a3fed0ef92",
|
||||
"parentId": "fld_31fe929a6fb9434c9a93ec6c98b8eef7",
|
||||
"modified": 1734426015376,
|
||||
"created": 1734426012969,
|
||||
"name": "nudger",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"environmentPropertyOrder": null,
|
||||
"metaSortKey": -1734425931729,
|
||||
"environmentType": "kv",
|
||||
"_type": "request_group"
|
||||
},
|
||||
{
|
||||
"_id": "req_5113f57a34f147ed896bb196c1f91bf0",
|
||||
"parentId": "fld_f9db710057ee4588b18768a3fed0ef92",
|
||||
"modified": 1734426373114,
|
||||
"created": 1734426367718,
|
||||
"url": "{{ _.base_url }}/randomize/nudger",
|
||||
"name": "JSON",
|
||||
"description": "",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"Barcode (EAN 13)\": { \"type\": \"string\" },\n\t\t\"Country\": { \"type\": \"string\" }\n\t},\n\t\"required\": [ \"Barcode (EAN 13)\", \"Country\" ]\n}"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": "pair_d55b3a61f8fc4ad89303e5b70fc19df6",
|
||||
"name": "size",
|
||||
"value": "1000",
|
||||
"description": "",
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "insomnia/10.0.0"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"metaSortKey": -1734425982232,
|
||||
"isPrivate": false,
|
||||
"pathParameters": [],
|
||||
"settingStoreCookies": true,
|
||||
"settingSendCookies": true,
|
||||
"settingDisableRenderRequestBody": false,
|
||||
"settingEncodeUrl": true,
|
||||
"settingRebuildPath": true,
|
||||
"settingFollowRedirects": "global",
|
||||
"_type": "request"
|
||||
},
|
||||
{
|
||||
"_id": "req_bfff90a801714354a8362a22e7a635d9",
|
||||
"parentId": "fld_c5536670d5a84d32894b264ded06b297",
|
||||
"modified": 1734426094899,
|
||||
"created": 1728319701558,
|
||||
"url": "{{ _.base_url }}/randomize/openfoodfacts",
|
||||
"name": "XML",
|
||||
"description": "",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/xml",
|
||||
"text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" id=\"definitions_16re855\" name=\"definitions\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"dmn-js (https://demo.bpmn.io/dmn)\" exporterVersion=\"16.6.2\">\n <decision id=\"decision_02zhvl1\" name=\"\">\n <decisionTable id=\"decisionTable_0k2npw5\">\n <input id=\"InputClause_0eqj4n9\" label=\"Barcode (EAN 13)\">\n <inputExpression id=\"LiteralExpression_1u9u1as\" typeRef=\"string\">\n <text></text>\n </inputExpression>\n </input>\n <output id=\"output1\" label=\"Country\" name=\"\" typeRef=\"string\" />\n <rule id=\"DecisionRule_0oklu3j\">\n <inputEntry id=\"UnaryTests_19vxqzm\">\n <text>string length(?)=13 and starts with(?, \"3\") and not matches(?, \"^3[89]\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_01ucmmd\">\n <text>\"France-Monaco\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_18xknsg\">\n <inputEntry id=\"UnaryTests_0uflcxg\">\n <text>matches(?, \"^46\\d{11}$\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_0hpx07f\">\n <text>\"Russia\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_0jko2nu\">\n <inputEntry id=\"UnaryTests_0u30ape\">\n <text>string length(?)=13 and starts with(?, \"560\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_0v8lp29\">\n <text>\"Portugal\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_1nsy4ze\">\n <inputEntry id=\"UnaryTests_15tlrit\">\n <text>\nmatches(?, \"^9[0-1]{1}\\d{10}$\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_1hbw2ir\">\n <text>\"AT\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_1i8wl7f\">\n <inputEntry id=\"UnaryTests_183xj46\">\n <text>matches(?, \"^9[0-1]{1}\\d{10}$\")</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_08v0zvo\">\n <text>\"Austria\"</text>\n </outputEntry>\n </rule>\n </decisionTable>\n </decision>\n</definitions>\n"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": "pair_d55b3a61f8fc4ad89303e5b70fc19df6",
|
||||
"name": "size",
|
||||
"value": "1000",
|
||||
"description": "",
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/xml"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "insomnia/10.0.0"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"metaSortKey": -1734425942466,
|
||||
"isPrivate": false,
|
||||
"pathParameters": [],
|
||||
"settingStoreCookies": true,
|
||||
"settingSendCookies": true,
|
||||
"settingDisableRenderRequestBody": false,
|
||||
"settingEncodeUrl": true,
|
||||
"settingRebuildPath": true,
|
||||
"settingFollowRedirects": "global",
|
||||
"_type": "request"
|
||||
},
|
||||
{
|
||||
"_id": "fld_c5536670d5a84d32894b264ded06b297",
|
||||
"parentId": "fld_31fe929a6fb9434c9a93ec6c98b8eef7",
|
||||
"modified": 1734426053346,
|
||||
"created": 1734425931704,
|
||||
"name": "openfoodfacts",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"environmentPropertyOrder": null,
|
||||
"metaSortKey": -1734425931722.75,
|
||||
"environmentType": "kv",
|
||||
"_type": "request_group"
|
||||
},
|
||||
{
|
||||
"_id": "req_271b501a3afd464b8ebfca3c955f6c36",
|
||||
"parentId": "fld_c5536670d5a84d32894b264ded06b297",
|
||||
"modified": 1734426385513,
|
||||
"created": 1734426380249,
|
||||
"url": "{{ _.base_url }}/randomize/openfoodfacts",
|
||||
"name": "JSON",
|
||||
"description": "",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"Barcode (EAN 13)\": { \"type\": \"string\" },\n\t\t\"Country\": { \"type\": \"string\" }\n\t},\n\t\"required\": [ \"Barcode (EAN 13)\", \"Country\" ]\n}"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": "pair_d55b3a61f8fc4ad89303e5b70fc19df6",
|
||||
"name": "size",
|
||||
"value": "1000",
|
||||
"description": "",
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "insomnia/10.0.0"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"metaSortKey": -1734425937135,
|
||||
"isPrivate": false,
|
||||
"pathParameters": [],
|
||||
"settingStoreCookies": true,
|
||||
"settingSendCookies": true,
|
||||
"settingDisableRenderRequestBody": false,
|
||||
"settingEncodeUrl": true,
|
||||
"settingRebuildPath": true,
|
||||
"settingFollowRedirects": "global",
|
||||
"_type": "request"
|
||||
},
|
||||
{
|
||||
"_id": "req_53d1a1f0862d4cb99e5572c1dd30967b",
|
||||
"parentId": "fld_58b791cceb4241f5adea08be0c63369f",
|
||||
"modified": 1734426100234,
|
||||
"created": 1728900124584,
|
||||
"url": "{{ _.base_url }}/randomize/world-cities",
|
||||
"name": "XML",
|
||||
"description": "",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/xml",
|
||||
"text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"https://www.omg.org/spec/DMN/20191111/MODEL/\" xmlns:biodi=\"http://bpmn.io/schema/dmn/biodi/2.0\" id=\"definitions_01gvi3e\" name=\"definitions\" namespace=\"http://camunda.org/schema/1.0/dmn\" exporter=\"dmn-js (https://demo.bpmn.io/dmn)\" exporterVersion=\"16.6.2\">\n <decision id=\"decision_1i2kko9\" name=\"\">\n <decisionTable id=\"decisionTable_0gr70vc\">\n <input id=\"input1\" label=\"Geoname ID\" biodi:width=\"192\">\n <inputExpression id=\"inputExpression1\" typeRef=\"number\">\n <text>GeonameID</text>\n </inputExpression>\n </input>\n <output id=\"output1\" label=\"Country\" name=\"Country\" typeRef=\"string\" />\n <rule id=\"DecisionRule_00g5ohx\">\n <description>Cities with geonameId between 2967245 and 3038789 are in France</description>\n <inputEntry id=\"UnaryTests_00ykcgn\">\n <text>includes(2967245, 3038789)</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_03k0z7u\">\n <text>\"France\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_1w8cov6\">\n <description>Cities with geonameId between 3104316 and 3130616 are in Spain</description>\n <inputEntry id=\"UnaryTests_1utcn4l\">\n <text>includes(3104316, 3130616)</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_1yd23ys\">\n <text>\"Spain\"</text>\n </outputEntry>\n </rule>\n <rule id=\"DecisionRule_0bqrzts\">\n <description>Cities with geonameId between 5881791 and 6185607 are in Spain</description>\n <inputEntry id=\"UnaryTests_0ny4o6c\">\n <text>includes(5881791,6185607)</text>\n </inputEntry>\n <outputEntry id=\"LiteralExpression_1xdxvkd\">\n <text>\"Canada\"</text>\n </outputEntry>\n </rule>\n </decisionTable>\n </decision>\n</definitions>\n"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": "pair_d55b3a61f8fc4ad89303e5b70fc19df6",
|
||||
"name": "size",
|
||||
"value": "1000",
|
||||
"description": "",
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/xml"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "insomnia/10.0.0"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"metaSortKey": -1734426059110,
|
||||
"isPrivate": false,
|
||||
"pathParameters": [],
|
||||
"settingStoreCookies": true,
|
||||
"settingSendCookies": true,
|
||||
"settingDisableRenderRequestBody": false,
|
||||
"settingEncodeUrl": true,
|
||||
"settingRebuildPath": true,
|
||||
"settingFollowRedirects": "global",
|
||||
"_type": "request"
|
||||
},
|
||||
{
|
||||
"_id": "fld_58b791cceb4241f5adea08be0c63369f",
|
||||
"parentId": "fld_31fe929a6fb9434c9a93ec6c98b8eef7",
|
||||
"modified": 1734426051270,
|
||||
"created": 1734426043016,
|
||||
"name": "world-cities",
|
||||
"description": "",
|
||||
"environment": {},
|
||||
"environmentPropertyOrder": null,
|
||||
"metaSortKey": -1734425931716.5,
|
||||
"environmentType": "kv",
|
||||
"_type": "request_group"
|
||||
},
|
||||
{
|
||||
"_id": "req_7433c87ff6e840a4bf5747b8894c99ed",
|
||||
"parentId": "fld_58b791cceb4241f5adea08be0c63369f",
|
||||
"modified": 1734426481018,
|
||||
"created": 1734426413777,
|
||||
"url": "{{ _.base_url }}/randomize/world-cities",
|
||||
"name": "JSON",
|
||||
"description": "",
|
||||
"method": "POST",
|
||||
"body": {
|
||||
"mimeType": "application/json",
|
||||
"text": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"Geoname ID\": { \"type\": \"string\" },\n\t\t\"Country\": { \"type\": \"string\" }\n\t},\n\t\"required\": [ \"Geoname ID\", \"Country\" ]\n}"
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": "pair_d55b3a61f8fc4ad89303e5b70fc19df6",
|
||||
"name": "size",
|
||||
"value": "1000",
|
||||
"description": "",
|
||||
"disabled": false
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "insomnia/10.0.0"
|
||||
}
|
||||
],
|
||||
"authentication": {},
|
||||
"metaSortKey": -1734426040554,
|
||||
"isPrivate": false,
|
||||
"pathParameters": [],
|
||||
"settingStoreCookies": true,
|
||||
"settingSendCookies": true,
|
||||
"settingDisableRenderRequestBody": false,
|
||||
"settingEncodeUrl": true,
|
||||
"settingRebuildPath": true,
|
||||
"settingFollowRedirects": "global",
|
||||
"_type": "request"
|
||||
},
|
||||
{
|
||||
"_id": "env_025a059466ea4c5d1a14c9fd8028c0bb99039906",
|
||||
"parentId": "wrk_b6f7ea92d2f443b2bf923a99dc6fca88",
|
||||
"modified": 1734425681843,
|
||||
"created": 1727867693581,
|
||||
"name": "Base Environment",
|
||||
"data": {
|
||||
"base_url": "{{ _.protocol }}://{{ _.domain }}:{{ _.port }}",
|
||||
"protocol": "http",
|
||||
"domain": "localhost",
|
||||
"port": "3000"
|
||||
},
|
||||
"dataPropertyOrder": {
|
||||
"&": [
|
||||
"base_url",
|
||||
"protocol",
|
||||
"domain",
|
||||
"port"
|
||||
]
|
||||
},
|
||||
"color": null,
|
||||
"isPrivate": false,
|
||||
"metaSortKey": 1727867693581,
|
||||
"_type": "environment"
|
||||
},
|
||||
{
|
||||
"_id": "jar_025a059466ea4c5d1a14c9fd8028c0bb99039906",
|
||||
"parentId": "wrk_b6f7ea92d2f443b2bf923a99dc6fca88",
|
||||
"modified": 1727867693582,
|
||||
"created": 1727867693582,
|
||||
"name": "Default Jar",
|
||||
"cookies": [],
|
||||
"_type": "cookie_jar"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user