@Test void canGetJobPropertiesBean() { Assertions .assertThat( this.servicesAutoConfiguration.jobsProperties( Mockito.mock(JobsForwardingProperties.class), Mockito.mock(JobsLocationsProperties.class), Mockito.mock(JobsMemoryProperties.class), Mockito.mock(JobsUsersProperties.class), Mockito.mock(JobsActiveLimitProperties.class) ) ) .isNotNull(); }
@Bean public JobsProperties jobsProperties( final JobsForwardingProperties forwarding, final JobsLocationsProperties locations, final JobsMemoryProperties memory, final JobsUsersProperties users, final JobsActiveLimitProperties activeLimit ) { return new JobsProperties( forwarding, locations, memory, users, activeLimit ); }
ServicesAutoConfiguration { @Bean public JobsProperties jobsProperties( final JobsForwardingProperties forwarding, final JobsLocationsProperties locations, final JobsMemoryProperties memory, final JobsUsersProperties users, final JobsActiveLimitProperties activeLimit ) { return new JobsProperties( forwarding, locations, memory, users, activeLimit ); } }
ServicesAutoConfiguration { @Bean public JobsProperties jobsProperties( final JobsForwardingProperties forwarding, final JobsLocationsProperties locations, final JobsMemoryProperties memory, final JobsUsersProperties users, final JobsActiveLimitProperties activeLimit ) { return new JobsProperties( forwarding, locations, memory, users, activeLimit ); }  }
ServicesAutoConfiguration { @Bean public JobsProperties jobsProperties( final JobsForwardingProperties forwarding, final JobsLocationsProperties locations, final JobsMemoryProperties memory, final JobsUsersProperties users, final JobsActiveLimitProperties activeLimit ) { return new JobsProperties( forwarding, locations, memory, users, activeLimit ); }  @Bean JobsProperties jobsProperties(
        final JobsForwardingProperties forwarding,
        final JobsLocationsProperties locations,
        final JobsMemoryProperties memory,
        final JobsUsersProperties users,
        final JobsActiveLimitProperties activeLimit
    ); @Bean @ConditionalOnMissingBean(AttachmentService.class) AttachmentService attachmentService(
        final S3ClientFactory s3ClientFactory,
        final AttachmentServiceProperties attachmentServiceProperties,
        final MeterRegistry meterRegistry
    ); @Bean @ConditionalOnMissingBean(JobResolverService.class) JobResolverServiceImpl jobResolverService(
        final DataServices dataServices,
        @NotEmpty final List<ClusterSelector> clusterSelectors,
        final CommandSelector commandSelector,
        final MeterRegistry registry,
        final JobsProperties jobsProperties,
        final Environment environment
    ); @Bean @ConditionalOnMissingBean(JobDirectoryServerService.class) JobDirectoryServerServiceImpl jobDirectoryServerService(
        final ResourceLoader resourceLoader,
        final DataServices dataServices,
        final AgentFileStreamService agentFileStreamService,
        final ArchivedJobService archivedJobService,
        final MeterRegistry meterRegistry,
        final AgentRoutingService agentRoutingService
    ); @Bean @ConditionalOnMissingBean(JobLaunchService.class) JobLaunchServiceImpl jobLaunchService(
        final DataServices dataServices,
        final JobResolverService jobResolverService,
        final AgentLauncher agentLauncher,
        final MeterRegistry registry
    ); @Bean @ConditionalOnMissingBean(ArchivedJobService.class) ArchivedJobServiceImpl archivedJobService(
        final DataServices dataServices,
        final ResourceLoader resourceLoader,
        final MeterRegistry meterRegistry
    ); }
ServicesAutoConfiguration { @Bean public JobsProperties jobsProperties( final JobsForwardingProperties forwarding, final JobsLocationsProperties locations, final JobsMemoryProperties memory, final JobsUsersProperties users, final JobsActiveLimitProperties activeLimit ) { return new JobsProperties( forwarding, locations, memory, users, activeLimit ); }  @Bean JobsProperties jobsProperties(
        final JobsForwardingProperties forwarding,
        final JobsLocationsProperties locations,
        final JobsMemoryProperties memory,
        final JobsUsersProperties users,
        final JobsActiveLimitProperties activeLimit
    ); @Bean @ConditionalOnMissingBean(AttachmentService.class) AttachmentService attachmentService(
        final S3ClientFactory s3ClientFactory,
        final AttachmentServiceProperties attachmentServiceProperties,
        final MeterRegistry meterRegistry
    ); @Bean @ConditionalOnMissingBean(JobResolverService.class) JobResolverServiceImpl jobResolverService(
        final DataServices dataServices,
        @NotEmpty final List<ClusterSelector> clusterSelectors,
        final CommandSelector commandSelector,
        final MeterRegistry registry,
        final JobsProperties jobsProperties,
        final Environment environment
    ); @Bean @ConditionalOnMissingBean(JobDirectoryServerService.class) JobDirectoryServerServiceImpl jobDirectoryServerService(
        final ResourceLoader resourceLoader,
        final DataServices dataServices,
        final AgentFileStreamService agentFileStreamService,
        final ArchivedJobService archivedJobService,
        final MeterRegistry meterRegistry,
        final AgentRoutingService agentRoutingService
    ); @Bean @ConditionalOnMissingBean(JobLaunchService.class) JobLaunchServiceImpl jobLaunchService(
        final DataServices dataServices,
        final JobResolverService jobResolverService,
        final AgentLauncher agentLauncher,
        final MeterRegistry registry
    ); @Bean @ConditionalOnMissingBean(ArchivedJobService.class) ArchivedJobServiceImpl archivedJobService(
        final DataServices dataServices,
        final ResourceLoader resourceLoader,
        final MeterRegistry meterRegistry
    );  }