Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: dseurotech <[email protected]>
  • Loading branch information
dseurotech committed May 21, 2024
1 parent a3dc144 commit 8b30561
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 2,998 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

2,829 changes: 0 additions & 2,829 deletions graph.svg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
package org.eclipse.kapua.job.engine.app.core.jackson;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.eclipse.kapua.commons.rest.model.IsJobRunningResponse;

import org.eclipse.kapua.job.engine.JobStartOptions;
import org.eclipse.kapua.job.engine.IsJobRunningResponse;
import org.eclipse.kapua.job.engine.app.core.jackson.mixin.IsJobRunningResponseMixin;
import org.eclipse.kapua.job.engine.app.core.jackson.mixin.JobStartOptionsMixin;
import org.eclipse.kapua.job.engine.app.core.jackson.mixin.JobStepPropertyMixin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@
*******************************************************************************/
package org.eclipse.kapua.job.engine.app.resources;

import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.commons.rest.model.IsJobRunningMultipleResponse;
import org.eclipse.kapua.commons.rest.model.IsJobRunningResponse;
import org.eclipse.kapua.commons.rest.model.MultipleJobIdRequest;
import org.eclipse.kapua.job.engine.JobEngineService;
import org.eclipse.kapua.job.engine.JobStartOptions;
import org.eclipse.kapua.model.id.KapuaId;
import org.glassfish.jersey.process.internal.RequestScoped;

import javax.inject.Inject;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
Expand All @@ -29,6 +20,15 @@
import javax.ws.rs.PathParam;
import javax.ws.rs.core.MediaType;

import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.job.engine.IsJobRunningMultipleResponse;
import org.eclipse.kapua.job.engine.IsJobRunningResponse;
import org.eclipse.kapua.job.engine.JobEngineService;
import org.eclipse.kapua.job.engine.JobStartOptions;
import org.eclipse.kapua.job.engine.MultipleJobIdRequest;
import org.eclipse.kapua.model.id.KapuaId;
import org.glassfish.jersey.process.internal.RequestScoped;

