Skip to content

NipunaMarcus/carbon-dashboards

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UUF Portal

UUF Portal is UUF based carbon-dashboard component which runs on WSO2 Carbon 5.

Architecture

There won't be single app which develop for dashboard related tasks. There will be components for each of major areas which listed below.

  1. Dashboard Viewer
  2. Dashboard Editor
  3. Widget Generation

Dashboard JSON

Dashboard related data is stored in a json format for easy readability and configurability.

{
        "name": "",
        "id": "",
        "version": "",
        "description": "",
        "blocks": [{
            "height": 0,
            "id": "",
            "width": 0,
            "x": 0,
            "y": 0
        }, {
            "height": 0,
            "id": "",
            "width": 0,
            "x": 0,
            "y": 0
        }, {
            "height": 0,
            "id": "",
            "width": 0,
            "x": 0,
            "y": 0
        }],
        "widgets": {
          "a": {
            "id": "",
            "url": "",
            "permission": []
          },
          "b": {
            "id": "",
            "url": "",
            "permission": []
          },
          "c": {
            "id": "",
            "url": "",
            "permission": []
          }
        },
        "permission": {
            "editor": [],
            "viewer": [],
            "owner": []
        }
}

This json can be extended as to the changes in requirements that will come in future.

Installation

To Install Portal app which contains the dashboard viewer component follow the guidelines provided below.

  1. build carbon-dashboard:uuf-portal branch using mvn clean install
  2. build product which has portal app(org.wso2.carbon.dashboards.portal.feature) installed as a feature.
  3. get the product pack, extract it and run using shell file inside bin folder. (./carbon.sh or ./wso2server.sh)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.5%
  • CSS 33.0%
  • HTML 7.5%