This repository has been archived by the owner. It is now read-only.
Dashboard widget for hawtio 2.x that can embed various views on a single page
TypeScript HTML JavaScript CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

hawtio-dashboard

Circle CI

Live Demo

View Demo

About

This module contains the dashboard widget for hawtio v2.

Out of the box the backend used to store dashboards is in browser local storage. However it's easily possible to override this storage method with any other backend, for example:

  var _module = angular.module('MyThing', []);
  _module.config(['$provide', function($provide) {

    // Inject the 'DefaultDashboards' service to get a handle on any default dashboard configs
    // that plugins register
    $provide.decorator('dashboardRepository', ['$delegate', 'DefaultDashboards', function($delegate, defaults) {
      var myDashboard = {
        // implement the DashboardRepository interface here
      }
      return myDashboard

    }]);
  }]);

The interface that the dashboardRepository service needs to implement is defined here

Working on the code

Have a look at the hawtio 2.x overview document under "Getting Started" specifically.