2 * ===============LICENSE_START=======================================================
4 * ===================================================================================
5 * Copyright (C) 2019 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
6 * ===================================================================================
7 * This Acumos software file is distributed by AT&T and Tech Mahindra
8 * under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * This file is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ===============LICENSE_END=========================================================
20 package org.acumos.elk.client.utils;
22 public final class ElkClientConstants {
24 public static final String APPLICATION_JSON = "application/json";
25 public static final String ELASTICSEARCH_GET_ALL_SNAPSHOT = "/all/snapshot";
27 public static final String GET_ALL_INDICES = "/all/indices";
28 public static final String DELETE_INDICES = "/delete/indices";
29 public static final String GET_ALL_REPOSITORIES = "/all/repositories";
30 public static final String SNAPSHOT_CREATE_REPOSITORY = "/create/repositories";
31 public static final String SNAPSHOT_DELETE_REPOSITORY_REQUEST = "/delete/repositories";
33 public static final String GET_ALL_SNAPSHOTS = "/all/snapshot";
34 public static final String CREATE_SNAPSHOT_REQUEST = "/create/snapshot";
35 public static final String DELETE_SNAPSHOT_REQUEST = "/delete/snapshot";
36 public static final String RESTORE_SNAPSHOT_REQUEST = "/restore/snapshot";
37 public static final String GET_ALL_ARCHIVE_INFO = "/all/archive";
38 public static final String ARCHIVE_REQUEST = "/archive/action";
40 public static final String TRUE = "true";
41 public static final String TIME_ONE_MINT_OUT = "1m";
42 public static final String TIME_TWO_MINT_OUT = "2m";
43 public static final String SUCCESS = "success";
44 public static final String FAIL = "fail";
45 public static final String INFO = "INFO";
46 public static final String ARCHIVE_ES_DATA = "archive-es-data";