[Swift-commit] r7164 - in SwiftApps/gocat: . log

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Tue Oct 15 14:54:32 CDT 2013


Author: ketan
Date: 2013-10-15 14:54:31 -0500 (Tue, 15 Oct 2013)
New Revision: 7164

Added:
   SwiftApps/gocat/catalog_wrapper-debug.txt
   SwiftApps/gocat/log/
   SwiftApps/gocat/log/GlobusCatalog-log.txt
   SwiftApps/gocat/tagwrap.sh
Log:
 

Added: SwiftApps/gocat/catalog_wrapper-debug.txt
===================================================================
Added: SwiftApps/gocat/log/GlobusCatalog-log.txt
===================================================================
--- SwiftApps/gocat/log/GlobusCatalog-log.txt	                        (rev 0)
+++ SwiftApps/gocat/log/GlobusCatalog-log.txt	2013-10-15 19:54:31 UTC (rev 7164)
@@ -0,0 +1,3 @@
+python /scratch/local/ketan/catalog-client/globusonline/catalog/client/examples/catalog.py get_datasets 48
+python /scratch/local/ketan/catalog-client/globusonline/catalog/client/examples/catalog.py -text get_datasets 48
+python /scratch/local/ketan/catalog-client/globusonline/catalog/client/examples/catalog.py create_members 48 55 {"data_type":"file", "data_uri":"file:///scratch/local/ketan/gocat/dataset.txt"}

Added: SwiftApps/gocat/tagwrap.sh
===================================================================
--- SwiftApps/gocat/tagwrap.sh	                        (rev 0)
+++ SwiftApps/gocat/tagwrap.sh	2013-10-15 19:54:31 UTC (rev 7164)
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# Usage: $0 <catid> <dataset> <tagname>=<value>
+
+catid=$1 #48
+datasetid=$2 #55 
+tagvalpair=$3
+
+tagname=`echo $tagvalpair|awk -F= '{print $1}'`
+tagval=`echo $tagvalpair|awk -F= '{print $2}'`
+
+# 1. create dataset member
+python catalog.py create_members $catid $datasetid '{"data_type":"file", "data_uri":"file:///scratch/local/ketan/gocat/dataset.txt"}'
+
+# 2. insert tagname, value
+python catalog.py add_member_annotation $catid $datasetid $memberid <Annotations>
+




More information about the Swift-commit mailing list