Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / fusionapp / drools / view-models / droolsView.html
1 <!--
2   ================================================================================
3   eCOMP Portal SDK
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ================================================================================
19   -->
20 <div ng-controller="droolsViewController" class="modal__informative font-showcase">
21
22 <h1 class="heading1" style="margin-top:20px;">Drools Rule Engine</h1>
23       <br>
24                 Please enter below details:<br/>
25
26             <div class="fn-ebz-container">
27                   Drools File:<br/>
28                   <input class="fn-ebz-text" type="text"   ng-model="postDroolsBean.droolsFile" value="" size="25">
29             </div>
30             
31             <div class="fn-ebz-container">
32                   Class Name:<br/>
33                   <input class="fn-ebz-text" type="text" ng-model="postDroolsBean.className" value="" size="25">
34             </div>
35           
36             <div class="fn-ebz-container">
37                   Selected Rules:<br/>
38                   <input class="fn-ebz-text" type="text" ng-model="postDroolsBean.selectedRules" value="" size="25">
39             </div>
40          
41             
42                 <div>
43                         <input att-button btn-type="primary" size="small" class="button" type="submit" value="Execute Rules" ng-click="execute(postDroolsBean);" />
44                 </div>
45                 <br>
46                 {{resultsString}}
47         <br>
48         <br>
49         <br>
50         <br>
51         <br>
52         <br>
53         <br>
54         <br>
55         <br>
56         
57       
58       
59       
60 </div>
61