Class JobResolverServiceImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ResolvedJob resolveJob​(java.lang.String id)
      Given the id of a job that was successfully submitted to the system this API will attempt to resolve all the concrete details (cluster, command, resources, etc) needed for the system to actually launch the job.
      ResolvedJob resolveJob​(java.lang.String id, @Valid JobRequest jobRequest, boolean apiJob)
      Given a job request resolve all the details needed to run a job.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JobResolverServiceImpl

        public JobResolverServiceImpl​(DataServices dataServices,
                                      @NotEmpty
                                      @NotEmpty java.util.List<ClusterSelector> clusterSelectors,
                                      CommandSelector commandSelector,
                                      io.micrometer.core.instrument.MeterRegistry registry,
                                      JobsProperties jobsProperties,
                                      org.springframework.core.env.Environment environment,
                                      BraveTracingComponents tracingComponents)
        Constructor.
        Parameters:
        dataServices - The DataServices encapsulation instance to use
        clusterSelectors - The ClusterSelector implementations to use
        commandSelector - The CommandSelector implementation to use
        registry - The MeterRegistrymetrics repository to use
        jobsProperties - The properties for running a job set by the user
        environment - The Spring application Environment for dynamic property resolution
        tracingComponents - The BraveTracingComponents instance to use