| Line 1... |
Line 1... |
| 1 |
<%
|
1 |
<%
|
| 2 |
'=====================================================
|
2 |
'=====================================================
|
| 3 |
' CONFIG FILE
|
3 |
' CONFIG FILE
|
| 4 |
'=====================================================
|
4 |
'=====================================================
|
| 5 |
%>
|
5 |
%>
|
| 6 |
<!--#include file="base_conf.asp"-->
|
6 |
<!--#include file="base_conf.asp"-->
|
| 7 |
|
7 |
|
| 8 |
<%
|
8 |
<%
|
| 9 |
' -- Variable Definition ------------------------------
|
9 |
' -- Variable Definition ------------------------------
|
| 10 |
Dim OraSession, OraDatabase ' DB connection
|
10 |
Dim OraSession, OraDatabase ' DB connection
|
| 11 |
Dim scriptName
|
11 |
Dim scriptName
|
| 12 |
Dim rootPath
|
12 |
Dim rootPath
|
| 13 |
Dim DocRepositiryLink, DocRepositiryLinkOld
|
13 |
Dim DocRepositiryLink, DocRepositiryLinkOld
|
| 14 |
Dim APP_ROOT, QUERIES_PATH
|
14 |
Dim APP_ROOT, QUERIES_PATH
|
| 15 |
|
15 |
|
| Line 17... |
Line 17... |
| 17 |
'Set OraSession = CreateObject("OracleInProcServer.XOraSession")
|
17 |
'Set OraSession = CreateObject("OracleInProcServer.XOraSession")
|
| 18 |
'OraSession.CreateDatabasePool 1,2,1, TNS_NAME, DB_AUTHENTICATION, 0
|
18 |
'OraSession.CreateDatabasePool 1,2,1, TNS_NAME, DB_AUTHENTICATION, 0
|
| 19 |
'Set OraDatabase = OraSession.GetDatabaseFromPool(5000)
|
19 |
'Set OraDatabase = OraSession.GetDatabaseFromPool(5000)
|
| 20 |
|
20 |
|
| 21 |
'Set OraSession = Application("ORA_SESSION")
|
21 |
'Set OraSession = Application("ORA_SESSION")
|
| 22 |
'Set OraDatabase = OraSession.GetDatabaseFromPool(5000)
|
22 |
'Set OraDatabase = OraSession.GetDatabaseFromPool(5000)
|
| 23 |
Set OraSession = CreateObject("OracleInProcServer.XOraSession")
|
23 |
Set OraSession = CreateObject("OracleInProcServer.XOraSession")
|
| 24 |
Set OraDatabase = OraSession.OpenDatabase( TNS_NAME, DB_AUTHENTICATION, Cint(0))
|
24 |
Set OraDatabase = OraSession.OpenDatabase( TNS_NAME, DB_AUTHENTICATION, Cint(0))
|
| 25 |
|
25 |
|
| 26 |
|
26 |
|
| 27 |
|
27 |
|
| Line 47... |
Line 47... |
| 47 |
' A -> Administrator (Full access to data manipulation)
|
47 |
' A -> Administrator (Full access to data manipulation)
|
| 48 |
' P -> Power User (Ability to make release official, no access to ADMIN menu)
|
48 |
' P -> Power User (Ability to make release official, no access to ADMIN menu)
|
| 49 |
%>
|
49 |
%>
|
| 50 |
<%
|
50 |
<%
|
| 51 |
'-- ERROR MESSAGES ---------------------------
|
51 |
'-- ERROR MESSAGES ---------------------------
|
| 52 |
Const enum_MSG_ERROR = "msg_error.asp"
|
52 |
Const enum_MSG_ERROR = "msg_error.asp"
|
| 53 |
Const enum_WMSG_ERROR = "wmsg_error.asp"
|
53 |
Const enum_WMSG_ERROR = "wmsg_error.asp"
|
| - |
|
54 |
|
| 54 |
Const enum_MSG_SELECTED_PACKAGES_NOW_OFFICIAL = "msg_selected_packages_now_official.asp"
|
55 |
Const enum_MSG_SELECTED_PACKAGES_NOW_OFFICIAL = "msg_selected_packages_now_official.asp"
|
| 55 |
Const enum_MSG_PACKAGES_NOT_MADE_OFFICIAL = "msg_packages_not_made_official.asp"
|
56 |
Const enum_MSG_PACKAGES_NOT_MADE_OFFICIAL = "msg_packages_not_made_official.asp"
|
| 56 |
Const enum_MSG_PACKAGE_NOT_MADE_OFFICIAL = "msg_package_not_made_official.asp"
|
57 |
Const enum_MSG_PACKAGE_NOT_MADE_OFFICIAL = "msg_package_not_made_official.asp"
|
| 57 |
Const enum_MSG_PACKAGE_NOT_MADE_OFFICIAL_2 = "msg_package_not_made_official_2.asp"
|
58 |
Const enum_MSG_PACKAGE_NOT_MADE_OFFICIAL_2 = "msg_package_not_made_official_2.asp"
|
| 58 |
Const enum_MSG_UNOFFICIAL_DEPENDENCIES = "msg_unofficial_dependencies.asp"
|
59 |
Const enum_MSG_UNOFFICIAL_DEPENDENCIES = "msg_unofficial_dependencies.asp"
|
| 59 |
Const enum_MSG_PACKAGE_CHANGETYPE_INCOMPLETE = "msg_change_type_incomplete.asp"
|
60 |
Const enum_MSG_PACKAGE_CHANGETYPE_INCOMPLETE = "msg_change_type_incomplete.asp"
|
| 60 |
Const enum_MSG_PACKAGE_SBOMPRIORITY_INCOMPLETE = "msg_sbom_priority_incomplete.asp"
|
61 |
Const enum_MSG_PACKAGE_SBOMPRIORITY_INCOMPLETE = "msg_sbom_priority_incomplete.asp"
|
| 61 |
Const enum_MSG_VERSION_EXISTS = "msg_version_exists.asp"
|
62 |
Const enum_MSG_VERSION_EXISTS = "msg_version_exists.asp"
|
| 62 |
Const enum_DUPLICATE_RUNTIME_DEPENDENCY = "msg_duplicate_runtime_dependency.asp"
|
63 |
Const enum_DUPLICATE_RUNTIME_DEPENDENCY = "msg_duplicate_runtime_dependency.asp"
|
| 63 |
Const enum_DUPLICATE_BUILD_DEPENDENCIES_IGNORED = "msg_duplicate_build_dependencies_ignored.asp"
|
64 |
Const enum_DUPLICATE_BUILD_DEPENDENCIES_IGNORED = "msg_duplicate_build_dependencies_ignored.asp"
|
| 64 |
Const enum_MSG_BROKEN_DEPENDENCIES_FOUND = "msg_broken_dependencies_found.asp"
|
65 |
Const enum_MSG_BROKEN_DEPENDENCIES_FOUND = "msg_broken_dependencies_found.asp"
|
| 65 |
Const enum_MSG_MISSING_DEPENDENCIES = "msg_missing_dependencies.asp"
|
66 |
Const enum_MSG_MISSING_DEPENDENCIES = "msg_missing_dependencies.asp"
|
| 66 |
Const enum_MSG_UNOFFICIAL_DEPENDENCIES_FOUND = "msg_unofficial_dependencies_found.asp"
|
67 |
Const enum_MSG_UNOFFICIAL_DEPENDENCIES_FOUND = "msg_unofficial_dependencies_found.asp"
|
| 67 |
Const enum_MSG_RELEASE_IS_NOW_OFFICIAL = "msg_release_is_now_official.asp"
|
68 |
Const enum_MSG_RELEASE_IS_NOW_OFFICIAL = "msg_release_is_now_official.asp"
|
| 68 |
Const enum_MSG_RELEASE_IS_NOW_LOCKED = "msg_release_is_now_locked.asp"
|
69 |
Const enum_MSG_RELEASE_IS_NOW_LOCKED = "msg_release_is_now_locked.asp"
|
| 69 |
Const enum_MSG_RELEASE_IS_UNLOCKED = "msg_release_is_unlocked.asp"
|
70 |
Const enum_MSG_RELEASE_IS_UNLOCKED = "msg_release_is_unlocked.asp"
|
| 70 |
Const enum_MSG_NEW_UNOFFICIAL_RELEASE_CREATED = "msg_new_unofficial_release_created.asp"
|
71 |
Const enum_MSG_NEW_UNOFFICIAL_RELEASE_CREATED = "msg_new_unofficial_release_created.asp"
|
| 71 |
Const enum_MSG_DUPLICATE_AN = "msg_duplicate_an.asp"
|
72 |
Const enum_MSG_DUPLICATE_AN = "msg_duplicate_an.asp"
|
| 72 |
Const enum_MSG_DUPLICATE_UT = "msg_duplicate_ut.asp"
|
73 |
Const enum_MSG_DUPLICATE_UT = "msg_duplicate_ut.asp"
|
| 73 |
Const enum_MSG_PACKAGE_INFORMATION_INCOMPLETE = "msg_package_information_incomplete.asp"
|
74 |
Const enum_MSG_PACKAGE_INFORMATION_INCOMPLETE = "msg_package_information_incomplete.asp"
|
| 74 |
Const enum_MSG_AUTOBUILD_PACKAGE_IS_UNCONTROLLED = "msg_autobuild_package_is_uncontrolled.asp"
|
75 |
Const enum_MSG_AUTOBUILD_PACKAGE_IS_UNCONTROLLED = "msg_autobuild_package_is_uncontrolled.asp"
|
| 75 |
Const enum_MSG_AUTOBUILD_PACKAGE_REQUIRES_BUILD_STD_AND_ENV = "msg_autobuild_package_requires_build_std_and_env.asp"
|
76 |
Const enum_MSG_AUTOBUILD_PACKAGE_REQUIRES_BUILD_STD_AND_ENV = "msg_autobuild_package_requires_build_std_and_env.asp"
|
| 76 |
Const enum_MSG_UNIT_TESTS_NOT_SUPPLIED = "msg_unit_tests_not_supplied.asp"
|
77 |
Const enum_MSG_UNIT_TESTS_NOT_SUPPLIED = "msg_unit_tests_not_supplied.asp"
|
| 77 |
Const enum_MSG_REASON_FOR_THIS_VERSION_NOT_SUPLIED = "msg_reason_for_this_version_not_suplied.asp"
|
78 |
Const enum_MSG_REASON_FOR_THIS_VERSION_NOT_SUPLIED = "msg_reason_for_this_version_not_suplied.asp"
|
| 78 |
Const enum_MSG_CANNOT_REMOVE_PACKAGE = "msg_cannot_remove_package.asp"
|
79 |
Const enum_MSG_CANNOT_REMOVE_PACKAGE = "msg_cannot_remove_package.asp"
|
| 79 |
Const enum_MSG_PACKAGE_IN_USE = "msg_package_in_use.asp"
|
80 |
Const enum_MSG_PACKAGE_IN_USE = "msg_package_in_use.asp"
|
| 80 |
Const enum_MSG_RELEASE_IS_IN_OPEN_MODE = "msg_release_is_in_open_mode.asp"
|
81 |
Const enum_MSG_RELEASE_IS_IN_OPEN_MODE = "msg_release_is_in_open_mode.asp"
|
| 81 |
Const enum_MSG_RELEASE_IS_IN_RESTRICTIVE_MODE = "msg_release_is_in_restrictive_mode.asp"
|
82 |
Const enum_MSG_RELEASE_IS_IN_RESTRICTIVE_MODE = "msg_release_is_in_restrictive_mode.asp"
|
| 82 |
Const enum_MSG_RELEASE_IS_IN_CLOSED_MODE = "msg_release_is_in_closed_mode.asp"
|
83 |
Const enum_MSG_RELEASE_IS_IN_CLOSED_MODE = "msg_release_is_in_closed_mode.asp"
|
| 83 |
Const enum_MSG_PROCESS_EXISTS = "msg_process_exists.asp"
|
84 |
Const enum_MSG_PROCESS_EXISTS = "msg_process_exists.asp"
|
| 84 |
Const enum_MSG_GBE_MACHTYPE_EXISTS = "msg_machtype_exists.asp"
|
85 |
Const enum_MSG_GBE_MACHTYPE_EXISTS = "msg_machtype_exists.asp"
|
| 85 |
Const enum_MSG_LICENCE_EXISTS = "msg_licence_exists.asp"
|
86 |
Const enum_MSG_LICENCE_EXISTS = "msg_licence_exists.asp"
|
| 86 |
Const enum_MSG_NO_LICENCES_EXIST = "msg_no_licences.asp"
|
87 |
Const enum_MSG_NO_LICENCES_EXIST = "msg_no_licences.asp"
|
| 87 |
Const enum_MSG_PACKAGE_VERSION_EXISTS = "msg_package_version_exists.asp"
|
88 |
Const enum_MSG_PACKAGE_VERSION_EXISTS = "msg_package_version_exists.asp"
|
| 88 |
Const enum_MSG_PACKAGE_WIP_EXISTS = "msg_package_wip_exists.asp"
|
89 |
Const enum_MSG_PACKAGE_WIP_EXISTS = "msg_package_wip_exists.asp"
|
| 89 |
Const enum_MSG_PACKAGE_VERSION_INVALID = "msg_package_version_invalid.asp"
|
90 |
Const enum_MSG_PACKAGE_VERSION_INVALID = "msg_package_version_invalid.asp"
|
| 90 |
Const enum_MSG_CANNOT_AUTO_GENERATE_COTS_PKG = "msg_cannot_auto_generate_cots_pkg.asp"
|
91 |
Const enum_MSG_CANNOT_AUTO_GENERATE_COTS_PKG = "msg_cannot_auto_generate_cots_pkg.asp"
|
| 91 |
Const enum_MSG_VCS_EXISTS = "msg_vcs_exists.asp"
|
92 |
Const enum_MSG_VCS_EXISTS = "msg_vcs_exists.asp"
|
| 92 |
'---------------------------------------------
|
93 |
'---------------------------------------------
|
| 93 |
%>
|
94 |
%>
|
| 94 |
<%
|
95 |
<%
|
| 95 |
'-- ICONS ------------------------------------
|
96 |
'-- ICONS ------------------------------------
|
| 96 |
Const enum_imgBlank = "<img src='images/h_trsp_dot.gif' width='19' height='17' border='0'>"
|
97 |
Const enum_imgBlank = "<img src='images/h_trsp_dot.gif' width='19' height='17' border='0'>"
|
| 97 |
Const enum_imgCritical = "<img src='images/s_critical.gif' width='19' height='17' border='0'>"
|
98 |
Const enum_imgCritical = "<img src='images/s_critical.gif' width='19' height='17' border='0'>"
|
| 98 |
Const enum_imgDeprecated = "<img src='images/bomb.gif' width='19' height='17' border='0'>"
|
99 |
Const enum_imgDeprecated = "<img src='images/bomb.gif' width='19' height='17' border='0'>"
|
| 99 |
Const enum_imgProductRejected = "<img src='icons/i_product_rejected.gif' width='19' height='17' border='0'>"
|
100 |
Const enum_imgProductRejected = "<img src='icons/i_product_rejected.gif' width='19' height='17' border='0'>"
|
| 100 |
Const enum_imgDeprecatedDependent = "<img src='images/bomb_dependant.gif' width='19' height='17' border='0'>"
|
101 |
Const enum_imgDeprecatedDependent = "<img src='images/bomb_dependant.gif' width='19' height='17' border='0'>"
|
| 101 |
Const enum_imgCReady = "<img src='images/s_update_critical.gif' width='19' height='17' border='0'>"
|
102 |
Const enum_imgCReady = "<img src='images/s_update_critical.gif' width='19' height='17' border='0'>"
|
| 102 |
Const enum_imgAR = "<img src='images/s_advisory_ripple.png' width='19' height='17' border='0'>"
|
103 |
Const enum_imgAR = "<img src='images/s_advisory_ripple.png' width='19' height='17' border='0'>"
|
| 103 |
Const enum_imgARD = "<img src='images/s_advisory_ripple_dependant.png' width='19' height='17' border='0'>"
|
104 |
Const enum_imgARD = "<img src='images/s_advisory_ripple_dependant.png' width='19' height='17' border='0'>"
|
| 104 |
Const enum_imgWarning = "<img src='images/s_warning.gif' width='19' height='17' border='0'>"
|
105 |
Const enum_imgWarning = "<img src='images/s_warning.gif' width='19' height='17' border='0'>"
|
| 105 |
Const enum_imgWReady = "<img src='images/s_update_warning.gif' width='19' height='17' border='0'>"
|
106 |
Const enum_imgWReady = "<img src='images/s_update_warning.gif' width='19' height='17' border='0'>"
|
| 106 |
Const enum_imgBuilding = "<img src='images/s_gear.gif' width='19' height='17' border='0'>"
|
107 |
Const enum_imgBuilding = "<img src='images/s_gear.gif' width='19' height='17' border='0'>"
|
| 107 |
Const enum_imgNotFound = "<img src='images/s_not_found.gif' width='19' height='17' border='0'>"
|
108 |
Const enum_imgNotFound = "<img src='images/s_not_found.gif' width='19' height='17' border='0'>"
|
| 108 |
Const enum_imgIgnoring = "<img src='images/s_ignoring.gif' width='15' height='15' border='0' title='Latest version is ignored'>"
|
109 |
Const enum_imgIgnoring = "<img src='images/s_ignoring.gif' width='15' height='15' border='0' title='Latest version is ignored'>"
|
| 109 |
Const enum_imgPatchIgnoring = "<img src='images/s_patch_ignoring.gif' width='19' height='17' border='0' title='Latest version is included in a patch'>"
|
110 |
Const enum_imgPatchIgnoring = "<img src='images/s_patch_ignoring.gif' width='19' height='17' border='0' title='Latest version is included in a patch'>"
|
| 110 |
Const enum_imgPatchAvailable = "<img src='images/s_patch_available.gif' width='19' height='17' border='0' title='New patch is required'>"
|
111 |
Const enum_imgPatchAvailable = "<img src='images/s_patch_available.gif' width='19' height='17' border='0' title='New patch is required'>"
|
| 111 |
Const enum_imgPatch = "<img src='images/i_patch.gif' width='18' height='23' border='0' align='absmiddle' hspace='5' title='This is a patch'>"
|
112 |
Const enum_imgPatch = "<img src='images/i_patch.gif' width='18' height='23' border='0' align='absmiddle' hspace='5' title='This is a patch'>"
|
| 112 |
Const enum_imgPatchObsolete = "<img src='images/i_patch_obsolete.gif' width='18' height='23' border='0' align='absmiddle' hspace='5' title='Patch is obsolete'>"
|
113 |
Const enum_imgPatchObsolete = "<img src='images/i_patch_obsolete.gif' width='18' height='23' border='0' align='absmiddle' hspace='5' title='Patch is obsolete'>"
|
| 113 |
Const enum_imgUser = "<img src='images/i_user.gif' width='10' height='13' hspace='2' border='0' align='absmiddle'>"
|
114 |
Const enum_imgUser = "<img src='images/i_user.gif' width='10' height='13' hspace='2' border='0' align='absmiddle'>"
|
| - |
|
115 |
Const enum_imgGreenPin = "<img src='images/i_green_pin.gif' width='19' height='17' border='0'>"
|
| - |
|
116 |
|
| 114 |
'-- ICONS SMALL ------------------------------
|
117 |
'-- ICONS SMALL ------------------------------
|
| 115 |
Const enum_SMALL_imgOK = "<img src='images/si_ok.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
118 |
Const enum_SMALL_imgOK = "<img src='images/si_ok.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
| 116 |
Const enum_SMALL_imgCritical = "<img src='images/si_critical.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
119 |
Const enum_SMALL_imgCritical = "<img src='images/si_critical.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
| 117 |
Const enum_SMALL_imgCReady = "<img src='images/si_update_critical.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
120 |
Const enum_SMALL_imgCReady = "<img src='images/si_update_critical.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
| 118 |
Const enum_SMALL_imgWarning = "<img src='images/si_warning.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
121 |
Const enum_SMALL_imgWarning = "<img src='images/si_warning.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
| 119 |
Const enum_SMALL_imgWReady = "<img src='images/si_update_warning.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
122 |
Const enum_SMALL_imgWReady = "<img src='images/si_update_warning.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
| 120 |
Const enum_SMALL_imgBuilding = "<img src='images/si_gear.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
123 |
Const enum_SMALL_imgBuilding = "<img src='images/si_gear.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
| 121 |
Const enum_SMALL_imgNotFound = "<img src='images/si_not_found.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
124 |
Const enum_SMALL_imgNotFound = "<img src='images/si_not_found.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
|
| 122 |
'-- VERSION CONTROL CONSTANTS ------------------------------
|
125 |
'-- VERSION CONTROL CONSTANTS ------------------------------
|
| 123 |
Const enum_VCS_UNCONTROLLED_TAG = "UC"
|
126 |
Const enum_VCS_UNCONTROLLED_TAG = "UC"
|
| 124 |
Const enum_VCS_CLEARCASE_TAG = "CC"
|
127 |
Const enum_VCS_CLEARCASE_TAG = "CC"
|
| 125 |
Const enum_VCS_SUBVERSION_TAG = "SVN"
|
128 |
Const enum_VCS_SUBVERSION_TAG = "SVN"
|
| 126 |
'---------------------------------------------
|
129 |
'---------------------------------------------
|
| 127 |
%>
|
130 |
%>
|