001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041: package org.netbeans.modules.etl.project.anttasks;
042:
043: public class ETLDeploymentConstants {
044:
045: public static String AXION_URL_PREFIX = "jdbc:axiondb:";
046: public static String ORACLE_URL_PREFIX = "jdbc:oracle:thin:@";
047: public static String SQL_SERVER_URL_PREFIX = "jdbc:SeeBeyond:sqlserver://";
048: public static String DB2_URL_PREFIX = "jdbc:Seebeyond:db2://";
049: public static String SYBASE_URL_PREFIX = "jdbc:SeeBeyond:sybase://";
050:
051: // Used in ETLCodelet for DeploymentProfileGenerator.addEnv() entry datatype
052: public static final String STRING = "java.lang.String";
053:
054: public static final String STC_NAME_SPACE = "stc/EAR_NAMESPACE";
055:
056: public static final String COLLAB_NAME = "COLLAB_NAME";
057: public static final String PROJECT_NAME = "PROJECT_NAME";
058: public static final String CLASS_NAME = "CLASS_NAME"; // of ETLRuntimeHandler
059: public static final String ENGINE_ROOT_DIR = "ENGINE_ROOT_DIR";
060: public static final String RUNTIME_SERVER_WORKSPACE_DIR = "RUNTIME_SERVER_WORKSPACE_DIR";
061:
062: public static final String ETL_ENGINE_INSTANCE_DB_DIR = "ETL_ENGINE_INSTANCE_DB_DIR";
063: public static final String ETL_MONITOR_DB_DIR = "ETL_MONITOR_DB_DIR";
064:
065: public static final String PARAM_APP_DATAROOT = "{APP_DATAROOT}";
066: public static final String PARAM_MONITOR_DB_NAME = "{MONITOR_DB_NAME}";
067: public static final String PARAM_INSTANCE_DB_NAME = "{INSTANCE_DB_NAME}";
068:
069: public static final String OPERATION_NAME_TAG = "OPERATION_NAME";
070: public static final String OPERATION_NAME = "execute";
071:
072: public static final String LH = "LH";
073: public static final String IS = "IS";
074: public static final String DEPLOYMENT_NAME = "DEPLOYMENT_NAME";
075: public static final String ENVIRONMENT_NAME = "ENVIRONMENT_NAME";
076:
077: public static final String DIRECTORY = "Directory";
078: public static final String ORACLE = "oracle";
079: public static final String SQL_SERVER = "sqlserver";
080: public static final String DB2 = "db2";
081: public static final String SYBASE = "sybase";
082: public static final String INTERNAL = "internal";
083:
084: public static final String DRIVER_PROPERTIES = "DriverProperties";
085: public static final String DATABASE_NAME = "DatabaseName";
086: public static final String SERVER_NAME = "ServerName";
087: public static final String PORT_NUMBER = "PortNumber";
088: public static final String USER = "User";
089: public static final String PASSWORD = "Password";
090: public static final String LOCATION_NAME = "LocationName";
091: public static final String COLLECTION_ID = "CollectionID";
092: public static final String PACKAGE_COLLECTION = "PackageCollection";
093: public static final String EWAYS_PROP_DELIMITER = "Delimiter";
094:
095: public static final String ENV_NAME_PREFIX = "java:comp/env/";
096: public static final String ETL_ENGINE_FILE = "ETL_ENGINE_FILE";
097: public static final String DEPLOY_PARTNERS = "com.stc.codegen.frameworkImpl.runtime.DeployedServicePartners";
098:
099: public static final String STATUS = "STATUS";
100: public static final String FAILURE = "Failure";
101: public static final String SUCCESS = "Success";
102: public static final String ENDTIME = "ENDTIME";
103: public static final String STARTTIME = "STARTTIME";
104:
105: public static final String WSDL_TARGET_NAMESPACE_PREFIX = "urn:stc:egate:eTL";
106: public static final String WSDL_URN_PREFIX = "{"
107: + WSDL_TARGET_NAMESPACE_PREFIX + ":";
108: public static final String WSDL_URN_SUFFIX = "}";
109: public static final String ETL_GLOBAL_FAULT = "ETLFault";
110: }
|