@SuppressWarnings("RestParamTypeInspection")
@Path("/")
@RequestScoped
Expand Down Expand Up @@ -69,7 +69,7 @@ public void startJob(@PathParam("scopeId") KapuaId scopeId, @PathParam("jobId")

@POST
@Path("start-with-options/{scopeId}/{jobId}")
@Consumes({MediaType.APPLICATION_JSON})
@Consumes({ MediaType.APPLICATION_JSON })
public void startJob(@PathParam("scopeId") KapuaId scopeId, @PathParam("jobId") KapuaId jobId, JobStartOptions jobStartOptions) throws KapuaException {
jobEngineService.startJob(scopeId, jobId, jobStartOptions);
}
Expand Down
16 changes: 0 additions & 16 deletions job-engine/app/web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,6 @@
<groupId>org.eclipse.kapua</groupId>
<artifactId>kapua-device-call-kura</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.eclipse.kapua</groupId>-->
<!-- <artifactId>kapua-security-registration-simple</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.eclipse.kapua</groupId>-->
<!-- <artifactId>kapua-device-registry-internal</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.eclipse.kapua</groupId>-->
<!-- <artifactId>kapua-device-management-all-api</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.eclipse.kapua</groupId>-->
<!-- <artifactId>kapua-device-management-all-internal</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>org.eclipse.kapua</groupId>
<artifactId>kapua-device-management-all-job</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
import org.eclipse.kapua.KapuaErrorCodes;
import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.KapuaRuntimeException;
import org.eclipse.kapua.commons.rest.model.IsJobRunningMultipleResponse;
import org.eclipse.kapua.commons.rest.model.IsJobRunningResponse;
import org.eclipse.kapua.commons.rest.model.MultipleJobIdRequest;
import org.eclipse.kapua.commons.rest.model.errors.CleanJobDataExceptionInfo;
import org.eclipse.kapua.commons.rest.model.errors.EntityNotFoundExceptionInfo;
import org.eclipse.kapua.commons.rest.model.errors.ExceptionInfo;
Expand All @@ -52,8 +49,11 @@
import org.eclipse.kapua.commons.rest.model.errors.JobStartingExceptionInfo;
import org.eclipse.kapua.commons.rest.model.errors.JobStoppingExceptionInfo;
import org.eclipse.kapua.commons.util.xml.XmlUtil;
import org.eclipse.kapua.job.engine.IsJobRunningMultipleResponse;
import org.eclipse.kapua.job.engine.IsJobRunningResponse;
import org.eclipse.kapua.job.engine.JobEngineService;
import org.eclipse.kapua.job.engine.JobStartOptions;
import org.eclipse.kapua.job.engine.MultipleJobIdRequest;
import org.eclipse.kapua.job.engine.client.filter.SessionInfoFilter;
import org.eclipse.kapua.job.engine.client.settings.JobEngineClientSetting;
import org.eclipse.kapua.job.engine.client.settings.JobEngineClientSettingKeys;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
import org.eclipse.kapua.app.api.core.model.EntityId;
import org.eclipse.kapua.app.api.core.model.ScopeId;
import org.eclipse.kapua.app.api.core.resources.AbstractKapuaResource;
import org.eclipse.kapua.commons.rest.model.IsJobRunningMultipleResponse;
import org.eclipse.kapua.commons.rest.model.IsJobRunningResponse;
import org.eclipse.kapua.commons.rest.model.MultipleJobIdRequest;
import org.eclipse.kapua.job.engine.IsJobRunningMultipleResponse;
import org.eclipse.kapua.job.engine.IsJobRunningResponse;
import org.eclipse.kapua.job.engine.JobEngineService;
import org.eclipse.kapua.job.engine.JobStartOptions;
import org.eclipse.kapua.job.engine.MultipleJobIdRequest;
import org.eclipse.kapua.job.engine.exception.JobNotRunningException;

@Path("{scopeId}/jobs")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
import org.eclipse.kapua.app.api.core.model.device.management.JsonGenericResponseMessage;
import org.eclipse.kapua.app.api.core.model.message.JsonKapuaPayload;
import org.eclipse.kapua.app.api.resources.v1.resources.model.device.management.keystore.DeviceKeystoreCertificateInfo;
import org.eclipse.kapua.commons.rest.model.IsJobRunningMultipleResponse;
import org.eclipse.kapua.commons.rest.model.IsJobRunningResponse;
import org.eclipse.kapua.commons.rest.model.MultipleJobIdRequest;
import org.eclipse.kapua.commons.rest.model.errors.CleanJobDataExceptionInfo;
import org.eclipse.kapua.commons.rest.model.errors.DeviceManagementRequestContentExceptionInfo;
import org.eclipse.kapua.commons.rest.model.errors.DeviceManagementResponseCodeExceptionInfo;
Expand Down Expand Up @@ -67,8 +64,11 @@
import org.eclipse.kapua.commons.service.event.store.api.EventStoreXmlRegistry;
import org.eclipse.kapua.commons.util.xml.JAXBContextProvider;
import org.eclipse.kapua.event.ServiceEvent;
import org.eclipse.kapua.job.engine.IsJobRunningMultipleResponse;
import org.eclipse.kapua.job.engine.IsJobRunningResponse;
import org.eclipse.kapua.job.engine.JobEngineXmlRegistry;
import org.eclipse.kapua.job.engine.JobStartOptions;
import org.eclipse.kapua.job.engine.MultipleJobIdRequest;
import org.eclipse.kapua.message.device.data.KapuaDataChannel;
import org.eclipse.kapua.message.device.data.KapuaDataMessage;
import org.eclipse.kapua.message.device.data.KapuaDataPayload;
Expand Down

0 comments on commit 8b30561

Please sign in to comment.