Closed jmcanterafonseca closed 5 years ago
See test at
https://github.com/Fiware/NGSI-LD_Tests/blob/master/contextProvision/create_entity_test.js#L239
const entity = { 'id': 'urn:ngsi-ld:T:' + new Date().getTime(), 'type': 'T', 'AR1': { 'type': 'Relationship', 'object': ['urn:ngsi-ld:T:1234', 'urn:ngsi-ld:T:5678'] } };
This works just fine, see the functest of PR https://github.com/FIWARE/context.Orion-LD/pull/49
orion-LD is crashing ... with the example
tested against http://orion.lab.fiware.org:1027 and it worked
See test at
https://github.com/Fiware/NGSI-LD_Tests/blob/master/contextProvision/create_entity_test.js#L239