commit | 6329d5933f064f9418b300ef87235681fabd717d | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Mon Feb 25 11:36:23 2019 -0500 |
committer | Jim Hahn <jrh3@att.com> | Mon Feb 25 12:47:32 2019 -0500 |
tree | 1f8a914b40a385110dc4fd1998685156d375dee2 | |
parent | 92eabbc64c1ea6f6bfe6df979ccc487e99e806be [diff] |
Replace static methods with single getInstance Some of the PAP classes use a number of static methods. These have been modified to use regular, non-static methods, a single static method, getInstance. Also modified PapStatisticsManager so its methods are thread safe. Changed "instance" to "current" for the activator, as it may be changed. Fix new checkstyle issues. Updated copyrights. Renamed test class to be consistent. Added test for getCurrent/setCurrent and isAlive. Change-Id: Id6df55fa4c116852032ad61f80f899fcd292f864 Issue-ID: POLICY-1444 Signed-off-by: Jim Hahn <jrh3@att.com>
Copyright 2017-2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy Administration Point Backend code.
To build it using Maven 3, run: mvn clean install