Search in sources :

Example 21 with Group

use of com.sequenceiq.freeipa.client.model.Group in project cloudbreak by hortonworks.

the class GroupAddResponse method handleInternal.

@Override
protected Group handleInternal(List<CloudVmMetaDataStatus> metadatas, String body) {
    Group group = new Group();
    group.setCn("admins");
    group.setMemberUser(List.of("admin"));
    return group;
}
Also used : Group(com.sequenceiq.freeipa.client.model.Group)

Aggregations

Group (com.sequenceiq.freeipa.client.model.Group)21 Test (org.junit.jupiter.api.Test)14 RPCResponse (com.sequenceiq.cloudbreak.client.RPCResponse)12 Map (java.util.Map)12 FreeIpaClientException (com.sequenceiq.freeipa.client.FreeIpaClientException)5 FmsGroup (com.sequenceiq.freeipa.service.freeipa.user.model.FmsGroup)4 List (java.util.List)4 FreeIpaClient (com.sequenceiq.freeipa.client.FreeIpaClient)3 ArrayListMultimap (com.google.common.collect.ArrayListMultimap)2 HashMultimap (com.google.common.collect.HashMultimap)2 Multimap (com.google.common.collect.Multimap)2 JsonRpcClientException (com.googlecode.jsonrpc4j.JsonRpcClientException)2 FreeIpaErrorCodes (com.sequenceiq.freeipa.client.FreeIpaErrorCodes)2 SudoRule (com.sequenceiq.freeipa.client.model.SudoRule)2 User (com.sequenceiq.freeipa.client.model.User)2 BatchPartitionSizeProperties (com.sequenceiq.freeipa.configuration.BatchPartitionSizeProperties)2 FmsUser (com.sequenceiq.freeipa.service.freeipa.user.model.FmsUser)2 ThreadInterruptChecker (com.sequenceiq.freeipa.util.ThreadInterruptChecker)2 Collection (java.util.Collection)2 Set (java.util.Set)2