Граф коммитов

122 Коммитов

Автор SHA1 Сообщение Дата
Jennifer Hickey cc89d6bf18 Allow any whitespace between 'require' and 'sinatra'
in main Sinatra app file

Change-Id: I430575cde67eb30db059b0ece554434ee01d246f
2012-05-24 14:52:08 -07:00
Satoru Chinen 2d4db88764 [dev_setup] Fix memcached service chef cookbook.
- change libevent source url (cf_remote_file does not support download from https and redirect yet).
- add checksums (for cf_remote_file).
- use dev_setup cache.

Change-Id: I3ef634af15d99d44e12287427f8e4dbaf8153509
2012-05-23 07:46:36 +09:00
Jesse Zhang d51e0036e4 Merge changes I8068a506,I7ddc6b07
* changes:
  [dev_setup] Use github for lua-cjson source
  [dev_setup] set owner of mongo tarball
2012-05-22 20:54:34 +00:00
Harshawardhan Gadgil 651f27021c [devsetup] memcached statically linked to libevent, disable sasl
Change-Id: Idb8bfd06276c19f69c3fa7b5f44d9fea5196adce
2012-05-22 11:38:43 -07:00
Harshawardhan Gadgil 1ac418e077 Install libevent locally to have memcached config dependency fulfilled
Change-Id: Ie133e24fc6588285b46fb3dd199e72652b998049
2012-05-21 23:30:12 -07:00
Jesse Zhang 0f4be4814f [dev_setup] Use github for lua-cjson source
This change switches to downloading the source from github to avoid
outage of lua-cjson's author's homepage.

  Test plan:
    Run dev_setup on a vanilla VM and pass BVTs

Change-Id: I8068a5060014b46847cfa288916e282de22fb88a
2012-05-21 16:13:50 -07:00
Jesse Zhang bdca700e92 [dev_setup] set owner of mongo tarball
Correcting my stupidity of commenting out the ownership and permission
attributes in commit 2abb03a9.

Change-Id: I7ddc6b070cb167d3285ece9aba3390a837fe4114
2012-05-21 16:12:55 -07:00
Jesse Zhang 2abb03a932 [dev_setup] Fix Chef regression
This change replaces the use of remote_file with cf_remote_file to
work around two limitations in Chef 0.10:
  - Chef shares its downloading logic of remote_file with its REST
    client.  The REST client decompresses archives when it sees the
    header "Content-Encoding: gzip", which is an undesirable behavior
    for remote_file.
  - Chef only uses the specified checksum to trigger update, but it does
    no validation after new remote files are downloaded.

  Our requirement of cf_remote_file:
  - Don't do content decoding magic
  - checksum required and *always* validates the checksum

  Test plan: remove locally compiled ruby and the cached tarballs, run
dev_setup.

Change-Id: Ifb91188ec7ec2f77fafc671d128625ec0f8f1c77
2012-05-21 12:41:30 -07:00
Harshawardhan Gadgil b31c1af7b0 Merge "Dev setup support for memcached as a service" 2012-05-21 19:21:00 +00:00
Dale Olds 6f4acf0733 update uaa with fix for web authorization approval UI, and tests for the fix
update secoauth, fix uaa devsetup

Change-Id: I9d568830fddcd88701cbe507bca3cbb04174000c
2012-05-18 13:08:57 -07:00
Joel D'sa d0fd9bb06c Deploy the UAA in dev setup exactly like we would in bosh.
Change-Id: I393c3787dc0bb051ce0071e03e08a01a48bce5b5
2012-05-16 10:30:24 -07:00
Harshawardhan Gadgil b00249e238 Dev setup support for memcached as a service
- Configure sasldb and lib event when going dev setup for memcached
- Addressed CR comments
- Updated vcap to remove couchdb from optional services, this change will be made later
- Cleaned up memcache dev setup recipie (in place edit of saslauthd config file)
- Configured neo4j and memcached to be excluded by default, use environment variable to override
- Config files corrections from CR comments
- Deleted unused file, added default 16M memory for memcached instance

Change-Id: I3f28d4b42989af6dc56ca1757daff93b43b5f6d7
2012-05-14 18:00:35 -07:00
Jennifer Hickey 16169fa310 Add Play Framework
Change-Id: I57c11bcc01f4ce128f07678be334aa130d9b0460
2012-05-11 15:36:40 -07:00
Joel D'sa 0eab3c4124 Fixed the uaa config file to match uaa code changes in
preparation for public key signing of tokens.

Change-Id: I8bcedec23216ce77e3aa0f9738348927a80de087
2012-05-07 16:25:01 -07:00
Jesse Zhang d43adb58fd Merge "[dev_setup][bugfix] Bundle install for UAA" 2012-05-04 23:18:03 +00:00
Jesse Zhang 2c56ec1f79 [dev_setup][bugfix] Bundle install for UAA
This change fixes a bug in Change Id22dbb00 (commit 8e5838b8).
dev_setup will now install the bundle for UAA wrapper script.

