airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramin...@apache.org
Subject svn commit: r1139910 - in /incubator/airavata/services/trunk/xregistry/conf: ./ ogce_services_key.pem xregistry-template.properties xregistry.sh xregistryShell.sh
Date Sun, 26 Jun 2011 18:57:45 GMT
Author: raminder
Date: Sun Jun 26 18:57:44 2011
New Revision: 1139910

URL: http://svn.apache.org/viewvc?rev=1139910&view=rev
Log:
Initial import.

Added:
    incubator/airavata/services/trunk/xregistry/conf/
    incubator/airavata/services/trunk/xregistry/conf/ogce_services_key.pem
    incubator/airavata/services/trunk/xregistry/conf/xregistry-template.properties
    incubator/airavata/services/trunk/xregistry/conf/xregistry.sh
    incubator/airavata/services/trunk/xregistry/conf/xregistryShell.sh

Added: incubator/airavata/services/trunk/xregistry/conf/ogce_services_key.pem
URL: http://svn.apache.org/viewvc/incubator/airavata/services/trunk/xregistry/conf/ogce_services_key.pem?rev=1139910&view=auto
==============================================================================
--- incubator/airavata/services/trunk/xregistry/conf/ogce_services_key.pem (added)
+++ incubator/airavata/services/trunk/xregistry/conf/ogce_services_key.pem Sun Jun 26 18:57:44
2011
@@ -0,0 +1,143 @@
+Certificate:
+    Data:
+        Version: 3 (0x2)
+        Serial Number: 5 (0x5)
+        Signature Algorithm: md5WithRSAEncryption
+        Issuer: C=US, ST=IN, L=Bloomington, O=Indiana University, OU=Extreme Lab, CN=OGCE/emailAddress=drlead@cs.indiana.edu
+        Validity
+            Not Before: Jul 22 15:41:34 2009 GMT
+            Not After : Jul 22 15:41:34 2011 GMT
+        Subject: C=US, ST=IN, L=Bloomington, O=Indiana University, OU=Extreme Lab, CN=ogce-demo-services
+        Subject Public Key Info:
+            Public Key Algorithm: rsaEncryption
+            RSA Public Key: (2048 bit)
+                Modulus (2048 bit):
+                    00:b8:54:80:46:07:81:1f:0a:eb:6a:c7:80:91:82:
+                    86:46:6e:2d:1e:81:43:15:f4:51:f2:9f:6d:2a:f0:
+                    89:42:67:0b:d3:c5:57:57:1f:3b:7f:93:68:15:ad:
+                    d0:3d:a1:5c:ba:62:3e:7c:78:bd:0a:3e:3a:81:8c:
+                    af:fc:92:67:23:c0:0a:46:6c:3d:0f:a3:28:40:e3:
+                    3b:e8:39:2a:ef:50:99:86:7f:39:df:f4:25:bf:57:
+                    74:78:75:43:21:68:ad:05:12:01:54:86:1b:4e:53:
+                    6b:1c:e4:4f:f2:d3:07:86:61:aa:d0:0a:c4:00:07:
+                    34:d3:21:46:d6:5e:4d:fa:4a:c3:15:04:6c:f5:64:
+                    33:ee:20:62:ec:46:de:eb:ef:e7:f6:a3:30:e7:a0:
+                    37:ff:33:ab:cf:c8:7a:b0:2a:97:e8:d5:46:68:1f:
+                    84:2c:8d:e0:d6:7e:be:63:8b:2a:c8:d5:16:78:41:
+                    c3:44:d6:77:07:e9:d8:f0:6d:0a:7b:8c:12:64:45:
+                    fc:70:e2:cb:3f:64:4b:41:94:3c:64:9e:d5:aa:72:
+                    1e:37:5f:c5:01:79:5f:be:e3:c8:1c:46:a3:12:a0:
+                    59:a9:cf:d7:c5:6c:a1:40:d9:5c:01:61:25:ed:3a:
+                    df:33:88:7b:8c:6d:cc:91:26:68:e7:70:ae:68:f7:
+                    11:85
+                Exponent: 65537 (0x10001)
+        X509v3 extensions:
+            X509v3 Basic Constraints: 
+                CA:FALSE
+            Netscape Cert Type: 
+                SSL Server
+            Netscape Comment: 
+                TinyCA Generated Certificate
+            X509v3 Subject Key Identifier: 
+                84:A8:BF:3A:92:53:E9:AD:D1:38:19:B2:74:5B:87:76:85:43:28:5E
+            X509v3 Authority Key Identifier: 
+                keyid:FA:DD:BB:34:C9:ED:7F:BD:2E:50:B3:3E:80:C9:54:8F:1D:3A:25:81
+                DirName:/C=US/ST=IN/L=Bloomington/O=Indiana University/OU=Extreme Lab/CN=OGCE/emailAddress=drlead@cs.indiana.edu
+                serial:00
+
+            X509v3 Subject Alternative Name: 
+                <EMPTY>
+
+            X509v3 Issuer Alternative Name: 
+                email:drlead@cs.indiana.edu
+    Signature Algorithm: md5WithRSAEncryption
+        e3:10:b0:de:23:6f:09:96:85:5b:c9:3b:df:b8:aa:10:5d:7a:
+        12:6d:d5:a6:08:94:cf:d6:b0:d4:cc:6f:de:3c:dc:89:e9:4d:
+        8a:28:c7:f0:be:9a:e5:ac:97:a1:09:d0:73:a4:cd:f7:f4:b2:
+        d4:a8:89:52:a0:80:68:1d:dc:cc:e1:59:1c:17:d0:93:32:8e:
+        c5:5e:19:c2:f5:92:10:cc:0a:46:19:ed:d3:d9:73:6a:64:35:
+        bd:74:55:02:02:8f:8f:fe:77:74:99:e5:80:4b:e1:46:fd:fd:
+        f4:2c:d8:0f:94:36:f1:81:49:91:c8:fb:c8:67:7f:ca:2f:57:
+        7d:d1:0b:cc:25:3f:8b:a9:29:79:d7:c2:a0:56:46:e8:59:36:
+        02:79:ac:3e:07:90:df:71:de:9e:c9:ec:2c:9b:54:cf:db:bc:
+        26:be:72:6d:83:0e:f2:d9:f1:a2:ce:e5:61:95:b9:5e:62:60:
+        97:a1:e8:a0:9c:b8:b1:79:ea:19:9f:04:e0:74:e0:3f:20:83:
+        da:99:e5:56:5d:c9:04:f6:26:93:04:95:52:c2:f7:29:ea:02:
+        63:cf:81:e4:03:f3:7a:95:3e:9d:55:9b:96:fc:64:83:4f:50:
+        78:f3:f9:37:d9:b2:f6:8d:a3:99:a5:14:ae:07:54:10:03:90:
+        49:c4:2d:08:99:2d:ef:c5:3e:08:a1:78:f9:3f:e0:e8:7a:3d:
+        b6:32:86:ed:46:f4:50:4b:24:90:a5:df:88:b0:3b:9d:51:c8:
+        53:c2:4b:d1:90:b9:0f:d8:88:1b:e1:65:7d:de:09:67:ec:36:
+        fc:32:2e:56:3a:50:6c:90:da:a8:2c:54:db:b8:b8:94:37:28:
+        19:30:07:25:9f:5c:1c:46:33:b7:64:65:07:a1:4c:52:f0:f9:
+        76:65:e8:c4:a5:04:e4:8f:dc:29:58:30:32:15:23:c2:f5:b4:
+        60:bc:06:9d:3b:68:65:89:cc:09:e7:c6:ec:8c:49:2b:95:b6:
+        95:a6:96:5d:63:cd:e3:b3:c7:fc:13:bb:82:85:19:0b:c8:0c:
+        88:4e:55:ec:64:6a:27:a3:35:03:b7:bf:22:1b:b1:7f:e6:8c:
+        e1:dc:de:51:3a:e3:28:72:4f:ee:10:d0:7e:29:19:29:f3:cb:
+        27:33:bf:6d:9d:cc:f5:8a:18:84:d7:9c:8c:27:42:02:8b:9e:
+        c3:6d:88:19:94:04:99:d5:56:ba:00:97:8e:51:06:96:e1:3e:
+        fa:36:8e:c0:44:88:81:18:30:be:5f:3f:f6:4b:83:8c:b2:52:
+        03:1b:66:4b:79:77:72:42:ea:8c:0a:b4:a2:03:83:64:a8:e8:
+        b9:fa:ab:0d:46:6c:16:e2
+-----BEGIN CERTIFICATE-----
+MIIF+jCCA+KgAwIBAgIBBTANBgkqhkiG9w0BAQQFADCBmDELMAkGA1UEBhMCVVMx
+CzAJBgNVBAgTAklOMRQwEgYDVQQHEwtCbG9vbWluZ3RvbjEbMBkGA1UEChMSSW5k
+aWFuYSBVbml2ZXJzaXR5MRQwEgYDVQQLEwtFeHRyZW1lIExhYjENMAsGA1UEAxME
+T0dDRTEkMCIGCSqGSIb3DQEJARYVZHJsZWFkQGNzLmluZGlhbmEuZWR1MB4XDTA5
+MDcyMjE1NDEzNFoXDTExMDcyMjE1NDEzNFowgYAxCzAJBgNVBAYTAlVTMQswCQYD
+VQQIEwJJTjEUMBIGA1UEBxMLQmxvb21pbmd0b24xGzAZBgNVBAoTEkluZGlhbmEg
+VW5pdmVyc2l0eTEUMBIGA1UECxMLRXh0cmVtZSBMYWIxGzAZBgNVBAMTEm9nY2Ut
+ZGVtby1zZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALhU
+gEYHgR8K62rHgJGChkZuLR6BQxX0UfKfbSrwiUJnC9PFV1cfO3+TaBWt0D2hXLpi
+Pnx4vQo+OoGMr/ySZyPACkZsPQ+jK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y8FpRmKRJwbIEal/MfFLr5IckeAF3zovhIxK7UGnsahQB
+jeuhNch0k45eTpOdPd+xXqZC0RJjK98Q60UX4kLZKM+6peg5CubnZip7iG842k3V
+bw2qRNIhAoGBAO/PIEn32MCPVHtuxeA1i8U52EttlJBYJDsqW9vyyEIbfteNd9kN
+dqa685tpsPzO+f2BZrzDpZ5wfyFKEUbVMmifGH77SEfDXZi5NjTQjpYO2VXlz1bB
+ti6z2yH/+siKCsq6Jd2hM7VfuHuYuwBlR0pOwnJsa0ln2Uu2xhm/sSBZAoGBAMTG
+eQGgoA7Wq9dJqej6LGU2kBrpZdwPgOe6azjPs+VwFi3wgpkRf0Z5i12BLi8gmJKI
+ezeClyU9Bpix8L0KQRPbZwNsr68IVtHmnnudrjtFfYneKL89vYa6WmRGpm/dvXn4
+PbcuZh8Y92W9ol4CYyIq6z78deSFA7kUQsrStjUNAoGAAZla+MNLUbVi9dO+RAl3
+XiBNneskI3ZC/5X/uM68oRw3004hL3RUhzYV68JfqL/kkNktCzMuxoivgFRTGyrO
+xD3TVv1r9PaLiDor71w4py2AK391y3lNMrCGVIq1bGLnQYTOPdUWWC5EN6bEEHOc
+bxVpXIP2jy2/GC8m0QMjNjkCgYEAo/Lpp115fmOGUZ3in2axzrKjZojIgY25TVmZ
+NIB51tSI5kXZykc10DY80+9p14JFHPHyF9IKtNAfyuGXPypoBm9raQMJbcB49fI8
+YaqDHIdNja04Lf73BmYGIj5rNhF+aT1XzmQuWgKnPnG98q3ygulXj+cxIvFgpLgo
+3mypu5ECgYBtYpBOzMXIJ8Y8W7jmajDe9NB3EP89EaHqbp7ns9nk3fLk0ms0T9N1
+GTwnK3K7pLmzQLQuLJKSW09sRcaTfj7XUjUwyvxwleqyfiJspwgH995pnr4364MR
+/YUVqH8+E50bL7pcXogm4sulW05WskW66MbO2h9JKwk2UimkkG7Rqg==
+-----END RSA PRIVATE KEY-----

