コード例 #1
0
ファイル: __init__.py プロジェクト: CSTARS/ckanext-ecosis
def init(schema, coll, pgConn, host, resourceUtil, workspacePath):
    global collections
    collections = coll;

    ensureIndexes(collections)

    files.init(collections, workspacePath)
    ckan.init(pgConn, schema)
    query.init(collections, host)
    vocab.init(schema, collections)
    delete.init(collections, workspacePath)
    workspace.init(collections, resourceUtil, workspacePath)
    mapreduce.init(collections, schema)
    push.init(collections)
コード例 #2
0
ファイル: __init__.py プロジェクト: CSTARS/ckanext-ecosis
def init(co, hostUrl):
    global collections, host

    collections = co
    host = hostUrl
    workspace.init(co, getResource, isPushed)