UUF Portal is UUF based carbon-dashboard component which runs on WSO2 Carbon 5.
There won't be single app which develop for dashboard related tasks. There will be components for each of major areas which listed below.
- Dashboard Viewer
- Dashboard Editor
- Widget Generation
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.
To Install Portal app which contains the dashboard viewer component follow the guidelines provided below.
- build carbon-dashboard:uuf-portal branch using
mvn clean install
- build product which has portal app(org.wso2.carbon.dashboards.portal.feature) installed as a feature.
- get the product pack, extract it and run using shell file inside bin folder.
(
./carbon.sh
or./wso2server.sh
)