Package eu.planets_project.ifr.core.servreg.api

Examples of eu.planets_project.ifr.core.servreg.api.Response.success()


     * We don't allow duplicate endpoints so check.
     */
    @Test
    public void duplicateEndpointGuard() {
        Response response = registry.register(new ServiceDescription.Builder(null, TYPE1).endpoint(endpoint1).build());
        Assert.assertFalse(response.success());
        List<ServiceDescription> services = registry.query(null);
        Assert.assertEquals(3, services.size());
    }

    /**
 
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.