Ray Milkey | ff74f06 | 2018-10-30 16:38:18 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018-present Open Networking Foundation |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | package org.onosproject.influxdbmetrics; |
| 18 | |
| 19 | public final class OsgiPropertyConstants { |
| 20 | private OsgiPropertyConstants() { |
| 21 | } |
| 22 | |
| 23 | static final String ADDRESS = "address"; |
| 24 | static final String ADDRESS_DEFAULT = "localhost"; |
| 25 | |
| 26 | static final String PORT = "port"; |
| 27 | static final int PORT_DEFAULT = 8086; |
| 28 | |
| 29 | static final String DATABASE = "database"; |
| 30 | static final String DATABASE_DEFAULT = "onos"; |
| 31 | |
| 32 | static final String USERNAME = "username"; |
| 33 | static final String USERNAME_DEFAULT = "onos"; |
| 34 | |
| 35 | static final String PASSWORD = "password"; |
| 36 | static final String PASSWORD_DEFAULT = "onos.password"; |
Ray Milkey | 4694e06 | 2018-10-31 13:17:18 -0700 | [diff] [blame] | 37 | |
| 38 | static final String MONITOR_ALL = "monitorAll"; |
| 39 | static final boolean MONITOR_ALL_DEFAULT = true; |
| 40 | |
| 41 | static final String METRIC_NAMES = "metricNames"; |
| 42 | static final String METRIC_NAMES_DEFAULT = "default"; |
Ray Milkey | ff74f06 | 2018-10-30 16:38:18 -0700 | [diff] [blame] | 43 | } |