[ANALYTICS-139] Research. Creating dashboard yaml storage approach Created: 14/Apr/20 Updated: 07/May/21 Resolved: 28/Apr/20 |
|
| Status: | Closed |
| Project: | Analytics |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Oanh Thai Hoang | Assignee: | Oanh Thai Hoang |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2d 6.5h | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Epic Link: | Analytics UI dashboard | ||||||||
| Sprint: | Add-Ons 36 | ||||||||
| Story Points: | 5 | ||||||||
| Description |
|
Magnolia don't provide creating yaml file system for user so we need to store generated dashboard yaml in Resource? Case 1: Create new dashboard from UI Case 2: Edit existing dashboard (classpath/yaml file system/ yaml file in resource)
|
| Comments |
| Comment by Oanh Thai Hoang [ 28/Apr/20 ] |
|
Research output branch: https://git.magnolia-cms.com/projects/ADDON/repos/analytics/compare/commits?sourceBranch=refs%2Fheads%2Fanalytics-flex-layout-oanh&targetRepoId=3247.
General output is provide a bean to map transform through BeanMapRawView to align with magnolia format. Output is a dashboard yaml is stored in Resource and automatically register to DashboardRegistry
Demo link: https://drive.google.com/open?id=1YmoXncta1VFcDsNX9PwPHWXbMZBN8ZEA |