Change-Id: I8077709bedaf210904dab519ca8ee200f12ea77d
2012-05-04 16:10:57 -07:00
Jennifer Hickey ceb5772f0e Add Ruby back to Rails path
- Fixes running tasks like "rake" from rails console

Change-Id: Ibe72db81960758f2f97d4ee05f044d6c2224ff8f
2012-05-04 15:40:01 -07:00
Alex Suraci 9fa7c22eb1 chef: rubygems -> 1.8.24, bundler -> 1.1.3
Change-Id: I03585ecc84975c262ceb516495d19b8ec2c1c1be
2012-05-02 13:40:13 -07:00
Anfernee Gui fc47a89739 Merge "Merge branch 'router_v2'" 2012-04-30 02:51:00 +00:00
Dave Syer 4aa42e6980 Normalize maven recipe to match the others
Change-Id: I2b1e3de8becb7e00a82a8d41e750d538d2db5ab3
2012-04-27 11:53:21 +01:00
Anfernee Gui 12a7c9ae88 Merge branch 'router_v2'
Conflicts:
	dev_setup/cookbooks/nginx/templates/default/ubuntu-nginx.conf.erb

Change-Id: Icdfef01b286ae8b37876809fbccac0327f9a7c06
2012-04-26 22:14:59 -07:00
Joel D'sa a1ee8eef81 Bump the submodule pointer for the uaa.
Remove a check for the maven repo so that dev_setup
fetches fresh code every time it runs.

Change-Id: Ie8c96d8c83ee204b5f2da7cf7f035c2a0da1badf
2012-04-24 11:34:48 -07:00
Jesse Zhang e8cf8f2a0a Merge "[dev_setup][bugfix] Include attributes in acmdb" 2012-04-20 20:24:10 +00:00
Jesse Zhang 12398c84ee [dev_setup][bugfix] Include attributes in acmdb
Otherwise attribute availability will depend on the run order of chef.

Change-Id: I8d195efdcaa18375027b60b5e9cce23a213f40fa
2012-04-18 14:37:21 -07:00
Jesse Zhang 3de85f2704 [dev_setup][bugfix] Untar from cache
This fixes a bug in I575c76ff , I3bd5e089 and Id1b8e362 that tried
decompressing the source tarballs from /tmp instead of the cache
location.

  Test plan: run dev_setup with no cached tarball and no built rubies,
node.js or erlang.

Change-Id: I97d0595bdf3e1f85335a5e8841e28433028219f9
2012-04-18 14:07:40 -07:00
Jesse Zhang 96892ce55b [dev_setup] Cache Redis tarballs
Test plan: run dev_setup with a cached tarball, without one, and with
a corrupt tarball.
  And to pass BVTs, without doubt.

Change-Id: Iefd2172c8966cef08838e70e6207dbb6c39a4fd2
2012-04-18 14:07:40 -07:00
Jesse Zhang 35afa2b424 [dev_setup] Cache Node.js tarballs
Node.js source tarballs are now cached to speed up repeated
installations.
  Test plan: run dev_setup without cache, with cache, and with a
corrupted cached tarball.

Change-Id: Id1b8e3626cd9491cfd26e9b338dbbc75eca742cc
2012-04-18 14:07:40 -07:00
Jesse Zhang f8b05c3634 [dev_setup] Cache ruby tarballs
Ruby source tarballs are now cached to speed up repeated
installations.
  Test plan: run dev_setup without cache, with cache, and with a
corrupted cached tarball.

Change-Id: I3bd5e089d60ac9b51193f80efffa916d63fdba36
2012-04-18 14:04:46 -07:00
Jesse Zhang 122bdc9460 [dev_setup] Prettify list of dirs
Confine the list to column limit of 100.

Change-Id: I0b544f967fcd275f49eb0d531a7ca48e054405f4
2012-04-18 14:04:46 -07:00
Jesse Zhang 5835c95969 [dev_setup] Cache Erlang tarballs
To speed up repeated installation on slow links.

Change-Id: I575c76ff167a07c7174d4893c65a6bbc7b9e559d
2012-04-18 14:04:46 -07:00
Maria Shaldybina 92d7f606e7 Add npm support
- run npm install on stager to recompile native modules
- provide modules based on package.json dependencies
- install npm on dev setup

Change-Id: I3e95aaf0982aea77fc280b58fcf965d1342b2ecf
2012-04-16 13:48:48 -07:00
Joel D'sa 2d9be87a6d Updated cloud_controller that returns UAA tokens
for filtered email addresses
Updated gem md5: fed9927968957574e8002ac9b8f67997
Bumped the uaa submodule pointer

Tested on dev_setup and bosh.

