Skip to content

Commit

Permalink
made temporal test with it's own type
Browse files Browse the repository at this point in the history
  • Loading branch information
ScorpioBroker committed Aug 16, 2023
1 parent 63241ec commit 8d97089
Showing 1 changed file with 30 additions and 26 deletions.
56 changes: 30 additions & 26 deletions api-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -21842,7 +21842,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\": \"urn:test:testbatchentity100510101\",\r\n \"type\": \"Vehicle\",\r\n \"brandName\": [\r\n {\r\n \"type\": \"Property\",\r\n \"value\": \"Mercedes\",\r\n \"observedAt\": \"2022-09-10T13:21:24.000Z\"\r\n }\r\n ],\r\n \"speed\": [\r\n {\r\n \"type\": \"Property\",\r\n \"value\": 91,\r\n \"observedAt\": \"2022-09-10T13:21:24.000Z\"\r\n },\r\n {\r\n \"type\": \"Property\",\r\n \"value\": 80,\r\n \"observedAt\": \"2022-09-10T12:21:24.000Z\"\r\n }\r\n ],\r\n \"speed2\": [\r\n {\r\n \"type\": \"Property\",\r\n \"value\": 91\r\n },\r\n {\r\n \"type\": \"Property\",\r\n \"value\": 80\r\n }\r\n ]\r\n}"
"raw": "{\r\n \"id\": \"urn:test:testbatchentity:MyTempTestType100510101\",\r\n \"type\": \"MyTempTestType\",\r\n \"brandName\": [\r\n {\r\n \"type\": \"Property\",\r\n \"value\": \"Mercedes\",\r\n \"observedAt\": \"2022-09-10T13:21:24.000Z\"\r\n }\r\n ],\r\n \"speed\": [\r\n {\r\n \"type\": \"Property\",\r\n \"value\": 91,\r\n \"observedAt\": \"2022-09-10T13:21:24.000Z\"\r\n },\r\n {\r\n \"type\": \"Property\",\r\n \"value\": 80,\r\n \"observedAt\": \"2022-09-10T12:21:24.000Z\"\r\n }\r\n ],\r\n \"speed2\": [\r\n {\r\n \"type\": \"Property\",\r\n \"value\": 91\r\n },\r\n {\r\n \"type\": \"Property\",\r\n \"value\": 80\r\n }\r\n ]\r\n}"
},
"url": {
"raw": "{{history-entity-manager}}/ngsi-ld/v1/temporal/entities",
Expand Down Expand Up @@ -21906,7 +21906,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&timeproperty=observedAt",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&timeproperty=observedAt",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -21919,7 +21919,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -21984,7 +21984,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&timeproperty=modifiedAt",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&timeproperty=modifiedAt",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -21997,7 +21997,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -22062,7 +22062,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&aggrPeriodDuration=PT10S",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&aggrPeriodDuration=PT10S",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -22075,7 +22075,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -22134,7 +22134,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&aggrPeriodDuration=PT1H&timerel=after&timeAt=2022-09-10T13%3A11%3A34.000000Z",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&aggrPeriodDuration=PT1H&timerel=after&timeAt=2022-09-10T13%3A11%3A34.000000Z",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -22147,7 +22147,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -22213,7 +22213,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&aggrPeriodDuration=PT1H&timerel=before&timeAt=2022-09-10T13%3A11%3A34.000000Z",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&aggrPeriodDuration=PT1H&timerel=before&timeAt=2022-09-10T13%3A11%3A34.000000Z",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -22226,7 +22226,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -22292,7 +22292,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&aggrPeriodDuration=PT1H&timerel=between&endTimeAt=2022-09-10T13%3A11%3A34.000000Z&timeAt=2022-09-10T12%3A11%3A34.000000Z",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType&aggrMethods=max,min,avg,sum,sumsq,stddev,totalCount,distinctCount&aggrPeriodDuration=PT1H&timerel=between&endTimeAt=2022-09-10T13%3A11%3A34.000000Z&timeAt=2022-09-10T12%3A11%3A34.000000Z",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -22305,7 +22305,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -22375,7 +22375,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -22388,7 +22388,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -22443,7 +22443,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle&timerel=after&timeAt=2022-09-10T13%3A11%3A34.000000Z",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType&timerel=after&timeAt=2022-09-10T13%3A11%3A34.000000Z",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -22456,7 +22456,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -22521,7 +22521,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle&timerel=after&timeAt=2022-09-10T13%3A11%3A34.000000Z&timeproperty=modifiedAt",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType&timerel=after&timeAt=2022-09-10T13%3A11%3A34.000000Z&timeproperty=modifiedAt",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -22534,7 +22534,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -22601,7 +22601,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle&timerel=before&timeAt=2022-09-10T13%3A11%3A34.000000Z",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType&timerel=before&timeAt=2022-09-10T13%3A11%3A34.000000Z",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -22614,7 +22614,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -22678,7 +22678,7 @@
}
],
"url": {
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=Vehicle&timerel=between&timeAt=2022-09-10T11%3A11%3A34.000000Z&endTimeAt=2022-09-10T14%3A11%3A34.000000Z",
"raw": "{{history-query-manager}}/ngsi-ld/v1/temporal/entities?type=MyTempTestType&timerel=between&timeAt=2022-09-10T11%3A11%3A34.000000Z&endTimeAt=2022-09-10T14%3A11%3A34.000000Z",
"host": [
"{{history-query-manager}}"
],
Expand All @@ -22691,7 +22691,7 @@
"query": [
{
"key": "type",
"value": "Vehicle"
"value": "MyTempTestType"
},
{
"key": "aggrMethods",
Expand Down Expand Up @@ -22745,7 +22745,7 @@
"method": "DELETE",
"header": [],
"url": {
"raw": "{{history-entity-manager}}/ngsi-ld/v1/temporal/entities/urn:test:testbatchentity100510101",
"raw": "{{history-entity-manager}}/ngsi-ld/v1/temporal/entities/urn:test:testbatchentity:MyTempTestType100510101",
"host": [
"{{history-entity-manager}}"
],
Expand All @@ -22754,7 +22754,7 @@
"v1",
"temporal",
"entities",
"urn:test:testbatchentity100510101"
"urn:test:testbatchentity:MyTempTestType100510101"
]
}
},
Expand Down Expand Up @@ -46609,12 +46609,16 @@
}
],
"variable": [
{
"key": "entityId",
"value": ""
},
{
"key": "created",
"value": ""
},
{
"key": "entityId",
"key": "cSourceId",
"value": ""
}
]
Expand Down

0 comments on commit 8d97089

Please sign in to comment.