This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vcap@ubuntu:~/cloudfoundry/vcap-tests$ export | grep BVT | |
vcap@ubuntu:~/cloudfoundry/vcap-tests$ | |
vcap@ubuntu:~/cloudfoundry/vcap-tests$ bundle exec cucumber --backtrace features/uaa.feature:14 | |
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:28: warning: already initialized constant TEST_AUTOMATION_USER_ID | |
(snip) | |
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:66: warning: already initialized constant MEMCACHED_APP | |
Feature: UAA Service | |
As a deployer of Cloud Foundry | |
I want to be sure that the UAA Service is available |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vcap@ubuntu:~/cloudfoundry/vcap-tests$ bundle exec cucumber --backtrace features/uaa.feature:14 | |
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:28: warning: already initialized constant TEST_AUTOMATION_USER_ID | |
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:29: warning: already initialized constant TEST_AUTOMATION_PASSWORD | |
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:30: warning: already initialized constant SIMPLE_APP | |
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:31: warning: already initialized constant SIMPLE_APP2 | |
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:32: warning: already initialized constant SIMPLE_APP3 | |
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:33: warning: already initialized constant REDIS_LB_APP | |
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:34: warning: already initialized constant ENV_TEST_APP | |
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:35: warning: already initialized constant TINY_JAVA_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2012-05-25 00:41:24.874] uaa - 11237 [http-bio-8080-exec-3] .... DEBUG --- AntPathRequestMatcher: Checking match of request : '/login.do'; against '/user/*/password' | |
[2012-05-25 00:41:24.874] uaa - 11237 [http-bio-8080-exec-3] .... DEBUG --- UaaRequestMatcher: Checking match of request : '/login.do'; against '/User' with parameters={} | |
[2012-05-25 00:41:24.874] uaa - 11237 [http-bio-8080-exec-3] .... DEBUG --- RegexRequestMatcher: Checking match of request : '/login.do'; against '/oauth/(users|clients)/(.*?)/tokens.*' | |
[2012-05-25 00:41:24.878] uaa - 11237 [http-bio-8080-exec-3] .... DEBUG --- AntPathRequestMatcher: Checking match of request : '/login.do'; against '/oauth/clients/*/secret' | |
[2012-05-25 00:41:24.878] uaa - 11237 [http-bio-8080-exec-3] .... DEBUG --- AntPathRequestMatcher: Checking match of request : '/login.do'; against '/oauth/clients/**' | |
[2012-05-25 00:41:24.878] uaa - 11237 [http-bio-8080-exec-3] .... DEBUG --- AntPathRequestMatcher: Checking match of request : '/login.do'; against '/resource |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vcap@ubuntu:/var/vcap.local/dea/apps$ tail -f simple_django_app-0-d00b2264f3a6ce7e18b165774a1a08d3/logs/startup.log | |
Downloading/unpacking django | |
Running setup.py egg_info for package django | |
Installing collected packages: django | |
Running setup.py install for django | |
changing mode of build/scripts-2.6/django-admin.py from 644 to 755 | |
changing mode of /var/vcap.local/dea/apps/simple_django_app-0-d00b2264f3a6ce7e18b165774a1a08d3/python/bin/django-admin.py to 755 | |
Successfully installed django | |
Cleaning up... | |
Downloading/unpacking gunicorn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vcap@ubuntu:~/cloudfoundry/vcap$ bundle exec rake tests | |
Building tests | |
Building '/home/vcap/cloudfoundry/vcap-tests/assets/spring/auto-reconfig-test-app' | |
mvn package -DskipTests | |
[INFO] Scanning for projects... | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for org.cloudfoundry:auto-reconfig-test-app:war:0.1.0.BUILD-SNAPSHOT | |
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 260, column 12 | |
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 321, column 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vcap@ubuntu:~/cloudfoundry/vcap/tests$ bundle exec rake tests | |
Building tests | |
git submodule update --init | |
Built artifacts in sync with test assets - no build required | |
bundle exec cucumber --tags ~@bvt_upgrade --tags ~@pending | |
/home/vcap/cloudfoundry/vcap/tests/features/support/env.rb:28: warning: already initialized constant TEST_AUTOMATION_USER_ID | |
/home/vcap/cloudfoundry/vcap/tests/features/support/env.rb:29: warning: already initialized constant TEST_AUTOMATION_PASSWORD | |
/home/vcap/cloudfoundry/vcap/tests/features/support/env.rb:30: warning: already initialized constant SIMPLE_APP | |
/home/vcap/cloudfoundry/vcap/tests/features/support/env.rb:31: warning: already initialized constant SIMPLE_APP2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[schinen@mypc myapp]$ find | |
. | |
./manifest.yml | |
./standalone1 | |
./standalone1/simple-app.rb | |
./web1 | |
./web1/app.rb | |
./web1/config.ru | |
./web1/manifest.yml[schinen@mypc myapp]$ vmc manifest | |
Configure for which application? [.]: standalone1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>jruby --version | |
jruby 1.7.0.dev (ruby-1.9.3-p139) (2012-02-26 fffffff) (Java HotSpot(TM) 64-Bit Server VM 1.7.0_02) [Windows 7-amd64-java] | |
>jruby varargs_test.rb | |
(snip)/jruby/lib/ruby/shared/Win32API.rb:7 warning: warning: variable $KCODE is no longer effec | |
tive | |
-------------------- | |
pass String | |
args : ["bar"] | |
args.join(', ') : bar | |
-------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>ruby --version | |
ruby 1.9.2p290 (2011-07-09) [i386-mingw32] | |
>ruby varargs_test.rb | |
-------------------- | |
pass String | |
args : ["bar"] | |
args.join(', ') : bar | |
-------------------- | |
pass Strings | |
args : ["bar", "hoge"] |
NewerOlder