This repository was archived by the owner on Sep 12, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ Note the bugsnag "stage" will be set to the specified configuration "flavor".
33
33
This encapsulate your registry inside the new-relic agent.
34
34
35
35
You need to write a new-relic ini file, then use the following environment variables:
36
+
36
37
* ` NEW_RELIC_INI ` to point to your ini file
37
38
* ` NEW_RELIC_STAGE ` to specify what stage you want
38
39
Original file line number Diff line number Diff line change 7
7
* enhanced style checking
8
8
* enhanced testing
9
9
* uniformized various gunicorn start stances
10
+ * enhanced/cleaned-up debugging
11
+ * removed unused endpoints and code
12
+ * improved documentation
13
+ * more complete CORS support (as en extra)
10
14
15
+ ## 0.8.1
16
+
17
+ * security fixes (path traversing prevention and token validation)
11
18
12
19
## 0.8.0
13
20
Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
3
- import docker_registry .run as run
4
-
5
3
import hashlib
6
4
import os
7
5
import random
8
6
import string
9
7
import unittest
10
8
11
9
from docker_registry .core import compat
10
+ import docker_registry .wsgi as wsgi
12
11
13
12
data_dir = os .path .join (os .path .dirname (__file__ ), "data" )
14
13
@@ -17,8 +16,8 @@ class TestCase(unittest.TestCase):
17
16
18
17
def __init__ (self , * args , ** kwargs ):
19
18
unittest .TestCase .__init__ (self , * args , ** kwargs )
20
- run .app .testing = True
21
- self .http_client = run .app .test_client ()
19
+ wsgi .app .testing = True
20
+ self .http_client = wsgi .app .test_client ()
22
21
# Override the method so we can set headers for every single call
23
22
orig_open = self .http_client .open
24
23
You can’t perform that action at this time.
0 commit comments