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);
}
Aggregations