UDMI / Docs / Tools / Project Spec
//provider/project[/namespace][+user]
-
provider
: Primary providers supported by the toolsgbos
: Uses reflector client through IoT Coregref
: Uses reflector client through GCP PubSubmqtt
: Uses reflector client through MQTT brokerpubsub
Uses direct access through PubSub (only works withvalidator
)
-
project
: Meaning depends on the providergbos
: IoT Core project idgref
,pubsub
: GCP project idmqtt
: Broker hostname (currently onlylocalhost
fully supported)
-
namespace
: Allows multiple parallel instances for a given project- Automatically prefixed to necessary resources
- Defaults to an empty prefix
-
user
: Allows multiple concurrent users on the same projectgbos
,mqtt
: Not supported, will cause runtime errorgref
,pubsub
: Defaults todebug
if not specified
-
Examples
-
//gbos/bos-platform-dev
- IoT Core: project:
bos-platform-dev
, registry:UDMI-REFLECT
, device:ZZ-TRI-FECTA
- IoT Core: project:
-
//gbos/bos-platform-dev+debug
(only one client is currently allowed usinggbos
)- Error:
user name not supported for provider gbos
- Error:
-
//gbos/bos-platform-dev/faucetsdn
- IoT Core: project:
bos-platform-dev
, registry:faucetsdn~UDMI-REFLECT
, device:faucetsdn~ZZ-TRI-FECTA
- IoT Core: project:
-
//gref/bos-platform-dev
(if no user is supplied, it defaults todebug
)- PubSub topic:
projects/bos-platform-dev/topics/udmi_reflect
- PubSub subscription:
projects/bos-platform-dev/subscriptions/udmi_reply+debug
- PubSub topic:
-
//gref/bos-platform-dev+username
- PubSub topic:
projects/bos-platform-dev/topics/udmi_reflect
- PubSub subscription:
projects/bos-platform-dev/subscriptions/udmi_reply+username
- PubSub topic:
-
//gref/bos-platform-dev/faucetsdn+username
- PubSub topic:
projects/bos-platform-dev/topics/faucetsdn~udmi_reflect
- PubSub subscription:
projects/bos-platform-dev/subscriptions/faucetsdn~udmi_reply+username
- PubSub topic:
-
//mqtt/localhost
- MQTT client:
/r/UDMI-REFLECT/d/ZZ-TRI-FECTA
- MQTT client:
-
//mqtt/localhost+debug
(only one client is currently allowed usingmqtt
)- Error:
user name not supported for provider mqtt
- Error:
-
//pubsub/bos-platform-dev
(only works forvalidator
)- PubSub subscription:
projects/bos-platform-dev/subscriptions/udmi_target+debug
- PubSub topic:
projects/bos-platform-dev/topics/udmi_target
- PubSub subscription:
-
//pubsub/bos-platform-dev/faucetsdn+username
(only works forvalidator
)- PubSub subscription:
projects/bos-platform-dev/subscriptions/faucetsdn~udmi_target+username
- PubSub topic:
projects/bos-platform-dev/topics/faucetsdn~udmi_target
- PubSub subscription: