ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1584154 - in /ace/trunk/run-server-allinone/scripts: addbundles.gogo adddist.gogo setup.gogo test_perf.gogo
Date Wed, 02 Apr 2014 20:19:29 GMT
Author: jawi
Date: Wed Apr  2 20:19:29 2014
New Revision: 1584154

URL: http://svn.apache.org/r1584154
Log:
Updated gogo scripts:

- corrected the used filters to use proper casing for keys, as
  otherwise the filters do not evaluate properly;
- added simple test script that executes several other scripts
  as a simple form of performance test.


Added:
    ace/trunk/run-server-allinone/scripts/test_perf.gogo
Modified:
    ace/trunk/run-server-allinone/scripts/addbundles.gogo
    ace/trunk/run-server-allinone/scripts/adddist.gogo
    ace/trunk/run-server-allinone/scripts/setup.gogo

Modified: ace/trunk/run-server-allinone/scripts/addbundles.gogo
URL: http://svn.apache.org/viewvc/ace/trunk/run-server-allinone/scripts/addbundles.gogo?rev=1584154&r1=1584153&r2=1584154&view=diff
==============================================================================
--- ace/trunk/run-server-allinone/scripts/addbundles.gogo (original)
+++ ace/trunk/run-server-allinone/scripts/addbundles.gogo Wed Apr  2 20:19:29 2014
@@ -16,7 +16,7 @@ while {(lt $a 10)} {
 		echo 'Creating bundle artifact-extra-'$a$it' ...'
 		# generate artifacts and associate them
         $w ca (gba 'artifact-extra-2-'$it'-'$a) true
-		$w ca2f '(bundle-symbolicname=artifact-extra-2-'$it'-'$a')' '(name=feature-'$it')'
+		$w ca2f '(Bundle-SymbolicName=artifact-extra-2-'$it'-'$a')' '(name=feature-'$it')'
 	}
 	a = (inc $a)
 }

Modified: ace/trunk/run-server-allinone/scripts/adddist.gogo
URL: http://svn.apache.org/viewvc/ace/trunk/run-server-allinone/scripts/adddist.gogo?rev=1584154&r1=1584153&r2=1584154&view=diff
==============================================================================
--- ace/trunk/run-server-allinone/scripts/adddist.gogo (original)
+++ ace/trunk/run-server-allinone/scripts/adddist.gogo Wed Apr  2 20:19:29 2014
@@ -15,7 +15,7 @@ each [0 1 2 3 4 5 6 7 8 9] {
 	each [0 1 2 3 4 5 6 7 8] {
 		# generate artifacts and associate them
         $w ca (gba 'artifact-extra-'$a$it) true
-		$w ca2f '(bundle-symbolicname=artifact-extra-'$a$it')' '(name=feature-extra-'$a')'
+		$w ca2f '(Bundle-SymbolicName=artifact-extra-'$a$it')' '(name=feature-extra-'$a')'
 	}
 	echo 'Creating config-'$a'.xml ...'
 	c = (gca 'config-extra-'$a 'common' 'prop'$a'1' 'prop'$a'2' 'prop'$a'3')

Modified: ace/trunk/run-server-allinone/scripts/setup.gogo
URL: http://svn.apache.org/viewvc/ace/trunk/run-server-allinone/scripts/setup.gogo?rev=1584154&r1=1584153&r2=1584154&view=diff
==============================================================================
--- ace/trunk/run-server-allinone/scripts/setup.gogo (original)
+++ ace/trunk/run-server-allinone/scripts/setup.gogo Wed Apr  2 20:19:29 2014
@@ -31,7 +31,7 @@ while {(lt $a 100)} {
 		echo 'Creating bundle artifact-'$a$it' ...'
 		# generate artifacts and associate them
         $w ca (gba 'artifact-'$it'-'$a) true
-		$w ca2f '(bundle-symbolicname=artifact-'$it'-'$a')' '(name=feature-'$it')'
+		$w ca2f '(Bundle-SymbolicName=artifact-'$it'-'$a')' '(name=feature-'$it')'
 	}
 	a = (inc $a)
 }

Added: ace/trunk/run-server-allinone/scripts/test_perf.gogo
URL: http://svn.apache.org/viewvc/ace/trunk/run-server-allinone/scripts/test_perf.gogo?rev=1584154&view=auto
==============================================================================
--- ace/trunk/run-server-allinone/scripts/test_perf.gogo (added)
+++ ace/trunk/run-server-allinone/scripts/test_perf.gogo Wed Apr  2 20:19:29 2014
@@ -0,0 +1,12 @@
+# Simple script to test performance of an ACE server
+#
+# usage : 
+#   run server-allinone
+#   time {source scripts/test_perf.gogo}
+#
+cd scripts
+sh clear.gogo
+sh setup.gogo
+sh addtargets.gogo
+sh adddist.gogo
+sh addbundles.gogo



Mime
View raw message