mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Use codegenerator to sync marvin cloudstackAPIs from a given cloudstack endpoint. Sometimes you want to synchronize marvin with the new APIs that you have introduced locally or any alterations you may have made the API. In such cases you can sync marvin's libraries as follows. $sudo mvn -Pdeveloper,marvin.sync -Dendpoint=localhost -pl :cloud-marvin This needs sudo privileges since it will call on pip to upgrade the existing marvin installation on your machine. The endpoint is where your management server is running and is exposing the API discovery plugin. A listApis call is made and the resulting json deserialized back into marvin's library entities. Signed-off-by: Prasanna Santhanam <tsp@apache.org>