From 5bb419efe574df172555263110f9492980f5d1e0 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Tue, 21 Aug 2018 15:54:11 -0400 Subject: move AAI named query The AAI vserver named-query was being done as a preliminary step for the SO request. However, it will now be needed during the guard query, which happens much earlier. Thus it has been moved from the SO classes into the event manager class, where it is retrieved in a lazy fashion and cached. Also removed some trailing white space. Update licenses. Make test method private. Change-Id: Id7353a2e0f2d42601d5142cb92961528fa21aa94 Issue-ID: POLICY-1011 Signed-off-by: Jim Hahn --- .../so/src/test/java/org/onap/policy/so/TestSoResponseWrapper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'controlloop/common/model-impl/so') diff --git a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoResponseWrapper.java b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoResponseWrapper.java index 860761a39..4f21630a2 100755 --- a/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoResponseWrapper.java +++ b/controlloop/common/model-impl/so/src/test/java/org/onap/policy/so/TestSoResponseWrapper.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * so * ================================================================================ - * + * Copyright (C) 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. @@ -54,7 +54,6 @@ public class TestSoResponseWrapper { assertEquals("id2", obj.getRequestID()); } - @SuppressWarnings("unlikely-arg-type") @Test public void testSOResponseWrapperMethods() { String requestID = UUID.randomUUID().toString(); -- cgit 1.2.3-korg