@Validated @ParametersAreNonnullByDefault public class JobSpecificationServiceImpl extends java.lang.Object implements JobSpecificationService
| Constructor and Description |
|---|
JobSpecificationServiceImpl(ApplicationPersistenceService applicationPersistenceService,
ClusterPersistenceService clusterPersistenceService,
CommandPersistenceService commandPersistenceService,
@NotEmpty java.util.List<ClusterLoadBalancer> clusterLoadBalancers,
io.micrometer.core.instrument.MeterRegistry registry,
JobsProperties jobsProperties)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.netflix.genie.common.internal.dto.v4.JobSpecification |
resolveJobSpecification(java.lang.String id,
@Valid com.netflix.genie.common.internal.dto.v4.JobRequest jobRequest)
Given a job request resolve all the details needed for a complete job specification can be run by the user.
|
public JobSpecificationServiceImpl(ApplicationPersistenceService applicationPersistenceService, ClusterPersistenceService clusterPersistenceService, CommandPersistenceService commandPersistenceService, @NotEmpty @NotEmpty java.util.List<ClusterLoadBalancer> clusterLoadBalancers, io.micrometer.core.instrument.MeterRegistry registry, JobsProperties jobsProperties)
applicationPersistenceService - The service to use to manipulate applicationsclusterPersistenceService - The service to use to manipulate clusterscommandPersistenceService - The service to use to manipulate commandsclusterLoadBalancers - The load balancer implementations to useregistry - The metrics repository to usejobsProperties - The properties for running a job set by the userpublic com.netflix.genie.common.internal.dto.v4.JobSpecification resolveJobSpecification(java.lang.String id,
@Valid
@Valid com.netflix.genie.common.internal.dto.v4.JobRequest jobRequest)
resolveJobSpecification in interface JobSpecificationServiceid - The id of the jobjobRequest - The job request containing all details a user wants to have for their job