Fix Policy GUI Template Issue
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / policy-models / Editor / PolicyTemplates / DCAEMicroServicePolicyTemplate.html
index 9ce936e..6008033 100644 (file)
@@ -1,3 +1,22 @@
+<!--
+  ============LICENSE_START==================================================
+  ONAP Policy Engine
+  ===========================================================================
+  Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
+  ===========================================================================
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  ============LICENSE_END====================================================
+  -->
 <div ng-controller="dcaeMicroServiceController">
        <form>
                <div class="well">
                                                title="Select the dropdown value driven from MicroService Models (MicroService Policy)Dictionary."></select>
                                </div>
                                <div class="form-group col-sm-3">
-                                       <label>Micro Service Version:<sup><b>*</b></sup></label> <select
+                                           <label id="msVersion"><span id="msPolicyloader" class = "msloader" style="visibility:hidden;"></span>Micro Service Version: * </label> <select
                                                class="form-control" ng-disabled="temp.policy.readOnly"
                                                ng-model="temp.policy.version"
                                                ng-options="option for option in microServiceModelsDictionaryVersionDatas track by option"
                                                ng-init="addDataToFields(temp.policy.serviceType, temp.policy.version);"
-                                               ng-click="addDataToFields(temp.policy.serviceType, temp.policy.version);"
+                                               ng-change="addDataToFields(temp.policy.serviceType, temp.policy.version);"
                                                title="Select the dropdown value driven based on MicroService Models (MicroService Policy)Dictionary selection."></select>
                                </div>
                        </div>