diff options
author | Tomasz Golabek <tomasz.golabek@nokia.com> | 2019-07-02 12:07:50 +0200 |
---|---|---|
committer | Oren Kleks <orenkle@amdocs.com> | 2019-07-07 12:39:11 +0000 |
commit | 6185ebc6d0e1e002029764dadd43818c71ab1120 (patch) | |
tree | 7d7336d483d7472504915a5911ef3f69db5bbfbf /openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest | |
parent | 958a87de8f3c19ce51d969047f750692da2ba833 (diff) |
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 <tomasz.golabek@nokia.com>
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest')
-rw-r--r-- | openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ProcessesImpl.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ProcessesImpl.java b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ProcessesImpl.java index bc22230dde..3a03b1f73b 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ProcessesImpl.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ProcessesImpl.java @@ -16,6 +16,8 @@ * 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.vsp.rest.services; @@ -36,8 +38,12 @@ import javax.ws.rs.core.Response; @Scope(value = "prototype") public class ProcessesImpl implements Processes { + private final ComponentProcesses componentProcesses; + @Autowired - private ComponentProcesses componentProcesses; + public ProcessesImpl(ComponentProcesses componentProcesses) { + this.componentProcesses = componentProcesses; + } @Override public Response list(String vspId, String versionId, String user) { |