Subversion Repositories DevTools

Rev

Rev 3610 | Rev 3866 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3610 dpurdie 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|                ADMIN Page                         |
6
'|               Build Service                       |
7
'|                                                   |
8
'=====================================================
9
%>
10
<%
11
Option explicit
12
' Good idea to set when using redirect
13
Response.Expires = 0   ' always load the page, dont store
14
%>
15
<!--#include file="common/conf.asp"-->
16
<!--#include file="common/globals.asp"-->
17
<!--#include file="common/formating.asp"-->
18
<!--#include file="common/qstr.asp"-->
19
<!--#include file="common/common_subs.asp"-->
20
<!--#include file="sec/Crypt.asp"-->
21
<!--#include file="common/_form_window_common.asp"-->
22
<!--#include file="_action_buttons.asp"-->
23
 
24
<!--#include file="class/classActionButtonControl.asp"-->
25
 
26
<%
27
'------------ ACCESS CONTROL ------------------
28
%>
29
<!--#include file="_access_control_general.asp"-->
30
<%
31
'------------ Variable Definition -------------
32
Dim objBtnControl
33
Dim Query_String
34
Dim rsTemp
35
Dim scheduled_id
36
'------------ Constants Declaration -----------
37
'------------ Variable Init -------------------
38
Set objBtnControl = New ActionButtonControl
39
'----------------------------------------------
40
%>
41
 
42
<html>
43
<head>
44
 
45
<title>Admin Test Page</title>
46
 
47
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
48
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
49
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
50
<link rel="stylesheet" href="images/navigation.css" type="text/css">
51
<script language="JavaScript" src="images/common.js"></script>
52
<!-- DROPDOWN MENUS -->
53
<!--#include file="_menu_def.asp"-->
54
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
55
</head>
56
 
57
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
58
<!-- MENU LAYERS -------------------------------------->
59
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
60
</div>
61
<!-- TIPS LAYERS -------------------------------------->
62
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
63
<!-- HEADER -->
64
<!--#include file="_header.asp"-->
65
 
66
   <%
67
   '-- FROM START ---------------------------------------------------------------------------------------------------------
68
   %>
69
   <tr>
70
      <td background="images/bg_login.gif">
71
         <table width="100%"  border="0" cellspacing="0" cellpadding="0">
72
            <tr>
73
               <td><%=ProgressBar%></td>
74
               <td align="right">&nbsp;          </td>
75
            </tr>
76
         </table>
77
      </td>
78
   </tr>
79
   <tr>
80
      <td>
3611 dpurdie 81
         <table style="margin-left:auto; margin-right:auto; width:50%"  border="0" cellpadding="0" cellspacing="2" bgcolor="#FFCC00">
3610 dpurdie 82
            <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
83
            <tr>
3611 dpurdie 84
               <td valign="top" nowrap class="body_col">Test</td>
85
               <td valign="top" nowrap class="body_col">Result</td>
3610 dpurdie 86
            </tr>
87
 
88
            <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
89
            <tr>
3611 dpurdie 90
               <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">DataBase Name</td>
91
               <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col"><%=OraDatabase.DatabaseName%></td>
92
            </tr>
93
 
94
            <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
95
            <tr>
96
               <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Archive Server</td>
97
               <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col"><%=archive_server%></td>
98
            </tr>
99
 
100
            <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
101
            <tr>
3610 dpurdie 102
               <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Package Archive Access - Map File System</td>
103
            <%
104
 
105
            Dim objWSH,rv,result
106
            Set objWSH = Server.CreateObject("WScript.Shell")
107
            rv = objWSH.Run ("cmd.exe /c cscript.exe //B //NoLogo " & rootPath & SCRIPTS_FOLDER & "\Admin_Tools.wsf //job:onTestMapArchive", 0, TRUE)
108
            Set objWSH = Nothing
109
            If rv = 0 Then
110
                result = "OK"
111
            Else
112
                result = "Error ("&rv&")"
113
            End IF
114
 
115
            %>
116
               <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col"><%=result%></td>
117
            </tr>
118
 
119
            <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
120
            <tr>
121
               <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Package Archive Access - Remote cmd execution</td>
122
            <%
123
 
124
            Set objWSH = Server.CreateObject("WScript.Shell")
125
            rv = objWSH.Run ("cmd.exe /c cscript.exe //B //NoLogo " & rootPath & SCRIPTS_FOLDER & "\Admin_Tools.wsf //job:onTestArchiveAccess", 0, TRUE)
126
            Set objWSH = Nothing
127
            If rv = 0 Then
128
                result = "OK"
129
            Else
130
                result = "Error ("&rv&")"
131
            End IF
132
 
133
            %>
134
               <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col"><%=result%></td>
135
            </tr>
3611 dpurdie 136
 
3610 dpurdie 137
            <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
138
            <tr>
139
               <td valign="top" nowrap class="body_col">End of Tests</td>
140
               <td><a class="form_btn" href="admin_build_test_page.asp?rtag_id" title="Refresh Page">Refresh</a></td>
141
            </tr>
142
 
143
         </table>
144
      </td>
145
  </tr>
146
  <input type="hidden" name="action" value="true">
3611 dpurdie 147
  <p>
3610 dpurdie 148
</body>
149
</html>
150
<!-- FOOTER -->
151
<!--#include file="_footer.asp"-->
152
<%
153
Call Destroy_All_Objects
154
%>