Skip to content

config.json.example

sheldonabrown edited this page Feb 13, 2022 · 1 revision

Paste this into /var/lib/oba/config.json

{
        "oba": {
                "env": "local",
                "config": "local"
        },
        "config":
 [
 {"component": "admin", "key": "useTdm", "value": "false"},
 {"component": "admin", "key": "admin.auxSupport", "value": "false"},
 {"component": "admin", "key": "admin.stopConsolidation", "value": "true"},
 {"component": "admin", "key": "admin.instanceId", "value": "localhost"},
 {"component": "admin", "key": "bundleStagingDir", "value": "/var/lib/oba/bundles/staged"},
 {"component": "admin", "key": "showApiKey", "value": "true"},
 {"component": "admin", "key": "showManageUsers", "value": "true"},
 {"component": "admin", "key": "showBundleUtil", "value": "true"},
 {"component": "admin", "key": "showVehicleStatus", "value": "false"},
 {"component": "admin", "key": "showUpdateConfig", "value": "false"},
 {"component": "admin", "key": "showQrCode", "value": "false"},
 {"component": "admin", "key": "showVehiclePredictions", "value": "false"},
 {"component": "admin", "key": "manageServiceAlerts", "value": "true"},
 {"component": "admin", "key": "validateTransitDataBundle", "value": "false"},
 {"component": "admin", "key": "no_default_agency", "value": "true"},
 {"component": "admin", "key": "Hillsborough Area Regional Transit_modurl", "value": "https://raw.github.com/wiki/camsys/onebusaway-application-modules/EmptyModifications.md"},
      {
         "component":"agency",
         "key":"1",
         "value":"Hillsborough Area Regional Transit,1"
      }
      {
        "component": "privilege",
        "key": "ROLE_ADMINISTRATOR",
        "value": "*"
      }
]
}