From 6185ebc6d0e1e002029764dadd43818c71ab1120 Mon Sep 17 00:00:00 2001 From: Tomasz Golabek Date: Tue, 2 Jul 2019 12:07:50 +0200 Subject: Autowired annotation for openecomp-be Injection of the properties moved to the constructor replacing field annotations. Change-Id: I5ea031c9ab414859d810cb8686de3ce6ccebfd0a Issue-ID: SDC-2406 Signed-off-by: Tomasz Golabek --- .../sdcrests/externaltesting/rest/services/ExternalTestingImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/externaltesting-rest') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/externaltesting-rest/externaltesting-rest-services/src/main/java/org/openecomp/sdcrests/externaltesting/rest/services/ExternalTestingImpl.java b/openecomp-be/api/openecomp-sdc-rest-webapp/externaltesting-rest/externaltesting-rest-services/src/main/java/org/openecomp/sdcrests/externaltesting/rest/services/ExternalTestingImpl.java index 4e8134ff69..1ce89b6748 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/externaltesting-rest/externaltesting-rest-services/src/main/java/org/openecomp/sdcrests/externaltesting/rest/services/ExternalTestingImpl.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/externaltesting-rest/externaltesting-rest-services/src/main/java/org/openecomp/sdcrests/externaltesting/rest/services/ExternalTestingImpl.java @@ -12,6 +12,9 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * ============LICENSE_END========================================================= + * Modifications copyright (c) 2019 Nokia + * ================================================================================ */ package org.openecomp.sdcrests.externaltesting.rest.services; @@ -39,7 +42,7 @@ import java.util.stream.Collectors; @Scope(value = "prototype") public class ExternalTestingImpl implements ExternalTesting { - private ExternalTestingManager testingManager; + private final ExternalTestingManager testingManager; private static final Logger logger = LoggerFactory.getLogger(ExternalTestingImpl.class); -- cgit 1.2.3-korg