Commit Graph

55 Commits

Author SHA1 Message Date
4147a474f5 rebase master
Upstream-commit: c46382ba29c82eedab2b1601da5a81a047f078c2
Component: engine
2013-06-13 17:58:06 +00:00
9efccead8d Merge branch '610-improve_rmi-feature'
* Runtime: improved image removal to garbage-collect unreferenced parents
- Runtime: fixed image removal to cleanly remove tags and repositories
Upstream-commit: 5ecfe13be9f8f47e27e5134e60d14d195a1baeaa
Component: engine
2013-06-12 20:30:07 -07:00
0a236e493a bump to master
Upstream-commit: f2383151cbcc727450f87cb80a392e2858d4b0ca
Component: engine
2013-06-12 17:39:32 +00:00
604adb2ef8 * Remote Api: Add flag to enable cross domain requests
Upstream-commit: 20bf0e00e81fdff34c821fd880a92e822fb5ba15
Component: engine
2013-06-11 10:12:36 +00:00
2d226181f9 Add explicit status response to OPTIONS handler
Write the http.StatusOK header in the OPTIONS
handler and update the unit tests to refer to the
response code using the const from the http package.
Upstream-commit: ac599d652846f6456366b8028b2c38da0565d8b1
Component: engine
2013-06-10 14:44:10 -09:00
c612f1e4ee Add Cors and OPTIONS route unit tests
Move creating the router and populating the
routes to a separate function outside of
ListenAndServe to allow unit tests to make
assertions on the configured routes and handler
funcs.
Upstream-commit: 0a28628c02d486512dc7e62eb54ccfd27eaa0a27
Component: engine
2013-06-10 13:02:40 -09:00
2bcee3140c rebump
Upstream-commit: 66d9a733622ba9a8f9671bac7d33776981672940
Component: engine
2013-06-10 21:05:54 +00:00
83d9b24a84 bump to master
Upstream-commit: c906239220c7ba06b8615f001fab2f42fb063aeb
Component: engine
2013-06-05 10:23:45 +00:00
4747c5b99f linted names
Upstream-commit: fd224ee590dc9f003f6507b529a9f47cceb02c44
Component: engine
2013-06-04 18:00:22 +00:00
19f2b9dadf Add flag to enable cross domain requests in Api
Add the -api-enable-cors flag when running docker
in daemon mode to allow CORS requests to be made to
the Remote Api.  The default value is false for this
flag to not allow cross origin request to be made.

