blob: db9194f0b87d6497e2461252c499fcc30cd57454 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
dashbuilder = {
/*
// possible modes are EDITOR and CLIENT - if dashboards is set then CLIENT mode is assumed
mode: "CLIENT",
// The list of client dashboards - if CLIENT mode is used and no list is provided, than the dashboard "dashboard.yml" will be attempted to load. If no dashboard is found, then client opens for upload.
// The dashboard can also be an URL
dashboards: [ "dashboard1.yaml", "dashboard2.json"],
// base path to look for dashboards. Default is /
path: "/path",
// if true, then model from external urls will be allowed
allowExternal: true,
// A base URL for the samples repository
// if set then dashbuilder tries to retrieve samples.json from root dir and load samples from the provided URL
samplesUrl: "/samples",
// An URL to resolve sample path on disk. It will receive a GET request with a query parameter called "sampleId"
samplesEditService: "edit",
// If true then samples is used as the default page when no model is selected
samplesDefaultHome: true
*/
};