Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

service/client/ from 2009-01-10

  • Loading branch information...
commit ec0e8d191615ac8f7d4a3d7c8d09c6a691693a37 1 parent 8d8c9c1
@timf timf authored
Showing with 28,573 additions and 0 deletions.
  1. +53 −0 service/client/java/source/build.properties
  2. +341 −0 service/client/java/source/build.xml
  3. +32 −0 service/client/java/source/etc/post-deploy.xml
  4. BIN  service/client/java/source/lib/globus_delegation_client.jar
  5. BIN  service/client/java/source/lib/globus_delegation_service.jar
  6. BIN  service/client/java/source/lib/globus_delegation_stubs.jar
  7. BIN  service/client/java/source/lib/nimbus-ctx-stubs-gt4.0.jar
  8. +8 −0 service/client/java/source/share/_note.txt
  9. +13 −0 service/client/java/source/share/client-sample-01.sh
  10. +13 −0 service/client/java/source/share/client-sample-02.sh
  11. +12 −0 service/client/java/source/share/client-sample-03.sh
  12. +15 −0 service/client/java/source/share/client-sample-04.sh
  13. +18 −0 service/client/java/source/share/client-sample-05.sh
  14. +9 −0 service/client/java/source/share/client-sample-06.sh
  15. +9 −0 service/client/java/source/share/client-sample-07.sh
  16. +10 −0 service/client/java/source/share/client-sample-08.sh
  17. +9 −0 service/client/java/source/share/client-sample-09.sh
  18. +11 −0 service/client/java/source/share/client-sample-10.sh
  19. +18 −0 service/client/java/source/share/client-sample-12.sh
  20. +17 −0 service/client/java/source/share/ensemble-sample-01-part1.sh
  21. +18 −0 service/client/java/source/share/ensemble-sample-01-part2.sh
  22. +14 −0 service/client/java/source/share/group-sample-01.sh
  23. +28 −0 service/client/java/source/share/sample-deployment-request-with-blankspace.xml
  24. +20 −0 service/client/java/source/share/sample-deployment-request.xml
  25. +48 −0 service/client/java/source/share/sample-optional-staging.xml
  26. +79 −0 service/client/java/source/share/sample-workspace-multiple-partitions.xml
  27. +61 −0 service/client/java/source/share/sample-workspace-propagation.xml
  28. +57 −0 service/client/java/source/share/sample-workspace.xml
  29. +477 −0 service/client/java/source/src/org/globus/workspace/client/AllArguments.java
  30. +24 −0 service/client/java/source/src/org/globus/workspace/client/ExitNowListener.java
  31. +114 −0 service/client/java/source/src/org/globus/workspace/client/Help.java
  32. +358 −0 service/client/java/source/src/org/globus/workspace/client/Opts.java
  33. +475 −0 service/client/java/source/src/org/globus/workspace/client/WorkspaceCLI.java
  34. +257 −0 service/client/java/source/src/org/globus/workspace/client/WorkspaceCLIMain.java
  35. +43 −0 service/client/java/source/src/org/globus/workspace/client/client-help-extra.txt
  36. +20 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-ctx-no-more.txt
  37. +12 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-ctxcreate-injectable.txt
  38. +27 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-ctxcreate.txt
  39. +24 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-ctxdata.txt
  40. +19 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-ctxlock.txt
  41. +36 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-ctxmonitor.txt
  42. +160 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-deploy.txt
  43. +16 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-destroy.txt
  44. +17 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-done.txt
  45. +34 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-ensmonitor.txt
  46. +29 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-factoryrp.txt
  47. +13 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-shared1.txt
  48. +45 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-shutdownsave.txt
  49. +57 −0 service/client/java/source/src/org/globus/workspace/client/client-help-mode-subscribe.txt
  50. +37 −0 service/client/java/source/src/org/globus/workspace/client/client-help.txt
  51. +230 −0 service/client/java/source/src/org/globus/workspace/client/modes/ContextAgentImpersonate.java
  52. +259 −0 service/client/java/source/src/org/globus/workspace/client/modes/ContextCreate.java
  53. +51 −0 service/client/java/source/src/org/globus/workspace/client/modes/ContextCreate_Injectable.java
  54. +198 −0 service/client/java/source/src/org/globus/workspace/client/modes/ContextDataInject.java
  55. +166 −0 service/client/java/source/src/org/globus/workspace/client/modes/ContextLock.java
  56. +997 −0 service/client/java/source/src/org/globus/workspace/client/modes/ContextMonitor.java
  57. +168 −0 service/client/java/source/src/org/globus/workspace/client/modes/ContextNoMoreInjections.java
  58. +1,114 −0 service/client/java/source/src/org/globus/workspace/client/modes/Deploy.java
  59. +820 −0 service/client/java/source/src/org/globus/workspace/client/modes/DeployRun.java
  60. +235 −0 service/client/java/source/src/org/globus/workspace/client/modes/Destroy.java
  61. +192 −0 service/client/java/source/src/org/globus/workspace/client/modes/EnsembleDone.java
  62. +636 −0 service/client/java/source/src/org/globus/workspace/client/modes/EnsembleMonitor.java
  63. +340 −0 service/client/java/source/src/org/globus/workspace/client/modes/FactoryQuery.java
  64. +198 −0 service/client/java/source/src/org/globus/workspace/client/modes/InstanceQuery.java
  65. +104 −0 service/client/java/source/src/org/globus/workspace/client/modes/Mode.java
  66. +93 −0 service/client/java/source/src/org/globus/workspace/client/modes/Pause.java
  67. +92 −0 service/client/java/source/src/org/globus/workspace/client/modes/Reboot.java
  68. +93 −0 service/client/java/source/src/org/globus/workspace/client/modes/Shutdown.java
  69. +266 −0 service/client/java/source/src/org/globus/workspace/client/modes/ShutdownSave.java
  70. +165 −0 service/client/java/source/src/org/globus/workspace/client/modes/SingleShotShutdownSave.java
  71. +93 −0 service/client/java/source/src/org/globus/workspace/client/modes/Start.java
  72. +568 −0 service/client/java/source/src/org/globus/workspace/client/modes/Subscribe.java
  73. +142 −0 service/client/java/source/src/org/globus/workspace/client/modes/aux/CommonLogs.java
  74. +162 −0 service/client/java/source/src/org/globus/workspace/client/modes/aux/SingleShotMode.java
  75. +559 −0 service/client/java/source/src/org/globus/workspace/client/modes/aux/SubscribeLaunch.java
  76. +345 −0 service/client/java/source/src/org/globus/workspace/client/modes/aux/SubscribeWait.java
  77. +44 −0 service/client/java/source/src/org/globus/workspace/client_common/BaseClient.java
  78. +131 −0 service/client/java/source/src/org/globus/workspace/client_common/BaseClientUtil.java
  79. +72 −0 service/client/java/source/src/org/globus/workspace/client_common/CommonStrings.java
  80. +84 −0 service/client/java/source/src/org/globus/workspace/client_core/Action.java
  81. +40 −0 service/client/java/source/src/org/globus/workspace/client_core/ExecutionProblem.java
  82. +47 −0 service/client/java/source/src/org/globus/workspace/client_core/ExitNow.java
  83. +40 −0 service/client/java/source/src/org/globus/workspace/client_core/ParameterProblem.java
  84. +177 −0 service/client/java/source/src/org/globus/workspace/client_core/Settings.java
  85. +50 −0 service/client/java/source/src/org/globus/workspace/client_core/StubConfigurator.java
  86. +241 −0 service/client/java/source/src/org/globus/workspace/client_core/WSAction.java
  87. +89 −0 service/client/java/source/src/org/globus/workspace/client_core/WSAction_Ctx.java
  88. +89 −0 service/client/java/source/src/org/globus/workspace/client_core/WSAction_Ensemble.java
  89. +103 −0 service/client/java/source/src/org/globus/workspace/client_core/WSAction_Factory.java
  90. +89 −0 service/client/java/source/src/org/globus/workspace/client_core/WSAction_Group.java
  91. +88 −0 service/client/java/source/src/org/globus/workspace/client_core/WSAction_Instance.java
  92. +90 −0 service/client/java/source/src/org/globus/workspace/client_core/WSAction_Status.java
  93. +784 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Create.java
  94. +218 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Create_Group.java
  95. +122 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Ctx_Create.java
  96. +51 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Ctx_Create_Injectable.java
  97. +195 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Ctx_Identities.java
  98. +166 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Ctx_InjectData.java
  99. +93 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Ctx_Lock.java
  100. +94 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Ctx_NoMoreInjections.java
  101. +130 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Ctx_RPQuery.java
  102. +138 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Ctx_Retrieve.java
  103. +200 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Delegate.java
  104. +102 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Destroy_Ensemble.java
  105. +101 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Destroy_Group.java
  106. +102 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Destroy_Instance.java
  107. +101 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Ensemble_Done.java
  108. +224 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Ensemble_Report.java
  109. +111 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Pause_Group.java
  110. +111 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Pause_Instance.java
  111. +206 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/RPQueryCurrentState.java
  112. +192 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/RPQueryFactory.java
  113. +184 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/RPQueryInstance.java
  114. +117 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/RPQueryLogistics.java
  115. +24 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/RPQueryResourceAllocation.java
  116. +105 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/RPQuerySchedule.java
  117. +110 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Reboot_Group.java
  118. +111 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Reboot_Instance.java
  119. +135 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/ShutdownSave_Group.java
  120. +136 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/ShutdownSave_Instance.java
  121. +111 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Shutdown_Group.java
  122. +111 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Shutdown_Instance.java
  123. +105 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Start_Group.java
  124. +106 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Start_Instance.java
  125. +169 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Status_QueryAll.java
  126. +51 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/SubscribeCurrentState_Instance.java
  127. +51 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/SubscribeTermination_Instance.java
  128. +191 −0 service/client/java/source/src/org/globus/workspace/client_core/actions/Subscribe_Common.java
  129. +246 −0 service/client/java/source/src/org/globus/workspace/client_core/print/PrCodes.java
  130. +50 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/DiskSpace.java
  131. +113 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/FactoryRPs.java
  132. +67 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/GenericIntRange.java
  133. +206 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/Group.java
  134. +42 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/LogisticsWrapper.java
  135. +65 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/Networking.java
  136. +160 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/Nic.java
  137. +87 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/NicAcquisitionMethod.java
  138. +121 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/ResourceAllocation.java
  139. +137 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/Schedule.java
  140. +38 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/ShutdownMech.java
  141. +365 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/State.java
  142. +45 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/StateOrTerminated.java
  143. +384 −0 service/client/java/source/src/org/globus/workspace/client_core/repr/Workspace.java
  144. +106 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/GenericListener.java
  145. +194 −0 ...ice/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/GenericStateChangeListener.java
  146. +128 −0 ...ice/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/GenericTerminationListener.java
  147. +76 −0 .../client/java/source/src/org/globus/workspace/client_core/subscribe_tools/LatchUsingTerminationListener.java
  148. +122 −0 ...ce/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/ListeningSubscriptionMaster.java
  149. +41 −0 ...t/java/source/src/org/globus/workspace/client_core/subscribe_tools/NotificationImplementationException.java
  150. +40 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/PollingSubscriptionMaster.java
  151. +32 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/StateChangeConduit.java
  152. +30 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/StateChangeListener.java
  153. +107 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/SubscriptionMaster.java
  154. +115 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/SubscriptionMasterFactory.java
  155. +334 −0 ...ice/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/TaskfulStateChangeListener.java
  156. +30 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/TerminationConduit.java
  157. +28 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/TerminationListener.java
  158. +105 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/internal/AddressIDPair.java
  159. +84 −0 ...va/source/src/org/globus/workspace/client_core/subscribe_tools/internal/DeliverStateChangeCallbackTask.java
  160. +75 −0 ...va/source/src/org/globus/workspace/client_core/subscribe_tools/internal/DeliverTerminationCallbackTask.java
  161. +360 −0 ...a/source/src/org/globus/workspace/client_core/subscribe_tools/internal/ListeningSubscriptionMasterImpl.java
  162. +251 −0 ...ava/source/src/org/globus/workspace/client_core/subscribe_tools/internal/PollingSubscriptionMasterImpl.java
  163. +149 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/internal/StateWSListener.java
  164. +276 −0 ...lient/java/source/src/org/globus/workspace/client_core/subscribe_tools/internal/SubscriptionMasterImpl.java
  165. +74 −0 ...client/java/source/src/org/globus/workspace/client_core/subscribe_tools/internal/TerminationWSListener.java
  166. +125 −0 ...client/java/source/src/org/globus/workspace/client_core/subscribe_tools/internal/WorkspaceAndListeners.java
  167. +255 −0 service/client/java/source/src/org/globus/workspace/client_core/subscribe_tools/internal/WorkspaceMap.java
  168. +227 −0 service/client/java/source/src/org/globus/workspace/client_core/utils/EPRUtils.java
  169. +440 −0 service/client/java/source/src/org/globus/workspace/client_core/utils/FileUtils.java
  170. +95 −0 service/client/java/source/src/org/globus/workspace/client_core/utils/LatchWaiter.java
  171. +192 −0 service/client/java/source/src/org/globus/workspace/client_core/utils/NetUtils.java
  172. +70 −0 service/client/java/source/src/org/globus/workspace/client_core/utils/RMIUtils.java
  173. +247 −0 service/client/java/source/src/org/globus/workspace/client_core/utils/ScheduleUtils.java
  174. +86 −0 service/client/java/source/src/org/globus/workspace/client_core/utils/StateUtils.java
  175. +258 −0 service/client/java/source/src/org/globus/workspace/client_core/utils/StringUtils.java
  176. +28 −0 service/client/java/source/src/org/globus/workspace/client_core/utils/TextFile.java
  177. +277 −0 service/client/java/source/src/org/globus/workspace/client_core/utils/WSUtils.java
  178. +1,193 −0 service/client/java/source/src/org/globus/workspace/cloud/client/AllArgs.java
  179. +1,916 −0 service/client/java/source/src/org/globus/workspace/cloud/client/CloudClient.java
  180. +56 −0 service/client/java/source/src/org/globus/workspace/cloud/client/Help.java
