class EtsiSol003AdapterController {

    @GetMapping(value = "/jobs/{jobId}")
    public ResponseEntity<QueryJobResponse> jobQuery(
            @ApiParam(value = "The identifier of the Job.", required = true) @PathVariable("jobId") final String jobId,
            @ApiParam(
                    value = "Used to track REST requests for logging purposes. Identifies a single top level invocation of ONAP",
                    required = false) @RequestHeader(value = ONAPLogConstants.Headers.REQUEST_ID,
                            required = false) final String requestId,
            @ApiParam(
                    value = "Used to track REST requests for logging purposes. Identifies the client application user agent or user invoking the API",
                    required = false) @RequestHeader(value = ONAPLogConstants.Headers.PARTNER_NAME,
                            required = false) final String partnerName,
            @ApiParam(
                    value = "Used to track REST requests for logging purposes. Identifies a single invocation of a single component",
                    required = false) @RequestHeader(value = ONAPLogConstants.Headers.INVOCATION_ID,
                            required = false) final String invocationId) {

        setLoggingMDCs(requestId, partnerName, invocationId);

        try {
            final QueryJobResponse response = jobManager.getVnfmOperation(jobId);
            return new ResponseEntity<>(response, HttpStatus.OK);
        } finally {
            clearLoggingMDCs();
        }
    }

    @Autowired  EtsiSol003AdapterController(final LifecycleManager lifecycleManager, final JobManager jobManager);

}