diff options
author | 2018-09-04 14:16:04 -0400 | |
---|---|---|
committer | 2018-09-05 13:24:05 -0400 | |
commit | 7fd58e9a2427a215daa6b543e901534e83d3c246 (patch) | |
tree | 196e418bee0cb53ae3af913fe9fbc93e4e9dd719 /POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates | |
parent | 2cb76b3efe8ca385da3bc5f5afc5b26a52c6fd43 (diff) |
XACML Platform Enhancements
To Support Raw Policy Creation from GUI and API.
GetDecision on combining algorithim with Policy Set.
Issue-ID: POLICY-902
Change-Id: Ie3189f8ded2e03366bc7d65d15b95b88c89b0acd
Signed-off-by: rb7147 <rb7147@att.com>
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates')
-rw-r--r-- | POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates/DecisionPolicyTemplate.html | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates/DecisionPolicyTemplate.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates/DecisionPolicyTemplate.html index 151af152d..f27d5c619 100644 --- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates/DecisionPolicyTemplate.html +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates/DecisionPolicyTemplate.html @@ -28,14 +28,14 @@ ng-model="temp.policy.policyName" required pattern="\S+" title="Enter Policy Name without any spaces and special characters and will accept _." /> </div> - <div class="form-group col-sm-6"> + <div ng-show="notRawPolicy" class="form-group col-sm-6"> <label>Description:</label> <input type="text" class="form-control" ng-disabled="temp.policy.readOnly" ng-model="temp.policy.policyDescription" title="Description field will accept any type of data." /> </div> </div> - <div class="form-group row"> + <div ng-show="notRawPolicy" class="form-group row"> <div class="form-group col-sm-6"> <label>Onap Name:<sup><b>*</b></sup></label> <select class="form-control" ng-disabled="temp.policy.readOnly" @@ -55,10 +55,23 @@ <option>Rainy_Day</option> <option>GUARD_YAML</option> <option>GUARD_BL_YAML</option> + <option>Raw</option> </select> </div> </div> </div> + <div ng-if="temp.policy.ruleProvider == 'Raw'"> + <div class="well"> + <div class="form-group row"> + <div class="form-group col-sm-12"> + <label>Raw Policy:<sup><b>*</b></sup></label> + <textarea class="form-control" ng-disabled="temp.policy.readOnly" + ng-model="temp.policy.rawXacmlPolicy" style="height: 400px;" + required title="Enter the Raw XACML Policy."></textarea> + </div> + </div> + </div> + </div> <div ng-if="temp.policy.ruleProvider == 'Rainy_Day'"> <div class="well"> <div class="form-group row"> |