X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=POLICY-SDK-APP%2Fsrc%2Fmain%2Fwebapp%2Fapp%2FpolicyApp%2Fpolicy-models%2FEditor%2FPolicyTemplates%2FDCAEMicroServicePolicyTemplate.html;h=63c129d858c1040ce0ecb0212aa8b362bf7d2c3d;hb=5805752884388261d7183e88a8ae633ebf3a46d6;hp=5c0aa9fbd14bf041e9c06bc5307d2f77362fc06b;hpb=84b95a134c61217667b7eb7b7e774a485d2406ba;p=policy%2Fengine.git
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates/DCAEMicroServicePolicyTemplate.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates/DCAEMicroServicePolicyTemplate.html
index 5c0aa9fbd..63c129d85 100644
--- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates/DCAEMicroServicePolicyTemplate.html
+++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplates/DCAEMicroServicePolicyTemplate.html
@@ -7,12 +7,13 @@
class="form-control" ng-disabled="temp.policy.readOnly"
ng-readonly="temp.policy.editPolicy"
ng-model="temp.policy.policyName" required pattern="\S+"
- title="Enter the Policy Name without any spaces" />
+ title="Enter Policy Name without any spaces and special characters and will accept _." />
+ ng-model="temp.policy.policyDescription"
+ title="Description field will accept any type of data."/>
@@ -21,18 +22,18 @@
class="form-control" ng-disabled="temp.policy.readOnly"
ng-model="temp.policy.onapName"
ng-options="option for option in onapNameDictionaryDatas track by option"
- required pattern="\S+" title="OnapName is required">
+ required pattern="\S+" title="Select the dropdown value driven from OnapName (common)Dictionary.">
+ ng-model="temp.policy.ttlDate" title="Select the date from calender onclick on the field."/>
@@ -41,7 +42,7 @@
class="form-control" ng-disabled="temp.policy.readOnly"
ng-model="temp.policy.riskType"
ng-options="option for option in riskTypeDictionaryDatas track by option"
- required pattern="\S+" title="RiskType is required">
+ required pattern="\S+" title="Select the dropdown value driven from RiskType (Safe Policy)Dictionary.">
@@ -49,7 +50,7 @@
@@ -70,7 +71,8 @@
ng-model="temp.policy.serviceType"
ng-options="option for option in microServiceModelsDictionaryDatas track by option"
ng-init="pullVersion(temp.policy.serviceType);"
- ng-click="pullVersion(temp.policy.serviceType);">
+ ng-click="pullVersion(temp.policy.serviceType);"
+ title="Select the dropdown value driven from MicroService Models (MicroService Policy)Dictionary.">
+ ng-change="addDataToFields(temp.policy.serviceType, temp.policy.version);"
+ title="Select the dropdown value driven based on MicroService Models (MicroService Policy)Dictionary selection.">
@@ -93,26 +96,30 @@
class="form-control" class="form-control"
ng-disabled="temp.policy.readOnly"
ng-model="temp.policy.configName"
- ng-options="option for option in microServiceCongigNameDictionaryDatas track by option">
+ ng-options="option for option in microServiceCongigNameDictionaryDatas track by option" required="true"
+ title="Select the dropdown value driven from MicroService ConfigName (MicroService Policy)Dictionary.">
+ ng-options="option for option in microServiceLocationDictionaryDatas track by option" required="true"
+ title="Select the dropdown value driven from MicroService Location (MicroService Policy)Dictionary.">
+ ng-options="option for option in dcaeUUIDDictionaryDatas track by option" required="true"
+ title="Select the dropdown value driven from DCAE UUID (MicroService Policy)Dictionary.">
+ ng-options="option for option in groupPolicyScopeListDatas track by option" required="true"
+ title="Select the dropdown value driven from Group Policy Scope (Policy Scope)Dictionary.">