This adds new dataset parameter to the home page (defaulting to #0
as before) to ensure that the current state of the page can always
be shared via URL. Additionally, the timeline route is also changed
to follow the new scheme.
Change-Id: Ieadd4724b24c612fbba2a614728563c1c00b92be
This removes `gulp-imagemin` and the image processing gulp task,
as well as `debowerify`, significantly reducing required
`npm install` time for a clean install.
Change-Id: I48e035c96cd616715da3b5c75b66b8d8a7616263
This patch adds basic summary information to the tempest dataset
summary on the home page. Additionally, it allows users to select
between all available datasets, if more than one is specified in
the configuration file. Failing tests are displayed directly on
the front page, and a future patch will allow direct navigation to
details of failing tests.
Co-Authored-By: Austin Clark <austin.clark@hpe.com>
Change-Id: Ic08a4dd86b36f513acf8e50c1fb7d7a102876e1c
This adds basic summary stat generation to generated config files.
Summary data includes start and end dates, the total duration, and
lists of failed and skipped tests. This data can be used to quickly
retrieve potentially interesting data without having to download
and process the full data file (often 0.5 MiB or larger).
Change-Id: I980f8ca22fbc003b415fd02feae332526ff26609
This ports over changes made in openstack-health to convert the
project from jshint to eslint, with the eslint-config-openstack
plugin.
Change-Id: Iaa0490d07603e2481e1c738136f9fda1be95dea8
export_tempest_details (responsible for generating the details file in
the stackviz-export process) had strip_details set to True, discarding
all pertinent log info necessary for a full details view. This changes
the strip_details method parameter to the default, False.
Change-Id: I293ccd15e6c0e7b1ba5f7ee9be12584e01d398b6
Small updates to the README, including adding instructions on how to
generate a `config.json` using stackviz-export and local subunit+dstat
files. Also includes a link to the upstream planning etherpad, which
will be used for ideas about getting StackViz working with data from
devstack-gate runs.
Change-Id: I206cb5ea6331eaf005b8c9c43a1e7b93e2d77a92
Remove unused links to upstream and sunburst pages. Menu nav will
now navigate to tempest dataset number 0.
Change-Id: Ia7564118a9731d78c1250693473618cce98f7a93
This re-adds the Tempest timeline view as a set of Angular
directives. This includes related functionality, such as the Dstat
parser and some array utilities. The timeline view consists of
a timeline component, which includes the d3 chart, and a separate
details component, which shows additional information for tests
when selected in the timeline.
Change-Id: Ifaaeda91b0617e8cf7a60d30728005f5c8d00546
Prior to this patch, datasetService did not find the log paths that
'stackviz-export' and 'gulp data' generated. This commit adds the
prefix 'data/' to all GET calls in datasetService to ensure that the
log files are found.
Change-Id: Ie88d30a0844cea57cefed6b22265ccfd6050b3a9
The unit test suite was failing due to a test in constants_spec.js
that expected the application name (as defined in constants.js) to be
"Example Application". This commit changes the expected value in the
test to "StackViz".
Change-Id: Ia7b97fdaae3560a27d944c81a9a245feafde3252
Alters main.js to allow Karma to see app. Basic unit tests (checking
for definition) are added as placeholders. New unit test files will
need to have the window.bootstrap && window.bootstrap() call to allow
Karma visibility.
Change-Id: If3ad2130e6ad6e3883a57ddd291fc17753229ed8
The application title variable was still using the example value
from the project boilerplate. This replaces the example value with
'StackViz'.
Change-Id: Ib8f004fcbdfbb3633697eaf287e6e76bec031349
Downgrades karma-coverages, uses phantomJS to run unit test, and
finally adds gulp unit as the test runner. Karma was having issues
with Chrome+Browserify. Unit tests still do not run since the example
services were removed.
Change-Id: I8973a1e12b0b2af992bea5da552aae0736dcdf9c
This homepage implements a sample layout that uses real example
data, but is still a WIP and has a number of empty stub UI
elements.
Change-Id: Icf5afdfd1d078e250bec29af828ea63f78ee0a9e
The DatasetService is intended to load and manage any number of
configured data sources as specified in `config.json`. It also
enforces use of Angular's built-in content caching to improve
loading times of already-accessed datasets.
Change-Id: Ibb161a171d6375bf024bf8c0ab051c3f1a97f760
Exporter functionality in `export.py` no longer uses Django to
render pages, and instead generates its own `.json` files.
Additionally, a configuration file is generated that can be
consumed by the in-progress Angular frontend.
Change-Id: I37b5be581dbd784fd009c1040422f1cadb009a3a
Various example resources from the project boilerplate can be
removed, and configuration files for bower and eslint are no
longer needed. An outdated Karma config file is also removed,
as JavaScript tests are moved into the `test` subdirectory.
Change-Id: I2407c20f00f3346b8969d819db92a9fb70c429eb
This adds a new Gulp task to automatically include `app/data` in
dev builds if it exists. This directory will contain sample data
files for use during development and outputs them to `build/data`.
Additionally, this integrates with browser-sync and will
automatically reload open browsers as testing datasets are
changed.
Change-Id: Ie1578682d11e36bd6142b9d326f50a547aa4613b
npm install would fail due to PEERINVALID issues with karma.
^0.13.4 is out of range for several packages. This commit sets karma
version to ~0.12.0
Change-Id: I07634dd7cbdbc0cdb4489cbc348f9390a91e9e79
`index.html.gz` now links properly to gzipped resources allowing
them to be distributed unmodified and without the uncompressed
resources.
Change-Id: I253f5207de5b13a105dfb8ddd226d7da6ba2b34b
Add static instances of FontAwesome, Bootstrap, and theme resources
to more fully move to NPM/Browserify package management.
Change-Id: I4ceb0cd44f1e54207fde9c6645931e3a29705894
Adds boilerplate files from `angularjs-gulp-browserify-boilerplate`
to start work on Angular rewrite of the frontend.
Change-Id: I54392c24f397496582f9d06d561d5c14a92ccbe6
The stackviz repo was recently moved into gerrit and the standard python
jobs were added on it. However there were some outstanding pep8 issue on
the repo which is blocking any changes. This commit fixes all of them.
Change-Id: I2d40ee965ba3166a580f16046fc741e05b54ac74