File tree Expand file tree Collapse file tree 5 files changed +659
-5
lines changed
java/com/ericsson/ei/frontend Expand file tree Collapse file tree 5 files changed +659
-5
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,13 @@ public String forgotPassword(Model model) {
97
97
return "forgot-password" ;
98
98
}
99
99
100
+ // Added documentation for JMESPath rules usage
101
+ @ RequestMapping ("/jmesPathRulesSetUp.html" )
102
+ public String jmesPathRulesSetUp (Model model ) {
103
+
104
+ return "jmesPathRulesSetUp" ;
105
+ }
106
+
100
107
// Backend host and port (Getter & Setters), application.properties ->
101
108
// greeting.xxx
102
109
public String getFrontendServiceHost () {
Original file line number Diff line number Diff line change @@ -50,7 +50,17 @@ jQuery(document).ready(function() {
50
50
51
51
loadMainPage ( ) ;
52
52
}
53
-
53
+
54
+ function loadJmesPathRulesSetUpPage ( ) {
55
+
56
+ $ ( "#mainFrame" ) . load ( "jmesPathRulesSetUp.html" ) ;
57
+ }
58
+
59
+ document . getElementById ( "jmesPathRulesSetUpBtn" ) . onclick = function ( ) {
60
+
61
+ loadJmesPathRulesSetUpPage ( ) ;
62
+ }
63
+
54
64
function loadDocumentLinks ( ) {
55
65
// eiffelDocumentationUrlLinks variable is configure in application.properties
56
66
var linksList = JSON . parse ( eiffelDocumentationUrlLinks ) ;
Original file line number Diff line number Diff line change @@ -88,9 +88,9 @@ template_vars["templateRestPostJsonRAWBodyTrigger"] =
88
88
template_vars [ "templateEmailTrigger" ] =
89
89
[ {
90
90
"created" : "" ,
91
- "notificationMeta" : "http://<MyHost:port>/api/doit " ,
92
- "notificationType" : "REST_POST " ,
93
- "restPostBodyMediaType" : "application/json " ,
91
+ "notificationMeta" : "mymail@company.com " ,
92
+ "notificationType" : "MAIL " ,
93
+ "restPostBodyMediaType" : "" ,
94
94
"notificationMessageKeyValues" : [
95
95
{
96
96
"formkey" : "" ,
@@ -107,5 +107,5 @@ template_vars["templateEmailTrigger"] =
107
107
]
108
108
}
109
109
] ,
110
- "subscriptionName" : "<Subscription_Template_Rest_Post_Raw_Body_Json_Trigger >"
110
+ "subscriptionName" : "<Subscription_Template_Mail_Trigger >"
111
111
} ] ;
Original file line number Diff line number Diff line change 50
50
< span class ="nav-link-text "> Test Rules</ span >
51
51
</ a >
52
52
</ li >
53
+ < li id ="jmesPathRulesSetUpBtn " class ="nav-item " data-toggle ="tooltip " data-placement ="right ">
54
+ < a class ="nav-link " href ="# ">
55
+ < i class ="fa fa-fw fa-dashboard "> </ i >
56
+ < span class ="nav-link-text "> Description</ span >
57
+ </ a >
58
+ </ li >
53
59
< li id ="eiInfoBtn " class ="nav-item " data-toggle ="tooltip " data-placement ="right " title ="Eiffel Intelligence Information ">
54
60
< a class ="nav-link " href ="# ">
55
61
< i class ="fa fa-fw fa-dashboard "> </ i >
You can’t perform that action at this time.
0 commit comments