This commit adds 'host' and 'port' configuration variables to the o-h
api server. Sometimes, default port(5000) conflicts existing port
number. And default host address(127.0.0.1) is not good remote
development environment. I think there are some workaround for this such
as portforwarding but this would be a straight forward solution.
Change-Id: I8531860757fb9c7625f7a009175af1b40ca52dc9
Closes-Bug: #1554955
This adds a gulp task that runs at the end of `gulp e2e` to copy
the built production site into the 'reports/' directory. This
directory will be uploaded to the log server during the npm test jobs
and should be viewable from browsers for quick evaluation of
client-side patches. A default config file is also included that
points to the official http://health.openstack.org/ API server so
this build preview can work against live data.
Change-Id: Ideb59ae050f77dab99a4f025e27519fd0fd11f6f
This commit allows users to select how they want to group information on
the dashboard page. It basically enumerates the existing run metadata
keys and let the user choose any of them. As up to today, we were only
grouping information by project.
Change-Id: I31514e75629483f91a35c8e7b622bc298db6a41f
Depends-On: Ibe591d9af94c1cd8d5c1d4956c1c82b4a764b5b7
Co-Authored-By: Tim Buckley <timothy.jas.buckley@hpe.com>
Configuration parameters that vary between build and production
(e.g. the API URL) can now be stored in the external `config.json`
file located alongside `index.html`. The ConfigService loads and
caches this configuration file at runtime, allowing other code
(such as the HealthService) to fetch parameters as needed.
A development-ready config file is also included in `etc/` with
default settings, and is copied into `build/` automatically when
`gulp dev` is run.
Change-Id: I42e9b73c55a1a5372401ed64e0e3f60cb57ea696