diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2021-06-23 11:05:05 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2021-06-23 11:19:18 -0400 |
commit | 8e0aa0ffa5cef537de1c841acf38300832c52a56 (patch) | |
tree | d944e87a6c10068c390586f71e9ff66b6f685be3 /applications/native/src/main | |
parent | 616e366adfff4ca35fb194cead8ab1de800ef35b (diff) |
Use protected methods vs private
Application and common code in xacml-pdp is meant to be
available for developers to re-use and/or extend as desired.
Private methods are unnecessary at this time, but could be
re-visited in a later release.
For Honolulu, simply moving to protected to keep functionality
the same. Possibly for Istanbul we can make more changes to
support mixing of ONAP application with custom applications
during runtime.
Issue-ID: POLICY-3305
Change-Id: I6db23bda3c81fdbbf86e39cc2cd2e706d8bee63d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'applications/native/src/main')
-rw-r--r-- | applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java b/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java index 34ef1462..de5030e4 100644 --- a/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java +++ b/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2020 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -85,7 +85,7 @@ public class NativePdpApplicationTranslator implements ToscaPolicyTranslator { } } - private String getNativeXacmlPolicy(ToscaPolicy toscaPolicy) throws ToscaPolicyConversionException { + protected String getNativeXacmlPolicy(ToscaPolicy toscaPolicy) throws ToscaPolicyConversionException { Map<String, Object> propertyMap = toscaPolicy.getProperties(); if (MapUtils.isEmpty(propertyMap) || !propertyMap.containsKey(POLICY)) { |