- This script copies all resources from a mongodb database locally The script creates a resources.json and downloads all the resources. It also updates the resources.json to point to these local downloads instead of the cloud bucket. Change-Id: I15480c4ba82bbf245425205c9c1ab7c0f3501cc3
14 lines
497 B
JSON
14 lines
497 B
JSON
{
|
|
"sources": {
|
|
"gem5-resources": {
|
|
"dataSource": "gem5-vision",
|
|
"database": "gem5-vision",
|
|
"collection": "resources",
|
|
"url": "https://data.mongodb-api.com/app/data-ejhjf/endpoint/data/v1",
|
|
"authUrl": "https://realm.mongodb.com/api/client/v2.0/app/data-ejhjf/auth/providers/api-key/login",
|
|
"apiKey": "OIi5bAP7xxIGK782t8ZoiD2BkBGEzMdX3upChf9zdCxHSnMoiTnjI22Yw5kOSgy9",
|
|
"isMongo": true
|
|
}
|
|
}
|
|
}
|