Package org.apache.ambari.server.controller.internal.JobResourceProvider

Examples of org.apache.ambari.server.controller.internal.JobResourceProvider.JobFetcher


    expected.add(createJobResponse("Cluster100", "workflow2", "job3"));

    Resource.Type type = Resource.Type.Job;
    Set<String> propertyIds = PropertyHelper.getPropertyIds(type);

    JobFetcher jobFetcher = createMock(JobFetcher.class);
    expect(jobFetcher.fetchJobDetails(propertyIds, null, "workflow2", null))
        .andReturn(expected).once();
    replay(jobFetcher);

    Map<Resource.Type,String> keyPropertyIds = PropertyHelper
        .getKeyPropertyIds(type);
View Full Code Here

TOP

Related Classes of org.apache.ambari.server.controller.internal.JobResourceProvider.JobFetcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.