物聯網學習日記20

1.edgexfoundry/device-rest-go
解析:EdgeX device service for REST protocol.

2.go-mod-configuration
解析:Configuration client library for use by Go implementation of EdgeX micro services. This project contains the abstract Configuration API and an implementation for Consul. The API initializes a connection to the Configuration service and push/pull configuration values to/from the Configuration service.
[1]Initialize connection to a Configuration service
[2]Push a service’s configuration in to the Configuration
[3]Pull service’s configuration from the Configuration service into its configuration struct
[4]Listen for configuration updates

3.go-mod-core-contracts
解析:
[1]This module contains the contract models used to describe data as it is passed via Request/Response between various EdgeX Foundry services. It also contains service clients for each service within the edgex-go repository. The definition of the various models and clients can be found in their respective top-level directories.
[2]The default encoding for the models is JSON, although in at least one case – DeviceProfile – YAML encoding is also supported since a device profile is defined as a YAML document.

4.go-mod-messaging
解析:Messaging client library for use by Go implementation of EdgeX micro services. This project contains the abstract Message Bus interface and an implementation for ZeroMQ, and MQTT. These interface functions connect, publish, subscribe and disconnect to/from the Message Bus.
[1]Create new MessageClient
[2]Commit to the Message Bus
[3]Public messages to the Message Bus
[4]Subscribe to and receives messages from the Messsage Bus
[5]Disconnect from the Message Bus

5.Docker EdgeX Consul
解析:This repo contains code necessary for building the Consul docker image to be used in Fuji and later releases.

6.go-mod-bootstrap
解析:This module contains the common bootstrap and dependency injection container originally implemented in the edgex-go repository and extracted here for reuse.

7.go-mod-registry
解析:Registry client library for use by Go implementation of EdgeX micro services. This project contains the abstract Registry interface and an implementation for Consul. These interface functions initialize a connection to the Registry service, register the service for discovery and health checks and request service endpoint and status.
[1]Initialize connection to a Registry service
[2]Register the service with the Registry service for discovery and the health check callback
[3]Pull service endpoint information from the Registry for dependent services
[4]Check the health status of dependent services via the Registry service

8.libzmq沒裝
解析:sudo apt-get install libzmq3-dev

參考文獻:
[1]
[2]
[3]

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章