openyurtio / yurt-device-controller

This repository contains the device-controller that leverages EdgeX Foundry to manage edge devices
Apache License 2.0
14 stars 15 forks source link

support edgex 2.1 #28

Closed wawlian closed 2 years ago

wawlian commented 2 years ago

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line: /kind feature /sig iot

What this PR does / why we need it:

Supports EdgeX Foundry Jakarta Version. EdgeX Jakarta is the first LTS version and be widely considered as a production ready version.

Which issue(s) this PR fixes:

None

Does this PR introduce a user-facing change?

Yes。Since EdgeX Jakarta version switched to api v2, so not only the internal interaction logic between OpenYurt and EdgeX, but also the CRDs changed accordingly. The mainly user-facing changes are list as below:

  1. We removed ValueDescriptor CRD
  2. Some fields of Device、DeviceService、DeviceProfile has changed,users can refer to the CRD yamls in the config/crd/bases directory
1. Supports EdgeX 2.1 integration.
2. Adjust CRDs of Device、DeviceService、DeviceProfile.
3. Removed ValueDescriptor.
openyurt-bot commented 2 years ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: wawlian To complete the pull request process, please assign yixingjia You can assign the PR to them by writing /assign @yixingjia in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/openyurtio/yurt-device-controller/blob/release-0.2/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
wawlian commented 2 years ago

/assign @qclc

qclc commented 2 years ago

/lgtm