1 Star 2 Fork 0

EdgexFoundry / edgex-examples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 4.72 KB
一键复制 编辑 原始数据 按行查看 历史

Official EdgeX Foundry Examples

Go Report Card GitHub Pull Requests GitHub Contributors GitHub Committers GitHub Commit Activity

Warning
The main branch of this repository contains work-in-progress examples for the upcoming release, and is not guaranteed to be stable or work with previous releases.

Examples that work with the latest EdgeX release can be found at Releases. Navigate to the latest (x.y) tag.

The purpose of this repository is to provide centralized example and sample code for EdgeX adopters and users. The folders help organize the examples to make it easier to find samples associated to various parts of EdgeX.

Example "Rules"

  • The TSC will review these examples with each release.
  • The project does maintain the code in this repository (please file an issue for any broken code).
  • An example is dropped when it is no longer used, maintained, or in sync with the current release as deemed by the TSC.
  • Approval of the TSC is required for new folders in this repository.
  • SDKs located in their respective repositories can also contain a small example or sample code folder to show developers how to use the SDK or SDK feature.
    • SDK examples include how to create a simple app service or device service.
    • SDK examples may also provide a how-to-guide on particular features (ex: how to implement an app function or how to handle automatic / dynamic provisioning).
    • SDK examples should remain small so as not to bloat the services created from the SDK.
    • Having the code with the SDK encourages the SDK maintainers to keep these up to date - critical for adoption.
    • The project has the goal to have automated testing in the future against examples in the SDKs (which is easier to do when the code is in the same repository as the SDK).
  • Holding (http://github.com/edgexfoundry-holding) will revert to a “staging” area for code. Put examples in holding while under review.
    • Like other project code, the goal of example code in holding would be to have it eventually approved and moved to this repository.
  • EdgeX developers and writers should minimize examples in the docs and reference the code in this repo instead.
  • TSC members are automatically committers to the repository.
  • TSC members are automatically committers to the repository.
  • TSC members can request committer rights for another contributor see committer approval process.
    • Like other repositories, it requires the approval of 2 other TSC members.
  • Examples will be tagged, as the project moves forward.
    • The project will update this READMe for how to handle the examples code with regard to releases
  • The example code in this repository is not tested as part of the CI/CD process.
    • Examples are tested by developers but are provided without regular (nightly) testing as with the rest of EdgeX.
  • Modules in these examples are exempt from 3rd party vetting per https://wiki.edgexfoundry.org/pages/viewpage.action?pageId=46760301.

Example Folder Organization

  • application-services – example app services to get data to cloud or enterprise systems
  • analytics – examples around rules engine, or other analytics package integration or use
  • device-services – portions of a device service or a device service that would not typically be used in production.
  • deployment – Kubernetes, swarm, etc. deployment and orchestration examples
  • hackathon-projects – projects collected during official EdgeX hackathons (these may be more temporal as they will likely not be maintained)
  • miscellaneous – examples/samples that don’t belong in the other folders. Example scripts, makefiles, etc.
  • platform-solutions – examples of getting EdgeX (or a portion of EdgeX) up and running on specific platforms like Raspberry Pi, Arduino
  • product-integration – examples outlining how to integrate with or use EdgeX with other products whether proprietary or open (examples might include ObjectBox, Redis Streams, Foghorn, etc.)
1
https://gitee.com/EdgexFoundry/edgex-examples.git
git@gitee.com:EdgexFoundry/edgex-examples.git
EdgexFoundry
edgex-examples
edgex-examples
main

搜索帮助