Closed drypatrick closed 2 years ago
Hello, sorry for the unclear comments.
Your interpretation is correct. I'll fix those hints in the docker-compose files.
You should comment out - IOTA_CB_NGSI_VERSION=ld
if you want to use NGSI-LD
The same thing for orion-ld, in the following the correct setup:
`orion:
hostname: orion
image: fiware/orion-ld:0.7.0
networks:
By default the Agent use NGSIv2, please apply those changes in case you want to use the agent with NGSI-LD. Keep in mind to use a config.json like the example provided for NGSI-LD
Hello, sorry for the unclear comments. Your interpretation is correct. I'll fix those hints in the docker-compose files. You should comment out
- IOTA_CB_NGSI_VERSION=ld
if you want to use NGSI-LD The same thing for orion-ld, in the following the correct setup:orion: hostname: orion image: fiware/orion-ld:0.7.0 networks: - hostnet - ocbnet ports: - "1026:1026" depends_on: - orion_mongo command: -statCounters -dbhost orion_mongo -logLevel INFO -forwarding
By default the Agent use NGSIv2, please apply those changes in case you want to use the agent with NGSI-LD. Keep in mind to use a config.json like the example provided for NGSI-LD
Just a last question, Jason Fox on stackoverflow said that also the IOTA_FALLBACK_TENANT=opcua_car
is a requirement for NGSI-ld, is that correct? Should be commented using NGSI-v2?
Thanks!
In the docker-composer files there are some unclear comments, in particular at the line is told to comment if you want to use NGSI-LD or to comment the line if you want to use NGSI-V2.
Reading the strings that should be commented out however, it would seem that it is necessary to remove the comments from the lines to use NGSI-LD, and comment them if you want to use NGS-V2.
Is my interpretation correct? Thanks for clearing it up.
PS: the same issue is present to the file docker-compose-external-server.yml