Added Deployment Files
[eliot.git] / blueprints / common / eliot-ui / be / src / eliotk8sclient / src / main / java / com / eliot / eliotbe / eliotk8sclient / common / AppConstants.java
1 /*
2  * Copyright 2020 Huawei Technologies Co., Ltd.
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 com.eliot.eliotbe.eliotk8sclient.common;
18
19 public class AppConstants {
20
21     public static final String EMPTY_STRING = "";
22
23     public static final String POD_NAME = "name";
24
25     public static final String POD_NAME_SPACE = "namespace";
26
27     public static final String POD_STATUS = "status";
28
29     public static final String SERVICE_NAME = "name";
30
31     public static final String SERVICE_NAME_SPACE = "namespace";
32
33     public static final String CONTAINERS = "containers";
34
35     public static final String PODS = "pods";
36
37     public static final String NAMEANDNAMESPACE = "|!";
38
39     public static final String K8SPOD = "|~";
40
41     public static final String POD_TYPE = "|`";
42
43     public static final String KIND = "kind";
44     //public static final String APP_PACKAGE_EXTENSION = ".csar";
45
46     public static final long MAX_PACKAGE_SIZE = 10485760;
47
48     public static final long MAX_CONFIG_SIZE = 5242880;
49
50     public static final int MAX_PACKAGE_DIR_SIZE = 16;
51
52     public static final int MAX_FILE_PATH_LENGTH = 2048;
53
54     public static final String HTTPS = "https://";
55
56     public static final String COLON = ":";
57 }