eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (EAGLE-957) Metric Explorer and Customized Dashboard Metadata Part
Date Wed, 15 Mar 2017 09:11:41 GMT

     [ https://issues.apache.org/jira/browse/EAGLE-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hao Chen resolved EAGLE-957.
----------------------------
    Resolution: Fixed

> Metric Explorer and Customized Dashboard Metadata Part
> ------------------------------------------------------
>
>                 Key: EAGLE-957
>                 URL: https://issues.apache.org/jira/browse/EAGLE-957
>             Project: Eagle
>          Issue Type: Sub-task
>          Components: Core::UI Engine
>    Affects Versions: v0.5.0
>            Reporter: Hao Chen
>            Assignee: Hao Chen
>             Fix For: v0.5.0
>
>
> h1. Add dashboard metadata entities and services
> * org.apache.eagle.metadata.model.DashboardEntity
> * org.apache.eagle.metadata.service.DashboardEntityService (Memory/JDBC)
> * org.apache.eagle.metadata.resource.DashboardResource
> h1. API 
> {code}
>     DELETE  /rest/dashboards/{uuid} (org.apache.eagle.metadata.resource.DashboardResource)
>     GET     /rest/dashboards (org.apache.eagle.metadata.resource.DashboardResource)
>     GET     /rest/dashboards/{uuidOrName} (org.apache.eagle.metadata.resource.DashboardResource)
>     POST    /rest/dashboards (org.apache.eagle.metadata.resource.DashboardResource)
> {code}
>   
> h1. Example
> * Create dashboard
> {code}
> 	 	POST    /rest/dashboards
> 		{
> 		  "name": "Sample Dashboard",
> 		  "description": "This is a sample dashboard",
> 		  "settings": {
> 		  },
> 		  "charts": [
> 		    "{chartType: LINE}",
> 		    "{chartType: PIE}"
> 		  ]
> 		}
> {code}
> * Update dashboard
> {code}
> 		POST    /rest/dashboards
> 		{
> 		  "uuid": "e24fd133-adc2-4dd2-b7aa-ebf4890b145a"
> 		  "name": "Sample Dashboard 2",
> 		  "description": "This is another sample dashboard"
> 		}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message