Sorry, we could not display the entire diff because it was too big.
View
53 service/client/java/source/build.properties
@@ -0,0 +1,53 @@
+nimbus.client.gt4_0.gar.print-noun=Nimbus GT4.0 clients GAR package (API, client, and cloud-client)
+nimbus.client.gt4_0.gar.package.name=nimbus-clients
+nimbus.client.gt4_0.gar.dist.dir=dist
+nimbus.client.gt4_0.gar.build.dir=build
+
+nimbus.client.gt4_0.build.dest=build/classes
+nimbus.client.gt4_0.etc.dir=etc
+nimbus.client.gt4_0.src.dir=src
+nimbus.client.gt4_0.lib.dir=lib
+nimbus.client.gt4_0.share.dir=share
+nimbus.client.gt4_0.jar.name=nimbus-clients-gt4.0.jar
+
+
+##########################################
+# IDs/properties sent into the GAR builder
+##########################################
+
+# gar.name
+nimbus.client.gt4_0.gar.garname=${nimbus.client.gt4_0.gar.dist.dir}/${nimbus.client.gt4_0.gar.package.name}.gar
+
+# garjars.id
+nimbus.client.gt4_0.gar.build.lib.dir=${nimbus.client.gt4_0.gar.build.dir}/lib
+
+# garetc.id
+nimbus.client.gt4_0.gar.build.etc.dir=${nimbus.client.gt4_0.gar.build.dir}/etc
+
+# garshare.id
+nimbus.client.gt4_0.gar.build.share.dir=${nimbus.client.gt4_0.gar.build.dir}/share
+
+# garbin.id
+nimbus.client.gt4_0.gar.build.bin.dir=${nimbus.client.gt4_0.gar.build.dir}/bin
+
+# UNUSED gar dirs, created only in order to avoid ugly warning messages from GT
+nimbus.client.gt4_0.gar.build.schema.dir=${nimbus.client.gt4_0.gar.build.dir}/schema
+nimbus.client.gt4_0.gar.build.docs.dir=${nimbus.client.gt4_0.gar.build.dir}/docs
+
+
+###############################
+# Dependencies from source tree
+###############################
+
+nimbus.messaging.java.basedir=../../../../messaging/gt4.0/java/
+
+nimbus.messaging.gt4_0.common.lib.dir=${nimbus.messaging.java.basedir}/common/lib/
+nimbus.messaging.gt4_0.common.dist.dir=${nimbus.messaging.java.basedir}/common/dist/
+
+# (gar is the 'dist' of stubs but we only want the jars... will be better later)
+nimbus.gt4_0.stubs.build.lib.dir=${nimbus.messaging.java.basedir}/stubs/build/lib/
+
+
+# you can override this in ~/nimbus.build.properties
+nimbus.java.compilerarg=-nowarn
+
View
341 service/client/java/source/build.xml
@@ -0,0 +1,341 @@
+<?xml version="1.0"?>
+
+<project default="dist" basedir="." name="Nimbus GT4.0 clients">
+
+ <description>Nimbus GT4.0 clients</description>
+
+ <!-- load user nimbus.build.properties file, if it exists -->
+ <property file="${user.home}/nimbus.build.properties"/>
+
+ <!-- load defaults from colocated build.properties file -->
+ <property file="build.properties"/>
+
+ <!-- *******************************************************************
+ MODULE NAME
+ ******************************************************************* -->
+
+ <target name="disp">
+ <echo message="**** Module: ${basedir}" />
+ </target>
+
+
+ <!-- *******************************************************************
+ LOCATE GT DEPENDENCIES
+ ******************************************************************* -->
+
+ <property environment="env"/>
+ <property name="abs.deploy.dir" location="${env.GLOBUS_LOCATION}"/>
+ <property name="gt4_0.lib.dir" location="${abs.deploy.dir}/lib"/>
+ <property name="build.packages"
+ location="${abs.deploy.dir}/share/globus_wsrf_common/build-packages.xml"/>
+
+
+ <!-- *******************************************************************
+ GT RELATED NAMES
+ ******************************************************************* -->
+
+ <!-- gar.name -->
+ <property name="gar.name"
+ value="${nimbus.client.gt4_0.gar.garname}"/>
+
+ <!-- garjars.id -->
+ <fileset dir="${nimbus.client.gt4_0.gar.build.lib.dir}" id="garjars"/>
+ <property name="garjars.id" value="garjars"/>
+
+ <!-- garetc.id -->
+ <fileset dir="${nimbus.client.gt4_0.gar.build.etc.dir}" id="garEtc"/>
+ <property name="garetc.id" value="garEtc"/>
+
+ <!-- garshare.id -->
+ <fileset dir="${nimbus.client.gt4_0.gar.build.share.dir}" id="garshare"/>
+ <property name="garshare.id" value="garshare"/>
+
+
+ <!-- *********************
+ unused GAR properties
+ setting these to avoid build warning messages from GT...
+ ********************* -->
+
+ <!-- garschema.id -->
+ <fileset dir="${nimbus.client.gt4_0.gar.build.schema.dir}" id="garschema"/>
+ <property name="garschema.id" value="garschema"/>
+
+ <!-- gardocs.id -->
+ <fileset dir="${nimbus.client.gt4_0.gar.build.docs.dir}" id="gardocs"/>
+ <property name="gardocs.id" value="gardocs"/>
+
+ <!-- garbin.id -->
+ <fileset dir="${nimbus.client.gt4_0.gar.build.bin.dir}" id="garbin"/>
+ <property name="garbin.id" value="garbin"/>
+
+
+ <!-- *******************************************************************
+ CHECK MINIMUM JDK
+ ******************************************************************* -->
+
+ <target name="checkjdk">
+ <available property="jdk1.4+" classname="java.lang.CharSequence"/>
+ <fail message="Aborting: determined you are not building with >= JDK 1.4"
+ unless="jdk1.4+" />
+ </target>
+
+
+ <!-- *******************************************************************
+ INITIALIZE
+ ******************************************************************* -->
+
+ <target name="init">
+ <mkdir dir="${nimbus.client.gt4_0.gar.dist.dir}"/>
+ <mkdir dir="${nimbus.client.gt4_0.gar.build.dir}"/>
+ <mkdir dir="${nimbus.client.gt4_0.build.dest}"/>
+ <mkdir dir="${nimbus.client.gt4_0.gar.build.lib.dir}"/>
+ <mkdir dir="${nimbus.client.gt4_0.gar.build.etc.dir}"/>
+ <mkdir dir="${nimbus.client.gt4_0.gar.build.share.dir}"/>
+ <mkdir dir="${nimbus.client.gt4_0.gar.build.schema.dir}"/>
+ <mkdir dir="${nimbus.client.gt4_0.gar.build.docs.dir}"/>
+ <mkdir dir="${nimbus.client.gt4_0.gar.build.bin.dir}"/>
+ </target>
+
+
+ <!-- *******************************************************************
+ COPIES FOR LIB DIRECTORY
+ ******************************************************************* -->
+
+ <target name="lib_copies" depends="init">
+
+ <copy todir="${nimbus.client.gt4_0.gar.build.lib.dir}">
+
+ <fileset dir="${nimbus.client.gt4_0.lib.dir}">
+ <include name="*.jar"/>
+ <include name="*LICENSE*"/>
+ </fileset>
+
+ <fileset dir="${nimbus.messaging.gt4_0.common.lib.dir}">
+ <include name="*.jar"/>
+ <include name="*LICENSE*"/>
+ </fileset>
+ <fileset dir="${nimbus.messaging.gt4_0.common.dist.dir}">
+ <include name="*.jar"/>
+ <include name="*LICENSE*"/>
+ </fileset>
+
+ </copy>
+ </target>
+
+
+ <!-- *******************************************************************
+ COPIES FOR ETC DIRECTORY
+ ******************************************************************* -->
+
+ <target name="etc_copies" depends="init">
+ <copy todir="${nimbus.client.gt4_0.gar.build.etc.dir}">
+ <fileset dir="${nimbus.client.gt4_0.etc.dir}" />
+ </copy>
+ </target>
+
+
+
+ <!-- *******************************************************************
+ COPIES FOR SHARE DIRECTORY
+ ******************************************************************* -->
+
+ <target name="share_copies" depends="init">
+ <copy todir="${nimbus.client.gt4_0.gar.build.share.dir}">
+ <fileset dir="${nimbus.client.gt4_0.share.dir}" />
+ </copy>
+ </target>
+
+
+ <!-- *******************************************************************
+ COMPILATION
+ ******************************************************************* -->
+
+ <path id="nimbus.client.gt4_0.classpath">
+
+ <fileset dir="${gt4_0.lib.dir}">
+ <include name="*.jar"/>
+ <exclude name="nimbus-*.jar" />
+ </fileset>
+
+ <fileset dir="${nimbus.client.gt4_0.lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+
+ <fileset dir="${nimbus.gt4_0.stubs.build.lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+
+ <fileset dir="${nimbus.messaging.gt4_0.common.lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+
+ <fileset dir="${nimbus.messaging.gt4_0.common.dist.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <target name="compile" depends="init">
+
+ <javac srcdir="${nimbus.client.gt4_0.src.dir}"
+ destdir="${nimbus.client.gt4_0.build.dest}"
+ classpathref="nimbus.client.gt4_0.classpath"
+ debug="on">
+
+ <include name="**/*.java"/>
+ <compilerarg value="${nimbus.java.compilerarg}" />
+
+ </javac>
+
+ <copy todir="${nimbus.client.gt4_0.build.dest}" >
+
+ <fileset dir="${nimbus.client.gt4_0.src.dir}"
+ includes="**/*.properties" />
+
+ <fileset dir="${nimbus.client.gt4_0.src.dir}"
+ includes="**/*.xml" />
+
+ <fileset dir="${nimbus.client.gt4_0.src.dir}"
+ includes="**/*.txt" />
+ </copy>
+
+ </target>
+
+
+ <!-- *******************************************************************
+ CREATE JAR FILE
+ ******************************************************************* -->
+
+ <target name="jar" depends="compile">
+ <jar destfile="${nimbus.client.gt4_0.gar.build.lib.dir}/${nimbus.client.gt4_0.jar.name}"
+ basedir="${nimbus.client.gt4_0.build.dest}"/>
+ </target>
+
+
+ <!-- *******************************************************************
+ CLEAN
+ ******************************************************************* -->
+
+ <target name="clean">
+ <delete dir="${nimbus.client.gt4_0.gar.build.dir}"/>
+ <delete dir="${nimbus.client.gt4_0.gar.dist.dir}"/>
+ <delete dir="tmp"/>
+ <echo message="Cleaned: ${basedir}" />
+ </target>
+
+
+ <!-- *******************************************************************
+ CREATE DISTRIBUTION
+ ******************************************************************* -->
+
+ <target name="_dist" depends="jar, lib_copies, etc_copies, share_copies">
+
+ <ant antfile="${build.packages}" target="makeGar">
+
+ <reference refid="${garjars.id}"/>
+ <reference refid="${garetc.id}"/>
+ <reference refid="${garshare.id}"/>
+ <reference refid="${garschema.id}"/>
+ <reference refid="${gardocs.id}"/>
+ <reference refid="${garbin.id}"/>
+
+ <!-- makeGar is also looking at:
+ - gar.name
+ -->
+
+ </ant>
+
+ <delete dir="tmp" />
+
+ </target>
+
+ <target name="dist">
+ <echo message="**** Module: ${basedir}" />
+ <echo>Building: ${nimbus.client.gt4_0.gar.print-noun}</echo>
+ <antcall target="_dist" />
+ <echo>Built: ${nimbus.client.gt4_0.gar.print-noun}
+ </echo>
+ </target>
+
+
+ <!-- *******************************************************************
+ DEPLOYMENT
+ ******************************************************************* -->
+
+ <target name="assessGarPresence">
+ <available property="garIsPresent"
+ type="file"
+ file="${gar.name}" />
+ </target>
+
+ <target name="gar.not.present"
+ depends="assessGarPresence"
+ unless="garIsPresent">
+
+ <echo>
+
+
+
+***************** ERROR *****************
+
+Cannot find archive to install: ${gar.name}
+
+Did you build? Use the build-and-install script.
+
+
+
+ </echo>
+
+ <fail message="Cannot find archive to install: ${gar.name}" />
+
+ </target>
+
+ <target name="_deploy" depends="gar.not.present">
+
+ <ant antfile="${build.packages}" target="deployGar">
+ <property name="gar.id" value="${nimbus.client.gt4_0.gar.package.name}"/>
+ </ant>
+
+ <delete dir="tmp"/>
+
+ </target>
+
+ <target name="deploy" depends="disp">
+ <echo>Installing: ${nimbus.client.gt4_0.gar.print-noun}</echo>
+ <antcall target="_deploy" />
+ <echo>Installed: ${nimbus.client.gt4_0.gar.print-noun}
+ </echo>
+ </target>
+
+ <target name="assessDeployed">
+
+ <available property="isDeployed"
+ type="dir"
+ file="${abs.deploy.dir}/etc/globus_packages/${nimbus.client.gt4_0.gar.package.name}" />
+
+ <condition property="isNotDeployed" value="true">
+ <not>
+ <isset property="isDeployed" />
+ </not>
+ </condition>
+
+ </target>
+
+ <target name="printDeployed"
+ depends="assessDeployed"
+ unless="isDeployed">
+
+ <echo message="Already undeployed: ${nimbus.client.gt4_0.gar.package.name}"/>
+
+ </target>
+
+ <target name="undeploy" depends="printDeployed" unless="isNotDeployed">
+
+ <ant antfile="${build.packages}" target="undeployGar">
+ <property name="gar.id" value="${nimbus.client.gt4_0.gar.package.name}"/>
+ </ant>
+
+ <echo message="Undeployed: ${nimbus.client.gt4_0.gar.package.name}"/>
+
+ </target>
+
+</project>
View
32 service/client/java/source/etc/post-deploy.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="all" basedir=".">
+
+ <property environment="env"/>
+
+ <property file="build.properties"/>
+ <property file="${user.home}/build.properties"/>
+
+ <property name="env.GLOBUS_LOCATION" value="."/>
+ <property name="deploy.dir" location="${env.GLOBUS_LOCATION}"/>
+ <property name="abs.deploy.dir" location="${deploy.dir}"/>
+ <property name="build.launcher"
+ location="${abs.deploy.dir}/share/globus_wsrf_common/build-launcher.xml"/>
+
+ <target name="setup">
+
+ <ant antfile="${build.launcher}" target="generateLauncher">
+ <property name="launcher-name" value="workspace"/>
+ <property name="class.name"
+ value="org.globus.workspace.client.WorkspaceCLIMain"/>
+ </ant>
+
+ <ant antfile="${build.launcher}" target="generateLauncher">
+ <property name="launcher-name" value="workspace-status"/>
+ <property name="class.name"
+ value="org.globus.workspace.status.client.WorkspaceStatusClient"/>
+ </ant>
+
+ </target>
+
+</project>
+
View
BIN  service/client/java/source/lib/globus_delegation_client.jar
Binary file not shown
View
BIN  service/client/java/source/lib/globus_delegation_service.jar
Binary file not shown
View
BIN  service/client/java/source/lib/globus_delegation_stubs.jar
Binary file not shown
View
BIN  service/client/java/source/lib/nimbus-ctx-stubs-gt4.0.jar
Binary file not shown
View
8 service/client/java/source/share/_note.txt
@@ -0,0 +1,8 @@
+For cloud-client samples, see the cloud-client home online:
+
+http://workspace.globus.org/clouds/cloudquickstart.html
+
+And the one-click clusters page:
+
+http://workspace.globus.org/clouds/clusters.html
+
View
13 service/client/java/source/share/client-sample-01.sh
@@ -0,0 +1,13 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 1
+#### 127.0.0.1 :: image file already in local image store or accessible via
+#### shared filesystem
+
+$GLOBUS_LOCATION/bin/workspace --deploy --file workspace.epr \
+ --metadata $GLOBUS_LOCATION/share/nimbus-clients/sample-workspace.xml \
+ -s https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService \
+ --deploy-duration 30 --deploy-mem 256 --deploy-state Running
View
13 service/client/java/source/share/client-sample-02.sh
@@ -0,0 +1,13 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 2
+#### 127.0.0.1 :: same as example 1, but uses a deployment request file
+#### instead of specifying the resource request on the cmdline
+
+$GLOBUS_LOCATION/bin/workspace --deploy --file workspace.epr \
+ --metadata $GLOBUS_LOCATION/share/nimbus-clients/sample-workspace.xml \
+ --request $GLOBUS_LOCATION/share/nimbus-clients/sample-deployment-request.xml \
+ -s https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService
View
12 service/client/java/source/share/client-sample-03.sh
@@ -0,0 +1,12 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 3
+#### 127.0.0.1 :: propagation of image file to VMM node is required
+
+$GLOBUS_LOCATION//bin/workspace --deploy --file workspace.epr \
+ --metadata $GLOBUS_LOCATION/share/nimbus-clients/sample-workspace-propagation.xml \
+ --request $GLOBUS_LOCATION/share/nimbus-clients/sample-deployment-request.xml \
+ -s https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService
View
15 service/client/java/source/share/client-sample-04.sh
@@ -0,0 +1,15 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 4
+#### 127.0.0.1 :: staging of image directly to the VMM is required
+
+$GLOBUS_LOCATION//bin/workspace --deploy --file workspace.epr \
+ --metadata $GLOBUS_LOCATION/share/nimbus-clients/sample-workspace.xml \
+ --request $GLOBUS_LOCATION/share/nimbus-clients/sample-deployment-request.xml \
+ -s https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService \
+ -o share/nimbus-clients/sample-optional-staging.xml \
+ -u https://127.0.0.1:8443/wsrf/services/DelegationFactoryService -q 10000 -t
+
View
18 service/client/java/source/share/client-sample-05.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 5
+#### 127.0.0.1 :: staging of image to an image repository before it is then
+#### required to propagate to the appropriate VMM node (if you
+#### are using the resource pool model, this node is not known
+#### ahead of time -- and besides, it could be on a private
+#### network and/or without grid staging infrastructure).
+
+$GLOBUS_LOCATION//bin/workspace --deploy --file workspace.epr \
+ --metadata $GLOBUS_LOCATION/share/nimbus-clients/sample-workspace-propagation.xml \
+ --request $GLOBUS_LOCATION/share/nimbus-clients/sample-deployment-request.xml \
+ -s https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService \
+ -o share/nimbus-clients/sample-optional-staging.xml \
+ -u https://127.0.0.1:8443/wsrf/services/DelegationFactoryService -q 10000 -t
View
9 service/client/java/source/share/client-sample-06.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 6
+#### Shutdown a deployed workspace
+
+$GLOBUS_LOCATION/bin/workspace --e workspace.epr --shutdown
View
9 service/client/java/source/share/client-sample-07.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 7
+#### Reboot a running workspace
+
+$GLOBUS_LOCATION/bin/workspace --e workspace.epr --reboot
View
10 service/client/java/source/share/client-sample-08.sh
@@ -0,0 +1,10 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 8
+#### Query the factory resource properties
+
+$GLOBUS_LOCATION/bin/workspace --factoryrp \
+ -s https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService
View
9 service/client/java/source/share/client-sample-09.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 9
+#### Subscribe to a previously deployed workspace for state notifications
+
+$GLOBUS_LOCATION/bin/workspace --e workspace.epr --subscribe
View
11 service/client/java/source/share/client-sample-10.sh
@@ -0,0 +1,11 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 10
+#### Destroy a workspace -- this will force anything that is happening to
+#### to be cancelled and any propagated images associated with it on the
+#### VMM node will be deleted.
+
+$GLOBUS_LOCATION/bin/workspace --e workspace.epr --destroy
View
18 service/client/java/source/share/client-sample-12.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 12
+#### 127.0.0.1 :: image file already in local image store or accessible via
+#### shared filesystem
+#### readonly image partition in local image store or accessible
+#### via shared filesystem
+#### blankspace partition requested, 256M
+
+$GLOBUS_LOCATION/bin/workspace --deploy --file workspace.epr \
+ --metadata \
+ $GLOBUS_LOCATION/share/nimbus-clients/sample-workspace-multiple-partitions.xml \
+ --request \
+ $GLOBUS_LOCATION/share/nimbus-clients/sample-deployment-request-with-blankspace.xml \
+ -s https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService
View
17 service/client/java/source/share/ensemble-sample-01-part1.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+# Run this BEFORE running ensemble-sample-01-part2.sh
+
+#### 127.0.0.1 :: propagation required, different image, duration, and memory
+#### than in part2 of the ensemble
+
+$GLOBUS_LOCATION/bin/workspace --deploy --file ensemble1-group1 \
+ --metadata $GLOBUS_LOCATION/share/nimbus-clients/sample-workspace-propagation.xml \
+ -s https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService \
+ --deploy-duration 30 --deploy-mem 1024 --deploy-state Running \
+ --new-ensemble ensemble1-whole-ensemble.epr \
+ --trash-at-shutdown \
+ --numnodes 5 --terse-group-subscribe --groupfile ensemble1-group1.epr
View
18 service/client/java/source/share/ensemble-sample-01-part2.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+# Run this AFTER running ensemble-sample-01-part1.sh, because it uses the
+# created ensemble1-whole-ensemble.epr file from part1.sh
+
+#### 127.0.0.1 :: propagation not required, different image, duration, and
+#### memory than in part1 of the ensemble
+
+$GLOBUS_LOCATION/bin/workspace --deploy --file ensemble1-group2 \
+ --metadata $GLOBUS_LOCATION/share/nimbus-clients/sample-workspace.xml \
+ -s https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService \
+ --deploy-duration 60 --deploy-mem 2048 --deploy-state Running \
+ --join-ensemble ensemble1-whole-ensemble.epr --last-in-ensemble \
+ --trash-at-shutdown \
+ --numnodes 2 --terse-group-subscribe --groupfile ensemble1-group2.epr
View
14 service/client/java/source/share/group-sample-01.sh
@@ -0,0 +1,14 @@
+#!/bin/sh -x
+
+# (you will probably want to change the URLs and edit the sample
+# files in $GLOBUS_LOCATION/share/nimbus-clients )
+
+#### Example 1
+#### 127.0.0.1 :: image file already in local image store or accessible via
+#### shared filesystem
+
+$GLOBUS_LOCATION/bin/workspace --deploy --file workspace \
+ --metadata $GLOBUS_LOCATION/share/nimbus-clients/sample-workspace.xml \
+ -s https://127.0.0.1:8443/wsrf/services/WorkspaceFactoryService \
+ --deploy-duration 30 --deploy-mem 256 --deploy-state Running \
+ --numnodes 5 --groupfile workspace-group.epr
View
28 service/client/java/source/share/sample-deployment-request-with-blankspace.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WorkspaceDeployment
+ xmlns="http://www.globus.org/2008/06/workspace/negotiable"
+ xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
+
+ <DeploymentTime>
+ <!-- xsd:duration syntax. This example == 30 minutes -->
+ <minDuration>PT30M</minDuration>
+ </DeploymentTime>
+ <InitialState>Running</InitialState>
+ <ResourceAllocation>
+ <jsdl:IndividualPhysicalMemory>
+ <jsdl:Exact>256</jsdl:Exact>
+ </jsdl:IndividualPhysicalMemory>
+ <Storage>
+ <entry>
+ <partitionName>blankdisk1</partitionName>
+ <jsdl:IndividualDiskSpace>
+ <jsdl:Exact>256</jsdl:Exact>
+ </jsdl:IndividualDiskSpace>
+ </entry>
+ </Storage>
+ </ResourceAllocation>
+ <NodeNumber>1</NodeNumber>
+ <ShutdownMechanism>Trash</ShutdownMechanism>
+
+</WorkspaceDeployment>
View
20 service/client/java/source/share/sample-deployment-request.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WorkspaceDeployment
+ xmlns="http://www.globus.org/2008/06/workspace/negotiable"
+ xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
+
+ <DeploymentTime>
+ <!-- xsd:duration syntax. This example == 30 minutes -->
+ <minDuration>PT30M</minDuration>
+ </DeploymentTime>
+ <InitialState>Running</InitialState>
+ <ResourceAllocation>
+ <jsdl:IndividualPhysicalMemory>
+ <jsdl:Exact>256</jsdl:Exact>
+ </jsdl:IndividualPhysicalMemory>
+ </ResourceAllocation>
+ <NodeNumber>1</NodeNumber>
+ <ShutdownMechanism>Trash</ShutdownMechanism>
+</WorkspaceDeployment>
+
View
48 service/client/java/source/share/sample-optional-staging.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<OptionalParameters
+ xmlns="http://www.globus.org/2008/06/workspace/types"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
+
+ <stageIn>
+ <serviceEndpoint>https://127.0.0.1:8443/wsrf/services/ReliableFileTransferFactoryService</serviceEndpoint>
+ <sourceURL>gsiftp://yourcomputer/mnt/images/image01</sourceURL>
+ <destURL>gsiftp://image-repository.com/share/workspaces/ttylinux</destURL>
+
+ <!--
+ <stagingCredential></stagingCredential>
+ <transferCredential></transferCredential>
+ -->
+
+ <!--
+ Commenting the credentials out allows us to take advantage of these
+ client options if you need them (see ./bin/workspace -h for more
+ information)
+
+ -u, delegate <delegationServiceURL>
+ -t, delegateXf
+ -->
+
+ </stageIn>
+
+ <stageOut>
+ <serviceEndpoint>https://127.0.0.1:8443/wsrf/services/ReliableFileTransferFactoryService</serviceEndpoint>
+ <sourceURL>gsiftp://image-repository.com/share/workspaces/ttylinux</sourceURL>
+ <destURL>gsiftp://yourcomputer/mnt/images/image01.altered</destURL>
+
+ <!--
+ <stagingCredential></stagingCredential>
+ <transferCredential></transferCredential>
+ -->
+
+ <!--
+ Commenting the credentials out allows us to take advantage of these
+ client options if you need them (see ./bin/workspace -h for more
+ information)
+
+ -u, delegate <delegationServiceURL>
+ -t, delegateXf
+ -->
+
+ </stageOut>
+
+</OptionalParameters>
View
79 service/client/java/source/share/sample-workspace-multiple-partitions.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VirtualWorkspace
+ xmlns="http://www.globus.org/2008/06/workspace/metadata"
+ xmlns:def="http://www.globus.org/2008/06/workspace/metadata/definition"
+ xmlns:log="http://www.globus.org/2008/06/workspace/metadata/logistics"
+ xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
+
+ <!-- name is an arbitrary URI -->
+ <name>http://example1/localhost/image</name>
+
+ <log:logistics>
+ <log:networking>
+ <log:nic>
+ <log:name>eth0</log:name>
+ <log:ipConfig>
+ <log:acquisitionMethod>AllocateAndConfigure</log:acquisitionMethod>
+ </log:ipConfig>
+
+ <!--
+ The association string allows you to associate the NIC with
+ specific networking contexts (a common example is a string
+ which resolves to which physical NIC to bridge the virtual
+ NIC to; a simple scheme would be 'public' vs. 'private'.
+ Another example is VPN information). A site will advertise
+ the available assocations in the workspace factory resource
+ properties (to query with the sample client, use the
+ factoryrp option).
+ -->
+ <log:association>public</log:association>
+ </log:nic>
+ </log:networking>
+ </log:logistics>
+
+ <def:definition>
+ <def:requirements>
+ <jsdl:CPUArchitecture>
+ <jsdl:CPUArchitectureName>x86</jsdl:CPUArchitectureName>
+ </jsdl:CPUArchitecture>
+ <def:VMM>
+ <def:type>Xen</def:type>
+ <def:version>3</def:version>
+ </def:VMM>
+ </def:requirements>
+ <def:diskCollection>
+ <def:rootVBD>
+ <!--
+ Using gsiftp or scp here triggers a site-internal file
+ propagation from the URL to the RequiredVMM node. For notes on
+ authorization etc. see the documentation esp. see the
+ cloud configuration.
+ -->
+ <def:location>scp://image-repository.net/ttylinux</def:location>
+ <!-- <def:location>gsiftp://image-repository.net:2811/ttylinux</def:location> -->
+ <def:mountAs>sda1</def:mountAs>
+ <def:permissions>ReadWrite</def:permissions>
+ </def:rootVBD>
+ <def:partition>
+ <!--
+ Relative path names like in this example will be resolved
+ relative to the deployment node's local image repository
+ -->
+ <def:location>file://readonly</def:location>
+ <def:mountAs>sda2</def:mountAs>
+ <def:permissions>ReadOnly</def:permissions>
+ </def:partition>
+ <def:blankspacePartition>
+ <!--
+ partitionName element is a name that matches resource request
+ name (to distinguish between multiple blankspace requests).
+ The size of this particular created disk is specified in the
+ resource request.
+ -->
+ <def:partitionName>blankdisk1</def:partitionName>
+ <def:mountAs>sda3</def:mountAs>
+ </def:blankspacePartition>
+ </def:diskCollection>
+ </def:definition>
+</VirtualWorkspace>
View
61 service/client/java/source/share/sample-workspace-propagation.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VirtualWorkspace
+ xmlns="http://www.globus.org/2008/06/workspace/metadata"
+ xmlns:def="http://www.globus.org/2008/06/workspace/metadata/definition"
+ xmlns:log="http://www.globus.org/2008/06/workspace/metadata/logistics"
+ xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
+
+ <!-- name is an arbitrary URI -->
+ <name>http://example2/propagated/image</name>
+
+ <log:logistics>
+ <log:networking>
+ <log:nic>
+ <log:name>eth0</log:name>
+ <log:ipConfig>
+ <log:acquisitionMethod>AllocateAndConfigure</log:acquisitionMethod>
+ </log:ipConfig>
+
+ <!--
+ The association string allows you to associate the NIC with
+ specific networking contexts (a common example is a string
+ which resolves to which physical NIC to bridge the virtual
+ NIC to; a simple scheme would be 'public' vs. 'private'.
+ Another example is VPN information). A site will advertise
+ the available assocations in the workspace factory resource
+ properties (to query with the sample client, use the
+ factoryrp option).
+ -->
+ <log:association>public</log:association>
+
+ </log:nic>
+ </log:networking>
+ </log:logistics>
+
+ <def:definition>
+ <def:requirements>
+ <jsdl:CPUArchitecture>
+ <jsdl:CPUArchitectureName>x86</jsdl:CPUArchitectureName>
+ </jsdl:CPUArchitecture>
+ <def:VMM>
+ <def:type>Xen</def:type>
+ <def:version>3</def:version>
+ </def:VMM>
+ </def:requirements>
+ <def:diskCollection>
+ <def:rootVBD>
+ <!--
+ Using gsiftp or scp here triggers a site-internal file
+ propagation from the URL to the RequiredVMM node. For notes on
+ authorization etc. see the documentation esp. see the
+ cloud configuration.
+ -->
+ <def:location>scp://image-repository.net/ttylinux</def:location>
+ <!-- <def:location>gsiftp://image-repository.net:2811/ttylinux</def:location> -->
+ <def:mountAs>sda1</def:mountAs>
+ <def:permissions>ReadWrite</def:permissions>
+ </def:rootVBD>
+ </def:diskCollection>
+ </def:definition>
+</VirtualWorkspace>
View
57 service/client/java/source/share/sample-workspace.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VirtualWorkspace
+ xmlns="http://www.globus.org/2008/06/workspace/metadata"
+ xmlns:def="http://www.globus.org/2008/06/workspace/metadata/definition"
+ xmlns:log="http://www.globus.org/2008/06/workspace/metadata/logistics"
+ xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
+
+ <!-- name is an arbitrary URI -->
+ <name>http://example1/localhost/image</name>
+
+ <log:logistics>
+ <log:networking>
+ <log:nic>
+ <log:name>eth0</log:name>
+ <log:ipConfig>
+ <log:acquisitionMethod>AllocateAndConfigure</log:acquisitionMethod>
+ </log:ipConfig>
+
+ <!--
+ The association string allows you to associate the NIC with
+ specific networking contexts (a common example is a string
+ which resolves to which network to bridge the virtual NIC
+ to; a simple scheme would be 'public' vs. 'private'.
+ Another example is VPN). A site will advertise the
+ available assocations in the workspace factory resource
+ properties (to query with the sample client, use the
+ factoryrp option).
+ -->
+ <log:association>public</log:association>
+ </log:nic>
+ </log:networking>
+ </log:logistics>
+
+ <def:definition>
+ <def:requirements>
+ <jsdl:CPUArchitecture>
+ <jsdl:CPUArchitectureName>x86</jsdl:CPUArchitectureName>
+ </jsdl:CPUArchitecture>
+ <def:VMM>
+ <def:type>Xen</def:type>
+ <def:version>3</def:version>
+ </def:VMM>
+ </def:requirements>
+ <def:diskCollection>
+ <def:rootVBD>
+ <!--
+ Relative path names like in this example will be resolved
+ relative to the deployment node's local image repository
+ -->
+ <def:location>file://ttylinux-xen</def:location>
+ <def:mountAs>sda1</def:mountAs>
+ <def:permissions>ReadWrite</def:permissions>
+ </def:rootVBD>
+ </def:diskCollection>
+ </def:definition>
+</VirtualWorkspace>
View
477 service/client/java/source/src/org/globus/workspace/client/AllArguments.java
@@ -0,0 +1,477 @@
+/*
+ * Copyright 1999-2008 University of Chicago
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy
+ * of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.globus.workspace.client;
+
+import org.globus.workspace.common.print.Print;
+import org.apache.commons.cli.CommandLine;
+
+public class AllArguments {
+
+ // --------------------------------------------------------------------------
+ // GIVEN VALUES
+ // --------------------------------------------------------------------------
+
+ // only booleans (flag present) and Strings (flag argument) are possible
+
+ public boolean mode_factoryRpQuery;
+ public boolean mode_deploy;
+ public boolean mode_destroy;
+ public boolean mode_pause;
+ public boolean mode_shutdown;
+ public boolean mode_shutdown_save;
+ public boolean mode_start;
+ public boolean mode_reboot;
+ public boolean mode_subscribe;
+ public boolean mode_rpquery;
+ public boolean mode_doneEnsemble;
+ public boolean mode_monitorEnsemble;
+ public boolean mode_monitorContext;
+ public boolean mode_noMoreContextInjections;
+ public boolean mode_injectContextData;
+ public boolean mode_createContext;
+ public boolean mode_createInjectableContext;
+ public boolean mode_impersonateContextAgent;
+
+ // help modes
+ public boolean mode_help;
+ public boolean mode_extraUsage;
+
+ public String shortName;
+ public String listenerOverride;
+ public String delegationFactoryUrl;
+ public String targetServiceUrl;
+
+ public boolean lastInEnsemble;
+ public boolean trashAtShutdown;
+ public boolean dryrun;
+ public boolean delegationXferCredToo;
+ public boolean subscriptions = true;
+ public boolean autodestroy = true;
+ public boolean printLikeGroup;
+
+ public String metadataPath;
+ public String eprFile;
+ public String groupEprFile;
+ public String joinEnsembleEprFile;
+ public String newEnsembleEprFile;
+ public String contextDataInjectFile;
+ public String contextDataInjectName;
+ public String ctxContactXmlPath;
+ public String reportDir;
+ public String depRequestFilePath;
+ public String optionalParametersPath;
+ public String sshKeyPath;
+ public String sshHostsPath;
+ public String adjustSshHostsList;
+ public String saveTarget;
+ public String mdUserDataPath;
+ public String clusterForImpersonationPath;
+ public String eprIdDir;
+
+ public String exitStateString;
+ public String veryTerseNotifyStateString; // unused currently
+ public String pollDelayString;
+ public String pollMaxThreadsString;
+ public String delegationLifetimeString;
+ public String deploy_MemoryString;
+ public String deploy_DurationString;
+ public String deploy_NumNodesString;
+ public String deploy_StateString;
+
+ // -------------------------------------------------------------------------
+ // INTAKE
+ // -------------------------------------------------------------------------
+
+ private final Print pr;
+
+ public AllArguments(Print print) {
+ if (print == null) {
+ throw new IllegalArgumentException("print may not be null");
+ }
+ this.pr = print;
+ }
+
+ public void intake(CommandLine line) {
+
+ // note debug/help were already recognized and configured, keeping this
+ // block here for gotCmdLine logging
+ if (line.hasOption("d")) {
+ this.gotCmdLine("debug", "enabled");
+ }
+
+ if (line.hasOption("h")) {
+ this.gotCmdLine("help", "enabled");
+ }
+
+ this.intakeActions(line);
+ this.intakeNonactions(line);
+
+ // this will be gone when moving away from wsrf BaseClient
+ if (line.hasOption("s")) {
+ this.targetServiceUrl = line.getOptionValue("s");
+ this.gotCmdLine("service", this.targetServiceUrl);
+ }
+ }
+
+ private void gotCmdLine(String optionName, String value) {
+ this.pr.dbg("[*] Received '" + optionName + "' from command line, " +
+ "value: '" + value + "'");
+ }
+
+ private void intakeActions(CommandLine line) {
+
+ if (line.hasOption("h")) {
+ this.mode_help = true;
+ this.gotCmdLine("help", "enabled");
+ }
+
+ if (line.hasOption(Opts.EXTRAHELP_OPT_STRING)) {
+ this.mode_extraUsage = true;
+ this.gotCmdLine(Opts.EXTRAHELP_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.FACTORYRP_OPT_STRING)) {
+ this.mode_factoryRpQuery = true;
+ this.gotCmdLine(Opts.FACTORYRP_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.DEPLOY_OPT_STRING)) {
+ this.mode_deploy = true;
+ this.gotCmdLine(Opts.DEPLOY_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.DESTROY_OPT_STRING)) {
+ this.mode_destroy = true;
+ this.gotCmdLine(Opts.DESTROY_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.ENSEMBLE_DONE_OPT_STRING)) {
+ this.mode_doneEnsemble = true;
+ this.gotCmdLine(Opts.ENSEMBLE_DONE_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.ENSEMBLE_MONITOR_OPT_STRING)) {
+ this.mode_monitorEnsemble = true;
+ this.gotCmdLine(Opts.ENSEMBLE_MONITOR_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.CTX_MONITOR_OPT_STRING)) {
+ this.mode_monitorContext = true;
+ this.gotCmdLine(Opts.CTX_MONITOR_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.CTX_DATA_OPT_STRING)) {
+ this.mode_injectContextData = true;
+ this.gotCmdLine(Opts.CTX_DATA_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.CTX_CREATE_OPT_STRING)) {
+ this.mode_createContext = true;
+ this.gotCmdLine(Opts.CTX_CREATE_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.CTX_CREATE_INJECTABLE_OPT_STRING)) {
+ this.mode_createInjectableContext = true;
+ this.gotCmdLine(Opts.CTX_CREATE_INJECTABLE_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.CTX_NO_MORE_INJECTIONS_OPT_STRING)) {
+ this.mode_noMoreContextInjections = true;
+ this.gotCmdLine(Opts.CTX_NO_MORE_INJECTIONS_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.IMPERSONATE_CTX_AGENT_OPT_STRING)) {
+ this.mode_impersonateContextAgent = true;
+ this.gotCmdLine(Opts.IMPERSONATE_CTX_AGENT_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.PAUSE_OPT_STRING)) {
+ this.mode_pause = true;
+ this.gotCmdLine(Opts.PAUSE_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.SHUTDOWN_SAVE_OPT_STRING)) {
+ this.mode_shutdown_save = true;
+ this.gotCmdLine(Opts.SHUTDOWN_SAVE_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.SHUTDOWN_OPT_STRING)) {
+ this.mode_shutdown = true;
+ this.gotCmdLine(Opts.SHUTDOWN_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.START_OPT_STRING)) {
+ this.mode_start = true;
+ this.gotCmdLine(Opts.START_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.REBOOT_OPT_STRING)) {
+ this.mode_reboot = true;
+ this.gotCmdLine(Opts.REBOOT_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.SUBSCRIBE_OPT_STRING)) {
+ this.mode_subscribe = true;
+ this.gotCmdLine(Opts.SUBSCRIBE_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.RPQUERY_OPT_STRING)) {
+ this.mode_rpquery = true;
+ this.gotCmdLine(Opts.RPQUERY_OPT_STRING, "enabled");
+ }
+ }
+
+ private void intakeNonactions(CommandLine line) {
+
+ if (line.hasOption(Opts.DISPLAY_NAME_OPT_STRING)) {
+ this.shortName =
+ line.getOptionValue(Opts.DISPLAY_NAME_OPT_STRING);
+ this.gotCmdLine(Opts.DISPLAY_NAME_OPT_STRING,
+ this.shortName);
+
+ }
+
+ if (line.hasOption(Opts.LISTENER_OVERRIDE_OPT_STRING)) {
+ this.listenerOverride =
+ line.getOptionValue(Opts.LISTENER_OVERRIDE_OPT_STRING);
+ this.gotCmdLine(Opts.LISTENER_OVERRIDE_OPT_STRING,
+ this.listenerOverride);
+ }
+
+ if (line.hasOption(Opts.NOAUTODESTROY_OPT_STRING)) {
+ this.autodestroy = false;
+ this.gotCmdLine(Opts.NOAUTODESTROY_OPT_STRING,
+ "enabled (autodestroy disabled)");
+ }
+
+ if (line.hasOption(Opts.METADATA_OPT_STRING)) {
+ this.metadataPath =
+ line.getOptionValue(Opts.METADATA_OPT_STRING);
+ this.gotCmdLine(Opts.METADATA_OPT_STRING_LONG,
+ this.metadataPath);
+ }
+
+ if (line.hasOption(Opts.FILE_OPT_STRING)) {
+ this.eprFile =
+ line.getOptionValue(Opts.FILE_OPT_STRING);
+ this.contextDataInjectFile = this.eprFile;
+ this.gotCmdLine(Opts.FILE_OPT_STRING,
+ this.eprFile);
+ }
+
+ if (line.hasOption(Opts.CTX_DATANAME_OPT_STRING)) {
+ this.contextDataInjectName =
+ line.getOptionValue(Opts.CTX_DATANAME_OPT_STRING);
+ this.gotCmdLine(Opts.CTX_DATANAME_OPT_STRING,
+ this.contextDataInjectName);
+ }
+
+ if (line.hasOption(Opts.SSHFILE_OPT_STRING)) {
+ this.sshKeyPath =
+ line.getOptionValue(Opts.SSHFILE_OPT_STRING);
+ this.gotCmdLine(Opts.SSHFILE_OPT_STRING,
+ this.sshKeyPath);
+ }
+
+ if (line.hasOption(Opts.SSHHOSTS_OPT_STRING)) {
+ this.sshHostsPath =
+ line.getOptionValue(Opts.SSHHOSTS_OPT_STRING);
+ this.gotCmdLine(Opts.SSHHOSTS_OPT_STRING,
+ this.sshHostsPath);
+ }
+
+ if (line.hasOption(Opts.ADJUST_SSHHOSTS_OPT_STRING)) {
+ this.adjustSshHostsList =
+ line.getOptionValue(Opts.ADJUST_SSHHOSTS_OPT_STRING);
+ this.gotCmdLine(Opts.ADJUST_SSHHOSTS_OPT_STRING,
+ this.adjustSshHostsList);
+ }
+
+ if (line.hasOption(Opts.SAVE_TARGET_OPT_STRING)) {
+ this.saveTarget =
+ line.getOptionValue(Opts.SAVE_TARGET_OPT_STRING);
+ this.gotCmdLine(Opts.SAVE_TARGET_OPT_STRING,
+ this.saveTarget);
+ }
+
+ if (line.hasOption(Opts.MD_USERDATA_OPT_STRING)) {
+ this.mdUserDataPath =
+ line.getOptionValue(Opts.MD_USERDATA_OPT_STRING);
+ this.gotCmdLine(Opts.MD_USERDATA_OPT_STRING,
+ this.mdUserDataPath);
+ }
+
+ if (line.hasOption(Opts.EPR_ID_DIR_OPT_STRING)) {
+ this.eprIdDir = line.getOptionValue(Opts.EPR_ID_DIR_OPT_STRING);
+ this.gotCmdLine(Opts.EPR_ID_DIR_OPT_STRING,
+ this.eprIdDir);
+ }
+
+ if (line.hasOption(Opts.EXIT_STATE_OPT_STRING)) {
+ this.exitStateString =
+ line.getOptionValue(Opts.EXIT_STATE_OPT_STRING);
+ this.gotCmdLine(Opts.EXIT_STATE_OPT_STRING,
+ this.exitStateString);
+ }
+
+ if (line.hasOption(Opts.POLL_DELAY_OPT_STRING)) {
+ this.pollDelayString =
+ line.getOptionValue(Opts.POLL_DELAY_OPT_STRING);
+ this.gotCmdLine(Opts.POLL_DELAY_OPT_STRING,
+ this.pollDelayString);
+ }
+
+ if (line.hasOption(Opts.POLL_MAXTHREADS_OPT_STRING)) {
+ this.pollMaxThreadsString =
+ line.getOptionValue(Opts.POLL_MAXTHREADS_OPT_STRING);
+ this.gotCmdLine(Opts.POLL_MAXTHREADS_OPT_STRING,
+ this.pollMaxThreadsString);
+ }
+
+ if (line.hasOption(Opts.GROUPFILE_OPT_STRING)) {
+ this.groupEprFile =
+ line.getOptionValue(Opts.GROUPFILE_OPT_STRING);
+ this.gotCmdLine(Opts.GROUPFILE_OPT_STRING,
+ this.groupEprFile);
+ }
+
+ if (line.hasOption(Opts.ENSEMBLE_JOIN_OPT_STRING)) {
+ this.joinEnsembleEprFile =
+ line.getOptionValue(Opts.ENSEMBLE_JOIN_OPT_STRING);
+ this.gotCmdLine(Opts.ENSEMBLE_JOIN_OPT_STRING,
+ this.joinEnsembleEprFile);
+ }
+
+ if (line.hasOption(Opts.ENSEMBLE_NEW_OPT_STRING)) {
+ this.newEnsembleEprFile =
+ line.getOptionValue(Opts.ENSEMBLE_NEW_OPT_STRING);
+ this.gotCmdLine(Opts.ENSEMBLE_NEW_OPT_STRING,
+ this.newEnsembleEprFile);
+ }
+
+ if (line.hasOption(Opts.ENSEMBLE_LAST_OPT_STRING)) {
+ this.lastInEnsemble = true;
+ this.gotCmdLine(Opts.ENSEMBLE_LAST_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.REPORTDIR_OPT_STRING)) {
+ this.reportDir =
+ line.getOptionValue(Opts.REPORTDIR_OPT_STRING);
+ this.gotCmdLine(Opts.REPORTDIR_OPT_STRING,
+ this.reportDir);
+ }
+
+ if (line.hasOption(Opts.REQUEST_OPT_STRING)) {
+ this.depRequestFilePath =
+ line.getOptionValue(Opts.REQUEST_OPT_STRING);
+ this.gotCmdLine(Opts.REQUEST_OPT_STRING_LONG,
+ this.depRequestFilePath);
+ }
+
+ if (line.hasOption(Opts.DEPLOY_DURATION_OPT_STRING)) {
+ this.deploy_DurationString =
+ line.getOptionValue(Opts.DEPLOY_DURATION_OPT_STRING);
+ this.gotCmdLine(Opts.DEPLOY_DURATION_OPT_STRING,
+ this.deploy_DurationString);
+ }
+
+ if (line.hasOption(Opts.DEPLOY_MEMORY_OPT_STRING)) {
+ this.deploy_MemoryString =
+ line.getOptionValue(Opts.DEPLOY_MEMORY_OPT_STRING);
+ this.gotCmdLine(Opts.DEPLOY_MEMORY_OPT_STRING,
+ this.deploy_MemoryString);
+ }
+
+ if (line.hasOption(Opts.TRASH_OPT_STRING)) {
+ this.trashAtShutdown = true;
+ this.gotCmdLine(Opts.TRASH_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.OPTIONAL_OPT_STRING)) {
+ this.optionalParametersPath =
+ line.getOptionValue(Opts.OPTIONAL_OPT_STRING);
+ this.gotCmdLine(Opts.OPTIONAL_OPT_STRING_LONG,
+ this.optionalParametersPath);
+ }
+
+ if (line.hasOption(Opts.DELEGATE_OPT_STRING)) {
+ this.delegationFactoryUrl =
+ line.getOptionValue(Opts.DELEGATE_OPT_STRING);
+ this.gotCmdLine(Opts.DELEGATE_OPT_STRING_LONG,
+ this.delegationFactoryUrl);
+ }
+
+ if (line.hasOption(Opts.DELEGATE_TIME_OPT_STRING)) {
+ this.delegationLifetimeString =
+ line.getOptionValue(Opts.DELEGATE_TIME_OPT_STRING);
+ this.gotCmdLine(Opts.DELEGATE_TIME_OPT_STRING_LONG,
+ this.delegationLifetimeString);
+ }
+
+ if (line.hasOption(Opts.DELEGATE_XF_OPT_STRING)) {
+ this.delegationXferCredToo = true;
+ this.gotCmdLine(Opts.DELEGATE_XF_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.NONOTIFY_OPT_STRING)) {
+ this.subscriptions = false;
+ this.gotCmdLine(Opts.NONOTIFY_OPT_STRING,
+ "enabled (subscriptions disabled)");
+ }
+
+ if (line.hasOption(Opts.CTX_CONTACT_PATH_OPT_STRING)) {
+ this.ctxContactXmlPath =
+ line.getOptionValue(Opts.CTX_CONTACT_PATH_OPT_STRING);
+ this.gotCmdLine(Opts.CTX_CONTACT_PATH_OPT_STRING,
+ this.ctxContactXmlPath);
+ }
+
+ // unused currently
+ /*
+ if (line.hasOption(Opts.VERYTERSENOTIFY_OPT_STRING)) {
+ this.veryTerseNotifyStateString =
+ line.getOptionValue(Opts.VERYTERSENOTIFY_OPT_STRING);
+ this.gotCmdLine(Opts.VERYTERSENOTIFY_OPT_STRING,
+ this.veryTerseNotifyStateString);
+ }
+ */
+
+ if (line.hasOption(Opts.NUMNODES_OPT_STRING)) {
+ this.deploy_NumNodesString =
+ line.getOptionValue(Opts.NUMNODES_OPT_STRING);
+ this.gotCmdLine(Opts.NUMNODES_OPT_STRING,
+ this.deploy_NumNodesString);
+ }
+
+ if (line.hasOption(Opts.DRYRUN_OPT_STRING)) {
+ this.dryrun = true;
+ this.gotCmdLine(Opts.DRYRUN_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.GROUP_PRINT_OPT_STRING)) {
+ this.printLikeGroup = true;
+ this.gotCmdLine(Opts.GROUP_PRINT_OPT_STRING, "enabled");
+ }
+
+ if (line.hasOption(Opts.IMPERSONATE_CTX_AGENT_OPT_STRING)) {
+ this.clusterForImpersonationPath =
+ line.getOptionValue(Opts.IMPERSONATE_CTX_AGENT_OPT_STRING);
+ this.gotCmdLine(Opts.IMPERSONATE_CTX_AGENT_OPT_STRING,
+ this.clusterForImpersonationPath);
+ }
+ }
+}
View
24 service/client/java/source/src/org/globus/workspace/client/ExitNowListener.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 1999-2008 University of Chicago
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy
+ * of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.globus.workspace.client;
+
+import org.globus.workspace.client_core.repr.Workspace;
+
+public interface ExitNowListener {
+
+ public void exitNow(int code, Workspace workspace);
+}
View
114 service/client/java/source/src/org/globus/workspace/client/Help.java
@@ -0,0 +1,114 @@
+/*
+ * Copyright 1999-2007 University of Chicago
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy
+ * of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.globus.workspace.client;
+
+import org.globus.workspace.common.Version;
+import org.globus.workspace.client_core.utils.StringUtils;
+
+import java.io.InputStream;
+import java.io.IOException;
+
+/**
+ * The help printing via BaseClient and commons CLI is not helpful.
+ */
+public class Help {
+
+ // -------------------------------------------------------------------------
+ // STATIC VARIABLES
+ // -------------------------------------------------------------------------
+
+ public static final String FIRST_LINE =
+ "Workspace Service CLI, TP " + Version.getVersion() +
+ " - http://workspace.globus.org\n";
+
+
+ // -------------------------------------------------------------------------
+ // GET HELP STRINGS
+ // -------------------------------------------------------------------------
+
+ public String getHelpString() throws IOException {
+ return this.getStringFromJar("client-help.txt");
+ }
+
+ public String getExtraHelpString() throws IOException {
+ return this.getStringFromJar("client-help-extra.txt");
+ }
+
+ public String getModeHelpString(AllArguments args) throws IOException {
+
+ if (args == null) {
+ return null;
+ }
+
+ final String filename;
+ if (args.mode_deploy) {
+ filename = "client-help-mode-deploy.txt";
+ } else if (args.mode_subscribe) {
+ filename = "client-help-mode-subscribe.txt";
+ } else if (args.mode_factoryRpQuery) {
+ filename = "client-help-mode-factoryrp.txt";
+ } else if (args.mode_destroy) {
+ filename = "client-help-mode-destroy.txt";
+ } else if (args.mode_pause) {
+ filename = "client-help-mode-shared1.txt";
+ } else if (args.mode_reboot) {
+ filename = "client-help-mode-shared1.txt";
+ } else if (args.mode_rpquery) {
+ filename = "client-help-mode-shared1.txt";
+ } else if (args.mode_shutdown) {
+ filename = "client-help-mode-shared1.txt";
+ } else if (args.mode_shutdown_save) {
+ filename = "client-help-mode-shutdownsave.txt";
+ } else if (args.mode_doneEnsemble) {
+ filename = "client-help-mode-done.txt";
+ } else if (args.mode_monitorEnsemble) {
+ filename = "client-help-mode-ensmonitor.txt";
+ } else if (args.mode_monitorContext) {
+ filename = "client-help-mode-ctxmonitor.txt";
+ } else if (args.mode_createContext) {
+ filename = "client-help-mode-ctxcreate.txt";
+ } else if (args.mode_createInjectableContext) {
+ filename = "client-help-mode-ctxcreate-injectable.txt";
+ } else if (args.mode_noMoreContextInjections) {
+ filename = "client-help-mode-ctx-no-more.txt";
+ } else if (args.mode_injectContextData) {
+ filename = "client-help-mode-ctxdata.txt";
+ } else if (args.mode_start) {
+ filename = "client-help-mode-shared1.txt";
+ } else {
+ return null;
+ }
+
+ return this.getStringFromJar(filename);
+ }
+
+ private String getStringFromJar(String path) throws IOException {
+ InputStream is = null;
+ try {
+ is = this.getClass().getResourceAsStream(path);
+ if (is == null) {
+ return "Sorry, cannot find '" + path + "' in the jar file " +
+ "alongside " + this.getClass();
+ }
+ return StringUtils.getTextFileViaInputStream(is);
+ } finally {
+ if (is != null) {
+ is.close();
+ }
+ }
+ }
+}
View
358 service/client/java/source/src/org/globus/workspace/client/Opts.java
@@ -0,0 +1,358 @@
+/*
+ * Copyright 1999-2008 University of Chicago
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy
+ * of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.globus.workspace.client;
+
+import org.apache.commons.cli.Option;
+import org.apache.commons.cli.OptionBuilder;
+
+public class Opts {
+
+ public static final String EXTRAHELP_OPT_STRING = "extrahelp";
+ public final Option EXTRAHELP_OPT =
+ OptionBuilder.withLongOpt(EXTRAHELP_OPT_STRING).create();
+
+ public static final String DESTROY_OPT_STRING = "destroy";
+ public final Option DESTROY_OPT =
+ OptionBuilder.withLongOpt(DESTROY_OPT_STRING).create();
+
+ public static final String FACTORYRP_OPT_STRING = "factoryrp";
+ public final Option FACTORYRP_OPT =
+ OptionBuilder.withLongOpt(FACTORYRP_OPT_STRING).create();
+
+ public static final String DEPLOY_OPT_STRING = "deploy";
+ public final Option DEPLOY_OPT =
+ OptionBuilder.withLongOpt(DEPLOY_OPT_STRING).create();
+
+ public static final String PAUSE_OPT_STRING = "pause";
+ public final Option PAUSE_OPT =
+ OptionBuilder.withLongOpt(PAUSE_OPT_STRING).create();
+
+ public static final String SHUTDOWN_OPT_STRING = "shutdown";
+ public final Option SHUTDOWN_OPT =
+ OptionBuilder.withLongOpt(SHUTDOWN_OPT_STRING).create();
+
+ public static final String SHUTDOWN_SAVE_OPT_STRING = "shutdown-save";
+ public final Option SHUTDOWN_SAVE_OPT =
+ OptionBuilder.withLongOpt(SHUTDOWN_SAVE_OPT_STRING).create();
+
+ public static final String START_OPT_STRING = "start";
+ public final Option START_OPT =
+ OptionBuilder.withLongOpt(START_OPT_STRING).create();
+
+ public static final String REBOOT_OPT_STRING = "reboot";
+ public final Option REBOOT_OPT =
+ OptionBuilder.withLongOpt(REBOOT_OPT_STRING).create();
+
+ public static final String SUBSCRIBE_OPT_STRING = "subscribe";
+ public final Option SUBSCRIBE_OPT =
+ OptionBuilder.withLongOpt(SUBSCRIBE_OPT_STRING).create();
+
+ public static final String METADATA_OPT_STRING = "w";
+ public static final String METADATA_OPT_STRING_LONG = "metadata";
+ public final Option METADATA_OPT =
+ OptionBuilder.hasArg().withLongOpt(METADATA_OPT_STRING_LONG)
+ .create(METADATA_OPT_STRING);
+
+ public static final String OPTIONAL_OPT_STRING = "o";
+ public static final String OPTIONAL_OPT_STRING_LONG = "optional";
+ public final Option OPTIONAL_OPT =
+ OptionBuilder.hasArg().withLongOpt(OPTIONAL_OPT_STRING_LONG)
+ .create(OPTIONAL_OPT_STRING);
+
+ public static final String DELEGATE_XF_OPT_STRING = "t";
+ public static final String DELEGATE_XF_OPT_STRING_LONG = "delegateXf";
+ public final Option DELEGATE_XF_OPT =
+ OptionBuilder.withLongOpt(DELEGATE_XF_OPT_STRING_LONG)
+ .create(DELEGATE_XF_OPT_STRING);
+
+ public static final String DELEGATE_OPT_STRING = "u";
+ public static final String DELEGATE_OPT_STRING_LONG = "delegate";
+ public final Option DELEGATE_OPT =
+ OptionBuilder.hasArg().withLongOpt(DELEGATE_OPT_STRING_LONG)
+ .create(DELEGATE_OPT_STRING);
+
+ public static final String DELEGATE_TIME_OPT_STRING = "q";
+ public static final String DELEGATE_TIME_OPT_STRING_LONG = "delegatetime";
+ public final Option DELEGATE_TIME_OPT =
+ OptionBuilder.hasArg().withLongOpt(DELEGATE_TIME_OPT_STRING_LONG)
+ .create(DELEGATE_TIME_OPT_STRING);
+
+ public static final String REQUEST_OPT_STRING = "r";
+ public static final String REQUEST_OPT_STRING_LONG = "request";
+ public final Option REQUEST_OPT =
+ OptionBuilder.hasArg().withLongOpt(REQUEST_OPT_STRING_LONG)
+ .create(REQUEST_OPT_STRING);
+
+ public static final String FILE_OPT_STRING = "file";
+ public final Option FILE_OPT =
+ OptionBuilder.hasArg().withLongOpt(FILE_OPT_STRING).create();
+
+ public static final String GROUPFILE_OPT_STRING = "groupfile";
+ public final Option GROUPFILE_OPT =
+ OptionBuilder.hasArg().withLongOpt(GROUPFILE_OPT_STRING).create();
+
+ public static final String NUMNODES_OPT_STRING = "n";
+ public static final String NUMNODES_OPT_STRING_LONG = "numnodes";
+ public final Option NUMNODES_OPT =
+ OptionBuilder.hasArg().withLongOpt(NUMNODES_OPT_STRING_LONG)
+ .create(NUMNODES_OPT_STRING);
+
+ public static final String TRASH_OPT_STRING = "trash-at-shutdown";
+ public final Option TRASH_OPT =
+ OptionBuilder.withLongOpt(TRASH_OPT_STRING).create();
+
+ public static final String NONOTIFY_OPT_STRING = "nosubscriptions";
+ public final Option NONOTIFY_OPT =
+ OptionBuilder.withLongOpt(NONOTIFY_OPT_STRING).create();
+
+ /* unused currently
+ public static final String VERYTERSENOTIFY_OPT_STRING = "veryterse-group-subscribe";
+ public final Option VERYTERSENOTIFY_OPT =
+ OptionBuilder.hasArg().withLongOpt(VERYTERSENOTIFY_OPT_STRING)
+ .create();
+ */
+
+ public static final String NOAUTODESTROY_OPT_STRING = "no-auto-destroy";
+ public final Option NOAUTODESTROY_OPT =
+ OptionBuilder.withLongOpt(NOAUTODESTROY_OPT_STRING).create();
+
+ public static final String DEPLOY_DURATION_OPT_STRING = "deploy-duration";
+ public final Option DEPLOY_DURATION_OPT =
+ OptionBuilder.hasArg().withLongOpt(DEPLOY_DURATION_OPT_STRING).create();
+
+ public static final String DEPLOY_STATE_OPT_STRING = "deploy-state";
+ public final Option DEPLOY_STATE_OPT =
+ OptionBuilder.hasArg().withLongOpt(DEPLOY_STATE_OPT_STRING).create();
+
+ public static final String DEPLOY_MEMORY_OPT_STRING = "deploy-mem";
+ public final Option DEPLOY_MEMORY_OPT =
+ OptionBuilder.hasArg().withLongOpt(DEPLOY_MEMORY_OPT_STRING).create();
+
+ public static final String EXIT_STATE_OPT_STRING = "exit-state";
+ public final Option EXIT_STATE_OPT =
+ OptionBuilder.hasArg().withLongOpt(EXIT_STATE_OPT_STRING).create();
+
+ public static final String POLL_DELAY_OPT_STRING = "poll-delay";
+ public final Option POLL_DELAY_OPT =
+ OptionBuilder.hasArg().withLongOpt(POLL_DELAY_OPT_STRING).create();
+
+ public static final String POLL_MAXTHREADS_OPT_STRING = "poll-maxthreads";
+ public final Option POLL_MAXTHREADS_OPT =
+ OptionBuilder.hasArg().withLongOpt(POLL_MAXTHREADS_OPT_STRING).create();
+
+ public static final String RPQUERY_OPT_STRING = "rpquery";
+ public final Option RPQUERY_OPT =
+ OptionBuilder.withLongOpt(RPQUERY_OPT_STRING).create();
+
+ public static final String DRYRUN_OPT_STRING = "dryrun";
+ public final Option DRYRUN_OPT =
+ OptionBuilder.withLongOpt(DRYRUN_OPT_STRING).create();
+
+ public static final String DISPLAY_NAME_OPT_STRING = "displayname";
+ public final Option DISPLAY_NAME_OPT =
+ OptionBuilder.hasArg().withLongOpt(DISPLAY_NAME_OPT_STRING).create();
+
+ public static final String GROUP_PRINT_OPT_STRING = "groupprint";
+ public final Option GROUP_PRINT_OPT =
+ OptionBuilder.withLongOpt(GROUP_PRINT_OPT_STRING).create();
+
+ public static final String LISTENER_OVERRIDE_OPT_STRING = "override-listener-address";
+ public final Option LISTENER_OVERRIDE_OPT =
+ OptionBuilder.hasArg().withLongOpt(LISTENER_OVERRIDE_OPT_STRING).create();
+
+ public static final String SSHFILE_OPT_STRING = "sshfile";
+ public final Option SSHFILE_OPT =
+ OptionBuilder.hasArg().withLongOpt(SSHFILE_OPT_STRING).create();
+
+ public static final String SSHHOSTS_OPT_STRING = "sshhosts";
+ public final Option SSHHOSTS_OPT =
+ OptionBuilder.hasArg().withLongOpt(SSHHOSTS_OPT_STRING).create();
+
+ public static final String ADJUST_SSHHOSTS_OPT_STRING = "adjusthosts";
+ public final Option ADJUST_SSHHOSTS_OPT =
+ OptionBuilder.hasArg().withLongOpt(ADJUST_SSHHOSTS_OPT_STRING).create();
+
+ public static final String SAVE_TARGET_OPT_STRING = "save-target";
+ public final Option SAVE_TARGET_OPT =
+ OptionBuilder.hasArg().withLongOpt(SAVE_TARGET_OPT_STRING).create();
+
+ public static final String MD_USERDATA_OPT_STRING = "mdUserdata";
+ public final Option MD_USERDATA_OPT =
+ OptionBuilder.hasArg().withLongOpt(MD_USERDATA_OPT_STRING).create();
+
+ // ensemble related:
+
+ public static final String ENSEMBLE_NEW_OPT_STRING = "new-ensemble";
+ public final Option ENSEMBLE_NEW_OPT =
+ OptionBuilder.hasArg().withLongOpt(ENSEMBLE_NEW_OPT_STRING).create();
+
+ public static final String ENSEMBLE_JOIN_OPT_STRING = "join-ensemble";
+ public final Option ENSEMBLE_JOIN_OPT =
+ OptionBuilder.hasArg().withLongOpt(ENSEMBLE_JOIN_OPT_STRING).create();
+
+ public static final String ENSEMBLE_LAST_OPT_STRING = "last-in-ensemble";
+ public final Option ENSEMBLE_LAST_OPT =
+ OptionBuilder.withLongOpt(ENSEMBLE_LAST_OPT_STRING).create();
+
+ public static final String ENSEMBLE_DONE_OPT_STRING = "ens-done";
+ public final Option ENSEMBLE_DONE_OPT =
+ OptionBuilder.withLongOpt(ENSEMBLE_DONE_OPT_STRING).create();
+
+ public static final String ENSEMBLE_MONITOR_OPT_STRING = "ens-monitor";
+ public final Option ENSEMBLE_MONITOR_OPT =
+ OptionBuilder.withLongOpt(ENSEMBLE_MONITOR_OPT_STRING).create();
+
+ public static final String REPORTDIR_OPT_STRING = "reportdir";
+ public final Option REPORTDIR_OPT =
+ OptionBuilder.hasArg().withLongOpt(REPORTDIR_OPT_STRING).create();
+
+ // context broker related:
+
+ public static final String CTX_MONITOR_OPT_STRING = "ctx-monitor";
+ public final Option CTX_MONITOR_OPT =
+ OptionBuilder.withLongOpt(CTX_MONITOR_OPT_STRING).create();
+
+ public static final String CTX_NO_MORE_INJECTIONS_OPT_STRING =
+ "ctx-no-more-injections";
+ public final Option CTX_NO_MORE_INJECTIONS_OPT =
+ OptionBuilder.withLongOpt(CTX_NO_MORE_INJECTIONS_OPT_STRING).create();
+
+ public static final String CTX_DATA_OPT_STRING = "ctx-data";
+ public final Option CTX_DATA_OPT =
+ OptionBuilder.withLongOpt(CTX_DATA_OPT_STRING).create();
+
+ public static final String CTX_CREATE_OPT_STRING = "ctx-create";
+ public final Option CTX_CREATE_OPT =
+ OptionBuilder.withLongOpt(CTX_CREATE_OPT_STRING).create();
+
+ public static final String CTX_CREATE_INJECTABLE_OPT_STRING =
+ "ctx-create-injectable";
+ public final Option CTX_CREATE_INJECTABLE_OPT =
+ OptionBuilder.withLongOpt(CTX_CREATE_INJECTABLE_OPT_STRING).create();
+
+ public static final String CTX_CONTACT_PATH_OPT_STRING =
+ "ctx-contact-xml";
+ public final Option CTX_CONTACT_PATH_OPT =
+ OptionBuilder.hasArg().withLongOpt(CTX_CONTACT_PATH_OPT_STRING).create();
+
+ public static final String CTX_DATANAME_OPT_STRING = "dataname";
+ public final Option CTX_DATANAME_OPT =
+ OptionBuilder.hasArg().withLongOpt(CTX_DATANAME_OPT_STRING).create();
+
+ /* undocumented options: */
+
+ public static final String DEBUGGER_HANG_OPT_STRING = "debuggerhang";
+ public final Option DEBUGGER_HANG_OPT =
+ OptionBuilder.withLongOpt(DEBUGGER_HANG_OPT_STRING).create();
+
+ // (...)
+ public static final String EPR_ID_DIR_OPT_STRING = "epr-ip-dir";
+ public final Option EPR_ID_DIR_OPT =
+ OptionBuilder.hasArg().withLongOpt(EPR_ID_DIR_OPT_STRING).create();
+
+ // because of static Option in wsrf BaseClient (really about time we
+ // got rid of using that altogether)
+ public static final String EPRFILE2_OPT_STRING = "eprFile2";
+ public final Option EPRFILE2_OPT =
+ OptionBuilder.hasArg().withLongOpt(EPRFILE2_OPT_STRING).create();
+
+ // because of static Option in wsrf BaseClient (really about time we
+ // got rid of using that altogether)
+ public static final String SERVICE2_OPT_STRING = "service2";
+ public final Option SERVICE2_OPT =
+ OptionBuilder.hasArg().withLongOpt(SERVICE2_OPT_STRING).create();
+
+ // an undocumented option that makes the java client send the ctx agent's
+ // 'retrieve' WS operation -- mostly this allows the developer to quickly
+ // see a correct SOAP message on the wire. Takes an argument, the path
+ // to cluster ctx file that an agent will get in user data.
+ public static final String IMPERSONATE_CTX_AGENT_OPT_STRING =
+ "impersonate-ctx-agent";
+ public final Option IMPERSONATE_CTX_AGENT_OPT =
+ OptionBuilder.hasArg().withLongOpt(IMPERSONATE_CTX_AGENT_OPT_STRING).create();
+
+
+ /* public final String TS01PATH_OPT_STRING = "ts01path";
+ public final Option TS01PATH_OPT =
+ OptionBuilder.hasArg().withLongOpt(TS01PATH_OPT_STRING).create(); */
+
+
+ public final Option[] ALL_ENABLED_OPTIONS = {this.EXTRAHELP_OPT,
+ this.FACTORYRP_OPT,
+ this.DEPLOY_OPT,
+ this.DESTROY_OPT,
+ this.PAUSE_OPT,
+ this.START_OPT,
+ this.SHUTDOWN_OPT,
+ this.SHUTDOWN_SAVE_OPT,
+ this.REBOOT_OPT,
+ this.SUBSCRIBE_OPT,
+ this.METADATA_OPT,
+ this.OPTIONAL_OPT,
+ this.DELEGATE_OPT,
+ this.DELEGATE_XF_OPT,
+ this.DELEGATE_TIME_OPT,
+ this.FILE_OPT,
+ this.GROUPFILE_OPT,
+ this.REQUEST_OPT,
+ this.NONOTIFY_OPT,
+ this.DEPLOY_DURATION_OPT,
+ this.DEPLOY_STATE_OPT,
+ this.DEPLOY_MEMORY_OPT,
+ this.EXIT_STATE_OPT,
+ this.POLL_DELAY_OPT,
+ this.POLL_MAXTHREADS_OPT,
+ this.RPQUERY_OPT,
+ this.DRYRUN_OPT,
+ this.DISPLAY_NAME_OPT,
+ this.GROUP_PRINT_OPT,
+ this.LISTENER_OVERRIDE_OPT,
+ this.SSHFILE_OPT,
+ this.SSHHOSTS_OPT,
+ this.MD_USERDATA_OPT,
+ this.ADJUST_SSHHOS