From: uj426b Date: Thu, 16 Apr 2020 19:43:34 +0000 (-0400) Subject: Fix for blank onapName and partial dictionary X-Git-Tag: 1.6.3~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=commitdiff_plain;h=refs%2Fchanges%2F52%2F106152%2F1 Fix for blank onapName and partial dictionary Issue-ID: POLICY-2492 Change-Id: I329f6ab38d68887139f1d198a6777917fbd0fb28 Signed-off-by: uj426b --- diff --git a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryController.java b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryController.java index e2e2e3872..2c0278ed5 100644 --- a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryController.java +++ b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryController.java @@ -55,7 +55,7 @@ public class DictionaryController { private static String operation = "operation"; private static String dictionaryFields = "dictionaryFields"; private static String duplicateResponseString = "Duplicate"; - private static String onapName = "onapName"; + private static String onapName = "name"; private static String attributeDatas = "attributeDictionaryDatas"; private static String onapNameDatas = "onapNameDictionaryDatas"; diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/onapNameDictGridController.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/onapNameDictGridController.js index 41f033330..6727a7a30 100644 --- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/onapNameDictGridController.js +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/onapNameDictGridController.js @@ -58,7 +58,7 @@ app.controller('onapNameDictGridController', function ($scope, PolicyAppService, ' ' + ' ', width: '8%' }, - { field: 'onapName', displayName : 'Onap Name', sort: { direction: 'asc', priority: 0 } }, + { field: 'name', displayName : 'Onap Name', sort: { direction: 'asc', priority: 0 } }, { field: 'description', width: '20%' }, {field: 'userCreatedBy.userName', displayName : 'Created By'}, {field: 'userModifiedBy.userName', displayName : 'Modified By' },