Beispiel #1
0
SUPPORT_AUTH_URL = "https://support.iontorrent.com/asdf_authenticate"
SUPPORT_UPLOAD_URL = "https://support.iontorrent.com/asdf_upload"

REFERENCE_LIST_URL = "http://ionupdates.com/reference_downloads/references_list.json"

PRODUCT_UPDATE_BASEURL = "http://ionupdates.com/"
PRODUCT_UPDATE_PATH = "products/main.json"

ABSOLUTE_URL_OVERRIDES = {
    'auth.user': lambda u: urlresolvers.reverse('configure_account'),
}

try:
    # this file is generated and placed into /opt/ion/iondb/ion_dbreports_version.py by the CMake process and .deb pkg installation
    import iondb.version as version  #@UnresolvedImport
    GITHASH = version.IonVersionGetGitHash()
    VERSION = 'v' + '.'.join([
        version.IonVersionGetMajor(),
        version.IonVersionGetMinor(),
        version.IonVersionGetRelease(),
        version.IonVersionGetGitHash()
    ])
    RELVERSION = '.'.join(
        [version.IonVersionGetMajor(),
         version.IonVersionGetMinor()])
except:
    GITHASH = ''
    VERSION = ''
    RELVERSION = ''
    pass
Beispiel #2
0
EULA_TEXT_URL = "products/LICENSE.txt"

PLAN_CSV_VERSION = "2.1"
SUPPORTED_PLAN_CSV_VERSION = ["1.0","2.0","2.1"]
SAMPLE_CSV_VERSION = "1.0"
SUPPORTED_SAMPLE_CSV_VERSION = ["1.0"]

ABSOLUTE_URL_OVERRIDES = {
    'auth.user': lambda u: urlresolvers.reverse('configure_account'),
}

try:
    # this file is generated and placed into /opt/ion/iondb/ion_dbreports_version.py by the CMake process and .deb pkg installation
    import iondb.version as version  # @UnresolvedImport
    GITHASH = version.IonVersionGetGitHash()
    VERSION = 'v' + '.'.join([version.IonVersionGetMajor(), version.IonVersionGetMinor(), version.IonVersionGetRelease(), version.IonVersionGetGitHash()])
    RELVERSION = '.'.join([version.IonVersionGetMajor(), version.IonVersionGetMinor()])
except:
    GITHASH = ''
    VERSION = ''
    RELVERSION = ''
    pass

# TEST_RUNNER = "iondb.test_runner.IonTestSuiteRunner"

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION': '127.0.0.1:11211'
    },