All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gitlab.summercattle.cloud.config.rule.parser.xml.XmlRuleConstants Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2018 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License 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 com.gitlab.summercattle.cloud.config.rule.parser.xml;

import com.gitlab.summercattle.cloud.constants.CloudConstants;
import com.gitlab.summercattle.cloud.rule.entity.constants.EntityConstants;

public class XmlRuleConstants {

	public static final String REGISTER_ELEMENT_NAME = "register";

	public static final String WHITELIST_ELEMENT_NAME = "whitelist";

	public static final String BLACKLIST_ELEMENT_NAME = "blacklist";

	public static final String COUNT_ELEMENT_NAME = "count";

	public static final String VALUE_ATTRIBUTE_NAME = "value";

	public static final String SERVICE_ELEMENT_NAME = "service";

	public static final String NAME_ATTRIBUTE_NAME = "name";

	public static final String DISCOVERY_ELEMENT_NAME = "discovery";

	public static final String VERSION_ELEMENT_NAME = CloudConstants.VERSION;

	public static final String REGION_ELEMENT_NAME = CloudConstants.REGION;

	public static final String WEIGHT_ELEMENT_NAME = "weight";

	public static final String CONSUMER_SERVICE_NAME_ATTRIBUTE_NAME = "consumer-service-name";

	public static final String PROVIDER_SERVICE_NAME_ATTRIBUTE_NAME = "provider-service-name";

	public static final String CONSUMER_VERSION_VALUE_ATTRIBUTE_NAME = "consumer-version-value";

	public static final String PROVIDER_VERSION_VALUE_ATTRIBUTE_NAME = "provider-version-value";

	public static final String CONSUMER_REGION_VALUE_ATTRIBUTE_NAME = "consumer-region-value";

	public static final String PROVIDER_REGION_VALUE_ATTRIBUTE_NAME = "provider-region-value";

	public static final String TYPE_ATTRIBUTE_NAME = "type";

	public static final String PROVIDER_WEIGHT_VALUE_ATTRIBUTE_NAME = "provider-weight-value";

	public static final String STRATEGY_ELEMENT_NAME = "strategy";

	public static final String ADDRESS_ELEMENT_NAME = CloudConstants.ADDRESS;

	public static final String VERSION_WEIGHT_ELEMENT_NAME = EntityConstants.VERSION_WEIGHT;

	public static final String REGION_WEIGHT_ELEMENT_NAME = EntityConstants.REGION_WEIGHT;

	public static final String STRATEGY_RELEASE_ELEMENT_NAME = "strategy-release";

	public static final String STRATEGY_BLACKLIST_ELEMENT_NAME = "strategy-blacklist";

	public static final String STRATEGY_FAILOVER_ELEMENT_NAME = "strategy-failover";

	public static final String CONDITIONS_ELEMENT_NAME = "conditions";

	public static final String ROUTES_ELEMENT_NAME = "routes";

	public static final String ROUTE_ELEMENT_NAME = "route";

	public static final String HEADER_ELEMENT_NAME = "header";

	public static final String CONDITION_ELEMENT_NAME = "condition";

	public static final String EXPRESSION_ATTRIBUTE_NAME = "expression";

	public static final String HEADER_ATTRIBUTE_NAME = "header";

	public static final String ID_ATTRIBUTE_NAME = "id";

	public static final String DASH = "-";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy