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