summaryrefslogtreecommitdiff
path: root/cloud/pkg/devicecontroller (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix the status reporting of device to avoid issues defined by twin.luomengY2024-04-192-5/+42
| | | | Signed-off-by: luomengY <2938893385@qq.com>
* update dmi server to get namespacewbc60802024-01-182-14/+10
| | | | Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
* change the way to generate resource IDwbc60802024-01-163-3/+3
| | | | Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
* change the function to generate resource idwbc60802024-01-094-22/+23
| | | | Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
* fix namespace problem in cloudcorewbc60802024-01-084-14/+27
| | | | Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
* Merge pull request #5303 from luomengY/deviceandmodelorderKubeEdge Bot2024-01-041-3/+18
|\ | | | | Add a retry mechanism to solve situations where the device is deployed before the devicemodel.
| * Add a retry mechanism to solve situations where the device is deployed ↵luomengY2023-12-211-3/+18
| | | | | | | | | | | | before the devicemodel. Signed-off-by: luomengY <2938893385@qq.com>
* | fix device status problemwbc60802023-12-221-5/+5
|/ | | | Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
* Merge pull request #5065 from cl2017/fix_modelsyncKubeEdge Bot2023-11-281-2/+33
|\ | | | | bugfix: device model sync
| * bugfix: device model synccl20172023-10-131-2/+33
| | | | | | | | Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
* | Merge pull request #5140 from luomengY/mapper_define_statusKubeEdge Bot2023-11-281-4/+26
|\ \ | | | | | | Resolve that users do not need to define the status module in device. yaml.
| * | Define Twin based on properties in mapper.luomengY2023-11-281-4/+26
| |/ | | | | | | Signed-off-by: luomengY <2938893385@qq.com>
* / modification for kubernetes v1.27.7Shelley-BaoYue2023-11-201-1/+1
|/ | | | Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
* Merge pull request #4983 from cl2017/device_v1beta1_apiKubeEdge Bot2023-09-255-814/+70
|\ | | | | device crd v1beta1 and API definition
| * device crd v1beta1 cloudcl20172023-09-225-814/+70
| | | | | | | | Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
* | compatibility modificationShelley-BaoYue2023-09-113-3/+10
|/ | | | Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
* fix typo and update commentsZhizhen He2023-08-251-1/+1
| | | | Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
* add myself to reviewercl20172023-08-111-0/+1
| | | | Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
* fix grammar errorcl20172023-05-311-1/+1
| | | | Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
* add generic informerwackxu2023-01-161-1/+1
| | | | Signed-off-by: wackxu <xushiwei5@huawei.com>
* [Course Task] test-devicemodelxian-jie.shen2022-12-051-0/+83
| | | | Signed-off-by: xian-jie.shen <327411586@qq.com>
* fix cijiawei2022-10-131-1/+0
| | | | | | Signed-off-by: jiawei <jiawei.liu@daocloud.io> Signed-off-by: jiawei <jiawei.liu@daocloud.io>
* No need for repeated operations DeviceModel Storejiawei2022-10-131-3/+2
| | | | Signed-off-by: jiawei <jiawei.liu@daocloud.io>
* add dmi api, proto, services, server and dmi module in devicetwinRyanZhaoXB2022-09-193-56/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix device twin UT and review comment. update device model crd. add mutex lock for MapperRegister add rate limiter for DMI server make dmiclients as a map and generate a new client when a new mapper registers update api.pb.go modify dmi client move deviceList to the server struct make DMIcache mv edge/pkg/apis/dmi to pkg/apis/dmi add some mutex and fix some comment optimized the v1alpha1 of DMI proto and add some comments update api.pb.go generate crd fix review comments Signed-off-by: RyanZhaoXB <zhaoran11@huawei.com>
* distribute device model to meta storageTianTianBigWang2022-09-191-0/+55
| | | | Signed-off-by: TianTianBigWang <zilong.wang@daocloud.io>
* klog start with capital letterzhouguowei2022-06-271-3/+3
| | | | Signed-off-by: zhouguowei <zhouguowei@inspur.com>
* refactor message layerx004255952022-03-296-304/+9
| | | | Signed-off-by: wackxu <xushiwei5@huawei.com>
* Merge pull request #3683 from gy95/move_apisKubeEdge Bot2022-03-143-5/+5
|\ | | | | Move apis and client under kubeedge/cloud/pkg/ to kubeedge/pkg/
| * Move apis and client under kubeedge/cloud/pkg/ to kubeedge/pkg/gy952022-03-113-5/+5
| | | | | | | | Signed-off-by: gy95 <guoyao17@huawei.com>
* | remove unused constantRyanZhaoXB2022-03-111-3/+0
|/ | | | Signed-off-by: RyanZhaoXB <zhaor_thu@163.com>
* add gy95 as sub directory reviewergy952021-11-261-0/+1
| | | | Signed-off-by: gy95 <guoyao17@huawei.com>
* fix spelling error and remove redundant codexujingjing2021-11-231-1/+1
| | | | Signed-off-by: xujingjing <xujingjing_yewu@cmss.chinamobile.com>
* Merge pull request #3330 from jidalong/device1to2KubeEdge Bot2021-11-221-2/+0
|\ | | | | delete useless device-v1alpha1 code while device is update to v1alpha2
| * delete useless device v1alpha1 code while device is update to v1alpha2jidalong2021-11-221-2/+0
| | | | | | | | Signed-off-by: jidalong <jidalong@cmss.chinamobile.com>
* | remove unused member variable of device DownstreamControllerjidalong2021-11-181-3/+0
|/ | | | Signed-off-by: jidalong <jidalong@cmss.chinamobile.com>
* Merge pull request #3297 from hainesc/type_checkKubeEdge Bot2021-11-161-0/+2
|\ | | | | Add type check for each implementation of Module interface
| * Add type check for each implementation of Module interfaceHaines Chan2021-11-151-0/+2
| | | | | | | | Signed-off-by: Haines Chan <hainescx@gmail.com>
* | Merge pull request #3257 from TianTianBigWang/fix/device-syncKubeEdge Bot2021-11-031-1/+1
|\ \ | |/ |/| Fix device does not exist in the downstream controller after it is added
| * Fix device does not exist in the downstream controller after it is addedTianTianBigWang2021-10-291-1/+1
| | | | | | | | Signed-off-by: TianTianBigWang <zilong.wang@daocloud.io>
* | avoid print goroutine stack trace when component start failedgy952021-10-291-4/+4
|/ | | | Signed-off-by: gy95 <guoyao17@huawei.com>
* add reviewerTianTianBigWang2021-10-141-0/+1
| | | | Signed-off-by: TianTianBigWang <zilong.wang@daocloud.io>
* use constants.MessageSuccessfulContent replace magic number 'OK'WillardHu2021-09-081-1/+2
| | | | Signed-off-by: WillardHu <wei.hu@daocloud.io>
* devicecontroller: fix dataProperties misplacedWayne Chan2021-08-312-13/+19
| | | | | | | add data section in device-profile-config-<edgenode> configmap, then mappers-go can parse dataProperties successfully Signed-off-by: Wayne Chan <waynechan76@gmail.com>
* Merge pull request #3025 from subpathdev/moreLogsKubeEdge Bot2021-08-164-9/+22
|\ | | | | Handling node/*/membership/detail
| * fix unittestJan Unterbrink2021-08-151-2/+10
| | | | | | | | Signed-off-by: Jan Unterbrink <jan.unterbrink@subpath.de>
| * don't throw warning on heart beatJan Unterbrink2021-08-153-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan Unterbrink <jan.unterbrink@subpath.de> do nothing on receiving the filebeat Signed-off-by: Jan Unterbrink <jan.unterbrink@subpath.de> its the heart beat .... Signed-off-by: Jan Unterbrink <jan.unterbrink@subpath.de>
* | use UpdateDeviceStatusWorkers as updateDeviceStatus routinesgy952021-08-121-1/+1
|/ | | | Signed-off-by: gy95 <guoyao17@huawei.com>
* to avoid update cm after created a new cmhuangpengtao2021-06-171-3/+6
| | | | | | to check "not found" error Signed-off-by: huangpengtao <huangpengtao@kingsoft.com>
* fix/device twin and device controller: add reviewerttlv2021-05-241-0/+1
| | | | Signed-off-by: ttlv <gogophersteven@gmail.com>
* add Iceber to reviewerIceber Gu2021-04-191-0/+1
| | | | Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>