Permalink
Browse files

Rename root package to backdrop

  • Loading branch information...
1 parent efd8a1a commit 07649b4150d72dab8e637988da94efdfc5ab453c @robyoung robyoung committed Mar 6, 2013
View
@@ -1 +1 @@
-web: {{virtualenv-path}}/bin/gunicorn -blocalhost:3038 performance_platform.read.api:app
+web: {{virtualenv-path}}/bin/gunicorn -blocalhost:3038 backdrop.read.api:app
View
@@ -1 +1 @@
-web: {{virtualenv-path}}/bin/gunicorn -blocalhost:3039 performance_platform.write.api:app
+web: {{virtualenv-path}}/bin/gunicorn -blocalhost:3039 backdrop.write.api:app
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -13,7 +13,7 @@
# Configuration
app.config.from_object(
- "performance_platform.read.config.%s" % getenv("GOVUK_ENV", "development")
+ "backdrop.read.config.%s" % getenv("GOVUK_ENV", "development")
)
mongo = MongoClient(app.config['MONGO_HOST'], app.config['MONGO_PORT'])
@@ -1,3 +1,3 @@
-DATABASE_NAME = "performance_platform"
+DATABASE_NAME = "backdrop"
MONGO_HOST = 'localhost'
MONGO_PORT = 27017
@@ -1,3 +1,3 @@
-DATABASE_NAME = "performance_platform_test"
+DATABASE_NAME = "backdrop_test"
MONGO_HOST = 'localhost'
MONGO_PORT = 27017
File renamed without changes.
@@ -11,7 +11,7 @@
# Configuration
app.config.from_object(
- "performance_platform.write.config.%s" % getenv("GOVUK_ENV", "development")
+ "backdrop.write.config.%s" % getenv("GOVUK_ENV", "development")
)
mongo = MongoClient(app.config['MONGO_HOST'], app.config['MONGO_PORT'])
@@ -1,3 +1,3 @@
-DATABASE_NAME = "performance_platform"
+DATABASE_NAME = "backdrop"
MONGO_HOST = 'localhost'
MONGO_PORT = 27017
@@ -1,3 +1,3 @@
-DATABASE_NAME = "performance_platform_test"
+DATABASE_NAME = "backdrop_test"
MONGO_HOST = 'localhost'
MONGO_PORT = 27017
@@ -1 +1 @@
-python licensing_location_data.py | mongoimport --db performance_platform --collection licensing --upsertFields licence,authority,interaction,location,start_at,end_at --jsonArray
+python licensing_location_data.py | mongoimport --db backdrop --collection licensing --upsertFields licence,authority,interaction,location,start_at,end_at --jsonArray
View
@@ -5,10 +5,10 @@
from support.http_test_client import HTTPTestClient
from support.flask_test_client import FlaskTestClient
-from performance_platform.read import api as read_api
-from performance_platform.write import api as write_api
+from backdrop.read import api as read_api
+from backdrop.write import api as write_api
# pick one for test configuration, if they don't match things will fail
-from performance_platform.write.config import test as config
+from backdrop.write.config import test as config
def before_feature(context, feature):
View
@@ -1,8 +1,8 @@
from argh import arg
from argh.dispatching import dispatch_command
-from performance_platform.write import api as write_api
-from performance_platform.read import api as read_api
+from backdrop.write import api as write_api
+from backdrop.read import api as read_api
@arg('app', choices=['read', 'write'], help='The name of the app to start')
@@ -6,7 +6,7 @@
from hamcrest import *
-from performance_platform.read.api import build_query
+from backdrop.read.api import build_query
class TestBuild_query(TestCase):
@@ -1,6 +1,6 @@
from unittest import TestCase
from hamcrest import assert_that, is_
-from performance_platform.read.api import validate_request_args
+from backdrop.read.api import validate_request_args
class TestRequestValidation(TestCase):
@@ -7,7 +7,7 @@
import pytz
from tests.support.test_helpers import is_bad_request, is_ok, is_error_response
-from performance_platform.write import api
+from backdrop.write import api
class PostDataTestCase(unittest.TestCase):
@@ -4,8 +4,8 @@
from hamcrest import *
from pymongo import MongoClient
-from performance_platform.write.api import DataStore
-from performance_platform.write.config import test as config
+from backdrop.write.api import DataStore
+from backdrop.write.config import test as config
def setup_test_database():
@@ -4,8 +4,8 @@
import pytz
-from performance_platform.write import api
-from performance_platform.core.validators import value_is_valid_id, \
+from backdrop.write import api
+from backdrop.core.validators import value_is_valid_id, \
value_is_valid, key_is_valid, value_is_valid_datetime_string

0 comments on commit 07649b4

Please sign in to comment.