Search in sources :

Example 1 with DistroXSyncCmV1Response

use of com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.DistroXSyncCmV1Response in project cloudbreak by hortonworks.

the class DistroXV1Controller method launchSyncComponentVersionsFromCm.

private DistroXSyncCmV1Response launchSyncComponentVersionsFromCm(NameOrCrn nameOrCrn) {
    Long workspaceId = getWorkspaceIdForCurrentUser();
    FlowIdentifier flowIdentifier = stackOperations.syncComponentVersionsFromCm(nameOrCrn, workspaceId, Set.of());
    return new DistroXSyncCmV1Response(flowIdentifier);
}
Also used : DistroXSyncCmV1Response(com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.DistroXSyncCmV1Response) FlowIdentifier(com.sequenceiq.flow.api.model.FlowIdentifier)

Aggregations

DistroXSyncCmV1Response (com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.response.DistroXSyncCmV1Response)1 FlowIdentifier (com.sequenceiq.flow.api.model.FlowIdentifier)1