Change-Id: I95765c7a969c8ad1efb9fb40e24b70591ec6c984
2012-04-13 11:17:23 -07:00
Anfernee Gui aed8fafea2 Merge branch 'master' into router_v2
Conflicts:
	router/Gemfile.lock
	router/Rakefile
	router/spec/Rakefile
	router/spec/functional/router_spec.rb
	router/spec/functional/spec_helper.rb

Change-Id: I5c91bf1bab78855b05350948dfdfd4e13557432e
2012-04-13 01:13:12 -07:00
Joel D'sa 7b08f0a438 Bump acm submodule pointer and minor updates to dev_setup.
Change-Id: I1f0b4321007e98775dddd3599d828997e436fbbc
2012-04-07 15:50:32 -07:00
Patrick Bozeman 3d0af19613 extend nginx timeout in dev_setup
Change-Id: Ic00e1a682cf66fcedc7fdeba0f0172f447d3179c
2012-04-10 19:14:46 -07:00
Dave Syer 488f5aa76a CFID-228: chef change to install maven 3 in dev_setup
Change-Id: I3def500755e20539cd10eec35a7630eb64007cc0
2012-04-03 09:39:34 +01:00
Dale Olds 8c6bf37b82 update uaa: uaa client gem, dev_setup, submodule
Change-Id: Iac958a2b0ab19d5816288c6ceb4b51735ef5266c
2012-03-30 19:05:06 -07:00
Jennifer Hickey e46c15485d Add standalone app support
- Add new standalone framework that supports any runtime

- Allow a framework to not have a default runtime

- Allow sending a start command on app create/update

- Fix cc staging json parsing issue to allow quotes
in start command (EM.system strips escaped backslashes)

- Do not assign a web port if no URLs specified

- Confirm app is started by PID if no web port assigned

Change-Id: Ib4e51abf2495ff72dd586727bae85c0997bac28e
2012-03-28 12:01:49 -07:00
Nicholas Kushmerick 901c9685e9 Merge branch 'services-r9'
Bumped vcap/servics to Services-R9

Conflicts:
	cloud_controller/Gemfile.lock

Change-Id: If7edf506fa8d67fcc0df81120fab9fbde469259d
2012-03-23 08:12:41 -07:00
Ramnivas Laddad 9caf2a2018 Use correct executable for Rack on ruby18/19 in dev_setup
Change-Id: If182b6e6d0fa59230e85aaeed0684a4b0f7b543a
2012-03-21 00:32:44 -07:00
Joel D'sa 08246b2075 Bump the uaa client gem version to 0.0.5.
Additional parameters to support the uaa migration
functionality in dev_setup

Tested using cloud_controller unit tests, dev_setup,
running bvts against bosh deployed dev instance.

Change-Id: I37e25b6d3edaff14f5f2ecaebebabedc739ac517
2012-03-16 14:45:01 -07:00
Anfernee Gui 8eb95241d7 Nginx patch for the zero byte in cstr
See: http://mailman.nginx.org/pipermail/nginx-announce/2012/000076.html

Change-Id: I6c576dac24d6535a11b7380483511c65915f87cf
2012-03-15 23:10:03 -07:00
Tang Rui d06f66cd12 Add timeout configuration for rabbitmq in dev setup
Change-Id: I034042a7a2a20644747c80158d4c814413c3e0e7
2012-03-14 05:56:25 -07:00
Joel D'sa d0504fd94e Changes to the cloud controller to support user creation, deletion
and change password via the uaa.

collected minor config and transition changes
Add database migration config to dev_setup
update uaa submodule

Change-Id: If1b112af24de1434bc68ccc1a65bb41a6212c09b
2012-03-12 17:03:32 -07:00
Cliff Wang 64e7f1df8e Merge branch 'services-r8' into services-r9
Change-Id: Id02fb771cd4d34f4f2841a329700dc34560d89b6
2012-03-08 02:42:16 -07:00
Cliff Wang 627a04d801 neo4j dev_setup compatible with plan
Change-Id: I827f579eb88e407efa55f0b6c274b820b5e7d401
2012-03-07 22:52:01 -07:00
Nicholas Kushmerick 7a092285c2 Merge branch 'services-r8'
Bump vcap/services for Services-R8

Change-Id: I9b427cfda6fafb97b908d75b7de9eeed0d57dc29
2012-03-07 12:42:47 -08:00
Joel D'sa 6ad0e9f06c Merge "Bump the submodule pointer for the ACM. Fix to the acm configuration file for dev setup." 2012-03-05 23:45:23 +00:00
felixhoo d0623ea983 Merge branch 'master' into services-r9
Change-Id: Ica4547efedd58997f1f84e19702baa37ab97cfcf
2012-03-04 10:47:20 -07:00
Joel D'sa 93b5c7201e Bump the submodule pointer for the ACM. Fix to the acm configuration file for dev setup.
Change-Id: If12f4ac60dae83e9d1e568cac4bc471d694f87d2
2012-03-02 12:12:41 -08:00