Added: incubator/airavata/services/trunk/xregistry/conf/xregistry-template.properties
URL: http://svn.apache.org/viewvc/incubator/airavata/services/trunk/xregistry/conf/xregistry-template.properties?rev=1139910&view=auto
==============================================================================
--- incubator/airavata/services/trunk/xregistry/conf/xregistry-template.properties (added)
+++ incubator/airavata/services/trunk/xregistry/conf/xregistry-template.properties Sun Jun
26 18:57:44 2011
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+ssl.hostcertsKeyFile=@keyfile@
+ssl.trustedCertsFile=@trustedcert@
+databaseUrl=@dburl@
+port=@port@

Added: incubator/airavata/services/trunk/xregistry/conf/xregistry.sh
URL: http://svn.apache.org/viewvc/incubator/airavata/services/trunk/xregistry/conf/xregistry.sh?rev=1139910&view=auto
==============================================================================
--- incubator/airavata/services/trunk/xregistry/conf/xregistry.sh (added)
+++ incubator/airavata/services/trunk/xregistry/conf/xregistry.sh Sun Jun 26 18:57:44 2011
@@ -0,0 +1,62 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+
+#Set the classpath with all jars in the lib folder
+for i in lib/*.jar
+do
+  CLASSPATH=$CLASSPATH:$i
+done
+
+#Configure necessary properties
+PID_FILE=xregistry.pid
+SERVER_START_CMD="$JAVA_HOME/bin/java -Dlog=xregistry.logger:ALL -classpath  $CLASSPATH org.apache.airavata.xregistry.impl.XregistryServer"
+
+#For restarts - shutdown, previosuly running instances
+echo "Shutting down any previously running server...."
+if [ -f $PID_FILE ]; then
+	 kill -9 `cat $PID_FILE` 2>/dev/null
+fi
+
+echo "Starting server..."
+
+######## Standard Deployment ##########
+
+LOG_DIR=`pwd`
+LOG_FILE=$LOG_DIR/xregistry.log
+nohup $SERVER_START_CMD $*>$LOG_FILE 2>$LOG_FILE &
+
+
+######## Gateway Deployment ##########
+#Gateway deployment using common log folder for all services and cronolog for daily log rotation
+#Comment the parameters in Standard deployment and uncomment the following.
+
+#LOG_DIR=/home/ogce/ogce_gateway_deployment/logs
+#LOG_FILE=$LOG_DIR/xregistry-gateway-%Y-%m-%d.log
+#nohup $START_CMD 2>&1 | cronolog $LOG_FILE &
+
+#Capture process id and print logs
+echo $! > $PID_FILE
+
+echo "XRegistry startup log:"
+
+sleep 2
+
+cat $LOG_FILE
+
+echo "XRegistry start completed.  Check the logs in $LOG_FILE to verify the startup procedure
and get the service URL."
+

Added: incubator/airavata/services/trunk/xregistry/conf/xregistryShell.sh
URL: http://svn.apache.org/viewvc/incubator/airavata/services/trunk/xregistry/conf/xregistryShell.sh?rev=1139910&view=auto
==============================================================================
--- incubator/airavata/services/trunk/xregistry/conf/xregistryShell.sh (added)
+++ incubator/airavata/services/trunk/xregistry/conf/xregistryShell.sh Sun Jun 26 18:57:44
2011
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+
+for i in lib/*.jar
+do
+  CLASSPATH=$CLASSPATH:$i
+done
+
+if [ $# -eq 2 ] ; then
+	$JAVA_HOME/bin/java -classpath  $CLASSPATH org.apache.airavata.xregistry.client.AdminShell
$1	
+else
+	$JAVA_HOME/bin/java -classpath  $CLASSPATH org.apache.airavata.xregistry.client.DocumentRegistryShell
$1
+fi
+
+
+



Mime
View raw message