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] [Updated] (EAGLE-957) Metric Explorer and Customized Dashboard Metadata Part
Date Wed, 15 Mar 2017 03:28:41 GMT

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

Hao Chen updated EAGLE-957:
---------------------------
    Description: 
# 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

# API 

    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)
  
# Example
* Create dashboard

	 	POST    /rest/dashboards

		{
		  "name": "Sample Dashboard",
		  "description": "This is a sample dashboard",
		  "settings": {
		  },
		  "charts": [
		    "{chartType: LINE}",
		    "{chartType: PIE}"
		  ]
		}

* Update dashboard

		POST    /rest/dashboards
		{
		  "uuid": "e24fd133-adc2-4dd2-b7aa-ebf4890b145a"
		  "name": "Sample Dashboard 2",
		  "description": "This is another sample dashboard"
		}

> 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
>
>
> # 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
> # API 
>     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)
>   
> # Example
> * Create dashboard
> 	 	POST    /rest/dashboards
> 		{
> 		  "name": "Sample Dashboard",
> 		  "description": "This is a sample dashboard",
> 		  "settings": {
> 		  },
> 		  "charts": [
> 		    "{chartType: LINE}",
> 		    "{chartType: PIE}"
> 		  ]
> 		}
> * Update dashboard
> 		POST    /rest/dashboards
> 		{
> 		  "uuid": "e24fd133-adc2-4dd2-b7aa-ebf4890b145a"
> 		  "name": "Sample Dashboard 2",
> 		  "description": "This is another sample dashboard"
> 		}



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

Mime
View raw message