From ce9867b3facc90defcc17ce3399d410fbaba95d3 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 20 Dec 2012 11:56:04 -0500 Subject: Add html reports to report action in coverage extension. This makes a few minor cleanups and 2 additions to the coverage extension. First, it adds a new optional field to the report action: 'html'. This will generate an html report instead of either the text or xml reports that the extension can generate. The second change is that it adds a return for the stop action. Now upon successful completion of the stop action the directory where the coverage data files will be returned. Change-Id: If1aa25fc7237e9bb5100d2a4a8e560f0a68eba61 --- doc/api_samples/os-coverage/coverage-stop-post-resp.json | 3 +++ doc/api_samples/os-coverage/coverage-stop-post-resp.xml | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 doc/api_samples/os-coverage/coverage-stop-post-resp.json create mode 100644 doc/api_samples/os-coverage/coverage-stop-post-resp.xml (limited to 'doc') diff --git a/doc/api_samples/os-coverage/coverage-stop-post-resp.json b/doc/api_samples/os-coverage/coverage-stop-post-resp.json new file mode 100644 index 000000000..d3caf3a5a --- /dev/null +++ b/doc/api_samples/os-coverage/coverage-stop-post-resp.json @@ -0,0 +1,3 @@ +{ + "path": "/tmp/tmpua9HvB/nova-coverage_rs2CaS" +} \ No newline at end of file diff --git a/doc/api_samples/os-coverage/coverage-stop-post-resp.xml b/doc/api_samples/os-coverage/coverage-stop-post-resp.xml new file mode 100644 index 000000000..f0c921847 --- /dev/null +++ b/doc/api_samples/os-coverage/coverage-stop-post-resp.xml @@ -0,0 +1,2 @@ + +/tmp/tmpCLve38/nova-coverage_GJ4BZ_ \ No newline at end of file -- cgit