Examples of publishDBLayer()


Examples of it.geosolutions.geoserver.rest.GeoServerRESTPublisher.publishDBLayer()

        assertNotNull(attrs);
        for (GSAttributeEncoder enc : attrs) {
            fte.setAttribute(enc);
        }

        assertTrue(publisher.publishDBLayer(DEFAULT_WS, storeName, fte, layerEncoder));

    }

    @Test
    public void testFeatureTypeEncoder() {
View Full Code Here

Examples of it.geosolutions.geoserver.rest.GeoServerRESTPublisher.publishDBLayer()

        layerEncoder.setDefaultStyle("polygon");
       
        // test insert
        // ------------
        publisher.createWorkspace(DEFAULT_WS);
        published = publisher.publishDBLayer(DEFAULT_WS, storeName, fte, layerEncoder);
        assertTrue("Publication unsuccessful", published);
        assertTrue("Layer does not exist", existsLayer(layerName));

    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.