[POLICY-73] replace openecomp for policy-engine
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / policy-models / Editor / PolicyTemplateController / BaseConfigPolicyController.js
index 9dc7e92..54ce401 100644 (file)
@@ -1,6 +1,6 @@
 /*-
  * ============LICENSE_START=======================================================
- * ECOMP Policy Engine
+ * ONAP Policy Engine
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
@@ -37,12 +37,12 @@ app.controller('baseConfigController', ['$scope', 'PolicyAppService', 'policyNav
         return $('#' + id).modal(hide ? 'hide' : 'show');
     };
     
-    PolicyAppService.getData('getDictionary/get_EcompNameDataByName').then(function (data) {
+    PolicyAppService.getData('getDictionary/get_OnapNameDataByName').then(function (data) {
        var j = data;  
        $scope.data = JSON.parse(j.data);
        console.log($scope.data);
-       $scope.ecompNameDictionaryDatas = JSON.parse($scope.data.ecompNameDictionaryDatas);
-       console.log($scope.ecompNameDictionaryDatas);
+       $scope.onapNameDictionaryDatas = JSON.parse($scope.data.onapNameDictionaryDatas);
+       console.log($scope.onapNameDictionaryDatas);
     }, function (error) {
        console.log("failed");
     });