File tree Expand file tree Collapse file tree 2 files changed +98
-1
lines changed Expand file tree Collapse file tree 2 files changed +98
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ TUTORIAL_DUMMY_DEVICE_PORT=3001
15
15
IOTA_SOUTH_PORT = 7896
16
16
17
17
# IoT Agent Ultralight Variables
18
- ULTRALIGHT_VERSION = 2.3 .0-distroless
18
+ ULTRALIGHT_VERSION = 2.4 .0-distroless
19
19
IOTA_NORTH_PORT = 4041
20
20
21
21
# Keyrock variables
Original file line number Diff line number Diff line change @@ -424,4 +424,101 @@ curl -s -o /dev/null -X POST \
424
424
]
425
425
}'
426
426
427
+ #
428
+ # Ensure that actuators are minimally provisioned.
429
+ #
430
+ curl -X POST \
431
+ ' http://orion:1026/v2/op/update' \
432
+ -H ' Content-Type: application/json' \
433
+ -H ' fiware-service: openiot' \
434
+ -d ' {
435
+ "actionType":"APPEND",
436
+ "entities":[
437
+ {
438
+ "id": "Bell:001",
439
+ "type": "Bell",
440
+ "refStore": {
441
+ "type": "Relationship","value": "urn:ngsi-ld:Store:001"
442
+ }
443
+ },
444
+ {
445
+ "id": "Door:001",
446
+ "type": "Door",
447
+ "refStore": {
448
+ "type": "Relationship","value": "urn:ngsi-ld:Store:001"
449
+ }
450
+ },
451
+ {
452
+ "id": "Lamp:001",
453
+ "type": "Lamp",
454
+ "refStore": {
455
+ "type": "Relationship","value": "urn:ngsi-ld:Store:001"
456
+ }
457
+ },
458
+ {
459
+ "id": "Bell:002",
460
+ "type": "Bell",
461
+ "refStore": {
462
+ "type": "Relationship","value": "urn:ngsi-ld:Store:002"
463
+ }
464
+ },
465
+ {
466
+ "id": "Door:002",
467
+ "type": "Door",
468
+ "refStore": {
469
+ "type": "Relationship","value": "urn:ngsi-ld:Store:002"
470
+ }
471
+ },
472
+ {
473
+ "id": "Lamp:002",
474
+ "type": "Lamp",
475
+ "refStore": {
476
+ "type": "Relationship","value": "urn:ngsi-ld:Store:002"
477
+ }
478
+ },
479
+ {
480
+ "id": "Bell:003",
481
+ "type": "Bell",
482
+ "refStore": {
483
+ "type": "Relationship","value": "urn:ngsi-ld:Store:003"
484
+ }
485
+ },
486
+ {
487
+ "id": "Door:003",
488
+ "type": "Door",
489
+ "refStore": {
490
+ "type": "Relationship","value": "urn:ngsi-ld:Store:003"
491
+ }
492
+ },
493
+ {
494
+ "id": "Lamp:003",
495
+ "type": "Lamp",
496
+ "refStore": {
497
+ "type": "Relationship","value": "urn:ngsi-ld:Store:003"
498
+ }
499
+ },
500
+ {
501
+ "id": "Bell:004",
502
+ "type": "Bell",
503
+ "refStore": {
504
+ "type": "Relationship","value": "urn:ngsi-ld:Store:004"
505
+ }
506
+ },
507
+ {
508
+ "id": "Door:004",
509
+ "type": "Door",
510
+ "refStore": {
511
+ "type": "Relationship","value": "urn:ngsi-ld:Store:004"
512
+ }
513
+ },
514
+ {
515
+ "id": "Lamp:004",
516
+ "type": "Lamp",
517
+ "refStore": {
518
+ "type": "Relationship","value": "urn:ngsi-ld:Store:004"
519
+ }
520
+ }
521
+ ]
522
+ }'
523
+
427
524
echo -e " \033[1;32mdone\033[0m"
You can’t perform that action at this time.
0 commit comments