Commit graph

81 commits

Author SHA1 Message Date
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
KubeEdge Bot
c9cf1f3b8b
Merge pull request #2182 from jidalong/master
fix bug: cloud send twin_update confirm message to edge
2020-11-03 17:01:48 +08:00
wuqihui0317
8f11965248 fix a bug of device data type 2020-10-30 10:56:00 +08:00
luogangyi
b326a82acf fix missing protocol common config update 2020-10-21 14:00:27 +08:00
jidalong
521e2a3cb0 fix bug: cloud send twin_update confirm message to edge 2020-09-21 19:49:52 +08:00
KubeEdge Bot
ac9c504caf
Merge pull request #1721 from daixiang0/enable-errcheck
Lint: enable errcheck linter
2020-09-15 19:49:26 +08:00
ZYZ
af25d7f087 put all module name and module group in one place 2020-09-10 09:52:30 +08:00
Xiang Dai
d970c9f958 Lint: fix errcheck issue
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-09-08 15:58:48 +08:00
Yin Ding
c0ca6b91c0 Lint: fix formats etc. 2020-08-03 09:42:12 -07:00
Rio Zhu
a9e0c13290 Update upstream dependency to K8s 1.18.5
Co-authored-by: Yin Ding <dingyin@gmail.com>
Co-authored-by: Rio Zhu <32083634+zzxgzgz@users.noreply.github.com>

* Updated k8s to  1.18.5 and modified code around API changes.

* Updated kube-scheduler dependency.

* added filed ExperimentalTopologyManagerPolicy to matched the upgraded k8s

* Changed some dependencies' versions to x.18.0

* Added function to start cpu manager in clcm.
2020-08-03 09:42:11 -07:00
KubeEdge Bot
bc8778dd35
Merge pull request #2014 from luogangyi/extend-property-types
extend property types
2020-08-03 10:04:06 +08:00
luogangyi
41866b1885 extend property types 2020-08-02 17:19:29 +08:00
dddddai
dd4197be03 Give the capacity of slice and map 2020-07-31 12:03:24 +08:00
KubeEdge Bot
ec23878a13
Merge pull request #1790 from luogangyi/implement-device-management-enhance
Implement device management enhance
2020-07-24 17:05:05 +08:00
Xiang Dai
1cb6e188a9 Fix device configMap can not be deleted
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-07-21 15:11:17 +08:00
luogangyi
069ef29521 enhance on device protocol config 2020-07-20 14:49:17 +08:00
luogangyi
2379497dbd move data section from top level into Spec section 2020-07-19 13:18:32 +08:00
luogangyi
27091d1d8c upgrade device api from v1alpha1 to v1alpha2 2020-07-18 15:45:36 +08:00
luogangyi
94dc3f7582 re-org device model and device instance 2020-07-16 15:58:54 +08:00
luogangyi
0fdbb2b669 add data section 2020-07-16 15:58:54 +08:00
luogangyi
f783bd1fdb add customized protocol support 2020-07-16 15:58:54 +08:00
luogangyi
4ba04e5204 add reportCycle and collectCycle in property vistor 2020-07-16 15:58:54 +08:00
Xiang Dai
ef0056fadf enable gosimple linter
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-05-23 16:27:37 +08:00
Xiang Dai
fee8e3a691 enable whitelint check
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-05-21 16:54:02 +08:00
kadisi
ddc3c5583a support kubectl logs
Signed-off-by: kadisi <iamkadisi@163.com>
2020-04-30 18:41:47 +08:00
kuramal
2ea223bc5c Change devicecontroller configuration access method from Get() to global variable 'Config'
Signed-off-by: kuramal <linxxnil@126.com>
2020-02-18 11:32:34 +08:00