[MXS-3168] Replace `request` in MaxCtrl Created: 2020-09-10  Updated: 2021-04-01  Resolved: 2021-04-01

Status: Closed
Project: MariaDB MaxScale
Component/s: maxctrl
Affects Version/s: 6
Fix Version/s: 6.0.0

Type: Task Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

The request library has been deprecated in favor of built-in network request features. The core network code should also be rewritten to leverage the async/await pattern instead of returning plain promises.



 Comments   
Comment by markus makela [ 2020-10-19 ]

Another option is to rewrite it in another language which also brings performance benefits that nodejs lacks.

Comment by markus makela [ 2021-03-19 ]

Decided to replace request with axios which is already in use by the MaxScale GUI.

Generated at Thu Feb 08 04:19:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.