Package org.apache.archiva.rest.api.services

Examples of org.apache.archiva.rest.api.services.RedbackRuntimeConfigurationService


        return service;
    }

    protected RedbackRuntimeConfigurationService getRedbackRuntimeConfigurationService()
    {
        RedbackRuntimeConfigurationService service =
            JAXRSClientFactory.create( getBaseUrl() + "/" + getRestServicesPath() + "/archivaServices/",
                                       RedbackRuntimeConfigurationService.class,
                                       Collections.singletonList( new JacksonJaxbJsonProvider() ) );

        WebClient.client( service ).accept( MediaType.APPLICATION_JSON_TYPE );
View Full Code Here


    @Test
    public void usermanagersinformations()
        throws Exception
    {
        RedbackRuntimeConfigurationService service = getRedbackRuntimeConfigurationService();
        List<UserManagerImplementationInformation> infos = service.getUserManagerImplementationInformations();
        assertThat( infos ).isNotNull().isNotEmpty().contains(
            new UserManagerImplementationInformation( "jdo", null, false ) );

    }
View Full Code Here

    @Test
    public void rbacmanagersinformations()
        throws Exception
    {
        RedbackRuntimeConfigurationService service = getRedbackRuntimeConfigurationService();
        List<RBACManagerImplementationInformation> infos = service.getRbacManagerImplementationInformations();
        assertThat( infos ).isNotNull().isNotEmpty().contains(
            new RBACManagerImplementationInformation( "jdo", null, false ) );

    }
View Full Code Here

        return service;
    }

    protected RedbackRuntimeConfigurationService getRedbackRuntimeConfigurationService()
    {
        RedbackRuntimeConfigurationService service =
            JAXRSClientFactory.create( getBaseUrl() + "/" + getRestServicesPath() + "/archivaServices/",
                                       RedbackRuntimeConfigurationService.class,
                                       Collections.singletonList( new JacksonJaxbJsonProvider() ) );

        WebClient.client( service ).accept( MediaType.APPLICATION_JSON_TYPE );
View Full Code Here

    @Test
    public void usermanagersinformations()
        throws Exception
    {
        RedbackRuntimeConfigurationService service = getRedbackRuntimeConfigurationService();
        List<UserManagerImplementationInformation> infos = service.getUserManagerImplementationInformations();
        Assertions.assertThat( infos ).isNotNull().isNotEmpty().contains(
            new UserManagerImplementationInformation( "jdo", null, false ) );

    }
View Full Code Here

    @Test
    public void rbacmanagersinformations()
        throws Exception
    {
        RedbackRuntimeConfigurationService service = getRedbackRuntimeConfigurationService();
        List<RBACManagerImplementationInformation> infos = service.getRbacManagerImplementationInformations();
        Assertions.assertThat( infos ).isNotNull().isNotEmpty().contains(
            new RBACManagerImplementationInformation( "jdo", null, false ) );

    }
View Full Code Here

        return service;
    }

    protected RedbackRuntimeConfigurationService getArchivaRuntimeConfigurationService()
    {
        RedbackRuntimeConfigurationService service =
            JAXRSClientFactory.create( getBaseUrl() + "/" + getRestServicesPath() + "/archivaServices/",
                                       RedbackRuntimeConfigurationService.class,
                                       Collections.singletonList( new JacksonJaxbJsonProvider() ) );

        WebClient.client( service ).accept( MediaType.APPLICATION_JSON_TYPE );
View Full Code Here

    @Test
    public void usermanagersinformations()
        throws Exception
    {
        RedbackRuntimeConfigurationService service = getArchivaRuntimeConfigurationService();
        List<UserManagerImplementationInformation> infos = service.getUserManagerImplementationInformations();
        Assertions.assertThat( infos ).isNotNull().isNotEmpty().contains(
            new UserManagerImplementationInformation( "jdo", null, false ) );

    }
View Full Code Here

    @Test
    public void rbacmanagersinformations()
        throws Exception
    {
        RedbackRuntimeConfigurationService service = getArchivaRuntimeConfigurationService();
        List<RBACManagerImplementationInformation> infos = service.getRbacManagerImplementationInformations();
        Assertions.assertThat( infos ).isNotNull().isNotEmpty().contains(
            new RBACManagerImplementationInformation( "jdo", null, false ) );

    }
View Full Code Here

TOP

Related Classes of org.apache.archiva.rest.api.services.RedbackRuntimeConfigurationService

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.