Haojie Zhang
65abb4d12d
feat: split Device CRD into Device CRD and DeviceStatus CRD
...
Signed-off-by: Haojie Zhang <hjzhang6848@163.com>
2025-12-22 17:01:31 +00:00
wbc6080
e8ec9a719b
Fix device update logic
...
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2025-05-17 15:49:06 +08:00
WillardHu
9c9f0c9d83
Fixed the golangci config and some code validation issues
...
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-01-23 11:03:03 +08:00
Shubham Singh
f2a5c847c2
added copyright part
...
Signed-off-by: GitHub <noreply@github.com>
2024-11-21 11:39:43 +00:00
wbc6080
033557769e
Fix the reference to api/client after completing the migration
...
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-08-10 16:50:02 +08:00
wbc6080
990dde0972
Migrate client and openapi to the api directory and adjust dependency references
...
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-08-09 15:02:59 +08:00
wbc6080
1a7f933e58
Modify the way each component in kubeedge refers to API dependencies and change openapi and swagger after migrating
...
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-08-08 15:28:16 +08:00
jiawei
7402bf7817
cloud support device state
...
Signed-off-by: jiawei <jiawei.liu@daocloud.io>
2024-07-19 11:13:42 +08:00
spambot000
b717535b38
cloudhub enhancement
...
Signed-off-by: spambot000 <jkjkjk0309@163.com>
2024-07-17 14:11:24 +00:00
luomengY
cfb03418dc
Fix the status reporting of device to avoid issues defined by twin.
...
Signed-off-by: luomengY <2938893385@qq.com>
2024-03-28 13:14:23 +08:00
wbc6080
d01a767ea2
update dmi server to get namespace
...
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-01-18 11:27:34 +08:00
wbc6080
161da301c8
change the function to generate resource id
...
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-01-09 15:34:45 +08:00
wbc6080
7ff72309d1
fix namespace problem in cloudcore
...
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-01-08 14:20:40 +08:00
KubeEdge Bot
99026eb4e7
Merge pull request #5303 from luomengY/deviceandmodelorder
...
Add a retry mechanism to solve situations where the device is deployed before the devicemodel.
2024-01-04 17:59:16 +08:00
wbc6080
755fb16126
fix device status problem
...
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2023-12-22 14:41:35 +08:00
luomengY
9bfed98340
Add a retry mechanism to solve situations where the device is deployed before the devicemodel.
...
Signed-off-by: luomengY <2938893385@qq.com>
2023-12-21 19:22:48 +08:00
KubeEdge Bot
d4e6644c76
Merge pull request #5065 from cl2017/fix_modelsync
...
bugfix: device model sync
2023-11-28 16:38:41 +08:00
luomengY
8ce463ce11
Define Twin based on properties in mapper.
...
Signed-off-by: luomengY <2938893385@qq.com>
2023-11-28 00:34:06 +08:00
cl2017
194023c05d
bugfix: device model sync
...
Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
2023-10-13 10:25:57 +08:00
cl2017
cd75cda7d8
device crd v1beta1 cloud
...
Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
2023-09-22 13:00:03 +08:00
Zhizhen He
10e5aeb1ba
fix typo and update comments
...
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-08-25 20:42:43 +08:00
jiawei
3f1112022c
fix ci
...
Signed-off-by: jiawei <jiawei.liu@daocloud.io>
Signed-off-by: jiawei <jiawei.liu@daocloud.io>
2022-10-13 10:35:07 +08:00
jiawei
a37f175ab2
No need for repeated operations DeviceModel Store
...
Signed-off-by: jiawei <jiawei.liu@daocloud.io>
2022-10-13 09:37:52 +08:00
RyanZhaoXB
7c6ae5255a
add dmi api, proto, services, server and dmi module in devicetwin
...
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>
2022-09-19 17:50:53 +08:00
TianTianBigWang
3f81f24e68
distribute device model to meta storage
...
Signed-off-by: TianTianBigWang <zilong.wang@daocloud.io>
2022-09-19 17:07:52 +08:00
x00425595
74e4720952
refactor message layer
...
Signed-off-by: wackxu <xushiwei5@huawei.com>
2022-03-29 16:51:32 +08:00
KubeEdge Bot
1c781ef0ce
Merge pull request #3683 from gy95/move_apis
...
Move apis and client under kubeedge/cloud/pkg/ to kubeedge/pkg/
2022-03-14 15:34:55 +08:00
gy95
d7e52d6c39
Move apis and client under kubeedge/cloud/pkg/ to kubeedge/pkg/
...
Signed-off-by: gy95 <guoyao17@huawei.com>
2022-03-11 16:11:19 +08:00
RyanZhaoXB
767961f96d
remove unused constant
...
Signed-off-by: RyanZhaoXB <zhaor_thu@163.com>
2022-03-11 10:46:13 +08:00
KubeEdge Bot
ca223b6af5
Merge pull request #3330 from jidalong/device1to2
...
delete useless device-v1alpha1 code while device is update to v1alpha2
2021-11-22 16:02:22 +08:00
jidalong
5af4e7224d
delete useless device v1alpha1 code while device is update to v1alpha2
...
Signed-off-by: jidalong <jidalong@cmss.chinamobile.com>
2021-11-22 15:03:45 +08:00
jidalong
db2a1afd8a
remove unused member variable of device DownstreamController
...
Signed-off-by: jidalong <jidalong@cmss.chinamobile.com>
2021-11-18 19:16:21 +08:00
TianTianBigWang
5b2782f926
Fix device does not exist in the downstream controller after it is added
...
Signed-off-by: TianTianBigWang <zilong.wang@daocloud.io>
2021-10-29 17:39:15 +08:00
WillardHu
7e5084b3ad
use constants.MessageSuccessfulContent replace magic number 'OK'
...
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2021-09-08 11:09:55 +08:00
Wayne Chan
f785c6fdc0
devicecontroller: fix dataProperties misplaced
...
add data section in device-profile-config-<edgenode> configmap, then
mappers-go can parse dataProperties successfully
Signed-off-by: Wayne Chan <waynechan76@gmail.com>
2021-08-31 19:01:59 +08:00
KubeEdge Bot
611e5d820b
Merge pull request #3025 from subpathdev/moreLogs
...
Handling node/*/membership/detail
2021-08-16 10:29:06 +08:00
Jan Unterbrink
1e21b2c6d4
don't throw warning on heart beat
...
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>
2021-08-15 10:42:15 +02:00
gy95
1fdc003d89
use UpdateDeviceStatusWorkers as updateDeviceStatus routines
...
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-08-12 16:21:08 +08:00
huangpengtao
93b0ff2e12
to avoid update cm after created a new cm
...
to check "not found" error
Signed-off-by: huangpengtao <huangpengtao@kingsoft.com>
2021-06-17 21:58:29 +08:00
KubeEdge Bot
528c1f07b1
Merge pull request #2670 from Iceber/fix-downstream-log
...
cloud: fix the warning log for printing object type
2021-03-22 15:08:16 +08:00
Iceber Gu
e041edb16b
add GetContentData to get content data of []byte type
...
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-03-21 21:09:27 +08:00
Iceber Gu
b8d40ec720
cloud: fix the warning log for printing object type
...
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-03-21 10:23:11 +08:00
guanzuoyu
862f7a61f2
remove cache when configmap not found from k8s
...
Signed-off-by: guanzuoyu <guanzuoyudev@gmail.com>
2021-02-23 11:08:08 +08:00
fisherxu
5b14c020fc
init dynamiccontroller
...
Signed-off-by: fisherxu <xufei40@huawei.com>
2021-02-06 15:45:17 +08:00
gy95
f371e87eee
delete useless code
...
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-01-28 20:58:46 +08:00
xufei 00416946
f83607a053
refactor k8s and crd client in devicecontroller
...
Signed-off-by: fisherxu <xufei40@huawei.com>
2021-01-15 11:59:47 +08:00
KubeEdge Bot
3cf8f0ed1a
Merge pull request #2360 from wuqihui0317/updateDeviceBug
...
fix a bug of device update
2020-11-25 10:02:35 +08:00
Xiang Dai
3a6666adb1
Unify use google uuid library
...
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-11-24 15:40:59 +08:00
wuqihui0317
080e24aaba
fix a bug of device update
2020-11-24 14:19:02 +08:00
GsssC
f01eeff7f4
upgrade klog@0.4.0 to klog/v2@2.2.0
2020-11-20 17:31:57 +08:00