Search in sources :

Example 6 with WorkspaceResourceV4Response

use of com.sequenceiq.cloudbreak.api.endpoint.v4.workspace.responses.WorkspaceResourceV4Response in project cloudbreak by hortonworks.

the class WorkspaceToWorkspaceResourceV4ResponseConverter method convert.

public WorkspaceResourceV4Response convert(Workspace source) {
    WorkspaceResourceV4Response workspace = new WorkspaceResourceV4Response();
    workspace.setName(source.getName());
    workspace.setId(source.getId());
    return workspace;
}
Also used : WorkspaceResourceV4Response(com.sequenceiq.cloudbreak.api.endpoint.v4.workspace.responses.WorkspaceResourceV4Response)

Aggregations

WorkspaceResourceV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.workspace.responses.WorkspaceResourceV4Response)6 AbstractEntityConverterTest (com.sequenceiq.cloudbreak.converter.AbstractEntityConverterTest)4 Test (org.junit.Test)4 CloudbreakDetailsV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.CloudbreakDetailsV4Response)3 PlacementSettingsV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.PlacementSettingsV4Response)3 StackV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.StackV4Response)3 StackAuthenticationV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.authentication.StackAuthenticationV4Response)3 CustomDomainSettingsV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.customdomain.CustomDomainSettingsV4Response)3 DatabaseResponse (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.database.DatabaseResponse)3 StackImageV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.image.StackImageV4Response)3 InstanceGroupV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.instancegroup.InstanceGroupV4Response)3 NetworkV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.network.NetworkV4Response)3 Image (com.sequenceiq.cloudbreak.cloud.model.Image)3 Stack (com.sequenceiq.cloudbreak.domain.stack.Stack)3 TelemetryResponse (com.sequenceiq.common.api.telemetry.response.TelemetryResponse)3 RecipeV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.recipes.responses.RecipeV4Response)2 ClusterV4Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.cluster.ClusterV4Response)1 Recipe (com.sequenceiq.cloudbreak.domain.Recipe)1 StackAuthentication (com.sequenceiq.cloudbreak.domain.StackAuthentication)1 LoadBalancer (com.sequenceiq.cloudbreak.domain.stack.loadbalancer.LoadBalancer)1