Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
Option Explicit
2
'=====================================================
3
'        Name: 	config
4
' Description:	Contains all configuration details, 
5
'				enums, global constants and variables.
6
'=====================================================
7
 
8
'=========== GLOBAL CONSTANTS DECLARATION ============
9
'Const RELEASE_MANAGER_URL = "http://10.240.0.92/release_manager"
10
Const UNC_ARCHIVE = "\\auperaunx26\releasem"
11
Const URL_PATH_DPKG_ARCHIVE = "/dpkg_archive"
12
Const URL_PATH_DEPLOY_ARCHIVE = "/deploy_archive"
13
Const DPKG_ARCHIVE = "\dpkg_archive"
14
Const DEPLOY_ARCHIVE = "\deploy_archive"
15
Const TELNET_MACHINE = "auperaunx26"	' <-- If this machine name is changed, you need to rebuild pkg_archive.vbs
16
Const TELNET_DPKG_ARCHIVE = "dpkg_archive"
17
Const TELNET_DEPLOY_ARCHIVE = "deploy_archive"
18
Const QUERIES_FOLDER = "queries"
19
Const DESCPKG_FILE = "descpkg"
20
Const RELESE_NOTES_PERFIX = "RELEASE_NOTES"
21
Const RELEASE_NOTES_TEMPLATE_A = "scripts\templates\release_notes_template_a.html"
22
Const RELEASE_NOTES_TEMPLATE_B = "scripts\templates\release_notes_template_b.html"
23
Const CKSUM_EXE = "scripts\bin\cksum.exe"
24
Const MODCRC_EXE = "scripts\bin\modcrc.exe"
25
Const SSH_EXE = "scripts\bin\plink.exe"
26
Const WINRSH_EXE = "scripts\bin\winrsh32.exe"
27
'============ GLOBAL VARIABLES DEFINITION ============
28
Dim OraSession
29
Dim OraDatabase
30
Dim MappedDrive
31
Dim AppPath
32
'============= VARIABLES INITIALISATION ==============
33
AppPath = Get_Application_Path
34
'==================== INCLUDE ASP ====================
35
Call Include_File ( AppPath &"common\base_conf.asp" )
36
'================== CONFIGURATION ====================  
37
Set OraSession = CreateObject("OracleInProcServer.XOraSession")
38
Set OraDatabase = OraSession.OpenDatabase( "RELEASEM", "RELEASE_MANAGER/RELEASE_MANAGER", Cint(0))
39
'Set OraSession = CreateObject("OracleInProcServer.XOraSession")
40
'OraSession.CreateDatabasePool 1,2,1, TNS_NAME, DB_AUTHENTICATION, 0 
41
'Set OraDatabase = OraSession.GetDatabaseFromPool(5000)
42
'======================== enums ======================
43
Const enumEVENT_SUCCESS = 0
44
Const enumEVENT_ERROR = 1
45
Const enumEVENT_WARNING = 2
46
Const enumEVENT_INFORMATION = 4
47
'-------------------------------------
48
Const enumPKG_TYPE_ERG_PRODUCT = 1
49
Const enumPKG_TYPE_GENERIC_DPKG = 2
50
Const enumPKG_TYPE_DB_PATCH_DPKG = 3
51
Const enumPKG_TYPE_DEVICE_DPKG = 4
52
'=====================================================
53
 
54