This repository has been archived by the owner on Nov 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
connections-constants.ts
54 lines (41 loc) · 2.36 KB
/
connections-constants.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/**
* @license
* Copyright 2017 JBoss Inc
*
* Licensed under the Apache License, /
* 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.
*/
import { NavigationItemConfig } from "patternfly-ng";
export class ConnectionsConstants {
public static readonly connectionsRootRoute = "connections";
public static readonly connectionsRootPath = "/" + ConnectionsConstants.connectionsRootRoute;
public static readonly connectionRootRoute = "connection";
public static readonly connectionRootPath = "/" + ConnectionsConstants.connectionRootRoute;
public static readonly addConnectionRoute = ConnectionsConstants.connectionsRootRoute + "/add-connection";
public static readonly addConnectionPath = ConnectionsConstants.connectionsRootPath + "/add-connection";
public static readonly serviceCatalogSourcesRootRoute = "serviceCatalogSources";
public static readonly serviceCatalogSourcesRootPath = "/" + ConnectionsConstants.serviceCatalogSourcesRootRoute;
public static readonly connectionType_postgresql = "postgresql";
public static readonly connectionType_mysql = "mysql";
public static readonly connectionType_mongodb = "mongodb";
public static readonly connectionType_mariadb = "mariadb";
public static readonly connectionTypeDescription_postgresql = "PostgreSQL database";
public static readonly connectionTypeDescription_mysql = "MySQL database";
public static readonly connectionTypeDescription_mongodb = "MongoDB database";
public static readonly connectionTypeDescription_mariadb = "MariaDB database";
public static readonly schemaNodeType_connection = "connection";
public static readonly includeConnectionParameter = "include-connection";
public static readonly includeSchemaStatusParameter = "include-schema-status";
public static driverNamePropertyLabel = "Driver Name";
public static jndiNamePropertyLabel = "JNDI Name";
public static serviceCatalogSourceNameLabel = "Service Catalog Source";
public static readonly connectionsNavItem: NavigationItemConfig = {
title: "Connections",
iconStyleClass: "fa fa-fw fa-plug",
url: ConnectionsConstants.connectionsRootPath
};
}