You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/installationguide.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,8 @@ These are the parameters that can be configured in the global section:
29
29
ngsiVersion:'v2'
30
30
}
31
31
```
32
-
- If you want to use NGSI-LD (experimental):
32
+
33
+
- If you want to use **NGSI-LD** (experimental):
33
34
34
35
```javascript
35
36
{
@@ -40,8 +41,20 @@ These are the parameters that can be configured in the global section:
40
41
}
41
42
```
42
43
43
-
Where `http://context.json-ld` is the location of the NGSI-LD `@context` element which provides additional information allowing the computer to
44
-
interpret the rest of the data with more clarity and depth. Read the [JSON-LD specification](https://w3c.github.io/json-ld-syntax/#the-context) for more informtaion.
44
+
- If you want to support a "mixed" mode with both **NGSI-v2** and **NGSI-LD** (experimental):
45
+
46
+
```javascript
47
+
{
48
+
host:'192.168.56.101',
49
+
port:'1026',
50
+
ngsiVersion:'mixed',
51
+
jsonLdContext:'http://context.json-ld'// or ['http://context1.json-ld','http://context2.json-ld'] if you need more than one
52
+
}
53
+
```
54
+
55
+
Where `http://context.json-ld` is the location of the NGSI-LD `@context` element which provides additional information
56
+
allowing the computer to interpret the rest of the data with more clarity and depth. Read the
57
+
[JSON-LD specification](https://w3c.github.io/json-ld-syntax/#the-context) for more informtaion.
45
58
46
59
-**server**: configuration used to create the Context Server (port where the IoT Agent will be listening as a Context
47
60
Provider and base root to prefix all the paths). The `port` attribute is required. If no `baseRoot` attribute is
0 commit comments