Akitata opened a new issue #10494:
URL: https://github.com/apache/shardingsphere/issues/10494


   ### Is your feature request related to a problem?
   
   In 
https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-scaling/usage/
   
   When we want to create a job,  the parameters of the scaling http api must 
use a yaml format field in the json body,
   
   In most cases, the source yaml config is complex, because the yaml in this 
json is difficult to format and yaml has strict indentation rules, so it is 
difficult to modify
   
   This greatly increases the probability of my modifying the configuration to 
produce errors
   
   ### Describe the feature you would like.
   
   I suggest that all parameters be submitted in a json format and be converted 
to yaml format required by the server logic.
   
   Or upload a pure yaml file to the http api to start the job, like 
   
   `curl -F "[email protected]" -F "jobConfigurationConcurrency=3"  
-X POST "http://localhost:8888/scaling/job/start"`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to