wso2 / product-microgateway

Choreo Connect is a cloud-native, open-source, and developer-centric API gateway.
https://wso2.com/choreo/choreo-connect/
Apache License 2.0
287 stars 246 forks source link

Chunk fetching APIs from Control Plane on startup #3495

Closed renuka-fernando closed 4 months ago

renuka-fernando commented 4 months ago

Purpose

Chunk retrieving deployments from controlplane to reduce the overhead to the controlplane.

Issues

Automation tests

Tested environments

Tested in Dev envirionment


Maintainers: Check before merge

Logs

With existing changes

adapter-1   | 2024-02-28 06:20:01 INFO [main.go:39] - [main.startMicroGateway] [-] Starting Choreo Connect Adapter
adapter-1   | 2024-02-28 06:20:37 INFO [adapter.go:339] - [adapter.fetchAPIsOnStartUp] [-] Fetching APIs at startup with the received API UUID list (size: 3998)...
adapter-1   | 2024-02-28 06:27:28 INFO [adapter.go:350] - [adapter.fetchAPIsOnStartUp] [-] Fetching APIs at startup is completed...

With new changes

adapter-1   | 2024-02-29 10:02:22 INFO [main.go:39] - [main.startMicroGateway] [-] Starting Choreo Connect Adapter
adapter-1   | 2024-02-29 10:02:57 INFO [adapter.go:343] - [adapter.fetchAPIsOnStartUp] [-] Fetching chunked APIs... [1/8]
adapter-1   | 2024-02-29 10:03:32 INFO [adapter.go:343] - [adapter.fetchAPIsOnStartUp] [-] Fetching chunked APIs... [2/8]
adapter-1   | 2024-02-29 10:04:07 INFO [adapter.go:343] - [adapter.fetchAPIsOnStartUp] [-] Fetching chunked APIs... [3/8]
adapter-1   | 2024-02-29 10:04:42 INFO [adapter.go:343] - [adapter.fetchAPIsOnStartUp] [-] Fetching chunked APIs... [4/8]
adapter-1   | 2024-02-29 10:05:20 INFO [adapter.go:343] - [adapter.fetchAPIsOnStartUp] [-] Fetching chunked APIs... [5/8]
adapter-1   | 2024-02-29 10:05:57 INFO [adapter.go:343] - [adapter.fetchAPIsOnStartUp] [-] Fetching chunked APIs... [6/8]
adapter-1   | 2024-02-29 10:06:32 INFO [adapter.go:343] - [adapter.fetchAPIsOnStartUp] [-] Fetching chunked APIs... [7/8]
adapter-1   | 2024-02-29 10:07:13 INFO [adapter.go:343] - [adapter.fetchAPIsOnStartUp] [-] Fetching chunked APIs... [8/8]
adapter-1   | 2024-02-29 10:08:50 INFO [adapter.go:351] - [adapter.fetchAPIsOnStartUp] [-] Fetching APIs at startup is completed...
choreo-cicd commented 4 months ago

[succeeded] Controlplane cluster : dev-deployment-v2 : 20240301.13

choreo-cicd commented 4 months ago

[succeeded] Dataplane(EastUS) cluster : dev-deployment-v2 : 20240301.13

choreo-cicd commented 4 months ago

[succeeded] Dataplane(NorthEU) cluster : dev-deployment-v2 : 20240301.13

choreo-cicd commented 4 months ago

[succeeded] : dev-deployment-v2 : 20240301.13

choreo-cicd commented 4 months ago

[failed] Dataplane(NorthEU) cluster : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[failed] Controlplane cluster : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[succeeded] : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[failed] Dataplane(EastUS) cluster : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[canceled] Dataplane(EastUS) cluster : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[succeeded] Dataplane(NorthEU) cluster : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[succeeded] Controlplane cluster : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[succeeded] : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[] Dataplane(EastUS) cluster : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[] Dataplane(NorthEU) cluster : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[] Controlplane cluster : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[] : stage-deployment-v2 : 20240304.2

choreo-cicd commented 4 months ago

[succeeded] Dataplane(NorthEU) cluster : prod-deployment-v2 : 20240305.4

choreo-cicd commented 4 months ago

[succeeded] : prod-deployment-v2 : 20240305.4

choreo-cicd commented 4 months ago

[succeeded] Controlplane cluster : prod-deployment-v2 : 20240305.4

choreo-cicd commented 4 months ago

[succeeded] Dataplane(EastUS) cluster : prod-deployment-v2 : 20240305.4