apache / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://gravitino.apache.org
Apache License 2.0
1.09k stars 343 forks source link

[Subtask] Web UI add disable/enable metalake/catalog button #5206

Closed mchades closed 3 weeks ago

mchades commented 1 month ago

Describe the subtask

Since we add disable/enable metalake/catalog API in server, we should also add the button to Web UI

Parent issue

5031

mchades commented 4 weeks ago

using rest api for metalake example:

PATCH http://localhost:8090/api/metalakes/test_metalake
Accept: application/vnd.gravitino.v1+json
Content-Type: application/json

{
  "inUse": true
}

and for catalog, Just need to change the path to /api/metalakes/test_metalake/catalogs/test_catalog