io.cloudslang.content.dca.utils.Constants Maven / Gradle / Ivy
/*
* (c) Copyright 2018 Micro Focus, L.P.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0 which accompany this distribution.
*
* The Apache License is available 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.
*/
package io.cloudslang.content.dca.utils;
public class Constants {
public static final String IDM_TOKENS_PATH = "/idm-service/v2.0/tokens";
public static final String DCA_DEPLOYMENT_PATH = "/urest/v1/deployment";
public static final String HTTPS = "https";
public static final String HTTP = "http";
public static final String APPLICATION_JSON = "application/json";
public static final String POST = "POST";
public static final String GET = "GET";
public static final String NEW_LINE = System.lineSeparator();
public static final String X_AUTH_TOKEN_HEADER = "X-Auth-Token:";
public static final String REFRESH_TOKEN_HEADER = "Refresh-Token:";
public static final String HEADERS_DELIMITER = "\r\n";
}