/*
 * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * WSO2 Inc. licenses this file to you 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 org.wso2.micro.integrator.initializer.deployment.synapse.deployer;

public class SynapseAppDeployerConstants {

    // Application artifact types
    public static final String SEQUENCE_TYPE = "synapse/sequence";
    public static final String ENDPOINT_TYPE = "synapse/endpoint";
    public static final String PROXY_SERVICE_TYPE = "synapse/proxy-service";
    public static final String LOCAL_ENTRY_TYPE = "synapse/local-entry";
    public static final String EVENT_SOURCE_TYPE = "synapse/event-source";
    public static final String TASK_TYPE = "synapse/task";
    public static final String MESSAGE_STORE_TYPE = "synapse/message-store";
    public static final String MESSAGE_PROCESSOR_TYPE="synapse/message-processors";
    public static final String MEDIATOR_TYPE = "lib/synapse/mediator";
    public static final String CONNECTOR_DEPENDENCY_TYPE = "lib/connector/dependency";
    public static final String API_TYPE = "synapse/api";
    public static final String TEMPLATE_TYPE = "synapse/template";
    public static final String INBOUND_ENDPOINT_TYPE = "synapse/inbound-endpoint";
    public static final String SYNAPSE_LIBRARY_TYPE = "synapse/lib";
    public static final String OTHER_TYPE = "other";

    // Deployment folders for synapse artifacts
    public static final String SEQUENCES_FOLDER = "sequences";
    public static final String ENDPOINTS_FOLDER = "endpoints";
    public static final String PROXY_SERVICES_FOLDER = "proxy-services";
    public static final String LOCAL_ENTRIES_FOLDER = "local-entries";
    public static final String EVENTS_FOLDER = "event-sources";
    public static final String TASKS_FOLDER = "tasks";
    public static final String MESSAGE_STORE_FOLDER="message-stores";
    public static final String MESSAGE_PROCESSOR_FOLDER="message-processors";
    public static final String APIS_FOLDER = "api";
    public static final String TEMPLATES_FOLDER = "templates";
    public static final String MEDIATORS_FOLDER = "class-mediators";
    public static final String INBOUND_ENDPOINT_FOLDER = "inbound-endpoints";

    // Synapse config path
    public static final String SYNAPSE_CONFIGS = "synapse-configs";
    public static final String SYNAPSE_LIBS = "synapse-libs";
    public static final String DEFAULT_DIR = "default";

    public static final String MAIN_SEQ_FILE = "main.xml";
    public static final String FAULT_SEQ_FILE = "fault.xml";

    public static final String SYNAPSE_DEPLOYER_REQUIRED_SERVICES = "SYNAPSE_DEPLOYER-RequiredServices";

    public static final String FILE_EXTENSION_XML = ".xml";
}
