Commit graph

65 commits

Author SHA1 Message Date
ming.tang
aadf81bd55 [WIP] Reconstruct the metaserver db and replace beego with gorm
Signed-off-by: ming.tang <ming.tang@daocloud.io>
2026-03-02 10:48:53 +08:00
WillardHu
1eecc0356f Replace tab with 4 space in all license headers
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-05-09 18:06:01 +08:00
KubeEdge Bot
5416a4d0ff
Merge pull request #6206 from Dhiren-Mhatre/test/create-test-eventhandler-app
[test]:create test for eventhandler.go in cloud/pkg/dynamiccontroller/application
2025-04-18 09:58:27 +08:00
Dhiren-Mhatre
8171e03e50 [test]:create test for eventhandler.go in cloud/pkg/dynamiccontroller/application
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-04-16 17:19:45 +05:30
KubeEdge Bot
1a33253e10
Merge pull request #6150 from JiaweiGithub/feat/unstructured_err
Dynamiccontroller filterEvent object type convert error
2025-04-16 11:51:25 +08:00
Dhiren-Mhatre
7e83e1d453 [test]:improve coverage of application in cloud/pkg/dynamiccontroller
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-03-20 16:30:41 +05:30
KubeEdge Bot
b62dcf8614
Merge pull request #6208 from Dhiren-Mhatre/test/create-test-listner-app
[test]:Create test for listner.go in cloud/pkg/dynamicontroller/application
2025-03-19 10:25:59 +08:00
Dhiren-Mhatre
dbef548275 [test]:Create test for listner.go in cloud/pkg/dynamicontroller/application
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-03-17 12:32:24 +05:30
jiawei
7211b6a36a *unstructured.Unstructured type convert error
Signed-off-by: jiawei <jiawei.liu@daocloud.io>
2025-02-13 15:33:21 +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
34afb48336 added tests for dynamic controller
Signed-off-by: GitHub <noreply@github.com>

typo fixes for github workflow stes names.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

Test coverage for csidriver

Signed-off-by: GitHub <noreply@github.com>

Test coverage for csidriver

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

Fixed the k8s client impersonation for authroization

Signed-off-by: WillardHu <wei.hu@daocloud.io>

changing apt source after multiple failures

Signed-off-by: wbc6080 <wangbincheng4@huawei.com>

Optimize the syncPod startup time for edge nodes.

