在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:edgexfoundry/edgex-go开源软件地址:https://github.com/edgexfoundry/edgex-go开源编程语言:Go 94.5%开源软件介绍:EdgeX Foundry ServicesEdgeX Foundry is a vendor-neutral open source project hosted by The Linux Foundation building a common open framework for IoT edge computing. At the heart of the project is an interoperability framework hosted within a full hardware- and OS-agnostic reference software platform to enable an ecosystem of plug-and-play components that unifies the marketplace and accelerates the deployment of IoT solutions. This repository contains the Go implementation of EdgeX Foundry microservices. It also includes files for building the services, containerizing the services, and initializing (bootstrapping) the services. Get StartedEdgeX provides docker images in our organization's DockerHub page. They can be launched easily with docker-compose. The simplest way to get started is to fetch the latest docker-compose.yml and start the EdgeX containers: release="main" # or "jakarta" for latest
wget https://raw.githubusercontent.com/edgexfoundry/edgex-compose/${release}/docker-compose.yml
docker-compose up -d You can check the status of your running EdgeX services by going to http://localhost:8500/ Now that you have EdgeX up and running, you can follow our API Walkthrough to learn how the different services work together to connect IoT devices to cloud services. Running EdgeX with security componentsStarting with the Fuji release, EdgeX includes enhanced security features that are enabled by default. There are a few major components that are responsible for security features:
As part of Ireland release, the When security features are enabled, additional steps are required to access the resources of EdgeX.
Sample steps to create an access token and use the token to access EdgeX resources can be found here: Security Components Other installation and deployment optionsSnap PackageThe components in this repository are available as a snap package. For more details on the snap, including how to build and install it, please refer to the snap directory. Native binariesPrerequisitesGo
ZeroMQSeveral EdgeX Foundry services depend on ZeroMQ for communications by default. The easiest way to get and install ZeroMQ on Linux is to use this setup script. For macOS, use brew: brew install zeromq For directions installing ZeroMQ on Windows, please see the Windows documentation. Installation and ExecutionEdgeX is organized as Go Modules; there is no requirement to set the GOPATH or
GO111MODULE envrionment variables nor is there a requirement to root all the components under ~/go
(or $GOPATH) and use the git clone [email protected]:edgexfoundry/edgex-go.git
cd edgex-go
make build If you do want to root everthing under $GOPATH, you're free to use that pattern as well GO111MODULE=on && export GO111MODULE
go get github.com/edgexfoundry/edgex-go
cd $GOPATH/src/github.com/edgexfoundry/edgex-go
make build Deploy EdgeXRecommended deployment of EdgeX services is either Docker or Snap. See Getting Started with Docker or Getting Started with Snap for more details. Hybrid for debug/testingIf you need to run and/or debug one of the services locally, simply stop the docker container running that service and run the service locally from command-line or from your debugger. All executables are located in the
Build your own Docker ContainersIn addition to running the services directly, Docker and Docker Compose can be used. PrerequisitesSee the install instructions to learn how to obtain and install Docker. BuildFollow the "Installation and Execution" steps above for obtaining and building the code, then make docker Delayed Start Go Builds For DevelopersCurrently for EdgeX core services except support services (support-notification and support-scheduler services), the delayed start feature from the dependency go-mod-bootstrap / go-mod-secrets modules are excluded in go builds by default.
If you want to include the delayed start feature in the builds for these services, please change the Makefile in this directory. In particular, change the following boolean flag from
For support services, the delayed start feature is included by default as the default behavior of them are not started right away in Snap. Similarly, you can change the default and exclude it by modifying the boolean flag from
RunThe Compose Builder tool has the make run no-secty dev
Community
LicenseVersioningPlease refer to the EdgeX Foundry versioning policy for information on how EdgeX services are released and how EdgeX services are compatible with one another. Specifically, device services (and the associated SDK), application services (and the associated app functions SDK), and client tools (like the EdgeX CLI and UI) can have independent minor releases, but these services must be compatible with the latest major release of EdgeX. Long Term SupportPlease refer to the EdgeX Foundry LTS policy for information on support of EdgeX releases. The EdgeX community does not offer support on any non-LTS release outside of the latest release. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论