Search in sources :

Example 31 with UFWorkspace

use of bio.terra.cli.serialization.userfacing.UFWorkspace in project terra-cli by DataBiosphere.

the class Set method execute.

/**
 * Load an existing workspace.
 */
@Override
protected void execute() {
    Workspace workspace = Workspace.load(id);
    formatOption.printReturnValue(new UFWorkspace(workspace), this::printText);
}
Also used : UFWorkspace(bio.terra.cli.serialization.userfacing.UFWorkspace) Workspace(bio.terra.cli.businessobject.Workspace) UFWorkspace(bio.terra.cli.serialization.userfacing.UFWorkspace)

Aggregations

UFWorkspace (bio.terra.cli.serialization.userfacing.UFWorkspace)31 DisplayName (org.junit.jupiter.api.DisplayName)21 Test (org.junit.jupiter.api.Test)21 UFStatus (bio.terra.cli.serialization.userfacing.UFStatus)8 TestUser (harness.TestUser)7 Workspace (bio.terra.cli.businessobject.Workspace)5 UFWorkspaceLight (bio.terra.cli.serialization.userfacing.UFWorkspaceLight)5 WorkspaceOverride (bio.terra.cli.command.shared.options.WorkspaceOverride)4 TestCommand (harness.TestCommand)4 UFBqDataset (bio.terra.cli.serialization.userfacing.resource.UFBqDataset)3 UFGcsObject (bio.terra.cli.serialization.userfacing.resource.UFGcsObject)3 Matchers.containsString (org.hamcrest.Matchers.containsString)3 Matchers.emptyString (org.hamcrest.Matchers.emptyString)3 UFAuthStatus (bio.terra.cli.serialization.userfacing.UFAuthStatus)2 TypeReference (com.fasterxml.jackson.core.type.TypeReference)2 Result (harness.TestCommand.Result)2 IOException (java.io.IOException)2 List (java.util.List)2 Optional (java.util.Optional)2 UUID (java.util.UUID)2