You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
)
Summary:
Provide a script that creates a universe using these three command line arguments: Platform URL, API token, and path to the file containing the Universe config in JSON format.
We need scripts for the following actions:
Dump json payload for a given universe
Create a universe
Destroy an existing universe
The shell script is written in such a way that clients don't require any external library.
Tech:-vanilla python.
Test Plan (with python2 and python3):
1. Get existing universe list.
2. Get existing universe details by universe name in json format.
3. Get existing universe details by universe UUID in json format.
4. Delete existing universe by universe name.
5. Delete existing universe by universe UUID.
6. Create a new universe from a json config file.
7. Get task progress.
8. Get list of available regions with availability zones.
9. Get list of available providers.
10. Delete universe with force and yes as default.
11. create and delete universe with no wait.
12. Create a new universe from a json config file. and passing custom universe name.
13. Command without setting up any env values.
14. command with duplicate universe name.
15. Pass by invalid auth token an invalid customer uuid.
16. delete universe with an invalid name.
17. Using invalid params.
18. Create a script with file locations, outside bin folder with having .. in a relative path.
Reviewers: skorobogatydmitry, Arnav15, jitendra-12113, svarnau, SergeyPotachev, mbautin, mahendranbhat
Reviewed By: skorobogatydmitry, Arnav15
Differential Revision: #8523
We have created a bash script with a python script to do the universe operation. We need to convert that into a python script.
Ref:- #7302
PR for ref for 7302 :- https://github.com/yugabyte/yugabyte-db/pull/7302/files
The text was updated successfully, but these errors were encountered: