Package it.geosolutions.geoserver.rest.decoder

Examples of it.geosolutions.geoserver.rest.decoder.RESTDataStoreList


        System.out.println("Workspaces: " + wslist.size());
        int dsnum = 0;
    for (RESTWorkspaceList.RESTShortWorkspace ws : wslist) {
            System.out.println("Getting DSlist for WS " + ws.getName() + "..." );
      RESTDataStoreList result = reader.getDatastores(ws.getName());
      assertNotNull(result);
            dsnum += result.size();
            for (NameLinkElem ds : result) {
                assertNotNull(ds.getName());
        System.out.print(ds.getName() + " " );
                RESTDataStore datastore = reader.getDatastore(ws.getName(), ds.getName());
                assertNotNull(datastore);
View Full Code Here


        int wscnt = 0;
    for (RESTWorkspaceList.RESTShortWorkspace ws : wslist) {
            String wsname = wsnames.get(wscnt++);

      List<String> dsnames = reader.getDatastores(wsname).getNames();
            RESTDataStoreList dslist = reader.getDatastores(ws.getName());
      assertNotNull(dsnames);
      assertNotNull(dslist);
            assertEquals(dsnames.size(), dslist.size());
    }
  }
View Full Code Here

TOP

Related Classes of it.geosolutions.geoserver.rest.decoder.RESTDataStoreList

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.