This project is intended to define a test suite for NGSI-LD, the evolution of NGSIv2 for supporting Linked Data based on JSON-LD.
- contextProvision. Section 5.6
- contextConsumption. Section 5.7
- contextSubscription. Section 5.8
- contextSourceRegistration. Section 5.9
- batchOperations. Section 5.6
- node version 10.17
npm install
export TEST_ENDPOINT=<Your NGSI-LD Broker endpoint>. # Example: http://localhost:1026
export ACC_ENDPOINT=<The accumulator endpoint>. # Example: http://localhost:3000
export NOTIFY_ENDPOINT=<The notification endpoint>. # Example: http://host.docker.internal:3000/acc
# Start the accumulator and services under test - e.g. to start the docker-compose file
./services start
# Run the test suite
npm test
- the test endpoint is
http://localhost:1026
By default - the accumulator endpoint is
http://localhost:8080
By default - the notification endpoint is
http://accumulator:8080/acc
By default
Please note, that if you are running the NGSI-LD accumulator endpoint locally,
ot can be referred to as http://host.docker.internal:<port>/acc
, so that other Docker containers can get access to the accumulator server running on the host.
Note: To run the accumulator locally you can start the service using
export WEB_APP_PORT=8080 node accumulator/accumulator.js