Skip to content

Workspace Management via CLI

Johannes Heucher edited this page Jun 13, 2022 · 3 revisions

Manage Workspaces

CLI commands corresponding to the Workspace-based management operations:

 ''# Show Workspace details''
 ./xynafactory.sh '''listworkspacedetails''' -workspaceName <arg>
 
 ''# List a Workspace's Application Definitions''
 ./xynafactory.sh '''listapplications''' -workspaceName <arg> [-h] [-t] [-v]
 
 ''# Create a new Workspace and copy XMOM Objects and Workspace dependent Xyna Properties from default workspace''
 ./xynafactory.sh '''createworkspace''' -workspaceName <arg>
 
 ''# Instantiates a previously registered Repository Link implementation''
 ./xynafactory.sh '''instantiaterepositoryaccessinstance''' [-codeAccessName <arg>] -instancename <arg> -parameter <args>
     -typename <arg> [-workspaceName <arg>] [-xmomAccessName <arg>]
 
 ''# Clear a Workspace''
 ./xynafactory.sh '''clearworkspace''' -workspaceName <arg> [-f] [-removeSubtypesOf <args>]
 
 ''# Remove a Workspace''
 ./xynafactory.sh '''removeworkspace''' -workspaceName <arg> [-c] [-f]
 
 ''# Load Application Into Workspace''
 ./xynafactory.sh '''copyapplicationintoworkspace''' -applicationName <arg> -versionName <arg> -workspaceName <arg>
     [-comment <arg>] [-v]
 
 ''# List a Workspace's Requirements''
 ./xynafactory.sh '''listruntimecontextdependencies''' -workspaceName <arg> [-t]
 
 ''# Define Runtime Context Requirement''
 ./xynafactory.sh '''addruntimecontextdependency''' -ownerWorkspaceName <arg> [-f] [-requirementApplicationName <arg>] 
     [-requirementVersionName <arg>] [-requirementWorkspaceName <arg>]
 
 ''# Remove Required Runtime Context''
 ./xynafactory.sh '''removeruntimecontextdependency''' -ownerWorkspaceName <arg> [-requirementApplicationName <arg>]
     [-requirementVersionName <arg>] [-requirementWorkspaceName <arg>]

Manage Application Definitions

CLI commands corresponding to the Application Definition-based management operations:

 ''# Create a new Application Definition''
 ./xynafactory.sh '''defineapplication''' -applicationName <arg> -parentWorkspace <arg> [-comment <arg>]
 
 ''# Remove Application Definition''
 ./xynafactory.sh '''removeapplication''' -applicationName <arg> -parentWorkspace <arg> [-c] [-f] [-ff] [-g] [-v]
 
 ''# Show an Application Definition's content''
 ./xynafactory.sh '''listapplicationdetails''' -applicationName <arg>  -parentWorkspace <arg>
     [-excludeEntryTypes <args>] [-excludeSubtypesOf <args>] [-fileName <arg>] [-r] [-v]
 
 ''# Add an object, e.g. an XMOM Object, to the Application Definition's content''
 ./xynafactory.sh '''addobjecttoapplication''' -applicationName <arg> [-parentWorkspace <arg>] -objectName <arg>
     [-type <arg>] [-v]
 
 ''# Remove an object from the Application Definition's content''
 ./xynafactory.sh '''removeobjectfromapplication''' -applicationName <arg> [-parentWorkspace <arg>] [-d] [-f]
     -objectName <arg> [-type <arg>] [-v]
 
 ''# List an Application Definition's Requirements''
 ./xynafactory.sh '''listruntimecontextdependencies''' -workspaceName <arg> -ownerApplicationName <arg> [-t]
 
 ''# Define Runtime Context Requirement''
 ./xynafactory.sh '''addruntimecontextdependency''' -ownerWorkspaceName <arg> -ownerApplicationName <arg> [-f]
     [-requirementApplicationName <arg>] [-requirementVersionName <arg>] [-requirementWorkspaceName <arg>]
 
 ''# Remove Required Runtime Context''
 ./xynafactory.sh '''removeruntimecontextdependency''' -ownerWorkspaceName <arg> -ownerApplicationName <arg>
     [-requirementApplicationName <arg>] [-requirementVersionName <arg>] [-requirementWorkspaceName <arg>]

Category:Managing & Configuration

Clone this wiki locally