1
+ {
2
+ "logLevel" : " INFO" ,
3
+ "multiCore" : false ,
4
+ "relaxTemplateValidation" : true ,
5
+ "contextBroker" : {
6
+ "host" : " orion" ,
7
+ "port" : 1026 ,
8
+ "ngsiVersion" : " ld" ,
9
+ "jsonLdContext" : " https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" ,
10
+ "service" : " opcua_car" ,
11
+ "subservice" : " /demo"
12
+ },
13
+ "server" : {
14
+ "port" : 4001 ,
15
+ "baseRoot" : " /"
16
+ },
17
+ "deviceRegistry" : {
18
+ "type" : " memory"
19
+ },
20
+ "mongodb" : {
21
+ "host" : " iot_mongo" ,
22
+ "port" : " 27017" ,
23
+ "db" : " iotagent" ,
24
+ "retries" : 5 ,
25
+ "retryTime" : 5
26
+ },
27
+ "types" : {
28
+ "Device" : {
29
+ "service" : " opcua_car" ,
30
+ "subservice" : " /demo" ,
31
+ "active" : [{
32
+ "name" : " EngineBrake" ,
33
+ "type" : " Number"
34
+ }, {
35
+ "name" : " Acceleration" ,
36
+ "type" : " Number"
37
+ }, {
38
+ "name" : " EngineStopped" ,
39
+ "type" : " Boolean"
40
+ }, {
41
+ "name" : " Engine_Temperature" ,
42
+ "type" : " Number"
43
+ }, {
44
+ "name" : " Engine_Oxigen" ,
45
+ "type" : " Number"
46
+ }],
47
+ "lazy" : [{
48
+ "name" : " Speed" ,
49
+ "type" : " Number"
50
+ }],
51
+ "commands" : [{
52
+ "name" : " Error" ,
53
+ "type" : " command"
54
+ }, {
55
+ "name" : " Stop" ,
56
+ "type" : " command"
57
+ }, {
58
+ "name" : " Accelerate" ,
59
+ "type" : " command"
60
+ }]
61
+ }
62
+ },
63
+ "browseServerOptions" : null,
64
+ "service" : " opcua_car" ,
65
+ "subservice" : " /demo" ,
66
+ "providerUrl" : " http://iotage:4001" ,
67
+ "pollingExpiration" : " 200000" ,
68
+ "pollingDaemonFrequency" : " 20000" ,
69
+ "deviceRegistrationDuration" : " P1M" ,
70
+ "defaultType" : null,
71
+ "contexts" : [{
72
+ "id" : " urn:ngsi-ld:Device:age01_Car" ,
73
+ "type" : " Device" ,
74
+ "ngsiVersion" : " ld" ,
75
+ "jsonLdContext" : " https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" ,
76
+ "service" : " opcua_car" ,
77
+ "subservice" : " /demo" ,
78
+ "polling" : false ,
79
+ "mappings" : [{
80
+ "ocb_id" : " Error" ,
81
+ "opcua_id" : " ns=3;s=Error" ,
82
+ "object_id" : null,
83
+ "inputArguments" : []
84
+ }, {
85
+ "ocb_id" : " Acceleration" ,
86
+ "opcua_id" : " ns=3;s=Acceleration" ,
87
+ "object_id" : null,
88
+ "inputArguments" : []
89
+ }, {
90
+ "ocb_id" : " EngineStopped" ,
91
+ "opcua_id" : " ns=3;s=EngineStopped" ,
92
+ "object_id" : null,
93
+ "inputArguments" : []
94
+ }, {
95
+ "ocb_id" : " Engine_Temperature" ,
96
+ "opcua_id" : " ns=3;s=Temperature" ,
97
+ "object_id" : null,
98
+ "inputArguments" : []
99
+ }, {
100
+ "ocb_id" : " Engine_Oxigen" ,
101
+ "opcua_id" : " ns=3;s=Oxigen" ,
102
+ "object_id" : null,
103
+ "inputArguments" : []
104
+ }]
105
+ }],
106
+ "contextSubscriptions" : [{
107
+ "id" : " urn:ngsi-ld:Device:age01_Car" ,
108
+ "type" : " Device" ,
109
+ "ngsiVersion" : " ld" ,
110
+ "jsonLdContext" : " https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld" ,
111
+ "mappings" : [{
112
+ "ocb_id" : " Error" ,
113
+ "opcua_id" : " ns=3;s=Error" ,
114
+ "object_id" : " ns=3;i=1000" ,
115
+ "inputArguments" : [{
116
+ "dataType" : 12 ,
117
+ "type" : " Error Type"
118
+ }]
119
+ }, {
120
+ "ocb_id" : " Speed" ,
121
+ "opcua_id" : " ns=3;s=Speed" ,
122
+ "object_id" : " ns=3;i=1000" ,
123
+ "inputArguments" : []
124
+ }, {
125
+ "ocb_id" : " Stop" ,
126
+ "opcua_id" : " ns=3;s=Stop" ,
127
+ "object_id" : " ns=3;i=1000" ,
128
+ "inputArguments" : []
129
+ }, {
130
+ "ocb_id" : " Accelerate" ,
131
+ "opcua_id" : " ns=3;s=Accelerate" ,
132
+ "object_id" : " ns=3;i=1000" ,
133
+ "inputArguments" : [{
134
+ "dataType" : 6 ,
135
+ "type" : " Intensity"
136
+ }]
137
+ }]
138
+ }]
139
+ }
0 commit comments