Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Built documentation can be found here: tools/apidoc/target/xmldoc/html

Release Notes

The ApiXmlDocReader class will read and generate a text file of the difference between two versions of the API XML documents of Apache CloudStack. It needs access to the Xstream and the ApiXmlDocReader class.

You can call it with the following command:

Code Block

java -cp /.m2/repository/com/thoughtworks/xstream/xstream/1.4.3/xstream-1.4.3.jar:/cloudstack/dist/rpmbuild/BUILD/cloudstack-4.2.0-SNAPSHOT/server/target/classes \
com.cloud.api.doc.ApiXmlDocReader -old /path/to/4.0.commands.xml -new /path/to/4.1.commands.xml -d /path/to/diff/

You'll find diff.txt in /path/to/diff/diff.txt which will contain the changes between the two filesThere is a "diff.txt" file which is auto-generated. This lists all added, removed, and changed API commands versus the prior point release of CloudStack.