Package org.sonatype.plexus.rest.resource

Examples of org.sonatype.plexus.rest.resource.PlexusResource.post()


    dto.setName("testGet-2");
    dto.setConnectionInfo(this.buildConnectionInfoDTO());
    dto.getConnectionInfo().setPort(7788);
    dto.setUserAndGroupConfig(this.buildUserAndGroupAuthConfigurationDTO());

    postResult = (LdapServerRequest) pr.post(null, request, null, ldapServerRequest);
    Assert.assertNotNull(postResult.getData().getId());
    expectedIds.add(postResult.getData().getId());

    // THREE
    ldapServerRequest = new LdapServerRequest();
View Full Code Here


    dto.setName("testGet-3");
    dto.setConnectionInfo(this.buildConnectionInfoDTO());
    dto.getConnectionInfo().setSearchBase("ou=testGet3");
    dto.setUserAndGroupConfig(this.buildUserAndGroupAuthConfigurationDTO());

    postResult = (LdapServerRequest) pr.post(null, request, null, ldapServerRequest);
    Assert.assertNotNull(postResult.getData().getId());
    expectedIds.add(postResult.getData().getId());

    // now test get
    LdapServerListResponse listResponse = (LdapServerListResponse) pr.get(null, request, null, null);
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.