k8s-docker-suite-app-murano/Applications/Grafana/package/UI/ui.yaml
vryzhenkin fbc1ee11f8 Fixed incorrect parameter options of 'publish' field in UI
Fixed incorrect option 'required: true' for UI in Docker
Grafana and Docker MongoDb

Change-Id: Iaf805b5f5bfd5e8eb936d1aaafc88f68eab496b6
Closes-Bug: #1449706
(cherry picked from commit b1ac21fbde177815aae0f450ef1b73fa62845e93)
2015-04-28 19:18:33 +00:00

88 lines
2.7 KiB
YAML

# Licensed 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.
Version: 2
Application:
?:
type: io.murano.apps.docker.DockerGrafana
name: $.appConfiguration.name
host: $.appConfiguration.host
publish: $.appConfiguration.publish
influxDB: $.grafanaConfig.influxDB
dbName: $.grafanaConfig.dbName
grafanaUser: $.grafanaConfig.grafanaUser
grafanaPassword: $.grafanaConfig.grafanaPassword
Forms:
- appConfiguration:
fields:
- name: license
type: string
description: Apache License, Version 2.0
hidden: true
required: false
- name: name
type: string
label: Application Name
initial: 'DockerGrafana'
description: >-
Enter a desired name for the application. Just A-Z, a-z, 0-9, dash and
underline are allowed
- name: host
type:
- io.murano.apps.docker.kubernetes.KubernetesPod
- io.murano.apps.docker.DockerStandaloneHost
label: Container Host
description: >-
Select an instance of Docker contaniner hosting provider to run the app
- name: publish
type: boolean
label: Visible from outside
initial: true
required: false
description: >-
Check if you intend to access the application from the Internet
- grafanaConfig:
fields:
- name: influxDB
type: io.murano.apps.docker.DockerInfluxDB
label: InfluxDB instance
required: true
description: >-
Please select existing InfluxDB instance or add a new one
- name: dbName
type: string
label: InfluxDB database
required: true
description: >-
Please specify an InfluxDB database name to connect to
- name: grafanaUser
type: string
label: Grafana user name
initial: admin
required: true
description: >-
User name that will be configured for Grafana access
- name: grafanaPassword
type: password
label: Grafana user password
required: true
description: >-
User password that will be configured for Grafana access