Signed-off-by: luomengY <2938893385@qq.com>
2024-08-22 13:58:19 +00:00
spambot000
b717535b38 cloudhub enhancement
Signed-off-by: spambot000 <jkjkjk0309@163.com>
2024-07-17 14:11:24 +00:00
zhengxinwei
aa3ba72d38 metaserver support pass through API, open /version path
Signed-off-by: zhengxinwei <zhengxinwei@huawei.com>
2023-10-07 09:46:55 +08:00
Shelley-BaoYue
d8660e2cd6 compatibility modification
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2023-09-11 10:19:49 +08:00
vincentgoat
f6b0c6e6c9 remove cloud authorization
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2023-05-29 21:46:18 +08:00
wackxu
ab52e9dbe6 add gc for watch request in dynamiccontroller
Signed-off-by: wackxu <xushiwei5@huawei.com>
2023-01-17 01:09:36 +08:00
wackxu
2aad06d1e1 add listener manager to store listener
Signed-off-by: wackxu <xushiwei5@huawei.com>
2023-01-16 23:42:59 +08:00
wackxu
4fa79a078d add generic informer
Signed-off-by: wackxu <xushiwei5@huawei.com>
2023-01-16 16:06:14 +08:00
wackxu
1c900e6ec2 clean up handlerCenter and SelectorListener
Signed-off-by: wackxu <xushiwei5@huawei.com>
2022-12-08 11:19:54 +08:00
gy95
90f6859b96 remove not used map in application Center
Signed-off-by: gy95 <1015105054@qq.com>
2022-11-14 15:24:13 +08:00
wackxu
9bf53ba849 move common application and agent to pkg/metaserver
Signed-off-by: wackxu <xushiwei5@huawei.com>
2022-10-17 16:34:47 +08:00
vincentgoat
4ec37d7775 fix application wrong cache ID
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2022-09-26 20:58:33 +08:00
vincentgoat
70c6fd3801 add featuregate for authorization
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2022-09-24 16:29:26 +08:00
vincentgoat
1cddbb874f add autonomy switch when edge node is offline
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2022-09-16 09:32:25 +08:00
chengjin
84183358dc edgecore reports authorization header to cloudcore and cloudcore repalce it into each all to API server
Signed-off-by: chengjin <sdghchj@qq.com>
2022-08-04 11:46:41 +08:00
zhouguowei
72ba20234a klog start with capital letter
Signed-off-by: zhouguowei <zhouguowei@inspur.com>
2022-06-27 17:10:25 +08:00
vincentgoat
f094c553ea
filter resource in dynamiccontroller
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2022-05-19 17:09:09 +08:00
chengjin
a1c4b34b45 fix bug: fields.Selector for watch
Signed-off-by: chengjin <sdghchj@qq.com>
2022-04-27 18:05:30 +08:00
KubeEdge Bot
024f19d9e1
Merge pull request #3742 from Shelley-BaoYue/master-errstatus
add ErrStatus in api-server application
2022-04-02 15:28:21 +08:00
KubeEdge Bot
d2fa20ec29
Merge pull request #3747 from wackxu/refactormess
first stage: refactor message layer
2022-04-02 15:25:21 +08:00
vincentgoat
0b170eb267 optimize sendObj accessor
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2022-03-29 19:33:44 +08:00
x00425595
74e4720952 refactor message layer
Signed-off-by: wackxu <xushiwei5@huawei.com>
2022-03-29 16:51:32 +08:00
Shelley-BaoYue
3f7438cdac add ErrStatus in api-server application
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2022-03-26 17:18:33 +08:00
Shelley-BaoYue
0a4a947a03 fix concurrent map iteration and map write bug
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2022-03-14 15:54:33 +08:00
Shelley-BaoYue
2ac7e1ede3 add subresource field in application
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2022-03-13 18:07:46 +08:00
KubeEdge Bot
13fe64e81f
Merge pull request #3293 from Rachel-Shao/resType
Fix: resType does not match
2021-12-03 20:23:39 +08:00
muxuelan
c58a75f2d0 clean up
Signed-off-by: muxuelan <muxuelan_yewu@cmss.chinamobile.com>
2021-11-30 09:06:37 +08:00
KubeEdge Bot
d7c48a85a7
Merge pull request #3341 from jidalong/word
fix dynamiccontroller grammar errors
2021-11-23 16:17:23 +08:00
jidalong
6acb91f39d fix dynamiccontroller grammar errors
Signed-off-by: jidalong <jidalong@cmss.chinamobile.com>
2021-11-23 11:29:55 +08:00
KubeEdge Bot
40d2dbba37
Merge pull request #3333 from jidalong/applicationagent
fix assign grammar of application agent
2021-11-23 11:04:23 +08:00
jidalong
64416c52e1 fix assign grammar of application agent
Signed-off-by: jidalong <jidalong@cmss.chinamobile.com>
2021-11-23 10:33:44 +08:00
jidalong
6e19e3a342 fix some error log
Signed-off-by: jidalong <jidalong@cmss.chinamobile.com>
2021-11-18 19:30:13 +08:00
Rachel-Shao
59848f632f modify dc.msg.resource
Signed-off-by: Rachel-Shao <34911960+Rachel-Shao@users.noreply.github.com>
2021-11-16 18:32:20 +08:00
gy95
796eb3add0 avoid print goroutine stack trace when component start failed
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-10-29 16:44:25 +08:00
orange
233ad5af1c fixed: the first letter of the fmt.ErrorF is not lowercase
Signed-off-by: orange <zuxia.ge@daocloud.io>
2021-09-03 10:50:34 +08:00
gy95
8528b3dd04 move edgehub moduleName to common module package
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-08-31 17:40:55 +08:00
KubeEdge Bot
7055ce69f6
Merge pull request #2854 from Rachel-Shao/appGC
add Gabage-Collection for application
2021-07-06 22:54:12 +08:00
gy95
43abad5a5a use function to get content as []byte
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-06-19 11:32:51 +08:00
Rachel-Shao
8f249bd879 add unit test
Signed-off-by: Rachel-Shao <34911960+Rachel-Shao@users.noreply.github.com>
2021-06-16 14:53:13 +08:00
Rachel-Shao
0a02771f2b add a shutdown signal to agent and a defaultAgent
Signed-off-by: Rachel-Shao <34911960+Rachel-Shao@users.noreply.github.com>

Signed-off-by: Rachel-Shao <34911960+Rachel-Shao@users.noreply.github.com>
2021-06-16 14:16:11 +08:00