diff options
author | Jim Hahn <jrh3@att.com> | 2019-01-11 11:46:55 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-01-11 11:46:55 -0500 |
commit | 4b3d5ae4a7ae81dc337c81abc282d1e2fa7213c5 (patch) | |
tree | f7eeb9c24153882dbc110f41bba405bf4c6543ca /controlloop/common/simulators/src/main | |
parent | 7264e7361fe0366e8f0298a74b28dc2b86946600 (diff) |
Remove model-impl/so checkstyle suppressions
Renamed classes from "SOxxx" to "SoXxx". Also renamed a few method
names to make them camelcase, too.
Updated drl files with above changes.
Change-Id: I06aa303a20911733f870947c55e01f3a2dc66fa3
Issue-ID: POLICY-1143
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/common/simulators/src/main')
-rw-r--r-- | controlloop/common/simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/controlloop/common/simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java b/controlloop/common/simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java index c99fc12bb..d7d93957f 100644 --- a/controlloop/common/simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java +++ b/controlloop/common/simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * simulators * ================================================================================ - * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2019 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. @@ -28,10 +28,10 @@ import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; -import org.onap.policy.so.SORequest; -import org.onap.policy.so.SORequestReferences; -import org.onap.policy.so.SORequestStatus; -import org.onap.policy.so.SOResponse; +import org.onap.policy.so.SoRequest; +import org.onap.policy.so.SoRequestReferences; +import org.onap.policy.so.SoRequestStatus; +import org.onap.policy.so.SoResponse; @Path("/serviceInstantiation") public class SoSimulatorJaxRs { @@ -49,15 +49,15 @@ public class SoSimulatorJaxRs { @Produces("application/json") public String soPostQuery(@PathParam("serviceInstanceId") final String serviceInstanceId, @PathParam("vnfInstanceId") final String vnfInstanceId) { - final SORequest request = new SORequest(); - final SORequestStatus requestStatus = new SORequestStatus(); + final SoRequest request = new SoRequest(); + final SoRequestStatus requestStatus = new SoRequestStatus(); requestStatus.setRequestState("COMPLETE"); request.setRequestStatus(requestStatus); request.setRequestId(UUID.randomUUID()); - final SOResponse response = new SOResponse(); + final SoResponse response = new SoResponse(); - final SORequestReferences requestReferences = new SORequestReferences(); + final SoRequestReferences requestReferences = new SoRequestReferences(); final String requestId = UUID.randomUUID().toString(); requestReferences.setRequestId(requestId); response.setRequestReferences(requestReferences); |