Also added a handler for OPTIONS requests the standard
for cross domain requests is to initially make an
OPTIONS request to the api.
Upstream-commit: 6d5bdff3942ce5e030b2cbd1510f418de25a1a53
Component: engine
2013-06-03 21:39:00 -04:00
db19220e91 removed auth in pull
Upstream-commit: 7e59b83053bceb683a198786290bc61da81581be
Component: engine
2013-06-03 17:51:52 +00:00
7c20a7a163 Update test to reflect new ApiInfo struct
Upstream-commit: 8243f2510e0ff0af8df18bf0febab819529106d4
Component: engine
2013-06-03 06:44:00 -07:00
a5e3ae8f4a bump master
Upstream-commit: ca902b6be4cb04f3f885af750609f74effd75d3d
Component: engine
2013-06-03 12:37:51 +00:00
799ca20158 added proper returns type, move the auto-prune in v1.1 api
Upstream-commit: 9060b5c2f52d29dec1920eb89ee0d48341540e3b
Component: engine
2013-05-31 14:37:02 +00:00
e8420b7464 move auth to the client WIP
Upstream-commit: 49e656839fb3d846dc65fec544f2984a9c72a2cf
Component: engine
2013-05-30 15:39:43 +00:00
694903e92c removed the -f
Upstream-commit: 2eb4e2a0b86f8d244f0b6cbeb0422f8499d834f8
Component: engine
2013-05-29 16:31:47 +00:00
9c8c6a4ab3 merge master
Upstream-commit: ea9095c5626077c198e3fdbb480d6205851f027b
Component: engine
2013-05-29 11:49:39 +00:00
f9738020b7 Update tests with new cookies for registry
Upstream-commit: b76d6120ac66a853d177f7e53318ab1ee75dca92
Component: engine
2013-05-28 17:35:10 -07:00
a20c31a039 rename containers/ps to containers/json
Upstream-commit: 4f9443927e8bc8a724b43afae6cf7a183cd9acd0
Component: engine
2013-05-28 16:08:05 +00:00
0575fdb313 Fix issue within auth test
Upstream-commit: 0146f65a448d2d42271300f1477ea9fa378d6360
Component: engine
2013-05-24 11:31:11 -07:00
41d3215b3f api versionning
Upstream-commit: faae7220c019882a2160aeea6bebc46c15d702be
Component: engine
2013-05-22 15:29:54 +00:00
3c7eed1673 Remove no longer needed tests
Upstream-commit: 3f22842542a17d41f72b4943d19d244f2296b418
Component: engine
2013-05-20 17:54:54 -07:00
54c4bf20a4 add check to see if the image isn't parent of another and add -f to force
Upstream-commit: 67b20f2c8cc8d85ab09de95970e4d28c80f0aeb6
Component: engine
2013-05-20 18:31:45 +00:00
67c2cf9c02 Merge remove-hijack
Upstream-commit: 372d81c32593da877685851b9cb85c688c59b998
Component: engine
2013-05-20 11:07:34 -07:00
5a4d699310 Merge branch 'master' into 610-improve_rmi-feature
Upstream-commit: 6102552d61eb9059b9d958f80a6645d5328ca063
Component: engine
2013-05-18 14:29:37 +00:00
6a0c3bd9ab fixed insert
Upstream-commit: 3703a654056b4af7acbb09dc4d02bd184c7307c5
Component: engine
2013-05-17 17:09:09 +00:00
e571a0fa05 Update tests to reflect new behavior
Upstream-commit: 6145812444fb3eda2cc362795ed0b1addb8f4847
Component: engine
2013-05-16 14:33:10 -07:00
d091930918 Merge branch 'master' into 610-improve_rmi-feature
Upstream-commit: 2ae8aaa10684da3b8ee3c0de5f49b57f21286978
Component: engine
2013-05-16 11:15:16 -07:00
65f5bcf0ce 1 or 0 -> 1/True/true or 0/False/false
Upstream-commit: 0c5443571dd1c081d57b6b2840c30d86bef0e82c
Component: engine
2013-05-16 13:45:29 +00:00
4f2b2696d3 Update tests to reflect new AuthConfig
Upstream-commit: 10e19e4b97dba71b603d652d5a046ef792d9d704
Component: engine
2013-05-15 17:31:11 -07:00
2d208e56c7 Move authConfig from runtime to registry
Upstream-commit: 95dd6d31a4c11618836f9a55fc3dbbde48450b09
Component: engine
2013-05-15 17:17:33 -07:00
9add3a9664 improve rmi
Upstream-commit: c80448c4d1836dd0e23953fa923f7a270d32df05
Component: engine
2013-05-15 13:51:50 +00:00
741f6efe46 Update tests to reflect new project structure
Upstream-commit: e7077320ff6452984260c14394c271db080b5e9c
Component: engine
2013-05-15 01:52:09 +00:00
bc6fad489c Create a subpackage for utils
Upstream-commit: 2e69e1727b4d5698a90c24c5800eecd5401dc319
Component: engine
2013-05-14 22:37:35 +00:00
fc6ad3f15e add -notrunc on docker images
Upstream-commit: e82ff22fae096e64e9ec0f621a532eaa62b40deb
Component: engine
2013-05-13 12:26:18 +02:00
ad78d7afdf removed only_ids and trunc_cmd from the api
Upstream-commit: 1990c49a6235530a3ddedc00db3aa38acf93a9c5
Component: engine
2013-05-13 12:18:55 +02:00
ca65b7f821 Update api_test.go to reflect new api.go
Upstream-commit: b99446831f576d626f78be7baea09af8520d125b
Component: engine
2013-05-10 15:24:07 -07:00
5b93b96784 Small fix within TestGetImagesJson
Upstream-commit: ae80c37054835dc0cd55f81c9f97ca07ed80081c
Component: engine
2013-05-10 13:58:21 -07:00
c661f127d6 Improve remote api unit tests
Upstream-commit: 5bec9275c01f646ba6a5afd19ea80a38c41604a7
Component: engine
2013-05-10 12:28:07 -07:00
25467fbd92 fix tests in api_test.go
Upstream-commit: 53a8229ce7f8d4d1dfb7a85a31ed25613a9f9813
Component: engine
2013-05-10 16:49:47 +02:00
e4c6fe6d42 Mock Hijack and Implement Unit test for Attach
Upstream-commit: 15ae314cbb8ede09a2d2c9e70c6a0d7d87817b64
Component: engine
2013-05-09 21:55:08 -07:00
c8215f011f More unit tests for remote api
Upstream-commit: 310fec4819422ad7ee7a73543746bbd1977ef285
Component: engine
2013-05-09 21:54:43 -07:00
3f51b4ea04 Fix typos whithin unit tests
Upstream-commit: 483c9425208fbc649cd12d157892be5a7ea92924
Component: engine
2013-05-09 21:53:28 -07:00
f7a60e000e Add/improve unit tests
Upstream-commit: 24816a8b80cb9d5b97d876f99a8300924f6abf9c
Component: engine
2013-05-09 20:13:52 -07:00
ad97f9e37e Add unit tests
Upstream-commit: 2a303dab8594420b6b7908183a73c5d744b1e66b
Component: engine
2013-05-09 19:19:24 -07:00
648408dc60 Add unit tests for remote api
Upstream-commit: ede0793d94e0bafcddc65b1fcb683169accffea3
Component: engine
2013-05-09 17:51:27 -07:00
725fad8955 Change API route for containers/ and images/ in order to avoid conflict
Upstream-commit: 152ebeea4327c3240e211b96b5858063f0ee468b
Component: engine
2013-05-09 17:50:56 -07:00
4ef966aa4a Add the variable maps to the Api functions
Upstream-commit: ff67da9c867d82192020e3840bd588acc959bcd3
Component: engine
2013-05-09 16:28:47 -07:00
0194a92f31 fixed private caller
Upstream-commit: add73641e6a84cabac82b7ee7a2d72d5d78f1cf4
Component: engine
2013-05-10 01:23:50 +02:00
f13fcae909 Merge branch 'remote-api' of https://github.com/dotcloud/docker into remote-api
Upstream-commit: 9af5d9c527192a4da02fb8331cea941a40f2e11a
Component: engine
2013-05-10 01:20:33 +02:00