Package org.apache.ambari.server.api.resources

Examples of org.apache.ambari.server.api.resources.StackVersionResourceDefinition


  @Test
  public void testExecute_StackVersionPageResourcePredicate()
    throws NoSuchParentResourceException, UnsupportedPropertyException,
    NoSuchResourceException, SystemException {

    ResourceDefinition resourceDefinition = new StackVersionResourceDefinition();

    Map<Resource.Type, String> mapIds = new HashMap<Resource.Type, String>();

    //test
    QueryImpl instance = new TestQuery(mapIds, resourceDefinition);
View Full Code Here


  @Test
  public void testExecute_StackVersionPageSubResourcePredicate()
      throws NoSuchParentResourceException, UnsupportedPropertyException,
    NoSuchResourceException, SystemException {

    ResourceDefinition resourceDefinition = new StackVersionResourceDefinition();

    Map<Resource.Type, String> mapIds = new HashMap<Resource.Type, String>();

    QueryImpl instance = new TestQuery(mapIds, resourceDefinition);
    instance.addProperty("operatingSystems/*", null);
View Full Code Here

TOP

Related Classes of org.apache.ambari.server.api.resources.StackVersionResourceDefinition

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.