Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Code Clean Up for Policy PAP-REST
[policy/engine.git]
/
POLICY-SDK-APP
/
src
/
main
/
webapp
/
app
/
policyApp
/
controller
/
dictionaryGridController
/
MSConfigNameDictGridController.js
diff --git
a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/MSConfigNameDictGridController.js
b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/MSConfigNameDictGridController.js
index
8b4d014
..
295d1b8
100644
(file)
--- a/
POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/MSConfigNameDictGridController.js
+++ b/
POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/MSConfigNameDictGridController.js
@@
-2,7
+2,7
@@
* ============LICENSE_START=======================================================
* ONAP Policy Engine
* ================================================================================
* ============LICENSE_START=======================================================
* ONAP Policy Engine
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * 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.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-24,8
+24,8
@@
app.controller('msConfigNameDictGridController', function ($scope, PolicyAppServ
var j = data;
$scope.data = JSON.parse(j.data);
console.log($scope.data);
var j = data;
$scope.data = JSON.parse(j.data);
console.log($scope.data);
- $scope.microServiceCon
gigNameDictionaryDatas = JSON.parse($scope.data.microServiceCong
igNameDictionaryDatas);
- console.log($scope.microServiceCon
g
igNameDictionaryDatas);
+ $scope.microServiceCon
figNameDictionaryDatas = JSON.parse($scope.data.microServiceConf
igNameDictionaryDatas);
+ console.log($scope.microServiceCon
f
igNameDictionaryDatas);
}, function (error) {
console.log("failed");
});
}, function (error) {
console.log("failed");
});
@@
-69,7
+69,7
@@
app.controller('msConfigNameDictGridController', function ($scope, PolicyAppServ
resolve: {
message: function () {
var message = {
resolve: {
message: function () {
var message = {
- microServiceCon
g
igNameDictionaryDatas: $scope.editMSConfig
+ microServiceCon
f
igNameDictionaryDatas: $scope.editMSConfig
};
return message;
}
};
return message;
}
@@
-77,12
+77,12
@@
app.controller('msConfigNameDictGridController', function ($scope, PolicyAppServ
});
modalInstance.result.then(function(response){
console.log('response', response);
});
modalInstance.result.then(function(response){
console.log('response', response);
- $scope.microServiceCon
gigNameDictionaryDatas=response.microServiceCong
igNameDictionaryDatas;
+ $scope.microServiceCon
figNameDictionaryDatas=response.microServiceConf
igNameDictionaryDatas;
});
};
});
};
- $scope.editMSConfigNameWindow = function(microServiceCon
g
igNameDictionaryData) {
- $scope.editMSConfig = microServiceCon
g
igNameDictionaryData;
+ $scope.editMSConfigNameWindow = function(microServiceCon
f
igNameDictionaryData) {
+ $scope.editMSConfig = microServiceCon
f
igNameDictionaryData;
var modalInstance = $modal.open({
backdrop: 'static', keyboard: false,
templateUrl : 'add_msConfigName_popup.html',
var modalInstance = $modal.open({
backdrop: 'static', keyboard: false,
templateUrl : 'add_msConfigName_popup.html',
@@
-90,7
+90,7
@@
app.controller('msConfigNameDictGridController', function ($scope, PolicyAppServ
resolve: {
message: function () {
var message = {
resolve: {
message: function () {
var message = {
- microServiceCon
g
igNameDictionaryData: $scope.editMSConfig
+ microServiceCon
f
igNameDictionaryData: $scope.editMSConfig
};
return message;
}
};
return message;
}
@@
-98,7
+98,7
@@
app.controller('msConfigNameDictGridController', function ($scope, PolicyAppServ
});
modalInstance.result.then(function(response){
console.log('response', response);
});
modalInstance.result.then(function(response){
console.log('response', response);
- $scope.microServiceCon
gigNameDictionaryDatas = response.microServiceCong
igNameDictionaryDatas;
+ $scope.microServiceCon
figNameDictionaryDatas = response.microServiceConf
igNameDictionaryDatas;
});
};
});
};
@@
-114,7
+114,7
@@
app.controller('msConfigNameDictGridController', function ($scope, PolicyAppServ
contentType: 'application/json',
data: JSON.stringify(postData),
success : function(data){
contentType: 'application/json',
data: JSON.stringify(postData),
success : function(data){
- $scope.$apply(function(){$scope.microServiceCon
gigNameDictionaryDatas=data.microServiceCong
igNameDictionaryDatas;});
+ $scope.$apply(function(){$scope.microServiceCon
figNameDictionaryDatas=data.microServiceConf
igNameDictionaryDatas;});
},
error : function(data){
console.log(data);
},
error : function(data){
console.log(data);