Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-analytics
Commits
616ab5c4
Commit
616ab5c4
authored
3 years ago
by
Darshan M N
Browse files
Options
Download
Patches
Plain Diff
Cumulative Visualization has been added
parent
f4dfd985
master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/resources/schema/SMF_ChartApiConfig.json
+30
-0
src/main/resources/schema/SMF_ChartApiConfig.json
src/main/resources/schema/SMF_MasterDashboardConfig.json
+22
-0
src/main/resources/schema/SMF_MasterDashboardConfig.json
with
52 additions
and
0 deletions
+52
-0
src/main/resources/schema/SMF_ChartApiConfig.json
+
30
−
0
View file @
616ab5c4
...
...
@@ -143,5 +143,35 @@
"alwaysView"
:
""
,
"insight"
:
{},
"_comment"
:
" "
},
"applicationSubmittedVsInspected"
:
{
"chartName"
:
"Applications Submitted Vs Inspected"
,
"queries"
:
[
{
"module"
:
"COMMON"
,
"requestQueryMap"
:
"{
\r\n
\"
ts
\"
:
\"
timestamp
\"
}"
,
"dateRefField"
:
"timestamp"
,
"indexName"
:
"fs-forms-data"
,
"esInstance"
:
"QUADNARY"
,
"aggrQuery"
:
"{
\"
aggs
\"
:{
\"
Application Submission Trend
\"
:{
\"
date_histogram
\"
:{
\"
field
\"
:
\"
timestamp
\"
,
\"
interval
\"
:
\"
week
\"
},
\"
aggs
\"
:{
\"
count
\"
:{
\"
cardinality
\"
:{
\"
field
\"
:
\"
_id
\"
}}}},
\"
Application Inspection Trend
\"
:{
\"
date_histogram
\"
:{
\"
field
\"
:
\"
inspection.inspectionCompletedDate
\"
,
\"
interval
\"
:
\"
week
\"
},
\"
aggs
\"
:{
\"
count
\"
:{
\"
cardinality
\"
:{
\"
field
\"
:
\"
_id
\"
}}}}}}"
}
],
"chartType"
:
"line"
,
"resultType"
:
"doc_count"
,
"valueType"
:
"number"
,
"isDecimal"
:
true
,
"action"
:
""
,
"filter"
:
""
,
"drillChart"
:
"none"
,
"documentType"
:
"_doc"
,
"aggregationPaths"
:
[
"Application Submission Trend"
,
"Application Inspection Trend"
],
"isCumulative"
:
true
,
"interval"
:
"day"
,
"alwaysView"
:
""
,
"insight"
:
{},
"_comment"
:
" "
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/resources/schema/SMF_MasterDashboardConfig.json
+
22
−
0
View file @
616ab5c4
...
...
@@ -128,6 +128,28 @@
"headers"
:
[]
}
]
},
{
"id"
:
111
,
"name"
:
"Applications Submitted vs Inspected"
,
"description"
:
"Gives a contrast of submitted applications and inspected application in a cumulative view"
,
"dimensions"
:
{
"height"
:
250
,
"width"
:
4
},
"vizType"
:
"chart"
,
"noUnit"
:
true
,
"isCollapsible"
:
false
,
"charts"
:
[
{
"id"
:
"applicationSubmittedVsInspected"
,
"name"
:
"Applications Submitted vs Inspected"
,
"code"
:
""
,
"chartType"
:
"line"
,
"filter"
:
""
,
"headers"
:
[]
}
]
}
]
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets