| 13 |
rsolanki |
1 |
<%
|
|
|
2 |
'=====================================================
|
|
|
3 |
'| |
|
| 33 |
ghuddy |
4 |
'| REPORTS DEFINITION |
|
|
|
5 |
'| |
|
| 13 |
rsolanki |
6 |
'=====================================================
|
| 25 |
rsolanki |
7 |
|
|
|
8 |
' Good idea to set when using redirect
|
| 33 |
ghuddy |
9 |
Response.Expires = 0 ' always load the page, dont store
|
| 35 |
ghuddy |
10 |
Response.buffer = True
|
| 25 |
rsolanki |
11 |
|
|
|
12 |
'To enable the script timeout to 10 mins
|
|
|
13 |
Server.ScriptTimeout=600
|
| 13 |
rsolanki |
14 |
%>
|
| 25 |
rsolanki |
15 |
|
| 13 |
rsolanki |
16 |
<%
|
| 25 |
rsolanki |
17 |
'------------ ACCESS CONTROL ------------------
|
|
|
18 |
%>
|
|
|
19 |
|
|
|
20 |
<%
|
|
|
21 |
'------------ Variable Definition -------------
|
|
|
22 |
Dim rsQry
|
|
|
23 |
Dim rsTemp
|
|
|
24 |
Dim parPv_id, parExt
|
|
|
25 |
Dim objReleaseContent
|
|
|
26 |
Dim aReleaseContent
|
|
|
27 |
Dim objPackageDetails
|
| 33 |
ghuddy |
28 |
Dim outobjDetails
|
|
|
29 |
Dim pvIdList
|
|
|
30 |
Dim dpv_id
|
|
|
31 |
Dim BldStd
|
| 25 |
rsolanki |
32 |
'------------ Constants Declaration -----------
|
| 39 |
brianf |
33 |
const MAX_ROWS_PER_FLUSH = 100
|
| 25 |
rsolanki |
34 |
'------------ Variable Init -------------------
|
|
|
35 |
parBom_id = Request("bom_id")
|
|
|
36 |
parExt = Request("ext")
|
|
|
37 |
Set objReleaseContent = CreateObject("Scripting.Dictionary")
|
|
|
38 |
Set objPackageDetails = CreateObject("Scripting.Dictionary")
|
|
|
39 |
Set outobjDetails = CreateObject("Scripting.Dictionary")
|
|
|
40 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
41 |
Sub GetPackageInformation ( nPv_id, ByRef oPackageDetails )
|
| 33 |
ghuddy |
42 |
Dim rsQry, query
|
|
|
43 |
query = _
|
|
|
44 |
" SELECT pkg.pkg_name, pv.* "&_
|
|
|
45 |
" FROM PACKAGES pkg,"&_
|
|
|
46 |
" PACKAGE_VERSIONS pv"&_
|
|
|
47 |
" WHERE pv.pv_id = "& nPv_id &_
|
|
|
48 |
" AND pv.pkg_id = pkg.pkg_id "
|
|
|
49 |
|
|
|
50 |
Set rsQry = OraDatabase.DbCreateDynaset( query, 0)
|
|
|
51 |
|
|
|
52 |
oPackageDetails.RemoveAll
|
|
|
53 |
|
|
|
54 |
If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then
|
|
|
55 |
oPackageDetails("pkg_name") = rsQry("pkg_name")
|
|
|
56 |
oPackageDetails("pkg_version") = rsQry("pkg_version")
|
|
|
57 |
oPackageDetails("v_ext") = rsQry("v_ext")
|
|
|
58 |
oPackageDetails("pv_description") = rsQry("pv_description")
|
|
|
59 |
oPackageDetails("pv_overview") = rsQry("pv_overview")
|
|
|
60 |
oPackageDetails("src_path") = rsQry("src_path")
|
|
|
61 |
oPackageDetails("pkg_label") = rsQry("pkg_label")
|
|
|
62 |
oPackageDetails("is_build_env_required") = rsQry("is_build_env_required")
|
|
|
63 |
|
|
|
64 |
End If
|
|
|
65 |
|
|
|
66 |
rsQry.Close()
|
|
|
67 |
Set rsQry = Nothing
|
| 25 |
rsolanki |
68 |
End Sub
|
|
|
69 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
| 33 |
ghuddy |
70 |
Function SQL_Build_Std ( nPv_id )
|
|
|
71 |
SQL_Build_Std = _
|
|
|
72 |
" SELECT bs.bs_name"&_
|
|
|
73 |
" FROM RELEASE_MANAGER.PACKAGE_VERSIONS pv,"&_
|
|
|
74 |
" RELEASE_MANAGER.BUILD_STANDARDS bs"&_
|
|
|
75 |
" WHERE pv.PV_ID = "& nPv_id &_
|
|
|
76 |
" AND pv.BS_ID = bs.BS_ID "
|
|
|
77 |
End Function
|
|
|
78 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
| 25 |
rsolanki |
79 |
Function SQL_Build_Env ( nPv_id )
|
| 33 |
ghuddy |
80 |
SQL_Build_Env = _
|
|
|
81 |
" SELECT bm.bm_name"&_
|
|
|
82 |
" FROM RELEASE_MANAGER.PACKAGE_BUILD_INFO pbi,"&_
|
|
|
83 |
" RELEASE_MANAGER.BUILD_MACHINES bm"&_
|
|
|
84 |
" WHERE pbi.PV_ID = "& nPv_id &_
|
|
|
85 |
" AND pbi.BM_ID = bm.BM_ID "&_
|
|
|
86 |
" ORDER BY UPPER(bm.BM_NAME) "
|
| 25 |
rsolanki |
87 |
End Function
|
| 39 |
brianf |
88 |
|
| 25 |
rsolanki |
89 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
| 39 |
brianf |
90 |
Function SQL_Modules (aobjReleaseContent)
|
|
|
91 |
Dim pv_id,sWhere,i
|
|
|
92 |
Const MAX_IDS_PER_LIST = 100
|
|
|
93 |
' Create where clause for pv_id
|
|
|
94 |
' Note: As Oracle has a limit of 1000 values in an sql IN clause, the pv_id hash table
|
|
|
95 |
' will be converted into multiple sql IN clauses if required.
|
|
|
96 |
sWhere = "dep.PV_ID IN ("
|
|
|
97 |
i = 0
|
|
|
98 |
For Each pv_id in aobjReleaseContent.Keys
|
|
|
99 |
If (i > 0) and (i Mod MAX_IDS_PER_LIST = 0) Then
|
|
|
100 |
sWhere = Mid(sWhere,1,Len(sWhere) - 1) & ") OR dep.PV_ID IN ("
|
|
|
101 |
End If
|
|
|
102 |
sWhere = sWhere & pv_id & ","
|
|
|
103 |
i = i + 1
|
|
|
104 |
Next
|
|
|
105 |
|
|
|
106 |
' if list is empty then exlude all rows
|
|
|
107 |
If aobjReleaseContent.Count = 0 Then
|
|
|
108 |
sWhere = sWhere & "-1" & ","
|
|
|
109 |
End If
|
|
|
110 |
|
|
|
111 |
sWhere = Mid(sWhere,1,Len(sWhere) - 1) & ")"
|
|
|
112 |
|
|
|
113 |
SQL_Modules = _
|
|
|
114 |
"SELECT DISTINCT"&_
|
| 33 |
ghuddy |
115 |
" qry.DPV_ID "&_
|
| 25 |
rsolanki |
116 |
" FROM ("&_
|
| 33 |
ghuddy |
117 |
" SELECT dep.*,"&_
|
|
|
118 |
" LEVEL AS LEVEL_NUM"&_
|
|
|
119 |
" FROM PACKAGE_DEPENDENCIES dep"&_
|
| 39 |
brianf |
120 |
" START WITH "&_
|
|
|
121 |
" " & sWhere &_
|
| 33 |
ghuddy |
122 |
" CONNECT BY PRIOR dep.DPV_ID = dep.PV_ID"&_
|
|
|
123 |
" ) qry,"&_
|
|
|
124 |
" PACKAGES pkg,"&_
|
|
|
125 |
" PACKAGE_VERSIONS pv"&_
|
|
|
126 |
" WHERE qry.PV_ID = pv.PV_ID AND pv.PKG_ID = pkg.PKG_ID"
|
|
|
127 |
End Function
|
| 25 |
rsolanki |
128 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
129 |
Function SQL_Build_Dependencies ( nPv_id )
|
| 33 |
ghuddy |
130 |
SQL_Build_Dependencies = _
|
|
|
131 |
" SELECT dpkg.pkg_name, dpv.pkg_version"&_
|
|
|
132 |
" FROM PACKAGE_DEPENDENCIES dep,"&_
|
|
|
133 |
" PACKAGES dpkg,"&_
|
|
|
134 |
" PACKAGE_VERSIONS dpv"&_
|
|
|
135 |
" WHERE dep.pv_id = "& nPv_id &_
|
|
|
136 |
" AND dep.DPV_ID = dpv.pv_id"&_
|
|
|
137 |
" AND dpv.pkg_id = dpkg.pkg_id "&_
|
|
|
138 |
" ORDER BY UPPER(dpkg.pkg_name) "
|
| 25 |
rsolanki |
139 |
End Function
|
|
|
140 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
141 |
Sub GetReleaseContent ( nBom_id, ByRef oReleaseContent )
|
| 33 |
ghuddy |
142 |
Dim rsQry, query
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
query = _
|
|
|
147 |
" SELECT qry.prod_id"&_
|
|
|
148 |
" FROM ("&_
|
|
|
149 |
" SELECT DISTINCT"&_
|
|
|
150 |
" osc.PROD_ID,"&_
|
|
|
151 |
" pkg.pkg_name,"&_
|
|
|
152 |
" pv.pkg_version,"&_
|
|
|
153 |
" 1 as seq_num"&_
|
|
|
154 |
" FROM bom_contents bc,"&_
|
|
|
155 |
" operating_systems os, "&_
|
|
|
156 |
" os_contents osc,"&_
|
|
|
157 |
" PACKAGES pkg,"&_
|
|
|
158 |
" PACKAGE_VERSIONS pv,"&_
|
|
|
159 |
" PRODUCT_DETAILS pd"&_
|
|
|
160 |
" WHERE osc.os_id = os.os_id "&_
|
|
|
161 |
" AND os.node_id = bc.node_id"&_
|
|
|
162 |
" AND bc.bom_id = "& nBom_id &_
|
|
|
163 |
" AND pd.PROD_ID (+) = osc.PROD_ID"&_
|
|
|
164 |
" AND pv.pkg_id = pkg.pkg_id"&_
|
|
|
165 |
" AND osc.prod_id = pv.pv_id "&_
|
|
|
166 |
" AND (pd.is_rejected IS NULL or pd.IS_REJECTED != 'Y') "&_
|
|
|
167 |
" UNION "&_
|
|
|
168 |
" SELECT DISTINCT bec.prod_id, pkg.pkg_name, pkg_version, 2 as seq_num"&_
|
|
|
169 |
" FROM boms bm,"&_
|
|
|
170 |
" bom_contents bc,"&_
|
|
|
171 |
" network_nodes nn,"&_
|
|
|
172 |
" operating_systems os,"&_
|
|
|
173 |
" os_base_env obe,"&_
|
|
|
174 |
" base_env_contents bec,"&_
|
|
|
175 |
" PACKAGES pkg,"&_
|
|
|
176 |
" package_versions pv,"&_
|
|
|
177 |
" base_env be,"&_
|
|
|
178 |
" bos_types bt,"&_
|
|
|
179 |
" PRODUCT_DETAILS pd"&_
|
|
|
180 |
" WHERE bm.bom_id = "& nBom_id &_
|
|
|
181 |
" AND bm.bom_id = bc.bom_id"&_
|
|
|
182 |
" AND nn.node_id = bc.node_id"&_
|
|
|
183 |
" AND os.node_id = nn.node_id"&_
|
|
|
184 |
" AND obe.os_id = os.os_id"&_
|
|
|
185 |
" AND pd.PROD_ID (+) = bec.PROD_ID"&_
|
|
|
186 |
" AND (pd.is_rejected IS NULL or pd.IS_REJECTED != 'Y') "&_
|
|
|
187 |
" AND bec.base_env_id = obe.base_env_id"&_
|
|
|
188 |
" AND bec.prod_id = pv.pv_id"&_
|
|
|
189 |
" AND pkg.pkg_id = pv.pkg_id"&_
|
|
|
190 |
" AND be.base_env_id = obe.base_env_id"&_
|
|
|
191 |
" AND bt.bos_id = be.bos_id"&_
|
|
|
192 |
" ) qry "&_
|
|
|
193 |
" ORDER BY qry.seq_num, UPPER(qry.pkg_name), UPPER(qry.pkg_version)"
|
|
|
194 |
|
|
|
195 |
Set rsQry = OraDatabase.DbCreateDynaset( query, 0)
|
|
|
196 |
While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
|
|
197 |
oReleaseContent( CStr( rsQry("prod_id")) ) = ""
|
|
|
198 |
rsQry.MoveNext()
|
|
|
199 |
WEnd
|
|
|
200 |
|
|
|
201 |
rsQry.Close()
|
|
|
202 |
Set rsQry = Nothing
|
| 25 |
rsolanki |
203 |
End Sub
|
|
|
204 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
205 |
|
|
|
206 |
%>
|
|
|
207 |
|
|
|
208 |
<%
|
| 13 |
rsolanki |
209 |
Sub Reports_List ( SSgroup )
|
| 33 |
ghuddy |
210 |
Dim repNum
|
| 13 |
rsolanki |
211 |
%> <!-- REPORTS LIST -------------------------------------------------------->
|
| 33 |
ghuddy |
212 |
<%Select Case SSgroup%>
|
|
|
213 |
<%Case "Advanced_Search"%>
|
|
|
214 |
<%repNum = 9%>
|
|
|
215 |
<strong>BOM History Tracker</strong><br>
|
|
|
216 |
Use this report to find what changes occured in a BOM within specified date range.<br>
|
|
|
217 |
<a href="rep_bill_of_materials.asp?repnum=<%=repNum%>&group=<%=SSgroup%>" class="txt_linked">more...</a><br><br><hr size="1" noshade color="#DAD7C8">
|
|
|
218 |
<%repNum = 4%>
|
|
|
219 |
<strong>Find A Product</strong><br>
|
|
|
220 |
Use this advanced search to find a product in Deployment Manager.<br>
|
| 25 |
rsolanki |
221 |
<a href="rep_find_package.asp?repnum=<%=repNum%>&group=<%=SSgroup%>" class="txt_linked">more...</a><br><br><hr size="1" noshade color="#DAD7C8">
|
| 33 |
ghuddy |
222 |
<%Case "Admin_Reports"%>
|
|
|
223 |
<strong>All Packages by Project by Version Tree by Release</strong><br>
|
|
|
224 |
CSV output of all packages used in Release Manager per Project.<br>
|
|
|
225 |
<a href="rep_all_packages_by_project_by_vtree_by_release.asp" target="_blank" class="txt_linked">more...</a><br><br><hr size="1" noshade color="#DAD7C8">
|
|
|
226 |
<strong>All Runtime Dependencies by Project by Version Tree by Release</strong><br>
|
|
|
227 |
CSV output of all runtime dependencies used in Release Manager per Project.<br>
|
|
|
228 |
<a href="rep_all_runtime_dependencies_by_project_by_vtree_by_release.asp" target="_blank" class="txt_linked">more...</a><br><br><hr size="1" noshade color="#DAD7C8">
|
|
|
229 |
<%repNum = 6%>
|
|
|
230 |
<strong>Unused Packages</strong><br>
|
|
|
231 |
All packages (Not Products) with no entries in "Used By" tab.<br>
|
|
|
232 |
Use this report to help you clean up a release and remove all potentially unused packages.<br>
|
| 13 |
rsolanki |
233 |
<a href="rep_obsolete_packages.asp?repnum=<%=repNum%>&group=<%=SSgroup%>" class="txt_linked">more...</a><br><br><hr size="1" noshade color="#DAD7C8">
|
| 33 |
ghuddy |
234 |
<%Case "Escrow"%>
|
|
|
235 |
<%repNum = 11%>
|
|
|
236 |
<strong>Escrow Report</strong><br>
|
|
|
237 |
List of all Products/Patches for the BOM including modules. Use this report to provide a build roadmap.<br>
|
|
|
238 |
<a href="escrow_report.asp?repnum=<%=repNum%>&group=<%=SSgroup%>" class="txt_linked">more...</a><br><br><hr size="1" noshade color="#DAD7C8">
|
|
|
239 |
<%Case "Sbom_Issues"%>
|
|
|
240 |
<%repNum = 12%>
|
|
|
241 |
<strong>Sbom Issues Report</strong><br>
|
|
|
242 |
List of all Products/Patches for the BOM and the issues that they and their dependencies contain.<br>
|
|
|
243 |
<a href="rep_issues.asp" class="txt_linked" target="_blank">more...</a><br><br><hr size="1" noshade color="#DAD7C8">
|
|
|
244 |
<%Case "Bom_Difference"%>
|
|
|
245 |
<strong>BOM Version Difference Tool</strong><br>
|
|
|
246 |
Use this tool to find what changes occured in a BOM compared to another BOM. <br>
|
|
|
247 |
A detailed report of changes between two BOMs can also be emailed upon user request.<br>
|
|
|
248 |
<a href="diff.asp" class="txt_linked">more...</a><br><br><hr size="1" noshade color="#DAD7C8">
|
|
|
249 |
<%Case "Bom_Merge_Manager"%>
|
|
|
250 |
<strong>BOM Merge Manager Tool</strong><br>
|
|
|
251 |
Use this tool to merge in a change from one BOM to another. <br>
|
|
|
252 |
<a href="diffmerge.asp" class="txt_linked">more...</a><br><br><hr size="1" noshade color="#DAD7C8">
|
|
|
253 |
<%Case Else%>
|
|
|
254 |
<b>« Select reporting category.</b>
|
|
|
255 |
<%End Select%>
|
|
|
256 |
<!-- REPORTS LIST END-------------------------------------------------------->
|
| 13 |
rsolanki |
257 |
|
|
|
258 |
<%End Sub%>
|
|
|
259 |
|
|
|
260 |
<%
|
|
|
261 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
262 |
Sub Get_Projects ( NNproj_id, BBallow_all )
|
| 33 |
ghuddy |
263 |
Dim rsTemp, Query_String
|
|
|
264 |
|
|
|
265 |
Query_String = _
|
|
|
266 |
"SELECT * FROM DM_PROJECTS ORDER BY proj_name ASC"
|
|
|
267 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
|
|
268 |
|
|
|
269 |
Response.write "<select name='FRproj_id' onChange=""Cascaded_Menu('parent','"& SCRIPT_NAME &"?FRvtree_id=&FRrtag_id=&group="& Request("group") &"&repnum="& Request("repnum") &"&FRproj_id=',this,0)"" class='form_item'>"
|
|
|
270 |
If BBallow_all Then
|
|
|
271 |
Response.write "<option value='-1'>ALL</option>"
|
|
|
272 |
Else
|
|
|
273 |
Response.write "<option></option>"
|
|
|
274 |
End If
|
|
|
275 |
|
|
|
276 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
277 |
If CDbl(NNproj_id) = CDbl(rsTemp.Fields("proj_id")) Then
|
|
|
278 |
Response.write "<option value='"& rsTemp.Fields("proj_id") &"' selected>"& UCase(rsTemp.Fields("proj_name")) &"</option>"
|
|
|
279 |
Else
|
|
|
280 |
Response.write "<option value='"& rsTemp.Fields("proj_id") &"'>"& UCase(rsTemp.Fields("proj_name")) &"</option>"
|
|
|
281 |
End If
|
|
|
282 |
rsTemp.MoveNext
|
|
|
283 |
WEnd
|
|
|
284 |
Response.write "</select>"
|
|
|
285 |
|
|
|
286 |
rsTemp.Close
|
|
|
287 |
Set rsTemp = nothing
|
| 13 |
rsolanki |
288 |
End Sub
|
|
|
289 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
290 |
Sub Get_Version_Trees ( NNproj_id, NNvtree_id, BBallow_all )
|
| 33 |
ghuddy |
291 |
Dim rsTemp, Query_String
|
|
|
292 |
|
|
|
293 |
Query_String = _
|
|
|
294 |
"SELECT vtree_id, vtree_name FROM vtrees WHERE hide = 'N' AND proj_id = "& NNproj_id &" ORDER BY vtree_id ASC"
|
|
|
295 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
|
|
296 |
|
|
|
297 |
Response.write "<select name='FRvtree_id' onChange=""Cascaded_Menu('parent','"& scriptName &"?FRproj_id="& NNproj_id &"&FRrtag_id=&group="& Request("group") &"&repnum="& Request("repnum") &"&FRvtree_id=',this,0)"" class='form_item'>"
|
|
|
298 |
If BBallow_all Then
|
|
|
299 |
Response.write "<option value='-1'>ALL</option>"
|
|
|
300 |
Else
|
|
|
301 |
Response.write "<option></option>"
|
|
|
302 |
End If
|
|
|
303 |
|
|
|
304 |
If NNproj_id <> -1 Then
|
|
|
305 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
306 |
If CDbl(NNvtree_id) = CDbl(rsTemp.Fields("vtree_id")) Then
|
|
|
307 |
Response.write "<option value='"& rsTemp.Fields("vtree_id") &"' selected>"& (rsTemp.Fields("vtree_name")) &"</option>"
|
|
|
308 |
Else
|
|
|
309 |
Response.write "<option value='"& rsTemp.Fields("vtree_id") &"'>"& (rsTemp.Fields("vtree_name")) &"</option>"
|
|
|
310 |
End If
|
|
|
311 |
rsTemp.MoveNext
|
|
|
312 |
WEnd
|
|
|
313 |
End If
|
|
|
314 |
Response.write "</select>"
|
|
|
315 |
|
|
|
316 |
rsTemp.Close
|
|
|
317 |
Set rsTemp = nothing
|
| 13 |
rsolanki |
318 |
End Sub
|
|
|
319 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
320 |
Sub Get_Release_Labels ( NNproj_id, NNrtag_id, BBallow_all )
|
| 33 |
ghuddy |
321 |
Dim rsTemp, Query_String
|
| 13 |
rsolanki |
322 |
|
| 33 |
ghuddy |
323 |
Query_String = _
|
|
|
324 |
"SELECT * FROM BRANCHES WHERE proj_id = "& NNproj_id &" ORDER BY branch_id ASC"
|
|
|
325 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
|
|
326 |
|
|
|
327 |
Response.write "<select name='FRrtag_id' onChange=""Cascaded_Menu('parent','"& SCRIPT_NAME &"?FRproj_id="& NNproj_id &"&group="& Request("group") &"&repnum="& Request("repnum") &"&FRrtag_id=',this,0)"" class='form_item'>"
|
|
|
328 |
If BBallow_all Then
|
|
|
329 |
Response.write "<option value='-1'>ALL</option>"
|
|
|
330 |
Else
|
|
|
331 |
Response.write "<option></option>"
|
|
|
332 |
End If
|
|
|
333 |
|
|
|
334 |
If NNproj_id <> -1 Then
|
|
|
335 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
336 |
If CDbl(NNrtag_id) = CDbl(rsTemp.Fields("branch_id")) Then
|
|
|
337 |
Response.write "<option value='"& rsTemp.Fields("branch_id") &"' selected>"& (rsTemp.Fields("branch_name")) &"</option>"
|
|
|
338 |
Else
|
|
|
339 |
Response.write "<option value='"& rsTemp.Fields("branch_id") &"'>"& (rsTemp.Fields("branch_name")) &"</option>"
|
|
|
340 |
End If
|
|
|
341 |
rsTemp.MoveNext
|
|
|
342 |
WEnd
|
|
|
343 |
End If
|
|
|
344 |
Response.write "</select>"
|
|
|
345 |
|
|
|
346 |
rsTemp.Close
|
|
|
347 |
Set rsTemp = nothing
|
| 13 |
rsolanki |
348 |
End Sub
|
|
|
349 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
350 |
Sub Get_SBOM_Version ( NNproj_id, NNrtag_id, BBallow_all, NNversion )
|
| 33 |
ghuddy |
351 |
Dim rsTemp, Query_String
|
| 13 |
rsolanki |
352 |
|
| 33 |
ghuddy |
353 |
Query_String = _
|
|
|
354 |
"SELECT B.BOM_ID, B.BRANCH_ID, B.BOM_VERSION ||'.'||B.BOM_LIFECYCLE AS VERSION, BN.BOM_NAME FROM BOMS B, BOM_NAMES BN WHERE B.BRANCH_ID ="&NNrtag_id&" AND BN.BOM_NAME_ID = B.BOM_NAME_ID ORDER BY VERSION"
|
| 13 |
rsolanki |
355 |
|
|
|
356 |
|
| 33 |
ghuddy |
357 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
| 13 |
rsolanki |
358 |
|
| 33 |
ghuddy |
359 |
|
|
|
360 |
Response.write "<select name='FRversion' class='form_item'>"
|
|
|
361 |
If BBallow_all Then
|
|
|
362 |
Response.write "<option value='-1'>ALL</option>"
|
|
|
363 |
Else
|
|
|
364 |
Response.write "<option></option>"
|
|
|
365 |
End If
|
|
|
366 |
|
|
|
367 |
If NNrtag_id <> -1 Then
|
|
|
368 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
369 |
If CStr(NNversion) = CStr(rsTemp.Fields("version")) Then
|
|
|
370 |
Response.write "<option value='"& rsTemp.Fields("version") &"' selected>"& rsTemp("BOM_NAME") &" "& (rsTemp.Fields("version")) &"</option>"
|
|
|
371 |
Else
|
|
|
372 |
Response.write "<option value='"& rsTemp.Fields("version") &"'>"& rsTemp("BOM_NAME") &" "& (rsTemp.Fields("version")) &"</option>"
|
|
|
373 |
End If
|
|
|
374 |
rsTemp.MoveNext
|
|
|
375 |
WEnd
|
|
|
376 |
End If
|
|
|
377 |
Response.write "</select>"
|
|
|
378 |
rsTemp.Close
|
|
|
379 |
Set rsTemp = nothing
|
|
|
380 |
|
| 13 |
rsolanki |
381 |
End Sub
|
|
|
382 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
383 |
Sub Get_Branches ( NNproj_id, NNrtag_id, BBallow_all )
|
| 33 |
ghuddy |
384 |
Dim rsTemp, Query_String
|
| 13 |
rsolanki |
385 |
|
| 33 |
ghuddy |
386 |
Query_String = _
|
|
|
387 |
"SELECT * FROM branches WHERE proj_id = "& NNproj_id &" ORDER BY branch_id ASC"
|
|
|
388 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
|
|
389 |
Response.write "<select name='FRbranch_id' onChange=""Cascaded_Menu('parent','"& scriptName &"?FRproj_id="& NNproj_id &"&group="& Request("group") &"&repnum="& Request("repnum") &"&FRrtag_id=',this,0)"" class='form_item'>"
|
|
|
390 |
If BBallow_all Then
|
|
|
391 |
Response.write "<option value='-1'>ALL</option>"
|
|
|
392 |
Else
|
|
|
393 |
Response.write "<option></option>"
|
|
|
394 |
End If
|
|
|
395 |
|
|
|
396 |
If NNproj_id <> -1 Then
|
|
|
397 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
398 |
If CDbl(NNrtag_id) = CDbl(rsTemp.Fields("branch_id")) Then
|
|
|
399 |
Response.write "<option value='"& rsTemp.Fields("branch_id") &"' selected>"& (rsTemp.Fields("branch_name")) &"</option>"
|
|
|
400 |
Else
|
|
|
401 |
Response.write "<option value='"& rsTemp.Fields("branch_id") &"'>"& (rsTemp.Fields("branch_name")) &"</option>"
|
|
|
402 |
End If
|
|
|
403 |
rsTemp.MoveNext
|
|
|
404 |
WEnd
|
|
|
405 |
End If
|
|
|
406 |
Response.write "</select>"
|
|
|
407 |
|
|
|
408 |
rsTemp.Close
|
|
|
409 |
Set rsTemp = nothing
|
| 13 |
rsolanki |
410 |
End Sub
|
|
|
411 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
412 |
|
|
|
413 |
Sub Get_Base_Views ( nRtag_id, nBase_view_id, BBallow_all )
|
| 33 |
ghuddy |
414 |
Dim rsTemp, Query_String
|
|
|
415 |
|
|
|
416 |
Query_String = _
|
|
|
417 |
"SELECT DISTINCT vi.view_id, vi.view_name"&_
|
|
|
418 |
" FROM VIEWS vi,"&_
|
|
|
419 |
" RELEASE_CONTENT rc"&_
|
|
|
420 |
" WHERE rc.BASE_VIEW_ID = vi.VIEW_ID"&_
|
|
|
421 |
" AND rc.rtag_id = "& nRtag_id &_
|
|
|
422 |
"ORDER BY UPPER( vi.view_name )"
|
|
|
423 |
|
|
|
424 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
|
|
425 |
|
|
|
426 |
Response.write "<select name='FRbase_view_id' class='form_item'>"
|
|
|
427 |
If BBallow_all Then
|
|
|
428 |
Response.write "<option value='-1'>ALL</option>"
|
|
|
429 |
Else
|
|
|
430 |
Response.write "<option></option>"
|
|
|
431 |
End If
|
|
|
432 |
|
|
|
433 |
If nRtag_id <> -1 Then
|
|
|
434 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
435 |
If CDbl(nBase_view_id) = CDbl(rsTemp.Fields("view_id")) Then
|
|
|
436 |
Response.write "<option value='"& rsTemp.Fields("view_id") &"' selected>"& (rsTemp.Fields("view_name")) &"</option>"
|
|
|
437 |
Else
|
|
|
438 |
Response.write "<option value='"& rsTemp.Fields("view_id") &"'>"& (rsTemp.Fields("view_name")) &"</option>"
|
|
|
439 |
End If
|
|
|
440 |
rsTemp.MoveNext
|
|
|
441 |
WEnd
|
|
|
442 |
End If
|
|
|
443 |
Response.write "</select>"
|
|
|
444 |
|
|
|
445 |
rsTemp.Close
|
|
|
446 |
Set rsTemp = nothing
|
| 13 |
rsolanki |
447 |
End Sub
|
|
|
448 |
%>
|
|
|
449 |
<%
|
|
|
450 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
451 |
'==================================================================================
|
| 33 |
ghuddy |
452 |
' Report Name : Packages Using Ignore Feature
|
|
|
453 |
' Description : Lists packages which use "Ignore Warning"
|
|
|
454 |
' feature on their dependencies.
|
|
|
455 |
' INPUT : Project, Vesion Tree, Release Label
|
| 13 |
rsolanki |
456 |
'==================================================================================
|
|
|
457 |
Sub Packages_Using_Ignore_Feature ( SSsection, NNproj_id, NNrtag_id )
|
| 33 |
ghuddy |
458 |
Dim Query_String, rsRep
|
|
|
459 |
Const Allow_All = TRUE
|
|
|
460 |
|
|
|
461 |
If NNproj_id = "" Then NNproj_id = -1
|
|
|
462 |
If NNrtag_id = "" Then NNrtag_id = -1
|
|
|
463 |
|
|
|
464 |
If SSsection = "TITLE" Then
|
|
|
465 |
Response.write "Packages Using 'Ignore Warnings' Feature"
|
|
|
466 |
Exit Sub
|
|
|
467 |
End If
|
|
|
468 |
|
|
|
469 |
|
|
|
470 |
If SSsection = "FORM" Then
|
|
|
471 |
%>
|
|
|
472 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
473 |
<form action="<%=scriptName%>" method="post" name="repform">
|
|
|
474 |
<tr>
|
|
|
475 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="30" height="8"></td>
|
|
|
476 |
<td width="1%" align="right" nowrap class="form_field">Project</td>
|
|
|
477 |
<td width="100%"><%Call Get_Projects( NNproj_id, Allow_All )%></td>
|
|
|
478 |
</tr>
|
|
|
479 |
<tr>
|
|
|
480 |
<td nowrap class="form_field"> </td>
|
|
|
481 |
<td align="right" nowrap class="form_field">Release</td>
|
|
|
482 |
<td><%Call Get_Release_Labels ( NNproj_id, NNrtag_id, Allow_All )%></td>
|
|
|
483 |
</tr>
|
|
|
484 |
<tr>
|
|
|
485 |
<td nowrap class="form_field"> </td>
|
|
|
486 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
487 |
<td><br>
|
|
|
488 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
489 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
490 |
<input type="hidden" name="action" value="true">
|
|
|
491 |
<input name="Submit" type="submit" class="form_btn" value="Submit">
|
|
|
492 |
</td>
|
|
|
493 |
</tr>
|
|
|
494 |
</form>
|
|
|
495 |
</table>
|
|
|
496 |
<% Exit Sub
|
|
|
497 |
End If
|
|
|
498 |
|
|
|
499 |
|
|
|
500 |
If SSsection = "BODY" Then
|
|
|
501 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
502 |
|
|
|
503 |
Query_String = ReadFile( rootPath & "queries\rep_packages_using_ignore_feature.sql" )
|
|
|
504 |
|
|
|
505 |
OraDatabase.Parameters.Add "PROJ_ID", NNproj_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
506 |
OraDatabase.Parameters.Add "RTAG_ID", NNrtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
507 |
%>
|
|
|
508 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
|
|
509 |
<tr>
|
|
|
510 |
<td width="1%" nowrap class="body_colb"> </td>
|
|
|
511 |
<td width="1%" nowrap class="body_colb">Package Name </td>
|
|
|
512 |
<td width="1%" nowrap class="body_colb">Version </td>
|
|
|
513 |
<td width="100%" nowrap class="body_colb"> </td>
|
|
|
514 |
</tr>
|
|
|
515 |
<tr>
|
|
|
516 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
517 |
</tr>
|
|
|
518 |
<%
|
|
|
519 |
Dim currRtag_id
|
|
|
520 |
currRtag_id = -1
|
|
|
521 |
Set rsRep = OraDatabase.DbCreateDynaset( Query_String, 0 )
|
|
|
522 |
|
|
|
523 |
If rsRep.RecordCount = 0 Then
|
|
|
524 |
With Response
|
|
|
525 |
.write "<tr>"
|
|
|
526 |
.write "<td colspan='4' class='body_row'>Found 0 records</td>"
|
|
|
527 |
.write "</tr>"
|
|
|
528 |
End With
|
|
|
529 |
End If
|
|
|
530 |
|
|
|
531 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
532 |
' -------- GROUP BY RTAG_ID -----------------
|
|
|
533 |
If CDbl(currRtag_id) <> CDbl(rsRep("rtag_id")) Then
|
|
|
534 |
%>
|
|
|
535 |
<tr>
|
|
|
536 |
<td colspan="3" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
537 |
<td></td>
|
|
|
538 |
</tr>
|
|
|
539 |
<tr>
|
|
|
540 |
<td colspan="4" nowrap class="body_scol"><%=rsRep("proj_name") &" > "& rsRep("rtag_name")%></td>
|
|
|
541 |
</tr>
|
|
|
542 |
<%
|
|
|
543 |
currRtag_id = CDbl(rsRep("rtag_id"))
|
|
|
544 |
End If
|
|
|
545 |
' -------- END GROUP ------------------------
|
|
|
546 |
%>
|
|
|
547 |
<tr>
|
|
|
548 |
<td class="body_row"></td>
|
|
|
549 |
<td nowrap><a href="dependencies.asp?rtag_id=<%=rsRep("rtag_id")%>&pv_id=<%=rsRep("pv_id")%>" class="txt_linked"><%=rsRep("pkg_name")%></a></td>
|
|
|
550 |
<td nowrap><a href="dependencies.asp?rtag_id=<%=rsRep("rtag_id")%>&pv_id=<%=rsRep("pv_id")%>" class="txt_linked"><%=rsRep("pkg_version")%></a></td>
|
|
|
551 |
<td class="body_row"></td>
|
|
|
552 |
</tr>
|
|
|
553 |
<% rsRep.MoveNext
|
|
|
554 |
WEnd
|
|
|
555 |
%>
|
|
|
556 |
<tr>
|
|
|
557 |
<td colspan="3" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
558 |
<td></td>
|
|
|
559 |
</tr>
|
|
|
560 |
<tr>
|
|
|
561 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
562 |
</tr>
|
|
|
563 |
</table>
|
|
|
564 |
<!-- PRINT, SAVE, ETC. ------------>
|
|
|
565 |
<%If parPrint = "" Then%>
|
|
|
566 |
<br>
|
|
|
567 |
<br>
|
|
|
568 |
<a href="javascript:;" onClick="window.print();" class="txt_linked"><img src="images/btn_print.gif" width="23" height="24" hspace="4" border="0" align="absmiddle">Print this report</a><br>
|
|
|
569 |
<br>
|
|
|
570 |
<%End If%>
|
|
|
571 |
<!-- PRINT, SAVE, ETC. END -------->
|
|
|
572 |
<%
|
|
|
573 |
rsRep.Close
|
|
|
574 |
Set rsRep = nothing
|
|
|
575 |
End If
|
|
|
576 |
|
| 13 |
rsolanki |
577 |
End Sub
|
|
|
578 |
%>
|
|
|
579 |
<%
|
|
|
580 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
581 |
'==================================================================================
|
| 33 |
ghuddy |
582 |
' Report Name : Current State of Release
|
|
|
583 |
' Description : Show all packages in a release with their state, owner and modifier
|
|
|
584 |
' Form Input : Project, Vesion Tree, Release Label
|
|
|
585 |
' SQL INPUT : rtag_id
|
| 13 |
rsolanki |
586 |
'==================================================================================
|
|
|
587 |
Sub Current_State_of_Release ( SSsection, NNproj_id, NNrtag_id, NNpkg_states )
|
| 33 |
ghuddy |
588 |
Dim Query_String, rsRep
|
|
|
589 |
Const Disallow_All = FALSE
|
|
|
590 |
|
|
|
591 |
If NNproj_id = "" Then NNproj_id = -1
|
|
|
592 |
If NNrtag_id = "" Then NNrtag_id = -1
|
|
|
593 |
If NNpkg_states = "" Then NNpkg_states = -1
|
|
|
594 |
|
|
|
595 |
If SSsection = "TITLE" Then
|
|
|
596 |
Response.write "Current State of Release"
|
|
|
597 |
Exit Sub
|
|
|
598 |
End If
|
|
|
599 |
|
|
|
600 |
|
|
|
601 |
If SSsection = "FORM" Then
|
|
|
602 |
%>
|
|
|
603 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
604 |
<form action="<%=scriptName%>" method="post" name="repform" onSubmit="MM_validateForm('FRproj_id','Project','R','FRvtree_id','Version Tree','R','FRrtag_id','Release','R');return document.MM_returnValue">
|
|
|
605 |
<tr>
|
|
|
606 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="30" height="8"></td>
|
|
|
607 |
<td width="1%" align="right" nowrap class="form_field">Project</td>
|
|
|
608 |
<td width="100%"><%Call Get_Projects( NNproj_id, Disallow_All )%></td>
|
|
|
609 |
</tr>
|
|
|
610 |
<tr>
|
|
|
611 |
<td nowrap class="form_field"> </td>
|
|
|
612 |
<td align="right" nowrap class="form_field">Release</td>
|
|
|
613 |
<td><%Call Get_Release_Labels ( NNproj_id, NNrtag_id, Disallow_All )%></td>
|
|
|
614 |
</tr>
|
|
|
615 |
<tr>
|
|
|
616 |
<td nowrap class="form_field"> </td>
|
|
|
617 |
<td align="right" nowrap class="form_field">Package States</td>
|
|
|
618 |
<td class="form_field" nowrap>
|
|
|
619 |
<span style="border: 1px solid #808080;"> OK <input type="checkbox" name="FRpkg_state" value="<%=enumPKG_STATE_OK%>" <%If InStr( Request("FRpkg_state"), Cstr(enumPKG_STATE_OK) ) > 0 Then%>checked<%End If%>></span>
|
|
|
620 |
<span style="border: 1px solid #808080;"><%=enum_imgCritical%><input type="checkbox" name="FRpkg_state" value="<%=enumPKG_STATE_MAJOR%>" <%If InStr( Request("FRpkg_state"), Cstr(enumPKG_STATE_MAJOR) ) > 0 Then%>checked<%End If%>></span>
|
|
|
621 |
<span style="border: 1px solid #808080;"><%=enum_imgWarning%><input type="checkbox" name="FRpkg_state" value="<%=enumPKG_STATE_MINOR%>" <%If InStr( Request("FRpkg_state"), Cstr(enumPKG_STATE_MINOR) ) > 0 Then%>checked<%End If%>></span>
|
|
|
622 |
<span style="border: 1px solid #808080;"><%=enum_imgCReady%><input type="checkbox" name="FRpkg_state" value="<%=enumPKG_STATE_MAJOR_READY%>" <%If InStr( Request("FRpkg_state"), Cstr(enumPKG_STATE_MAJOR_READY) ) > 0 Then%>checked<%End If%>></span>
|
|
|
623 |
<span style="border: 1px solid #808080;"><%=enum_imgWReady%><input type="checkbox" name="FRpkg_state" value="<%=enumPKG_STATE_MINOR_READY%>" <%If InStr( Request("FRpkg_state"), Cstr(enumPKG_STATE_MINOR_READY) ) > 0 Then%>checked<%End If%>></span>
|
|
|
624 |
</td>
|
|
|
625 |
</tr>
|
|
|
626 |
<tr>
|
|
|
627 |
<td nowrap class="form_field"> </td>
|
|
|
628 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
629 |
<td><br>
|
|
|
630 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
631 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
632 |
<input type="hidden" name="action" value="true">
|
|
|
633 |
<input name="Submit" type="submit" class="form_btn" value="Submit">
|
|
|
634 |
</td>
|
|
|
635 |
</tr>
|
|
|
636 |
</form>
|
|
|
637 |
</table>
|
|
|
638 |
<% Exit Sub
|
|
|
639 |
End If
|
|
|
640 |
|
|
|
641 |
|
|
|
642 |
If SSsection = "BODY" Then
|
|
|
643 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
644 |
|
|
|
645 |
Query_String = ReadFile( rootPath & "queries\rep_details_current_status_of_release.sql" )
|
|
|
646 |
Query_String = Replace ( Query_String, "/*PKG_STATES*/", NNpkg_states )
|
|
|
647 |
|
|
|
648 |
OraDatabase.Parameters.Add "RTAG_ID", NNrtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
649 |
%>
|
|
|
650 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
|
|
651 |
<tr>
|
|
|
652 |
<td width="1%" nowrap class="body_colb"> </td>
|
|
|
653 |
<td width="1%" nowrap class="body_colb"> </td>
|
|
|
654 |
<td width="1%" nowrap class="body_colb"> </td>
|
|
|
655 |
<td width="1%" nowrap class="body_colb">Package Name and Version </td>
|
|
|
656 |
<td width="1%" nowrap class="body_colb">Owner </td>
|
|
|
657 |
<td width="1%" nowrap class="body_colb">Last Modifier </td>
|
|
|
658 |
<td width="1%" nowrap class="body_colb">Added to Release </td>
|
|
|
659 |
<td width="100%" nowrap class="body_colb"> </td>
|
|
|
660 |
</tr>
|
|
|
661 |
<tr>
|
|
|
662 |
<td colspan="8" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
663 |
</tr>
|
|
|
664 |
<%
|
|
|
665 |
Dim currView_id
|
|
|
666 |
currView_id = -1
|
|
|
667 |
Set rsRep = OraDatabase.DbCreateDynaset( Query_String, 0 )
|
|
|
668 |
|
|
|
669 |
If rsRep.RecordCount = 0 Then
|
|
|
670 |
With Response
|
|
|
671 |
.write "<tr>"
|
|
|
672 |
.write "<td colspan='8' class='body_row'>Found 0 records</td>"
|
|
|
673 |
.write "</tr>"
|
|
|
674 |
End With
|
|
|
675 |
End If
|
|
|
676 |
|
|
|
677 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
678 |
' -------- GROUP BY RTAG_ID -----------------
|
|
|
679 |
If CDbl(currView_id) <> CDbl(rsRep("view_id")) Then
|
|
|
680 |
%>
|
|
|
681 |
<tr>
|
|
|
682 |
<td colspan="7" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
683 |
<td></td>
|
|
|
684 |
</tr>
|
|
|
685 |
<tr>
|
|
|
686 |
<td colspan="8" nowrap class="body_scol"><%=rsRep("view_name")%></td>
|
|
|
687 |
</tr>
|
|
|
688 |
<%
|
|
|
689 |
currView_id = CDbl(rsRep("view_id"))
|
|
|
690 |
End If
|
|
|
691 |
' -------- END GROUP ------------------------
|
|
|
692 |
%>
|
|
|
693 |
<tr>
|
|
|
694 |
<td class="body_row"></td>
|
|
|
695 |
<td><%=DefineStateIcon ( rsRep("pkg_state"), rsRep("dlocked"), NULL, NULL, NULL, NULL )%></td>
|
|
|
696 |
<%If rsRep("dlocked") = "Y" Then%>
|
|
|
697 |
<td align="center" class="form_item"><img src='images/i_locked.gif' width='7' height='10' hspace='6'></td>
|
|
|
698 |
<%Else%>
|
|
|
699 |
<td align="center" class="form_item"><img src='images/spacer.gif' width='7' height='10' hspace='6'></td>
|
|
|
700 |
<%End If%>
|
|
|
701 |
<td nowrap class="body_row"><%=rsRep("pkg_name") &" "& rsRep("pkg_version")%></td>
|
|
|
702 |
<td nowrap><a href="mailto:<%=rsRep("owner_email")%>" class="txt_linked"><%=rsRep("owner")%></a> </td>
|
|
|
703 |
<td nowrap><a href="mailto:<%=rsRep("modifier_email")%>" class="txt_linked"><%=rsRep("modifier")%></a> </td>
|
|
|
704 |
<td class="body_row"><%=EuroDate( rsRep("insert_stamp") )%></td>
|
|
|
705 |
<td class="body_row"></td>
|
|
|
706 |
</tr>
|
|
|
707 |
<% rsRep.MoveNext
|
|
|
708 |
WEnd
|
|
|
709 |
%>
|
|
|
710 |
<tr>
|
|
|
711 |
<td colspan="8" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
712 |
</tr>
|
|
|
713 |
</table>
|
|
|
714 |
<!-- PRINT, SAVE, ETC. ------------>
|
|
|
715 |
<%If parPrint = "" Then%>
|
|
|
716 |
<br>
|
|
|
717 |
<br>
|
|
|
718 |
<a href="javascript:;" onClick="window.print();" class="txt_linked"><img src="images/btn_print.gif" width="23" height="24" hspace="4" border="0" align="absmiddle">Print this report</a><br>
|
|
|
719 |
<br>
|
|
|
720 |
<%End If%>
|
|
|
721 |
<!-- PRINT, SAVE, ETC. END -------->
|
|
|
722 |
<%
|
|
|
723 |
rsRep.Close
|
|
|
724 |
Set rsRep = nothing
|
|
|
725 |
End If
|
|
|
726 |
|
| 13 |
rsolanki |
727 |
End Sub
|
|
|
728 |
%>
|
|
|
729 |
<%
|
|
|
730 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
731 |
'==================================================================================
|
| 33 |
ghuddy |
732 |
' Report Name : Find ClearQuest Bugs / Issues Location
|
|
|
733 |
' Description : Locates bugs / issues imported from ClearQuest
|
|
|
734 |
' Form Input : CQ issue Database, CQ issue number list space separated
|
| 13 |
rsolanki |
735 |
'==================================================================================
|
|
|
736 |
Sub Where_Are_Bugs_Located ( SSsection, NNiss_db, SSiss_num_list )
|
| 33 |
ghuddy |
737 |
Dim Query_String, rsRep
|
|
|
738 |
|
|
|
739 |
If SSsection = "TITLE" Then
|
|
|
740 |
Response.write "Find ClearQuest Bugs / Issues Location"
|
|
|
741 |
Exit Sub
|
|
|
742 |
End If
|
|
|
743 |
|
|
|
744 |
|
|
|
745 |
If SSsection = "FORM" Then
|
|
|
746 |
%>
|
|
|
747 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
748 |
<form action="<%=scriptName%>" method="post" name="repform" onSubmit="MM_validateForm('FRiss_num_list','Issue Number','R');return document.MM_returnValue">
|
|
|
749 |
<tr>
|
|
|
750 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="30" height="8"></td>
|
|
|
751 |
<td width="1%" align="right" nowrap class="form_field" valign="top">ClearQuest Database</td>
|
|
|
752 |
<td width="100%">
|
|
|
753 |
<select name="FRiss_db" class="form_item">
|
|
|
754 |
<option value="<%=enumCLEARQUEST_DEVI_ID%>" <%If CDbl(NNiss_db) = enumCLEARQUEST_DEVI_ID Then%>selected<%End If%>>DEVI</option>
|
|
|
755 |
</select>
|
|
|
756 |
</td>
|
|
|
757 |
</tr>
|
|
|
758 |
<tr>
|
|
|
759 |
<td nowrap class="form_field"> </td>
|
|
|
760 |
<td align="right" nowrap class="form_field" valign="top">Issue Numbers</td>
|
|
|
761 |
<td class="form_txt"><input type="text" name="FRiss_num_list" size="50" class="form_item" value="<%=SSiss_num_list%>"><br>
|
|
|
762 |
HINTS:<br>
|
|
|
763 |
- You can use * wildcard. e.g. *0123 or 0123* or *0123*<br>
|
|
|
764 |
- Use space separated issue numbers for multiple search.</td>
|
|
|
765 |
</tr>
|
|
|
766 |
<tr>
|
|
|
767 |
<td nowrap class="form_field"> </td>
|
|
|
768 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
769 |
<td><br>
|
|
|
770 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
771 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
772 |
<input type="hidden" name="action" value="true">
|
|
|
773 |
<input name="Submit" type="submit" class="form_btn" value="Submit">
|
|
|
774 |
</td>
|
|
|
775 |
</tr>
|
|
|
776 |
</form>
|
|
|
777 |
</table>
|
|
|
778 |
<% Exit Sub
|
|
|
779 |
End If
|
|
|
780 |
|
|
|
781 |
|
|
|
782 |
If SSsection = "BODY" Then
|
|
|
783 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
784 |
|
|
|
785 |
Dim SSsql, issARR, num_item, iss_num_col, issNumDict, rsCQ, recCount, maxRecCount
|
|
|
786 |
Set rsCQ = Server.CreateObject("ADODB.Recordset")
|
|
|
787 |
Set issNumDict = CreateObject("Scripting.Dictionary")
|
|
|
788 |
|
|
|
789 |
|
|
|
790 |
'---- Find Issue numbers in ClearQuest ----
|
| 3938 |
dpurdie |
791 |
If CDbl(NNiss_db) = enumCLEARQUEST_DEVI_ID Then
|
| 33 |
ghuddy |
792 |
iss_num_col = "new_num"
|
|
|
793 |
SSsql = _
|
|
|
794 |
" SELECT si.dbid AS iss_id, si."& iss_num_col &" AS iss_num"&_
|
| 37 |
brianf |
795 |
" FROM CQ_DEVI.admin.software_issue si"&_
|
| 33 |
ghuddy |
796 |
" WHERE "
|
|
|
797 |
End If
|
|
|
798 |
|
|
|
799 |
|
|
|
800 |
'---- Split multiple search ----
|
|
|
801 |
SSiss_num_list = Trim(SSiss_num_list)
|
|
|
802 |
If InStr( SSiss_num_list, " " ) > 0 Then
|
|
|
803 |
' space separator found
|
|
|
804 |
issARR = Split ( SSiss_num_list, " ")
|
|
|
805 |
|
|
|
806 |
For Each num_item In issARR
|
|
|
807 |
If num_item <> "" Then
|
|
|
808 |
SSsql = SSsql & " (si."& iss_num_col &" LIKE '"& Replace( SQLstring(num_item), "*", "%" ) &"') OR"
|
|
|
809 |
End If
|
|
|
810 |
Next
|
|
|
811 |
|
|
|
812 |
SSsql = Left ( SSsql, Len(SSsql) - 2 ) ' Removes last OR
|
|
|
813 |
|
|
|
814 |
Else
|
|
|
815 |
SSsql = SSsql & " (si."& iss_num_col &" LIKE '"& Replace( SQLstring(SSiss_num_list), "*", "%") &"')"
|
|
|
816 |
|
|
|
817 |
End If
|
|
|
818 |
|
|
|
819 |
rsCQ.ActiveConnection = CQ_conn
|
|
|
820 |
rsCQ.Source = SSsql
|
|
|
821 |
rsCQ.CursorType = 0
|
|
|
822 |
rsCQ.CursorLocation = 2
|
|
|
823 |
rsCQ.LockType = 3
|
|
|
824 |
rsCQ.Open()
|
|
|
825 |
|
|
|
826 |
' Get find results from CQ
|
|
|
827 |
recCount = 1
|
|
|
828 |
maxRecCount = 1000
|
|
|
829 |
issNumDict.ADD "-1", "-1" ' take care of no results
|
|
|
830 |
While ((NOT rsCQ.BOF) AND (NOT rsCQ.EOF) AND (recCount < maxRecCount))
|
|
|
831 |
issNumDict.ADD Cstr(rsCQ("iss_id")), Cstr(rsCQ("iss_num"))
|
|
|
832 |
recCount = recCount + 1
|
|
|
833 |
rsCQ.MoveNext
|
|
|
834 |
WEnd
|
|
|
835 |
|
|
|
836 |
rsCQ.Close
|
|
|
837 |
Set rsCQ = nothing
|
|
|
838 |
|
|
|
839 |
Query_String = ReadFile( rootPath & "queries\rep_where_are_bugs_located.sql" )
|
|
|
840 |
Query_String = Replace ( Query_String, "/*ISS_DB*/", NNiss_db )
|
|
|
841 |
Query_String = Replace ( Query_String, "/*ISS_ID_LIST*/", Join( issNumDict.Keys, ",") )
|
|
|
842 |
|
|
|
843 |
%>
|
|
|
844 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
|
|
845 |
<tr>
|
|
|
846 |
<td width="1%" nowrap class="body_colb">Issue Number </td>
|
|
|
847 |
<td width="1%" nowrap class="body_colb">Fixed At</td>
|
|
|
848 |
<td width="1%" nowrap class="body_colb">Package Name and Version </td>
|
|
|
849 |
<td width="1%" nowrap class="body_colb">Notes </td>
|
|
|
850 |
<td width="100%" nowrap class="body_colb"> </td>
|
|
|
851 |
</tr>
|
|
|
852 |
<tr>
|
|
|
853 |
<td colspan="5" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
854 |
</tr>
|
|
|
855 |
<%
|
|
|
856 |
Dim currIss_id
|
|
|
857 |
currIss_id = -1
|
|
|
858 |
Set rsRep = OraDatabase.DbCreateDynaset( Query_String, 0 )
|
|
|
859 |
|
|
|
860 |
If rsRep.RecordCount = 0 Then
|
|
|
861 |
With Response
|
|
|
862 |
.write "<tr>"
|
|
|
863 |
.write "<td colspan='5' class='body_row'>Found 0 records</td>"
|
|
|
864 |
.write "</tr>"
|
|
|
865 |
End With
|
|
|
866 |
End If
|
|
|
867 |
|
|
|
868 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
869 |
' -------- GROUP BY ISS_ID -----------------
|
|
|
870 |
If Cstr(currIss_id) <> Cstr(rsRep("iss_id")) Then
|
|
|
871 |
%>
|
|
|
872 |
<tr>
|
|
|
873 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
874 |
<td></td>
|
|
|
875 |
</tr>
|
|
|
876 |
<tr>
|
|
|
877 |
<td nowrap><a href="javascript:;" onClick="MM_openBrWindow('_wform_issues_details.asp?iss_db=<%=NNiss_db%>&iss_id=<%= rsRep("iss_id")%>','IssueDetails','resizable=yes,width=580,height=500')" class="body_scol"><img src="images/i_drill_down.gif" width="12" height="14" hspace="3" border="0" align="absmiddle" alt="See issue details."><%=issNumDict.Item ( Cstr ( rsRep("iss_id") ) )%></a></td>
|
|
|
878 |
<td colspan='4' class="body_scol"></td>
|
|
|
879 |
</tr>
|
|
|
880 |
<%
|
|
|
881 |
currIss_id = Cstr(rsRep("iss_id"))
|
|
|
882 |
End If
|
|
|
883 |
' -------- END GROUP ------------------------
|
|
|
884 |
%>
|
|
|
885 |
<tr>
|
|
|
886 |
<td class="body_row"></td>
|
|
|
887 |
<%If CDbl(rsRep("iss_state")) = enumISSUES_STATE_FIXED Then%>
|
|
|
888 |
<td align="right"><img src="images/i_tick.gif" width="7" height="7" hspace="6"></td>
|
|
|
889 |
<%Else%>
|
|
|
890 |
<td align="right"><img src='images/spacer.gif' width='7' height='7' hspace='6'></td>
|
|
|
891 |
<%End If%>
|
|
|
892 |
<td nowrap class="body_row" valign="top"><a href="rep_find_package.asp?<%="group=Advanced_Search&repnum=4&action=true&FRpkg_name="& rsRep("pkg_name") &"&FRv_ext="& rsRep("v_ext")%>" class="txt_linked"><%=rsRep("pkg_name") &" "& rsRep("pkg_version")%><img src="images/i_drill_down.gif" width="12" height="14" hspace="3" border="0" align="absmiddle" alt="Find this package."></a></td>
|
|
|
893 |
<td nowrap><%=rsRep("notes")%></td>
|
|
|
894 |
<td class="body_row"></td>
|
|
|
895 |
</tr>
|
|
|
896 |
<% rsRep.MoveNext
|
|
|
897 |
WEnd
|
|
|
898 |
%>
|
|
|
899 |
<tr>
|
|
|
900 |
<td colspan="8" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
901 |
</tr>
|
|
|
902 |
</table>
|
|
|
903 |
<!-- PRINT, SAVE, ETC. ------------>
|
|
|
904 |
<%If parPrint = "" Then%>
|
|
|
905 |
<br>
|
|
|
906 |
<br>
|
|
|
907 |
<a href="javascript:;" onClick="window.print();" class="txt_linked"><img src="images/btn_print.gif" width="23" height="24" hspace="4" border="0" align="absmiddle">Print this report</a><br>
|
|
|
908 |
<br>
|
|
|
909 |
<%End If%>
|
|
|
910 |
<!-- PRINT, SAVE, ETC. END -------->
|
|
|
911 |
<%
|
|
|
912 |
rsRep.Close
|
|
|
913 |
Set rsRep = nothing
|
|
|
914 |
End If
|
|
|
915 |
|
| 13 |
rsolanki |
916 |
End Sub
|
|
|
917 |
%>
|
|
|
918 |
<%
|
|
|
919 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
920 |
'==================================================================================
|
| 33 |
ghuddy |
921 |
' Report Name : Find a Package
|
|
|
922 |
' Description : Locate a package/product in Deployment Manager
|
|
|
923 |
' Form Input : Package Name, version extension
|
| 13 |
rsolanki |
924 |
'==================================================================================
|
|
|
925 |
Sub Find_Package ( SSsection, SSpkg_name, SSv_ext )
|
| 33 |
ghuddy |
926 |
Dim Query_String, rsRep, oRegExp
|
|
|
927 |
|
|
|
928 |
|
|
|
929 |
If SSsection = "TITLE" Then
|
|
|
930 |
Response.write "Find a Product"
|
|
|
931 |
Exit Sub
|
|
|
932 |
End If
|
|
|
933 |
|
|
|
934 |
|
|
|
935 |
If SSsection = "FORM" Then
|
|
|
936 |
%>
|
|
|
937 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
938 |
<form action="<%=scriptName%>" method="post" name="repform" onSubmit="MM_validateForm('FRpkg_name','Package Name','R');return document.MM_returnValue">
|
|
|
939 |
<tr>
|
|
|
940 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="1" height="8"></td>
|
|
|
941 |
<td width="1%" align="right" nowrap class="form_field" valign="top">Product Name</td>
|
|
|
942 |
<td class="form_txt"><input type="text" name="FRpkg_name" size="30" class="form_item" value="<%=SSpkg_name%>"><br>
|
|
|
943 |
HINTS:<br>
|
|
|
944 |
- You can use * wildcard. e.g. *sec or port* or *pkgmnt*<br><br></td>
|
|
|
945 |
</tr>
|
|
|
946 |
<tr>
|
|
|
947 |
<td nowrap class="form_field"> </td>
|
|
|
948 |
<td align="right" nowrap class="form_field" valign="top">Version Extension (optional)</td>
|
|
|
949 |
<td class="form_txt"><input type="text" name="FRv_ext" size="10" class="form_item" value="<%=SSv_ext%>"><br>
|
|
|
950 |
e.g. .mas or .lvs or .oso or blank etc.</td>
|
|
|
951 |
</tr>
|
|
|
952 |
<tr>
|
|
|
953 |
<td nowrap class="form_field"> </td>
|
|
|
954 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
955 |
<td><br>
|
|
|
956 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
957 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
958 |
<input type="hidden" name="action" value="true">
|
|
|
959 |
<input name="Submit" type="submit" class="form_btn" value="Submit">
|
|
|
960 |
</td>
|
|
|
961 |
</tr>
|
|
|
962 |
</form>
|
|
|
963 |
</table>
|
|
|
964 |
<% Exit Sub
|
|
|
965 |
End If
|
|
|
966 |
|
|
|
967 |
|
|
|
968 |
If SSsection = "BODY" Then
|
|
|
969 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
970 |
|
|
|
971 |
If SSpkg_name = "" Then SSpkg_name = "%"
|
|
|
972 |
If SSv_ext = "" Then SSv_ext = "%"
|
|
|
973 |
If Request("withwcard") <> "" Then SSpkg_name = "%"& Replace( SQLstring(SSpkg_name), "*", "") &"%" 'Place wild card automatically
|
|
|
974 |
|
|
|
975 |
|
|
|
976 |
|
|
|
977 |
' -- Check if this is PV_ID
|
|
|
978 |
Set oRegExp = New RegExp
|
|
|
979 |
|
|
|
980 |
oRegExp.Global = False 'Find only first match
|
|
|
981 |
oRegExp.Pattern = "\D" 'Match number only
|
|
|
982 |
|
|
|
983 |
|
|
|
984 |
If NOT oRegExp.Test(Request("FRpkg_name")) Then
|
|
|
985 |
Query_String = ReadFile( rootPath & "queries\rep_find_package_by_pv_id.sql" )
|
|
|
986 |
Query_String = Replace ( Query_String, "/*PV_ID*/", SQLstring(Request("FRpkg_name") ) )
|
|
|
987 |
|
|
|
988 |
Else
|
|
|
989 |
Query_String = ReadFile( rootPath & "queries\rep_find_package.sql" )
|
|
|
990 |
Query_String = Replace ( Query_String, "/*PKG_NAME*/", Replace( SQLstring(SSpkg_name), "*", "%") )
|
|
|
991 |
Query_String = Replace ( Query_String, "/*V_EXT*/", Replace( SQLstring(SSv_ext), "*", "%") )
|
|
|
992 |
End If
|
|
|
993 |
%>
|
|
|
994 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
|
|
995 |
<tr>
|
|
|
996 |
<td width="1%" nowrap class="body_colb">Product Name and Version </td>
|
|
|
997 |
<td width="1%" nowrap class="body_colb">Location</td>
|
|
|
998 |
<td width="100%" nowrap class="body_colb"> </td>
|
|
|
999 |
</tr>
|
|
|
1000 |
<tr>
|
|
|
1001 |
<td colspan="3" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1002 |
</tr>
|
|
|
1003 |
<%
|
|
|
1004 |
Dim currPv_id
|
|
|
1005 |
currPv_id = -1
|
|
|
1006 |
Set rsRep = OraDatabase.DbCreateDynaset( Query_String, 0 )
|
|
|
1007 |
|
|
|
1008 |
If rsRep.RecordCount = 0 Then
|
|
|
1009 |
With Response
|
|
|
1010 |
.write "<tr>"
|
|
|
1011 |
.write "<td colspan='3' class='body_row'>Found 0 records</td>"
|
|
|
1012 |
.write "</tr>"
|
|
|
1013 |
End With
|
|
|
1014 |
End If
|
|
|
1015 |
|
|
|
1016 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
1017 |
' -------- GROUP BY Package Version -----------------
|
|
|
1018 |
If Cstr(currPv_id) <> Cstr(rsRep("pv_id")) Then
|
|
|
1019 |
%>
|
|
|
1020 |
<tr>
|
|
|
1021 |
<td colspan="2" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1022 |
<td></td>
|
|
|
1023 |
</tr>
|
|
|
1024 |
<tr>
|
|
|
1025 |
<%If Request("withwcard") <> "" Then%>
|
|
|
1026 |
<%' Highlight results for package search from index page%>
|
|
|
1027 |
<td nowrap class="body_scol"><%=Highlight_Substring ( rsRep("pkg_name"), Replace( SQLstring(SSpkg_name), "%", "") ) &" "& rsRep("pkg_version")%></td>
|
|
|
1028 |
<%Else%>
|
|
|
1029 |
<td nowrap class="body_scol"><%=rsRep("pkg_name") &" "& rsRep("pkg_version")%></td>
|
|
|
1030 |
<%End If%>
|
|
|
1031 |
<td colspan='2' class="body_scol"></td>
|
|
|
1032 |
</tr>
|
|
|
1033 |
<%
|
|
|
1034 |
currPv_id = Cstr(rsRep("pv_id"))
|
|
|
1035 |
End If
|
|
|
1036 |
' -------- END GROUP ------------------------
|
|
|
1037 |
%>
|
|
|
1038 |
<%If NOT IsNull(rsRep("proj_name")) Then%>
|
|
|
1039 |
<tr>
|
|
|
1040 |
<td class="body_row"></td>
|
|
|
1041 |
<td nowrap class="body_row" valign="top"><%=rsRep("proj_name") &" > "& rsRep("branch_name") &" > "& rsRep("bom_name") &" "& rsRep("version") &" >"& rsRep("node_name") &" >"& rsRep("os_name") &" ><a href='OsDefault.asp?bom_id="& rsRep("bom_id") &"&os_id="& rsRep("os_id") &"' class='txt_linked'>"& rsRep("pkg_name") &" "& rsRep("pkg_version") &"</a>"%></td>
|
|
|
1042 |
<td class="body_row"></td>
|
|
|
1043 |
</tr>
|
|
|
1044 |
<%Else%>
|
|
|
1045 |
<tr>
|
|
|
1046 |
<td class="body_row"></td>
|
|
|
1047 |
<td class="body_row"></td>
|
|
|
1048 |
<td class="body_row"></td>
|
|
|
1049 |
</tr>
|
|
|
1050 |
<%End If%>
|
|
|
1051 |
<% rsRep.MoveNext
|
|
|
1052 |
WEnd
|
|
|
1053 |
%>
|
|
|
1054 |
<tr>
|
|
|
1055 |
<td colspan="3" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1056 |
</tr>
|
|
|
1057 |
</table>
|
|
|
1058 |
<!-- PRINT, SAVE, ETC. ------------>
|
|
|
1059 |
<%If parPrint = "" Then%>
|
|
|
1060 |
<br>
|
|
|
1061 |
<br>
|
|
|
1062 |
<a href="javascript:;" onClick="window.print();" class="txt_linked"><img src="images/btn_print.gif" width="23" height="24" hspace="4" border="0" align="absmiddle">Print this report</a><br>
|
|
|
1063 |
<br>
|
|
|
1064 |
<%End If%>
|
|
|
1065 |
<!-- PRINT, SAVE, ETC. END -------->
|
|
|
1066 |
<%
|
|
|
1067 |
rsRep.Close()
|
|
|
1068 |
Set rsRep = nothing
|
|
|
1069 |
End If
|
|
|
1070 |
|
| 13 |
rsolanki |
1071 |
End Sub
|
|
|
1072 |
%>
|
|
|
1073 |
<%
|
|
|
1074 |
'==================================================================================
|
| 33 |
ghuddy |
1075 |
' Report Name : Find Package Version History
|
|
|
1076 |
' Description : Locate all package versions and their current location
|
|
|
1077 |
' Form Input : Package Name, version extension
|
| 13 |
rsolanki |
1078 |
'==================================================================================
|
|
|
1079 |
Sub Find_Package_Version_History ( SSsection, SSpkg_name, SSv_ext )
|
| 33 |
ghuddy |
1080 |
Dim Query_String, rsRep
|
|
|
1081 |
|
|
|
1082 |
|
|
|
1083 |
If SSsection = "TITLE" Then
|
|
|
1084 |
Response.write "Find Package Version History"
|
|
|
1085 |
Exit Sub
|
|
|
1086 |
End If
|
|
|
1087 |
|
|
|
1088 |
|
|
|
1089 |
If SSsection = "FORM" Then
|
|
|
1090 |
%>
|
|
|
1091 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
1092 |
<form action="<%=scriptName%>" method="post" name="repform" onSubmit="MM_validateForm('FRpkg_name','Package Name','R');return document.MM_returnValue">
|
|
|
1093 |
<tr>
|
|
|
1094 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="1" height="8"></td>
|
|
|
1095 |
<td width="1%" align="right" nowrap class="form_field" valign="top">Package Name</td>
|
|
|
1096 |
<td class="form_txt"><input type="text" name="FRpkg_name" size="30" class="form_item" value="<%=SSpkg_name%>"><br>
|
|
|
1097 |
HINTS:<br>
|
|
|
1098 |
- You can use * wildcard. e.g. *0123 or 0123* or *0123*<br><br></td>
|
|
|
1099 |
</tr>
|
|
|
1100 |
<tr>
|
|
|
1101 |
<td nowrap class="form_field"> </td>
|
|
|
1102 |
<td align="right" nowrap class="form_field" valign="top">Version Extension (optional)</td>
|
|
|
1103 |
<td class="form_txt"><input type="text" name="FRv_ext" size="10" class="form_item" value="<%=SSv_ext%>"><br>
|
|
|
1104 |
e.g. .mas or .lvs or .oso or blank etc.</td>
|
|
|
1105 |
</tr>
|
|
|
1106 |
<tr>
|
|
|
1107 |
<td nowrap class="form_field"> </td>
|
|
|
1108 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
1109 |
<td><br>
|
|
|
1110 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
1111 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
1112 |
<input type="hidden" name="action" value="true">
|
|
|
1113 |
<input name="Submit" type="submit" class="form_btn" value="Submit">
|
|
|
1114 |
</td>
|
|
|
1115 |
</tr>
|
|
|
1116 |
</form>
|
|
|
1117 |
</table>
|
|
|
1118 |
<% Exit Sub
|
|
|
1119 |
End If
|
|
|
1120 |
|
|
|
1121 |
|
|
|
1122 |
If SSsection = "BODY" Then
|
|
|
1123 |
Const img_Official = "<img src='images/i_locked.gif' width='7' height='10' hspace='3' align='absmiddle'>"
|
|
|
1124 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
1125 |
|
|
|
1126 |
If SSpkg_name = "" Then SSpkg_name = "%"
|
|
|
1127 |
If SSv_ext = "" Then SSv_ext = "%"
|
|
|
1128 |
|
|
|
1129 |
Query_String = ReadFile( rootPath & "queries\rep_package_version_history.sql" )
|
|
|
1130 |
Query_String = Replace ( Query_String, "/*PKG_NAME*/", Replace( SQLstring(SSpkg_name), "*", "%") )
|
|
|
1131 |
Query_String = Replace ( Query_String, "/*V_EXT*/", Replace( SQLstring(SSv_ext), "*", "%") )
|
|
|
1132 |
%>
|
|
|
1133 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
|
|
1134 |
<tr>
|
|
|
1135 |
<td width="1%" nowrap class="body_colb" align="right">Official<%=img_Official%></td>
|
|
|
1136 |
<td width="1%" nowrap class="body_colb">Package Name and Version </td>
|
|
|
1137 |
<td width="1%" nowrap class="body_colb">Location</td>
|
|
|
1138 |
<td width="100%" nowrap class="body_colb"> </td>
|
|
|
1139 |
</tr>
|
|
|
1140 |
<tr>
|
|
|
1141 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1142 |
</tr>
|
|
|
1143 |
<%
|
|
|
1144 |
Dim currPv_id
|
|
|
1145 |
currPv_id = -1
|
|
|
1146 |
Set rsRep = OraDatabase.DbCreateDynaset( Query_String, 0 )
|
|
|
1147 |
|
|
|
1148 |
If rsRep.RecordCount = 0 Then
|
|
|
1149 |
With Response
|
|
|
1150 |
.write "<tr>"
|
|
|
1151 |
.write "<td colspan='4' class='body_row'>Found 0 records</td>"
|
|
|
1152 |
.write "</tr>"
|
|
|
1153 |
End With
|
|
|
1154 |
End If
|
|
|
1155 |
|
|
|
1156 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
1157 |
' -------- GROUP BY Package Version -----------------
|
|
|
1158 |
If Cstr(currPv_id) <> Cstr(rsRep("pv_id")) Then
|
|
|
1159 |
%>
|
|
|
1160 |
<tr>
|
|
|
1161 |
<td colspan="3" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1162 |
<td></td>
|
|
|
1163 |
</tr>
|
|
|
1164 |
<tr>
|
|
|
1165 |
<td align="right"><%If rsRep("dlocked") = "Y" Then%><%=img_Official%><%End If%></td>
|
|
|
1166 |
<td nowrap class="body_scol"><%=rsRep("pkg_name") &" "& rsRep("pkg_version")%></td>
|
|
|
1167 |
<td colspan='2' class="body_scol"></td>
|
|
|
1168 |
</tr>
|
|
|
1169 |
<%
|
|
|
1170 |
currPv_id = Cstr(rsRep("pv_id"))
|
|
|
1171 |
End If
|
|
|
1172 |
' -------- END GROUP ------------------------
|
|
|
1173 |
%>
|
|
|
1174 |
<tr>
|
|
|
1175 |
<td class="body_row"></td>
|
|
|
1176 |
<td class="body_row"></td>
|
|
|
1177 |
<%If IsNull(rsRep("rtag_id")) Then%>
|
|
|
1178 |
<td nowrap class="body_txt_gray" valign="top">Not Used!</td>
|
|
|
1179 |
<%Else%>
|
|
|
1180 |
<td nowrap class="body_row" valign="top"><%=rsRep("proj_name") &" > "& rsRep("vtree_name") &" > "& rsRep("rtag_name") &" > <a href='dependencies.asp?pv_id="& rsRep("pv_id") &"&rtag_id="& rsRep("rtag_id") &"' class='txt_linked'>"& rsRep("pkg_name") &" "& rsRep("pkg_version") &"</a>"%></td>
|
|
|
1181 |
<%End If%>
|
|
|
1182 |
<td class="body_row"></td>
|
|
|
1183 |
</tr>
|
|
|
1184 |
<% rsRep.MoveNext
|
|
|
1185 |
WEnd
|
|
|
1186 |
%>
|
|
|
1187 |
<tr>
|
|
|
1188 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1189 |
</tr>
|
|
|
1190 |
</table>
|
|
|
1191 |
<!-- PRINT, SAVE, ETC. ------------>
|
|
|
1192 |
<%If parPrint = "" Then%>
|
|
|
1193 |
<br>
|
|
|
1194 |
<br>
|
|
|
1195 |
<a href="javascript:;" onClick="window.print();" class="txt_linked"><img src="images/btn_print.gif" width="23" height="24" hspace="4" border="0" align="absmiddle">Print this report</a><br>
|
|
|
1196 |
<br>
|
|
|
1197 |
<%End If%>
|
|
|
1198 |
<!-- PRINT, SAVE, ETC. END -------->
|
|
|
1199 |
<%
|
|
|
1200 |
rsRep.Close
|
|
|
1201 |
Set rsRep = nothing
|
|
|
1202 |
End If
|
|
|
1203 |
|
| 13 |
rsolanki |
1204 |
End Sub
|
|
|
1205 |
%>
|
|
|
1206 |
<%
|
|
|
1207 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
1208 |
'==================================================================================
|
| 33 |
ghuddy |
1209 |
' Report Name : Obsolete Packages
|
|
|
1210 |
' Description : List packages that are not used (exclude products)
|
|
|
1211 |
' INPUT : Project, Vesion Tree, Release Label
|
| 13 |
rsolanki |
1212 |
'==================================================================================
|
|
|
1213 |
Sub Obsolete_Packages ( SSsection, NNproj_id, NNrtag_id )
|
| 33 |
ghuddy |
1214 |
Dim Query_String, rsRep
|
|
|
1215 |
Const Allow_All = TRUE
|
|
|
1216 |
Const Disallow_All = FALSE
|
|
|
1217 |
|
|
|
1218 |
If NNproj_id = "" Then NNproj_id = -1
|
|
|
1219 |
If NNrtag_id = "" Then NNrtag_id = -1
|
|
|
1220 |
|
|
|
1221 |
If SSsection = "TITLE" Then
|
|
|
1222 |
Response.write "Unused Packages"
|
|
|
1223 |
Exit Sub
|
|
|
1224 |
End If
|
|
|
1225 |
|
|
|
1226 |
|
|
|
1227 |
If SSsection = "FORM" Then
|
|
|
1228 |
%>
|
|
|
1229 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
1230 |
<form action="<%=scriptName%>" method="post" name="repform" onSubmit="MM_validateForm('FRproj_id','Project','R','FRvtree_id','Version Tree','R','FRrtag_id','Release','R');return document.MM_returnValue">
|
|
|
1231 |
<tr>
|
|
|
1232 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="30" height="8"></td>
|
|
|
1233 |
<td width="1%" align="right" nowrap class="form_field">Project</td>
|
|
|
1234 |
<td width="100%"><%Call Get_Projects( NNproj_id, Disallow_All )%></td>
|
|
|
1235 |
</tr>
|
|
|
1236 |
<tr>
|
|
|
1237 |
<td nowrap class="form_field"> </td>
|
|
|
1238 |
<td align="right" nowrap class="form_field">Release</td>
|
|
|
1239 |
<td><%Call Get_Release_Labels ( NNproj_id, NNrtag_id, Disallow_All )%></td>
|
|
|
1240 |
</tr>
|
|
|
1241 |
<tr>
|
|
|
1242 |
<td nowrap class="form_field"> </td>
|
|
|
1243 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
1244 |
<td><br>
|
|
|
1245 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
1246 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
1247 |
<input type="hidden" name="action" value="true">
|
|
|
1248 |
<input name="Submit" type="submit" class="form_btn" value="Submit">
|
|
|
1249 |
</td>
|
|
|
1250 |
</tr>
|
|
|
1251 |
</form>
|
|
|
1252 |
</table>
|
|
|
1253 |
<% Exit Sub
|
|
|
1254 |
End If
|
|
|
1255 |
|
|
|
1256 |
|
|
|
1257 |
If SSsection = "BODY" Then
|
|
|
1258 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
1259 |
|
|
|
1260 |
Query_String = ReadFile( rootPath & "queries\rep_obsolete_packages.sql" )
|
|
|
1261 |
|
|
|
1262 |
OraDatabase.Parameters.Add "RTAG_ID", NNrtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
1263 |
%>
|
|
|
1264 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
|
|
1265 |
<tr>
|
|
|
1266 |
<td width="1%" nowrap class="body_colb"> </td>
|
|
|
1267 |
<td width="1%" nowrap class="body_colb">Package Name and Version </td>
|
|
|
1268 |
<td width="1%" nowrap class="body_colb">Released </td>
|
|
|
1269 |
<td width="1%" nowrap class="body_colb">Added to Release </td>
|
|
|
1270 |
<td width="100%" nowrap class="body_colb"> </td>
|
|
|
1271 |
</tr>
|
|
|
1272 |
<tr>
|
|
|
1273 |
<td colspan="5" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1274 |
</tr>
|
|
|
1275 |
<%
|
|
|
1276 |
Dim currView_id
|
|
|
1277 |
currView_id = -1
|
|
|
1278 |
Set rsRep = OraDatabase.DbCreateDynaset( Query_String, 0 )
|
|
|
1279 |
|
|
|
1280 |
If rsRep.RecordCount = 0 Then
|
|
|
1281 |
With Response
|
|
|
1282 |
.write "<tr>"
|
|
|
1283 |
.write "<td colspan='5' class='body_row'>Found 0 records</td>"
|
|
|
1284 |
.write "</tr>"
|
|
|
1285 |
End With
|
|
|
1286 |
End If
|
|
|
1287 |
|
|
|
1288 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
1289 |
' -------- GROUP BY BASE VIEW -----------------
|
|
|
1290 |
If CDbl(currView_id) <> CDbl(rsRep("view_id")) Then
|
|
|
1291 |
%>
|
|
|
1292 |
<tr>
|
|
|
1293 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1294 |
<td></td>
|
|
|
1295 |
</tr>
|
|
|
1296 |
<tr>
|
|
|
1297 |
<td nowrap class="body_scol"><%=rsRep("view_name")%></td>
|
|
|
1298 |
<td class="body_scol"></td>
|
|
|
1299 |
<td class="body_scol"></td>
|
|
|
1300 |
<td class="body_scol"></td>
|
|
|
1301 |
<td class="body_scol"></td>
|
|
|
1302 |
</tr>
|
|
|
1303 |
<%
|
|
|
1304 |
currView_id = CDbl(rsRep("view_id"))
|
|
|
1305 |
End If
|
|
|
1306 |
' -------- END GROUP ------------------------
|
|
|
1307 |
%>
|
|
|
1308 |
<tr>
|
|
|
1309 |
<td class="body_row"></td>
|
|
|
1310 |
<td nowrap class="body_row"><a href="used_by.asp?pv_id=<%=rsRep("pv_id")%>&rtag_id=<%=NNrtag_id%>" class="txt_linked"><%=rsRep("pkg_name") &" "& rsRep("pkg_version")%></a></td>
|
|
|
1311 |
<td nowrap class="body_row"><%=EuroDate( rsRep("modified_stamp") )%> by <a href="mailto:<%=rsRep("modifier_email")%>" class="txt_linked"><%=rsRep("modifier")%></a> </td>
|
|
|
1312 |
<td nowrap class="body_row"><%=EuroDate( rsRep("insert_stamp") )%> by <a href="mailto:<%=rsRep("insertor_email")%>" class="txt_linked"><%=rsRep("insertor")%></a> </td>
|
|
|
1313 |
<td class="body_row"></td>
|
|
|
1314 |
</tr>
|
|
|
1315 |
<% rsRep.MoveNext
|
|
|
1316 |
WEnd
|
|
|
1317 |
%>
|
|
|
1318 |
<tr>
|
|
|
1319 |
<td colspan="5" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1320 |
</tr>
|
|
|
1321 |
</table>
|
|
|
1322 |
<!-- PRINT, SAVE, ETC. ------------>
|
|
|
1323 |
<%If parPrint = "" Then%>
|
|
|
1324 |
<br>
|
|
|
1325 |
<br>
|
|
|
1326 |
<a href="javascript:;" onClick="window.print();" class="txt_linked"><img src="images/btn_print.gif" width="23" height="24" hspace="4" border="0" align="absmiddle">Print this report</a><br>
|
|
|
1327 |
<br>
|
|
|
1328 |
<%End If%>
|
|
|
1329 |
<!-- PRINT, SAVE, ETC. END -------->
|
|
|
1330 |
<%
|
|
|
1331 |
rsRep.Close
|
|
|
1332 |
Set rsRep = nothing
|
|
|
1333 |
End If
|
|
|
1334 |
|
| 13 |
rsolanki |
1335 |
End Sub
|
|
|
1336 |
%>
|
|
|
1337 |
<%
|
|
|
1338 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
1339 |
'==================================================================================
|
| 33 |
ghuddy |
1340 |
' Report Name : Deployable Software Modules
|
|
|
1341 |
' Description : Shows packages that are deployed to the customers and shows new packages marked as deployable.
|
|
|
1342 |
' INPUT : Project, Vesion Tree, Release Label, Base View (hard-coded to PRODUCTS)
|
| 13 |
rsolanki |
1343 |
'==================================================================================
|
|
|
1344 |
Sub Deployable_Software_Modules ( sSection, nProj_id, nRtag_id, nBase_view_id )
|
| 33 |
ghuddy |
1345 |
Dim Query_String, rsRep
|
|
|
1346 |
Const Allow_All = TRUE
|
|
|
1347 |
Const Disallow_All = FALSE
|
|
|
1348 |
|
|
|
1349 |
If nProj_id = "" Then nProj_id = -1
|
|
|
1350 |
If nRtag_id = "" Then nRtag_id = -1
|
|
|
1351 |
|
|
|
1352 |
If sSection = "TITLE" Then
|
|
|
1353 |
Response.write "Deployable Software Modules"
|
|
|
1354 |
Exit Sub
|
|
|
1355 |
End If
|
|
|
1356 |
|
|
|
1357 |
|
|
|
1358 |
If sSection = "FORM" Then
|
|
|
1359 |
%>
|
|
|
1360 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
1361 |
<form action="<%=scriptName%>" method="post" name="repform" onSubmit="MM_validateForm('FRproj_id','Project','R','FRvtree_id','Version Tree','R','FRrtag_id','Release','R');return document.MM_returnValue">
|
|
|
1362 |
<tr>
|
|
|
1363 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="30" height="8"></td>
|
|
|
1364 |
<td width="1%" align="right" nowrap class="form_field">Project</td>
|
|
|
1365 |
<td width="100%"><%Call Get_Projects( nProj_id, Disallow_All )%></td>
|
|
|
1366 |
</tr>
|
|
|
1367 |
<tr>
|
|
|
1368 |
<td nowrap class="form_field"> </td>
|
|
|
1369 |
<td align="right" nowrap class="form_field">Release</td>
|
|
|
1370 |
<td><%Call Get_Release_Labels ( nProj_id, nRtag_id, Disallow_All )%></td>
|
|
|
1371 |
</tr>
|
|
|
1372 |
<tr>
|
|
|
1373 |
<td nowrap class="form_field"> </td>
|
|
|
1374 |
<td align="right" nowrap class="form_field">Base View</td>
|
|
|
1375 |
<td>
|
|
|
1376 |
<select name="noname" class='form_item' disabled>
|
|
|
1377 |
<option>PRODUCTS</option>
|
|
|
1378 |
</select>
|
|
|
1379 |
</td>
|
|
|
1380 |
</tr>
|
|
|
1381 |
<tr>
|
|
|
1382 |
<td nowrap class="form_field"> </td>
|
|
|
1383 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
1384 |
<td><br>
|
|
|
1385 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
1386 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
1387 |
<input type="hidden" name="FRbase_view_id" value="<%=enumBASE_VIEW_PRODUCTS%>">
|
|
|
1388 |
<input type="hidden" name="action" value="true">
|
|
|
1389 |
<input name="Submit" type="submit" class="form_btn" value="Submit">
|
|
|
1390 |
</td>
|
|
|
1391 |
</tr>
|
|
|
1392 |
</form>
|
|
|
1393 |
</table>
|
|
|
1394 |
<% Exit Sub
|
|
|
1395 |
End If
|
|
|
1396 |
|
|
|
1397 |
|
|
|
1398 |
If sSection = "BODY" Then
|
|
|
1399 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
1400 |
'--- New Deployable Modules ---
|
|
|
1401 |
Query_String = ReadFile( rootPath & "queries\rep_new_deployable_packages.sql" )
|
|
|
1402 |
|
|
|
1403 |
OraDatabase.Parameters.Add "RTAG_ID", nRtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
1404 |
OraDatabase.Parameters.Add "BASE_VIEW_ID", nBase_view_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
1405 |
%>
|
|
|
1406 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
|
|
1407 |
<tr>
|
|
|
1408 |
<td nowrap class="body_colb" colspan="3" background="images/bg_bage.gif"> New Deployable Package</td>
|
|
|
1409 |
</tr>
|
|
|
1410 |
<tr>
|
|
|
1411 |
<td background="images/bg_rep_line.gif" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1412 |
</tr>
|
|
|
1413 |
<tr>
|
|
|
1414 |
<td width="1%" class="body_txt">Package Name</td>
|
|
|
1415 |
<td width="1%" class="body_txt">Version</td>
|
|
|
1416 |
<td width="100%" class="body_txt">Last Modifier</td>
|
|
|
1417 |
</tr>
|
|
|
1418 |
<tr>
|
|
|
1419 |
<td background="images/bg_rep_line.gif" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1420 |
</tr>
|
|
|
1421 |
<%
|
|
|
1422 |
Set rsRep = OraDatabase.DbCreateDynaset( Query_String, 0 )
|
|
|
1423 |
%>
|
|
|
1424 |
<%If rsRep.RecordCount = 0 Then%>
|
|
|
1425 |
<tr>
|
|
|
1426 |
<td nowrap class="body_row" colspan="3">Found 0 records! </td>
|
|
|
1427 |
</tr>
|
|
|
1428 |
<%End If%>
|
|
|
1429 |
<%While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))%>
|
|
|
1430 |
<tr>
|
|
|
1431 |
<td nowrap><a href="dependencies.asp?pv_id=<%=rsRep("pv_id")%>&rtag_id=<%=nRtag_id%>" class="txt_linked"><img src="images/i_go2url.gif" width="14" height="14" hspace="3" border="0" align="absmiddle"><%=rsRep("pkg_name")%></a></td>
|
|
|
1432 |
<td nowrap class="body_row"><%=rsRep("pkg_version")%></td>
|
|
|
1433 |
<td nowrap class="body_row"><%=rsRep("full_name")%></td>
|
|
|
1434 |
</tr>
|
|
|
1435 |
<%rsRep.MoveNext
|
|
|
1436 |
WEnd
|
|
|
1437 |
rsRep.Close
|
|
|
1438 |
Set rsRep = Nothing%>
|
|
|
1439 |
<tr>
|
|
|
1440 |
<td background="images/bg_rep_line.gif" colspan="3"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1441 |
</tr>
|
|
|
1442 |
<%
|
|
|
1443 |
' Go To Release link...
|
|
|
1444 |
Query_String = _
|
|
|
1445 |
" SELECT proj.PROJ_NAME, rt.RTAG_NAME"&_
|
|
|
1446 |
" FROM PROJECTS proj,"&_
|
|
|
1447 |
" RELEASE_TAGS rt"&_
|
|
|
1448 |
" WHERE rt.PROJ_ID = proj.proj_id"&_
|
|
|
1449 |
" AND rt.rtag_id = :RTAG_ID"
|
|
|
1450 |
Set rsRep = OraDatabase.DbCreateDynaset( Query_String, 0 )
|
|
|
1451 |
%>
|
|
|
1452 |
<tr>
|
|
|
1453 |
<td nowrap class="body_row" colspan="3"><a href="dependencies.asp?rtag_id=<%=nRtag_id%>"><img src="images/i_go2url.gif" width="14" height="14" hspace="3" border="0" align="absmiddle"></a>Go to <a href="dependencies.asp?rtag_id=<%=nRtag_id%>" class="txt_linked"><%=rsRep("proj_name")%> > <%=rsRep("rtag_name")%></a> </td>
|
|
|
1454 |
</tr>
|
|
|
1455 |
<%
|
|
|
1456 |
rsRep.Close
|
|
|
1457 |
Set rsRep = Nothing%>
|
|
|
1458 |
</table>
|
|
|
1459 |
<br><br>
|
|
|
1460 |
<%
|
|
|
1461 |
'--- Current Deployable Modules ---
|
|
|
1462 |
Query_String = ReadFile( rootPath & "queries\rep_current_deployable_packages.sql" )
|
|
|
1463 |
%>
|
|
|
1464 |
<table width="100%" border="0" cellspacing="0" cellpadding="2">
|
|
|
1465 |
<tr>
|
|
|
1466 |
<td colspan="4" nowrap class="body_colb" background="images/bg_bage.gif"> Current Deployable Packages </td>
|
|
|
1467 |
</tr>
|
|
|
1468 |
<tr>
|
|
|
1469 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1470 |
</tr>
|
|
|
1471 |
<%
|
|
|
1472 |
Dim currPv_id
|
|
|
1473 |
currPv_id = -1
|
|
|
1474 |
Set rsRep = OraDatabase.DbCreateDynaset( Query_String, 0 )
|
|
|
1475 |
|
|
|
1476 |
If rsRep.RecordCount = 0 Then
|
|
|
1477 |
With Response
|
|
|
1478 |
.write "<tr>"
|
|
|
1479 |
.write "<td colspan='4' class='body_row'>Found 0 records</td>"
|
|
|
1480 |
.write "</tr>"
|
|
|
1481 |
End With
|
|
|
1482 |
End If
|
|
|
1483 |
|
|
|
1484 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
1485 |
' -------- GROUP BY PRODUCT NAME -----------------
|
|
|
1486 |
If CDbl(currPv_id) <> CDbl(rsRep("pv_id")) Then
|
|
|
1487 |
%>
|
|
|
1488 |
<tr>
|
|
|
1489 |
<td width="1%" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1490 |
<td width="1%" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1491 |
<td width="1%" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1492 |
<td width="100%"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1493 |
</tr>
|
|
|
1494 |
<tr>
|
|
|
1495 |
<td nowrap><a href="dependencies.asp?pv_id=<%=rsRep("pv_id")%>&rtag_id=<%=nRtag_id%>" class="body_scol"><%=rsRep("pkg_name") &" "& rsRep("pkg_version")%></a></td>
|
|
|
1496 |
<td> </td>
|
|
|
1497 |
<td> </td>
|
|
|
1498 |
<td> </td>
|
|
|
1499 |
</tr>
|
|
|
1500 |
<%
|
|
|
1501 |
currPv_id = CDbl(rsRep("pv_id"))
|
|
|
1502 |
End If
|
|
|
1503 |
' -------- END GROUP ------------------------
|
|
|
1504 |
%>
|
|
|
1505 |
<tr>
|
|
|
1506 |
<td> </td>
|
|
|
1507 |
<td nowrap><a href="dependencies.asp?pv_id=<%=rsRep("dpv_id")%>&rtag_id=<%=nRtag_id%>" class="txt_linked"><%=rsRep("dpkg_name")%></a></td>
|
|
|
1508 |
<td nowrap class="body_row"><%=rsRep("dpkg_version")%></td>
|
|
|
1509 |
<td nowrap class="err_alert"><%=rsRep("is_dep_deployable")%></td>
|
|
|
1510 |
</tr>
|
|
|
1511 |
<% rsRep.MoveNext
|
|
|
1512 |
WEnd
|
|
|
1513 |
%>
|
|
|
1514 |
<tr>
|
|
|
1515 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1516 |
</tr>
|
|
|
1517 |
</table>
|
|
|
1518 |
<!-- PRINT, SAVE, ETC. ------------>
|
|
|
1519 |
<%If parPrint = "" Then%>
|
|
|
1520 |
<br>
|
|
|
1521 |
<br>
|
|
|
1522 |
<a href="javascript:;" onClick="window.print();" class="txt_linked"><img src="images/btn_print.gif" width="23" height="24" hspace="4" border="0" align="absmiddle">Print this report</a><br>
|
|
|
1523 |
<br>
|
|
|
1524 |
<%End If%>
|
|
|
1525 |
<!-- PRINT, SAVE, ETC. END -------->
|
|
|
1526 |
<%
|
|
|
1527 |
rsRep.Close
|
|
|
1528 |
Set rsRep = nothing
|
|
|
1529 |
End If
|
|
|
1530 |
|
| 13 |
rsolanki |
1531 |
End Sub
|
|
|
1532 |
%>
|
|
|
1533 |
|
|
|
1534 |
<%
|
|
|
1535 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
1536 |
'==================================================================================
|
| 33 |
ghuddy |
1537 |
' Report Name : Bill Of Materials
|
|
|
1538 |
' Description : List products for a BOM
|
|
|
1539 |
' INPUT :
|
| 13 |
rsolanki |
1540 |
'==================================================================================
|
|
|
1541 |
Sub Bill_of_Materials ( SSsection, NNproj_id, NNrtag_id, NNbom_id, NNversion )
|
| 33 |
ghuddy |
1542 |
Dim Query_String, rsRep, rsQry
|
|
|
1543 |
Const Allow_All = TRUE
|
|
|
1544 |
Const Disallow_All = FALSE
|
| 17 |
rsolanki |
1545 |
|
| 33 |
ghuddy |
1546 |
If NNproj_id = "" Then NNproj_id = -1
|
|
|
1547 |
If NNrtag_id = "" Then NNrtag_id = -1
|
|
|
1548 |
If NNversion = "" Then NNversion = -1
|
|
|
1549 |
|
|
|
1550 |
If SSsection = "TITLE" Then
|
|
|
1551 |
Response.write "BOM - History Track"
|
|
|
1552 |
Exit Sub
|
|
|
1553 |
End If
|
|
|
1554 |
|
|
|
1555 |
|
|
|
1556 |
If SSsection = "FORM" Then
|
|
|
1557 |
%>
|
|
|
1558 |
<script language="JavaScript" src="images/calendar.js"></script>
|
|
|
1559 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
1560 |
<form action="" method="post" name="repform" onSubmit="MM_validateForm('FRproj_id','Project','R','FRvtree_id','Version Tree','R','FRrtag_id','Release','R');return document.MM_returnValue">
|
|
|
1561 |
<tr>
|
|
|
1562 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="30" height="8"></td>
|
|
|
1563 |
<td width="1%" align="right" nowrap class="form_field">Project</td>
|
|
|
1564 |
<td width="100%"><%Call Get_Projects( NNproj_id, Disallow_All )%></td>
|
|
|
1565 |
</tr>
|
|
|
1566 |
<tr>
|
|
|
1567 |
<td nowrap class="form_field"> </td>
|
|
|
1568 |
<td align="right" nowrap class="form_field">Release</td>
|
|
|
1569 |
<td><%Call Get_Release_labels ( NNproj_id, NNrtag_id, Disallow_All )%></td>
|
|
|
1570 |
</tr>
|
|
|
1571 |
<tr>
|
|
|
1572 |
<td nowrap class="form_field"> </td>
|
|
|
1573 |
<td align="right" nowrap class="form_field">SBOM Version</td>
|
|
|
1574 |
<td><%Call Get_SBOM_Version ( NNproj_id, NNrtag_id, Disallow_All, NNversion )%></td>
|
|
|
1575 |
</tr>
|
|
|
1576 |
<tr>
|
|
|
1577 |
<td colspan="3" nowrap class="form_field">Between
|
|
|
1578 |
<input type="text" name="FRinitdate" maxlength="10" size="12" value="<%=Request.Form("FRinitdate")%>">
|
|
|
1579 |
<A onmouseover="window.status='Select a date';return true;" onmouseout="window.status='';return true;" href="javascript:show_calendar('repform.FRinitdate',null,null,null);"><img src="images/i_calendar.gif" width="16" height="16" border="0"></a>
|
|
|
1580 |
And
|
|
|
1581 |
<input type="text" name="FRduedate" maxlength="10" size="12" value="<%=Request.Form("FRduedate")%>">
|
|
|
1582 |
<A onmouseover="window.status='Select a date';return true;" onmouseout="window.status='';return true;" href="javascript:show_calendar('repform.FRduedate',null,null,null);"><img src="images/i_calendar.gif" width="16" height="16" border="0"></a>
|
|
|
1583 |
</td>
|
|
|
1584 |
</tr>
|
|
|
1585 |
<tr>
|
|
|
1586 |
<td nowrap class="form_field"> </td>
|
|
|
1587 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
1588 |
<td><br>
|
|
|
1589 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
1590 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
1591 |
<input type="hidden" name="FRrtag_id" value="<%=NNrtag_id%>">
|
|
|
1592 |
<input type="hidden" name="action" value="true">
|
|
|
1593 |
<input name="Submit" type="submit" class="form_btn" value="Submit">
|
|
|
1594 |
</td>
|
|
|
1595 |
</tr>
|
|
|
1596 |
</form>
|
|
|
1597 |
</table>
|
|
|
1598 |
<p>
|
|
|
1599 |
<% Exit Sub
|
|
|
1600 |
End If
|
|
|
1601 |
|
|
|
1602 |
|
|
|
1603 |
|
|
|
1604 |
OraDatabase.Parameters.Add "BRANCH_ID", NNrtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
1605 |
OraDatabase.Parameters.Add "BOM_VERSION", Request("FRVersion"), ORAPARM_INPUT, ORATYPE_STRING
|
|
|
1606 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("rep_SBOM.sql"), cint(0))
|
|
|
1607 |
Dim bomId
|
|
|
1608 |
bomId = rsQry("bom_id")
|
|
|
1609 |
rsQry.close
|
|
|
1610 |
Set rsQry = nothing
|
|
|
1611 |
|
|
|
1612 |
|
|
|
1613 |
If SSsection = "BODY" Then
|
|
|
1614 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
1615 |
|
|
|
1616 |
'Query_String = ReadFile( rootPath & "queries\AllProducts.sql" )
|
|
|
1617 |
|
|
|
1618 |
'OraDatabase.Parameters.Add "BOM_ID", bomId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
1619 |
%>
|
|
|
1620 |
</p>
|
|
|
1621 |
<table width="20%" border="0" cellspacing="0" cellpadding="2">
|
|
|
1622 |
<tr>
|
|
|
1623 |
<td width="1%" background="images/bg_bage_0.gif" class="body_col" nowrap>Trail</td>
|
|
|
1624 |
<td width="1%" background="images/bg_bage_0.gif" class="body_col" nowrap>Date</td>
|
|
|
1625 |
<td width="40%" background="images/bg_bage_0.gif" class="body_col" nowrap>Action</td>
|
|
|
1626 |
<td width="1%" background="images/bg_bage_0.gif" class="body_col" nowrap>User</td>
|
|
|
1627 |
</tr>
|
|
|
1628 |
<tr>
|
|
|
1629 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1630 |
</tr>
|
|
|
1631 |
<%
|
|
|
1632 |
|
|
|
1633 |
Set rsRep = OraDatabase.DbCreateDynaset( "SELECT * FROM BOM_TRAIL BT, USERS U WHERE BT.BOM_ID ="& bomId &" AND U.USER_ID = BT.USER_ID AND BT.DATE_TIME_STAMP >= TO_DATE('"& Request.Form("FRinitdate") &"','DD/MM/YYYY') AND BT.DATE_TIME_STAMP < TO_DATE('"& Request.Form("FRduedate") &"','DD/MM/YYYY')+1 ORDER BY BT.DATE_TIME_STAMP DESC", 0 )
|
|
|
1634 |
|
|
|
1635 |
|
|
|
1636 |
If rsRep.RecordCount = 0 Then
|
|
|
1637 |
With Response
|
|
|
1638 |
.write "<tr>"
|
|
|
1639 |
|
|
|
1640 |
|
|
|
1641 |
.write "<td colspan='5' class='body_row'>Found 0 bom trail records</td>"
|
|
|
1642 |
.write "</tr>"
|
|
|
1643 |
End With
|
|
|
1644 |
Else
|
|
|
1645 |
%>
|
|
|
1646 |
<tr>
|
|
|
1647 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1648 |
</tr>
|
|
|
1649 |
<tr>
|
|
|
1650 |
<td nowrap class="body_scol">Bom</td>
|
|
|
1651 |
<td nowrap class="body_scol"></td>
|
|
|
1652 |
<td nowrap class="body_scol"></td>
|
|
|
1653 |
<td nowrap class="body_scol"></td>
|
|
|
1654 |
</tr>
|
|
|
1655 |
<%
|
|
|
1656 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
1657 |
%>
|
|
|
1658 |
<tr>
|
|
|
1659 |
<td nowrap class="body_scol"></td>
|
|
|
1660 |
<td nowrap class="body_row"><%=rsRep("date_time_stamp")%></td>
|
|
|
1661 |
<td nowrap class="body_row"><%=rsRep("trail_action")%></td>
|
|
|
1662 |
<td nowrap class="body_row"><%=rsRep("full_name")%></td>
|
|
|
1663 |
</tr>
|
|
|
1664 |
<% rsRep.MoveNext
|
|
|
1665 |
WEnd
|
|
|
1666 |
End If
|
|
|
1667 |
%>
|
|
|
1668 |
<tr>
|
|
|
1669 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1670 |
</tr>
|
|
|
1671 |
<%
|
|
|
1672 |
|
|
|
1673 |
Set rsRep = OraDatabase.DbCreateDynaset( "SELECT * FROM BOM_CONTENTS BC, NODE_TRAIL NT, USERS U WHERE BC.BOM_ID ="& bomId &" AND NT.NODE_ID = BC.NODE_ID AND U.USER_ID = NT.USER_ID AND NT.DATE_TIME_STAMP >= TO_DATE('"& Request.Form("FRinitdate") &"','DD/MM/YYYY') AND NT.DATE_TIME_STAMP < TO_DATE('"& Request.Form("FRduedate") &"','DD/MM/YYYY')+1 ORDER BY NT.DATE_TIME_STAMP DESC", 0 )
|
|
|
1674 |
|
|
|
1675 |
|
|
|
1676 |
If rsRep.RecordCount = 0 Then
|
|
|
1677 |
With Response
|
|
|
1678 |
.write "<tr>"
|
|
|
1679 |
.write "<td colspan='5' class='body_row'>Found 0 node trail records</td>"
|
|
|
1680 |
.write "</tr>"
|
|
|
1681 |
End With
|
|
|
1682 |
Else
|
|
|
1683 |
%>
|
|
|
1684 |
<tr>
|
|
|
1685 |
<td nowrap class="body_scol">Node</td>
|
|
|
1686 |
<td nowrap class="body_scol"></td>
|
|
|
1687 |
<td nowrap class="body_scol"></td>
|
|
|
1688 |
<td nowrap class="body_scol"></td>
|
|
|
1689 |
</tr>
|
|
|
1690 |
<%
|
|
|
1691 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
1692 |
%>
|
|
|
1693 |
<tr>
|
|
|
1694 |
<td nowrap class="body_scol"></td>
|
|
|
1695 |
<td nowrap class="body_row"><%=rsRep("date_time_stamp")%></td>
|
|
|
1696 |
<td nowrap class="body_row"><%=rsRep("trail_action")%></td>
|
|
|
1697 |
<td nowrap class="body_row"><%=rsRep("full_name")%></td>
|
|
|
1698 |
</tr>
|
|
|
1699 |
<% rsRep.MoveNext
|
|
|
1700 |
WEnd
|
|
|
1701 |
End If
|
|
|
1702 |
%>
|
|
|
1703 |
<tr>
|
|
|
1704 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1705 |
</tr>
|
|
|
1706 |
<%
|
|
|
1707 |
|
|
|
1708 |
Set rsRep = OraDatabase.DbCreateDynaset( "SELECT * FROM BOM_CONTENTS BC, OPERATING_SYSTEMS OS, OS_TRAIL OT, USERS U WHERE BC.NODE_ID = OS.NODE_ID AND OS.OS_ID = OT.OS_ID AND BC.BOM_ID ="& bomId &" AND U.USER_ID = OT.USER_ID AND OT.DATE_TIME_STAMP >= TO_DATE('"& Request.Form("FRinitdate") &"','DD/MM/YYYY') AND OT.DATE_TIME_STAMP < TO_DATE('"& Request.Form("FRduedate") &"','DD/MM/YYYY')+1 ORDER BY OT.DATE_TIME_STAMP DESC", 0 )
|
|
|
1709 |
|
|
|
1710 |
|
|
|
1711 |
If rsRep.RecordCount = 0 Then
|
|
|
1712 |
With Response
|
|
|
1713 |
.write "<tr>"
|
|
|
1714 |
|
|
|
1715 |
|
|
|
1716 |
.write "<td colspan='5' class='body_row'>Found 0 operating systems trail records</td>"
|
|
|
1717 |
.write "</tr>"
|
|
|
1718 |
End With
|
|
|
1719 |
Else
|
|
|
1720 |
%>
|
|
|
1721 |
<tr>
|
|
|
1722 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1723 |
</tr>
|
|
|
1724 |
<tr>
|
|
|
1725 |
<td nowrap class="body_scol">Operating System</td>
|
|
|
1726 |
<td nowrap class="body_scol"></td>
|
|
|
1727 |
<td nowrap class="body_scol"></td>
|
|
|
1728 |
<td nowrap class="body_scol"></td>
|
|
|
1729 |
</tr>
|
|
|
1730 |
<%
|
|
|
1731 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
1732 |
%>
|
|
|
1733 |
<tr>
|
|
|
1734 |
<td nowrap class="body_scol"></td>
|
|
|
1735 |
<td nowrap class="body_row"><%=rsRep("date_time_stamp")%></td>
|
|
|
1736 |
<td nowrap class="body_row"><%=rsRep("trail_action")%></td>
|
|
|
1737 |
<td nowrap class="body_row"><%=rsRep("full_name")%></td>
|
|
|
1738 |
</tr>
|
|
|
1739 |
<% rsRep.MoveNext
|
|
|
1740 |
WEnd
|
|
|
1741 |
End If
|
|
|
1742 |
%>
|
|
|
1743 |
<tr>
|
|
|
1744 |
<td colspan="4" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
1745 |
</tr>
|
|
|
1746 |
</table>
|
|
|
1747 |
<p> </p>
|
|
|
1748 |
<p> <!-- PRINT, SAVE, ETC. ------------>
|
| 13 |
rsolanki |
1749 |
<%If parPrint = "" Then%>
|
| 33 |
ghuddy |
1750 |
<br>
|
|
|
1751 |
<br>
|
|
|
1752 |
<a href="javascript:;" onClick="window.print();" class="txt_linked"><img src="images/btn_print.gif" width="23" height="24" hspace="4" border="0" align="absmiddle">Print this report</a><br>
|
|
|
1753 |
<br>
|
| 13 |
rsolanki |
1754 |
<%End If%>
|
|
|
1755 |
<!-- PRINT, SAVE, ETC. END -------->
|
|
|
1756 |
<%
|
| 33 |
ghuddy |
1757 |
rsRep.Close
|
|
|
1758 |
Set rsRep = nothing
|
|
|
1759 |
End If
|
|
|
1760 |
|
| 13 |
rsolanki |
1761 |
End Sub
|
|
|
1762 |
%>
|
| 25 |
rsolanki |
1763 |
<%
|
|
|
1764 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
1765 |
'==================================================================================
|
| 33 |
ghuddy |
1766 |
' Report Name : Escrow Report
|
|
|
1767 |
' Description : Report to extract Products/Patches for Building A RoadMap
|
|
|
1768 |
' INPUT :
|
| 25 |
rsolanki |
1769 |
'==================================================================================
|
|
|
1770 |
Sub Escrow_Report (SSsection, NNproj_id, NNrtag_id, NNbom_id, NNversion)
|
| 33 |
ghuddy |
1771 |
Dim Query_String, rsRep, rsQry
|
|
|
1772 |
Const Allow_All = TRUE
|
|
|
1773 |
Const Disallow_All = FALSE
|
| 13 |
rsolanki |
1774 |
|
| 33 |
ghuddy |
1775 |
If NNproj_id = "" Then NNproj_id = -1
|
|
|
1776 |
If NNrtag_id = "" Then NNrtag_id = -1
|
|
|
1777 |
If NNversion = "" Then NNversion = -1
|
| 25 |
rsolanki |
1778 |
|
| 33 |
ghuddy |
1779 |
If SSsection = "TITLE" Then
|
|
|
1780 |
Response.write "Generation of ESCROW REPORT"
|
|
|
1781 |
Exit Sub
|
|
|
1782 |
End If
|
| 25 |
rsolanki |
1783 |
|
|
|
1784 |
|
| 33 |
ghuddy |
1785 |
If SSsection = "FORM" Then
|
|
|
1786 |
%>
|
|
|
1787 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
1788 |
<form action="<%=scriptName%>" method="post" name="repform" onSubmit="MM_validateForm('FRproj_id','Project','R','FRvtree_id','Version Tree','R','FRrtag_id','Release','R');return document.MM_returnValue">
|
|
|
1789 |
<tr>
|
|
|
1790 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="30" height="8"></td>
|
|
|
1791 |
<td width="1%" align="right" nowrap class="form_field">Project</td>
|
|
|
1792 |
<td width="100%"><%Call Get_Projects( NNproj_id, Disallow_All )%></td>
|
|
|
1793 |
</tr>
|
|
|
1794 |
<tr>
|
|
|
1795 |
<td nowrap class="form_field"> </td>
|
|
|
1796 |
<td align="right" nowrap class="form_field">Release</td>
|
|
|
1797 |
<td><%Call Get_Branches ( NNproj_id, NNrtag_id, Disallow_All )%></td>
|
|
|
1798 |
</tr>
|
|
|
1799 |
<tr>
|
|
|
1800 |
<td nowrap class="form_field"> </td>
|
|
|
1801 |
<td align="right" nowrap class="form_field">SBOM Version</td>
|
|
|
1802 |
<td><%Call Get_SBOM_Version ( NNproj_id, NNrtag_id, Disallow_All, NNversion )%></td>
|
|
|
1803 |
</tr>
|
|
|
1804 |
<tr>
|
|
|
1805 |
<td nowrap class="form_field"> </td>
|
|
|
1806 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
1807 |
<td><br>
|
|
|
1808 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
1809 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
1810 |
<input type="hidden" name="FRrtag_id" value="<%=NNrtag_id%>">
|
|
|
1811 |
<input type="hidden" name="action" value="true">
|
|
|
1812 |
<input name="Submit" type="submit" class="form_btn" value="Submit">
|
|
|
1813 |
</td>
|
|
|
1814 |
</tr>
|
|
|
1815 |
</form>
|
|
|
1816 |
</table>
|
|
|
1817 |
<p>
|
|
|
1818 |
<% Exit Sub
|
|
|
1819 |
End If
|
| 25 |
rsolanki |
1820 |
|
|
|
1821 |
|
| 33 |
ghuddy |
1822 |
OraDatabase.Parameters.Add "BRANCH_ID", NNrtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
1823 |
OraDatabase.Parameters.Add "BOM_VERSION", Request("FRVersion"), ORAPARM_INPUT, ORATYPE_STRING
|
|
|
1824 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("rep_SBOM.sql"), cint(0))
|
|
|
1825 |
Dim bomId, ext
|
|
|
1826 |
bomId = rsQry("bom_id")
|
|
|
1827 |
Set rsQry = OraDatabase.DbCreateDynaset( "select * from release_manager.project_extentions where proj_id="&NNproj_id, cint(0))
|
|
|
1828 |
ext = rsQry("ext_name")
|
|
|
1829 |
rsQry.close
|
|
|
1830 |
Set rsQry = nothing
|
| 25 |
rsolanki |
1831 |
|
| 33 |
ghuddy |
1832 |
|
|
|
1833 |
If SSsection = "BODY" Then
|
|
|
1834 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
1835 |
|
|
|
1836 |
'---------------------- Run Before Page ---------------------------
|
|
|
1837 |
Call GetReleaseContent ( bomId, objReleaseContent )
|
|
|
1838 |
|
|
|
1839 |
Call GetBomDetails (bomId, outobjDetails)
|
|
|
1840 |
outobjDetails.Item("bom_full_version") = outobjDetails.Item("bom_name")&" "& outobjDetails.Item("bom_version") &"."& outobjDetails.Item("bom_lifecycle")
|
|
|
1841 |
|
|
|
1842 |
'------------------------------------------------------------------
|
|
|
1843 |
%>
|
|
|
1844 |
<html>
|
|
|
1845 |
<head>
|
|
|
1846 |
<title>Deployment Manager - Escrow Report</title>
|
|
|
1847 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
1848 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
1849 |
</head>
|
|
|
1850 |
<body>
|
|
|
1851 |
<div align="center"><b><font col color="#FF0000" size="+3"><%=outobjDetails.Item("bom_full_version")%></font></b></div>
|
|
|
1852 |
<%
|
|
|
1853 |
Set outobjDetails = Nothing
|
| 39 |
brianf |
1854 |
Dim i
|
|
|
1855 |
i = 0
|
| 33 |
ghuddy |
1856 |
aReleaseContent = objReleaseContent.Keys
|
|
|
1857 |
For Each parPv_id In aReleaseContent
|
| 39 |
brianf |
1858 |
If i mod MAX_ROWS_PER_FLUSH = 0 Then
|
|
|
1859 |
Response.Flush
|
|
|
1860 |
End If
|
|
|
1861 |
|
| 33 |
ghuddy |
1862 |
Call GetPackageInformation ( parPv_id, objPackageDetails )
|
|
|
1863 |
%>
|
|
|
1864 |
<a name="<%=objPackageDetails.Item("pkg_name")%>"></a>
|
|
|
1865 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
1866 |
<tr>
|
|
|
1867 |
<td class="body_colb"><h3><%=objPackageDetails.Item("pkg_name")%></h3></td>
|
|
|
1868 |
</tr>
|
|
|
1869 |
</table>
|
|
|
1870 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
1871 |
<tr>
|
|
|
1872 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Version:</strong></td>
|
|
|
1873 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%=objPackageDetails.Item("pkg_version")%></td>
|
|
|
1874 |
</tr>
|
|
|
1875 |
<tr>
|
|
|
1876 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Source Path:</strong> </td>
|
|
|
1877 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%=objPackageDetails.Item("src_path")%></td>
|
|
|
1878 |
</tr>
|
|
|
1879 |
<tr>
|
|
|
1880 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Source Label:</strong></td>
|
|
|
1881 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%=objPackageDetails.Item("pkg_label")%></td>
|
|
|
1882 |
</tr>
|
|
|
1883 |
<tr>
|
|
|
1884 |
<td width="1%" nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Short Description:</strong></td>
|
|
|
1885 |
<td witdh="100%" bgcolor="#FFFFFF" class="sublbox_txt"><%=NewLine_To_BR ( To_HTML( objPackageDetails.Item("pv_description") ) )%></td>
|
|
|
1886 |
</tr>
|
|
|
1887 |
<tr>
|
|
|
1888 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Package Overview:</strong> </td>
|
|
|
1889 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%=NewLine_To_BR ( To_HTML( objPackageDetails.Item("pv_overview") ) )%></td>
|
|
|
1890 |
</tr>
|
|
|
1891 |
<tr>
|
|
|
1892 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>General Sublicense Material:</strong> </td>
|
|
|
1893 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%If objPackageDetails.Item("v_ext") = ext Then%>Yes<%Else%>No<%End If%></td>
|
|
|
1894 |
</tr>
|
|
|
1895 |
<tr>
|
|
|
1896 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Build Environment:</strong> </td>
|
|
|
1897 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%If objPackageDetails.Item("is_build_env_required") = enumDB_NO Then%>Not Required.<%End If%>
|
|
|
1898 |
<%
|
|
|
1899 |
'--- Get Build Env Details
|
|
|
1900 |
Set rsQry = OraDatabase.DbCreateDynaset( SQL_Build_Std ( parPv_id ), cint(0))
|
|
|
1901 |
If ((NOT rsQry.BOF) AND (NOT rsQry.EOF)) Then
|
|
|
1902 |
BldStd = rsQry("bs_name")
|
|
|
1903 |
rsQry.Close
|
|
|
1904 |
|
|
|
1905 |
Set rsQry = OraDatabase.DbCreateDynaset( SQL_Build_Env ( parPv_id ), cint(0))
|
|
|
1906 |
%>
|
|
|
1907 |
<ul>
|
|
|
1908 |
<%
|
|
|
1909 |
While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
|
|
1910 |
%>
|
|
|
1911 |
<li><%=BldStd%>, <%=rsQry("bm_name")%></li>
|
|
|
1912 |
<%rsQry.MoveNext
|
|
|
1913 |
WEnd
|
|
|
1914 |
%>
|
|
|
1915 |
</ul>
|
|
|
1916 |
<%End If%>
|
|
|
1917 |
</td>
|
|
|
1918 |
</tr>
|
|
|
1919 |
<tr>
|
|
|
1920 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Build Dependencies:</strong> </td>
|
|
|
1921 |
<td bgcolor="#FFFFFF" class="sublbox_txt">
|
|
|
1922 |
<%
|
|
|
1923 |
'--- Get Build Dependencies Details
|
|
|
1924 |
|
|
|
1925 |
Set rsQry = OraDatabase.DbCreateDynaset( SQL_Build_Dependencies ( parPv_id ), cint(0))
|
|
|
1926 |
%>
|
|
|
1927 |
<table width="100%" cellspacing="0" cellpadding="2" border="1">
|
|
|
1928 |
<tr>
|
|
|
1929 |
<td nowrap class="sublbox_txt" bgcolor="#FFFFFF" width="1%"><strong>Software Component</strong></td>
|
|
|
1930 |
<td nowrap class="sublbox_txt" bgcolor="#FFFFFF" width="100%"><strong>Version</strong></td>
|
|
|
1931 |
</tr>
|
|
|
1932 |
<%If rsQry.RecordCount < 1 Then%>
|
|
|
1933 |
<tr>
|
|
|
1934 |
<td nowrap class="sublbox_txt">No Dependencies</td>
|
|
|
1935 |
<td nowrap class="sublbox_txt"></td>
|
|
|
1936 |
</tr>
|
|
|
1937 |
<%End If%>
|
|
|
1938 |
<%
|
|
|
1939 |
While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
|
|
1940 |
%>
|
|
|
1941 |
<tr>
|
|
|
1942 |
<td nowrap class="sublbox_txt"><a href="#<%=rsQry("pkg_name")%>"><%=rsQry("pkg_name")%></a></td>
|
|
|
1943 |
<td nowrap class="sublbox_txt"><%=rsQry("pkg_version")%></td>
|
|
|
1944 |
</tr>
|
|
|
1945 |
<%rsQry.MoveNext
|
|
|
1946 |
WEnd
|
|
|
1947 |
%>
|
|
|
1948 |
</table>
|
|
|
1949 |
</td>
|
|
|
1950 |
</tr>
|
|
|
1951 |
</table>
|
|
|
1952 |
<br><br>
|
|
|
1953 |
<%
|
|
|
1954 |
'Exit For
|
| 39 |
brianf |
1955 |
i = i + 1
|
| 33 |
ghuddy |
1956 |
Next
|
| 39 |
brianf |
1957 |
|
|
|
1958 |
If objReleaseContent.Count > 0 Then
|
|
|
1959 |
Set rsTemp = OraDatabase.DbCreateDynaset( SQL_Modules (objReleaseContent), cint(0))
|
| 33 |
ghuddy |
1960 |
%>
|
|
|
1961 |
<div align="center"><b><font col color="#FF0000" size="+3">Modules</font></b></div>
|
|
|
1962 |
<%
|
| 39 |
brianf |
1963 |
i = 0
|
| 33 |
ghuddy |
1964 |
While (NOT rsTemp.BOF) AND (NOT rsTemp.EOF)
|
| 39 |
brianf |
1965 |
If i mod MAX_ROWS_PER_FLUSH = 0 Then
|
|
|
1966 |
Response.Flush
|
|
|
1967 |
End If
|
|
|
1968 |
|
| 33 |
ghuddy |
1969 |
dpv_id = rsTemp("dpv_id")
|
|
|
1970 |
Call GetPackageInformation ( dpv_id, objPackageDetails )
|
|
|
1971 |
%>
|
|
|
1972 |
<a name="<%=objPackageDetails.Item("pkg_name")%>"></a>
|
|
|
1973 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
1974 |
<tr>
|
|
|
1975 |
<td class="body_colb"><h3><%=objPackageDetails.Item("pkg_name")%></h3></td>
|
|
|
1976 |
</tr>
|
|
|
1977 |
</table>
|
|
|
1978 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
1979 |
<tr>
|
|
|
1980 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Version:</strong></td>
|
|
|
1981 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%=objPackageDetails.Item("pkg_version")%></td>
|
|
|
1982 |
</tr>
|
|
|
1983 |
<tr>
|
|
|
1984 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Source Path:</strong> </td>
|
|
|
1985 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%=objPackageDetails.Item("src_path")%></td>
|
|
|
1986 |
</tr>
|
|
|
1987 |
<tr>
|
|
|
1988 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Source Label:</strong></td>
|
|
|
1989 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%=objPackageDetails.Item("pkg_label")%></td>
|
|
|
1990 |
</tr>
|
|
|
1991 |
<tr>
|
|
|
1992 |
<td width="1%" nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Short Description:</strong></td>
|
|
|
1993 |
<td witdh="100%" bgcolor="#FFFFFF" class="sublbox_txt"><%=NewLine_To_BR ( To_HTML( objPackageDetails.Item("pv_description") ) )%></td>
|
|
|
1994 |
</tr>
|
|
|
1995 |
<tr>
|
|
|
1996 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Package Overview:</strong> </td>
|
|
|
1997 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%=NewLine_To_BR ( To_HTML( objPackageDetails.Item("pv_overview") ) )%></td>
|
|
|
1998 |
</tr>
|
|
|
1999 |
<tr>
|
|
|
2000 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>General Sublicense Material:</strong> </td>
|
|
|
2001 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%If objPackageDetails.Item("v_ext") = parExt Then%>Yes<%Else%>No<%End If%></td>
|
|
|
2002 |
</tr>
|
|
|
2003 |
<tr>
|
|
|
2004 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Build Environment:</strong> </td>
|
|
|
2005 |
<td bgcolor="#FFFFFF" class="sublbox_txt"><%If objPackageDetails.Item("is_build_env_required") = enumDB_NO Then%>Not Required.<%End If%>
|
|
|
2006 |
<%
|
|
|
2007 |
'--- Get Build Env Details
|
|
|
2008 |
Set rsQry = OraDatabase.DbCreateDynaset( SQL_Build_Std ( dpv_id ), cint(0))
|
|
|
2009 |
If ((NOT rsQry.BOF) AND (NOT rsQry.EOF)) Then
|
|
|
2010 |
BldStd = rsQry("bs_name")
|
|
|
2011 |
rsQry.Close
|
|
|
2012 |
|
|
|
2013 |
Set rsQry = OraDatabase.DbCreateDynaset( SQL_Build_Env ( dpv_id ), cint(0))
|
|
|
2014 |
%>
|
|
|
2015 |
<ul>
|
|
|
2016 |
<%
|
|
|
2017 |
While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
|
|
2018 |
%>
|
|
|
2019 |
<li><%=BldStd%>, <%=rsQry("bm_name")%></li>
|
|
|
2020 |
<%rsQry.MoveNext
|
|
|
2021 |
WEnd
|
|
|
2022 |
%>
|
|
|
2023 |
</ul>
|
|
|
2024 |
<%End If%>
|
|
|
2025 |
</td>
|
|
|
2026 |
</tr>
|
|
|
2027 |
<tr>
|
|
|
2028 |
<td nowrap bgcolor="#FFFFFF" class="sublbox_txt" valign="top"><strong>Build Dependencies:</strong> </td>
|
|
|
2029 |
<td bgcolor="#FFFFFF" class="sublbox_txt">
|
|
|
2030 |
<%
|
|
|
2031 |
'--- Get Build Dependencies Details
|
|
|
2032 |
|
|
|
2033 |
Set rsQry = OraDatabase.DbCreateDynaset( SQL_Build_Dependencies ( dpv_id ), cint(0))
|
|
|
2034 |
%>
|
|
|
2035 |
<table width="100%" cellspacing="0" cellpadding="2" border="1">
|
|
|
2036 |
<tr>
|
|
|
2037 |
<td nowrap class="sublbox_txt" bgcolor="#FFFFFF" width="1%"><strong>Software Component</strong></td>
|
|
|
2038 |
<td nowrap class="sublbox_txt" bgcolor="#FFFFFF" width="100%"><strong>Version</strong></td>
|
|
|
2039 |
</tr>
|
|
|
2040 |
<%If rsQry.RecordCount < 1 Then%>
|
|
|
2041 |
<tr>
|
|
|
2042 |
<td nowrap class="sublbox_txt">No Dependencies</td>
|
|
|
2043 |
<td nowrap class="sublbox_txt"></td>
|
|
|
2044 |
</tr>
|
|
|
2045 |
<%End If%>
|
|
|
2046 |
<%
|
|
|
2047 |
While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
|
|
2048 |
%>
|
|
|
2049 |
<tr>
|
|
|
2050 |
<td nowrap class="sublbox_txt"><a href="#<%=rsQry("pkg_name")%>"><%=rsQry("pkg_name")%></a></td>
|
|
|
2051 |
<td nowrap class="sublbox_txt"><%=rsQry("pkg_version")%></td>
|
|
|
2052 |
</tr>
|
|
|
2053 |
<%rsQry.MoveNext
|
|
|
2054 |
WEnd
|
|
|
2055 |
%>
|
|
|
2056 |
</table>
|
|
|
2057 |
</td>
|
|
|
2058 |
</tr>
|
|
|
2059 |
</table>
|
|
|
2060 |
<br><br>
|
|
|
2061 |
|
|
|
2062 |
<%
|
|
|
2063 |
rsTemp.MoveNext
|
| 39 |
brianf |
2064 |
i = i + 1
|
| 33 |
ghuddy |
2065 |
WEnd
|
|
|
2066 |
|
|
|
2067 |
rsTemp.Close()
|
|
|
2068 |
Set rsTemp = Nothing
|
|
|
2069 |
End If
|
|
|
2070 |
End If
|
| 25 |
rsolanki |
2071 |
End Sub
|
|
|
2072 |
%>
|
|
|
2073 |
<%
|
| 13 |
rsolanki |
2074 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
2075 |
'==================================================================================
|
| 33 |
ghuddy |
2076 |
' Report Name : Build History
|
|
|
2077 |
' Description : List packages which were build between certain dates.
|
|
|
2078 |
' INPUT :
|
| 13 |
rsolanki |
2079 |
'==================================================================================
|
|
|
2080 |
Sub Build_History ( SSsection, NNproj_id, NNrtag_id)
|
| 33 |
ghuddy |
2081 |
Dim Query_String, rsRep, rsQry
|
|
|
2082 |
Const Allow_All = TRUE
|
|
|
2083 |
Const Disallow_All = FALSE
|
| 13 |
rsolanki |
2084 |
|
| 33 |
ghuddy |
2085 |
If NNproj_id = "" Then NNproj_id = -1
|
|
|
2086 |
If NNrtag_id = "" Then NNrtag_id = -1
|
| 13 |
rsolanki |
2087 |
|
| 33 |
ghuddy |
2088 |
If SSsection = "TITLE" Then
|
|
|
2089 |
Response.write "Build History"
|
|
|
2090 |
Exit Sub
|
|
|
2091 |
End If
|
| 13 |
rsolanki |
2092 |
|
|
|
2093 |
|
| 33 |
ghuddy |
2094 |
If SSsection = "FORM" Then
|
|
|
2095 |
%>
|
|
|
2096 |
<script language="JavaScript" src="images/calendar.js"></script>
|
|
|
2097 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
2098 |
<form action="<%=SCRIPT_NAME%>" method="post" name="repform" onSubmit="MM_validateForm('FRproj_id','Project','R','FRvtree_id','Version Tree','R','FRrtag_id','Release','R');return document.MM_returnValue">
|
|
|
2099 |
<tr>
|
|
|
2100 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="30" height="8"></td>
|
|
|
2101 |
<td width="1%" align="right" nowrap class="form_field">Project</td>
|
|
|
2102 |
<td width="100%"><%Call Get_Projects( NNproj_id, Disallow_All )%></td>
|
|
|
2103 |
</tr>
|
|
|
2104 |
<tr>
|
|
|
2105 |
<td nowrap class="form_field"> </td>
|
|
|
2106 |
<td align="right" nowrap class="form_field">Release</td>
|
|
|
2107 |
<td><%Call Get_Release_Labels ( NNproj_id, NNrtag_id, Disallow_All )%></td>
|
|
|
2108 |
</tr>
|
|
|
2109 |
<tr>
|
|
|
2110 |
<td nowrap class="form_field"> </td>
|
|
|
2111 |
<td align="right" nowrap class="form_field">SBOM Version</td>
|
|
|
2112 |
<td><%Call Get_Release_Labels ( NNproj_id, NNrtag_id, Disallow_All )%></td>
|
|
|
2113 |
</tr>
|
|
|
2114 |
<tr>
|
|
|
2115 |
<td colspan="3" nowrap class="form_field">Between
|
|
|
2116 |
<input type="text" name="FRinitdate" maxlength="10" size="12" value="<%=Request.Form("FRinitdate")%>">
|
|
|
2117 |
<A onmouseover="window.status='Select a date';return true;" onmouseout="window.status='';return true;" href="javascript:show_calendar('repform.FRinitdate',null,null,null);"><img src="images/i_calendar.gif" width="16" height="16" border="0"></a>
|
|
|
2118 |
And
|
|
|
2119 |
<input type="text" name="FRduedate" maxlength="10" size="12" value="<%=Request.Form("FRduedate")%>">
|
|
|
2120 |
<A onmouseover="window.status='Select a date';return true;" onmouseout="window.status='';return true;" href="javascript:show_calendar('repform.FRduedate',null,null,null);"><img src="images/i_calendar.gif" width="16" height="16" border="0"></a>
|
|
|
2121 |
</td>
|
|
|
2122 |
</tr>
|
|
|
2123 |
<tr>
|
|
|
2124 |
<td nowrap class="form_field"> </td>
|
|
|
2125 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
2126 |
<td><br>
|
|
|
2127 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
2128 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
2129 |
<input type="hidden" name="action" value="true">
|
|
|
2130 |
<input name="Submit" type="submit" class="form_btn" value="Submit" onClick="clickedButton=true;MM_validateForm('FRduedate','Due Date','R','FRmsg','Message details','R');return document.MM_returnValue">
|
|
|
2131 |
</td>
|
|
|
2132 |
</tr>
|
|
|
2133 |
</form>
|
|
|
2134 |
</table>
|
|
|
2135 |
<p>
|
|
|
2136 |
<% Exit Sub
|
|
|
2137 |
End If
|
| 13 |
rsolanki |
2138 |
|
| 33 |
ghuddy |
2139 |
|
|
|
2140 |
If SSsection = "BODY" Then
|
|
|
2141 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
2142 |
%>
|
|
|
2143 |
</p>
|
|
|
2144 |
<table width="20%" border="0" cellspacing="0" cellpadding="2">
|
|
|
2145 |
<tr>
|
|
|
2146 |
<td width="1%" nowrap class="body_colb"> </td>
|
|
|
2147 |
<td width="5%" nowrap class="body_colb">Package</td>
|
|
|
2148 |
<td width="95%" nowrap class="body_colb">Version</td>
|
|
|
2149 |
</tr>
|
|
|
2150 |
<tr>
|
|
|
2151 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2152 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2153 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2154 |
</tr>
|
|
|
2155 |
<%
|
|
|
2156 |
Dim currView_id
|
|
|
2157 |
currView_id = -1
|
|
|
2158 |
|
|
|
2159 |
OraDatabase.Parameters.Add "RTAG_ID", NNrtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
2160 |
OraDatabase.Parameters.Add "INITDATE", Request.Form("FRinitdate"), ORAPARM_INPUT, ORATYPE_STRING
|
|
|
2161 |
OraDatabase.Parameters.Add "DUEDATE", Request.Form("FRduedate"), ORAPARM_INPUT, ORATYPE_STRING
|
|
|
2162 |
|
|
|
2163 |
Set rsRep = OraDatabase.DbCreateDynaset( GetQuery("rep_build_history.sql"), cint(0) )
|
|
|
2164 |
|
|
|
2165 |
If rsRep.RecordCount = 0 Then
|
|
|
2166 |
With Response
|
|
|
2167 |
.write "<tr>"
|
|
|
2168 |
.write "<td colspan='5' class='body_row'>Found 0 records</td>"
|
|
|
2169 |
.write "</tr>"
|
|
|
2170 |
End With
|
|
|
2171 |
End If
|
|
|
2172 |
|
|
|
2173 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
2174 |
' -------- GROUP BY BASE VIEW -----------------
|
|
|
2175 |
If CDbl(currView_id) <> CDbl(rsRep("view_id")) Then
|
|
|
2176 |
%>
|
|
|
2177 |
<tr>
|
|
|
2178 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2179 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2180 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2181 |
</tr>
|
|
|
2182 |
|
|
|
2183 |
<tr>
|
|
|
2184 |
<td valign="top" nowrap class="body_scol"><%=rsRep("view_name")%></td>
|
|
|
2185 |
<td> </td>
|
|
|
2186 |
<td> </td>
|
|
|
2187 |
</tr>
|
|
|
2188 |
|
|
|
2189 |
<%
|
|
|
2190 |
currView_id = CDbl(rsRep("view_id"))
|
|
|
2191 |
End If
|
|
|
2192 |
' -------- END GROUP ------------------------
|
|
|
2193 |
%>
|
|
|
2194 |
<tr>
|
|
|
2195 |
<td width="1%" nowrap class="body_colb"> </td>
|
|
|
2196 |
<td nowrap class="body_row"><a href="fixed_issues.asp?pv_id=<%=rsRep("pv_id")%>&rtag_id=<%=NNRtag_id%>" class="body_txt"><strong><%=rsRep("pkg_name")%></strong></a></td>
|
|
|
2197 |
<td nowrap class="body_row"><a href="fixed_issues.asp?pv_id=<%=rsRep("pv_id")%>&rtag_id=<%=NNRtag_id%>" class="body_txt"><strong><%=rsRep("pkg_version")%></strong></a></td>
|
|
|
2198 |
</tr>
|
|
|
2199 |
<% rsRep.MoveNext
|
|
|
2200 |
WEnd
|
|
|
2201 |
%>
|
|
|
2202 |
<tr>
|
|
|
2203 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2204 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2205 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2206 |
</tr>
|
|
|
2207 |
</table>
|
|
|
2208 |
<p> </p>
|
|
|
2209 |
<p> <!-- PRINT, SAVE, ETC. ------------>
|
| 13 |
rsolanki |
2210 |
<%If parPrint = "" Then%>
|
| 33 |
ghuddy |
2211 |
<br>
|
|
|
2212 |
<br>
|
|
|
2213 |
<a href="javascript:;" onClick="window.print();" class="txt_linked"><img src="images/btn_print.gif" width="23" height="24" hspace="4" border="0" align="absmiddle">Print this report</a><br>
|
|
|
2214 |
<br>
|
| 13 |
rsolanki |
2215 |
<%End If%>
|
|
|
2216 |
<!-- PRINT, SAVE, ETC. END -------->
|
|
|
2217 |
<%
|
| 33 |
ghuddy |
2218 |
rsRep.Close
|
|
|
2219 |
Set rsRep = nothing
|
|
|
2220 |
End If
|
|
|
2221 |
|
| 13 |
rsolanki |
2222 |
End Sub
|
|
|
2223 |
%>
|
|
|
2224 |
|
|
|
2225 |
|
|
|
2226 |
<%
|
|
|
2227 |
'-------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
2228 |
'==================================================================================
|
| 33 |
ghuddy |
2229 |
' Report Name : Unit Tests per Package
|
|
|
2230 |
' Description : List unit tests per package showing the unit test completeness
|
|
|
2231 |
' INPUT : Project, Vesion Tree, Release Label, Base View, Level of Completeness, Show/Hide Dependencies, PV_ID
|
| 13 |
rsolanki |
2232 |
'==================================================================================
|
|
|
2233 |
Sub Unit_Tests_Per_Package ( sSection, nProj_id, nRtag_id, nBase_view_id, nLevel_of_complete, nShow_dependencies, nPv_id )
|
| 33 |
ghuddy |
2234 |
Dim Query_String, rsRep
|
|
|
2235 |
Const Allow_All = TRUE
|
|
|
2236 |
Const Disallow_All = FALSE
|
| 13 |
rsolanki |
2237 |
|
| 33 |
ghuddy |
2238 |
If nProj_id = "" Then nProj_id = -1
|
|
|
2239 |
If nRtag_id = "" Then nRtag_id = -1
|
|
|
2240 |
If nShow_dependencies = "" Then nShow_dependencies = 0
|
|
|
2241 |
If nPv_id = "" Then nPv_id = -1
|
|
|
2242 |
|
|
|
2243 |
If sSection = "TITLE" Then
|
|
|
2244 |
Response.write "Unit Tests per Package"
|
|
|
2245 |
Exit Sub
|
|
|
2246 |
End If
|
|
|
2247 |
|
|
|
2248 |
|
|
|
2249 |
If sSection = "FORM" Then
|
|
|
2250 |
%>
|
|
|
2251 |
</p>
|
|
|
2252 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
2253 |
<form action="<%=scriptName%>" method="post" name="repform" onSubmit="MM_validateForm('FRproj_id','Project','R','FRvtree_id','Version Tree','R','FRrtag_id','Release','R');return document.MM_returnValue">
|
|
|
2254 |
<tr>
|
|
|
2255 |
<td width="1%" nowrap class="form_field"><img src="images/spacer.gif" width="30" height="8"></td>
|
|
|
2256 |
<td width="1%" align="right" nowrap class="form_field">Project</td>
|
|
|
2257 |
<td width="100%"><%Call Get_Projects( nProj_id, Disallow_All )%></td>
|
|
|
2258 |
</tr>
|
|
|
2259 |
<tr>
|
|
|
2260 |
<td nowrap class="form_field"> </td>
|
|
|
2261 |
<td align="right" nowrap class="form_field">Release</td>
|
|
|
2262 |
<td><%Call Get_Release_Labels ( nProj_id, nRtag_id, Disallow_All )%></td>
|
|
|
2263 |
</tr>
|
|
|
2264 |
<tr>
|
|
|
2265 |
<td nowrap class="form_field"> </td>
|
|
|
2266 |
<td align="right" nowrap class="form_field">Base View</td>
|
|
|
2267 |
<td><%Call Get_Base_Views ( nRtag_id, nBase_view_id, Allow_All )%></td>
|
|
|
2268 |
</tr>
|
|
|
2269 |
<tr>
|
|
|
2270 |
<td nowrap class="form_field"> </td>
|
|
|
2271 |
<td align="right" nowrap class="form_field">Show Dependencie's Unit Tests</td>
|
|
|
2272 |
<td><input type="checkbox" name="FRshow_deps" value="1" <%If nShow_dependencies <> 0 Then%>checked<%End If%>></td>
|
|
|
2273 |
</tr>
|
|
|
2274 |
<tr>
|
|
|
2275 |
<td nowrap class="form_field"> </td>
|
|
|
2276 |
<td align="right" nowrap class="form_field"> </td>
|
|
|
2277 |
<td><br>
|
|
|
2278 |
<input type="hidden" name="group" value="<%=parGroup%>">
|
|
|
2279 |
<input type="hidden" name="repnum" value="<%=parRepNum%>">
|
|
|
2280 |
<input type="hidden" name="FRtest_complete" value="0">
|
|
|
2281 |
<input type="hidden" name="action" value="true">
|
|
|
2282 |
<input name="Submit" type="submit" class="form_btn" value="Submit">
|
|
|
2283 |
</td>
|
|
|
2284 |
</tr>
|
|
|
2285 |
</form>
|
|
|
2286 |
</table>
|
|
|
2287 |
<% Exit Sub
|
|
|
2288 |
End If
|
|
|
2289 |
|
|
|
2290 |
|
|
|
2291 |
If sSection = "BODY" Then
|
|
|
2292 |
If NOT CBool(Request("action")) Then Exit Sub
|
|
|
2293 |
|
|
|
2294 |
Query_String = ReadFile( rootPath & "queries\rep_unit_tests_per_package.sql" )
|
|
|
2295 |
|
|
|
2296 |
OraDatabase.Parameters.Add "RTAG_ID", nRtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
2297 |
OraDatabase.Parameters.Add "BASE_VIEW", nBase_view_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
2298 |
OraDatabase.Parameters.Add "COMPLETENESS", nLevel_of_complete, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
2299 |
OraDatabase.Parameters.Add "SHOW_DEPS", nShow_dependencies, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
2300 |
OraDatabase.Parameters.Add "PV_ID", nPv_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
2301 |
%>
|
|
|
2302 |
<table width="100%" border="0" cellspacing="0" cellpadding="1">
|
|
|
2303 |
<tr>
|
|
|
2304 |
<td width="1%" nowrap class="body_colb"> </td>
|
|
|
2305 |
<td width="1%" nowrap class="body_colb"> </td>
|
|
|
2306 |
<td width="1%" nowrap class="body_colb">Package Name </td>
|
|
|
2307 |
<td width="1%" nowrap class="body_colb">Version </td>
|
|
|
2308 |
<td width="1%" nowrap class="body_colb">Test Name </td>
|
|
|
2309 |
<td width="100%" nowrap class="body_colb">Test Summary </td>
|
|
|
2310 |
<td width="1%" nowrap class="body_colb"></td>
|
|
|
2311 |
<td width="1%" nowrap class="body_colb">Stamp</td>
|
|
|
2312 |
<td width="1%" nowrap class="body_colb">Test Completed </td>
|
|
|
2313 |
</tr>
|
|
|
2314 |
<tr>
|
|
|
2315 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2316 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2317 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2318 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2319 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2320 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2321 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2322 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2323 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2324 |
</tr>
|
|
|
2325 |
<%
|
|
|
2326 |
Dim currBase_view_id, currPv_id, currDpv_id, showTests
|
|
|
2327 |
currBase_view_id = -1
|
|
|
2328 |
currPv_id = -1
|
|
|
2329 |
currDpv_id = -1
|
|
|
2330 |
|
|
|
2331 |
Set rsRep = OraDatabase.DbCreateDynaset( Query_String, 0 )
|
|
|
2332 |
|
|
|
2333 |
If rsRep.RecordCount = 0 Then
|
|
|
2334 |
With Response
|
|
|
2335 |
.write "<tr>"
|
|
|
2336 |
.write "<td colspan='9' class='body_row'>Found 0 records</td>"
|
|
|
2337 |
.write "</tr>"
|
|
|
2338 |
End With
|
|
|
2339 |
End If
|
|
|
2340 |
|
|
|
2341 |
While ((NOT rsRep.BOF) AND (NOT rsRep.EOF))
|
|
|
2342 |
If nShow_dependencies <> 0 Then
|
|
|
2343 |
' show dependency is ON
|
|
|
2344 |
If rsRep("dpkg_name") = "------" Then
|
|
|
2345 |
showTests = FALSE
|
|
|
2346 |
Else
|
|
|
2347 |
showTests = TRUE
|
|
|
2348 |
End If
|
|
|
2349 |
Else
|
|
|
2350 |
showTests = TRUE
|
|
|
2351 |
End If
|
|
|
2352 |
|
|
|
2353 |
' -------- GROUP BY BASE VIEW -----------------
|
|
|
2354 |
If CDbl(currBase_view_id) <> CDbl(rsRep("base_view_id")) Then
|
|
|
2355 |
%>
|
|
|
2356 |
<tr>
|
|
|
2357 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2358 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2359 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2360 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2361 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2362 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2363 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2364 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2365 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2366 |
</tr>
|
|
|
2367 |
<tr>
|
|
|
2368 |
<td valign="top" nowrap class="body_scol"><%=rsRep("view_name")%></td>
|
|
|
2369 |
<td> </td>
|
|
|
2370 |
<td> </td>
|
|
|
2371 |
<td> </td>
|
|
|
2372 |
<td> </td>
|
|
|
2373 |
<td> </td>
|
|
|
2374 |
<td> </td>
|
|
|
2375 |
<td> </td>
|
|
|
2376 |
<td> </td>
|
|
|
2377 |
</tr>
|
|
|
2378 |
<%
|
|
|
2379 |
currBase_view_id = CDbl(rsRep("base_view_id"))
|
|
|
2380 |
End If
|
|
|
2381 |
' -------- END GROUP BASE VIEW ------------------------
|
|
|
2382 |
%>
|
|
|
2383 |
<%
|
|
|
2384 |
' -------- GROUP BY PACKAGE -----------------
|
|
|
2385 |
If CDbl(currPv_id) <> CDbl(rsRep("pv_id")) Then
|
|
|
2386 |
%>
|
|
|
2387 |
<tr>
|
|
|
2388 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2389 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2390 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2391 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2392 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2393 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2394 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2395 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2396 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2397 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2398 |
</tr>
|
|
|
2399 |
<tr>
|
|
|
2400 |
<td> </td>
|
|
|
2401 |
<td><%If rsRep("dlocked") = "Y" Then%><img src="images/i_locked.gif" width="7" height="10" hspace="2" alt="Officially released."><%Else%><img src="images/spacer.gif" width="7" height="10" hspace="2"><%End If%></td>
|
|
|
2402 |
<td nowrap><a href="fixed_issues.asp?pv_id=<%=rsRep("pv_id")%>&rtag_id=<%=nRtag_id%>" class="body_txt"><strong><%=rsRep("pkg_name")%></strong></a></td>
|
|
|
2403 |
<td nowrap><a href="fixed_issues.asp?pv_id=<%=rsRep("pv_id")%>&rtag_id=<%=nRtag_id%>" class="body_txt"><strong><%=rsRep("pkg_version")%></strong></a></td>
|
|
|
2404 |
<td> </td>
|
|
|
2405 |
<td> </td>
|
|
|
2406 |
<td> </td>
|
|
|
2407 |
<td> </td>
|
|
|
2408 |
<td align="center" valign="top" nowrap><%If nShow_dependencies = 0 Then%><%If IsNull( rsRep("not_done") ) Then%><img src="images/i_boxtick_on.gif" width="13" height="13"><%Else%><img src="images/i_boxtick_off.gif" width="13" height="13"><%End If%><%End If%></td>
|
|
|
2409 |
</tr>
|
|
|
2410 |
<%
|
|
|
2411 |
currPv_id = CDbl(rsRep("pv_id"))
|
|
|
2412 |
End If
|
|
|
2413 |
' -------- END GROUP PACKAGE ------------------------
|
|
|
2414 |
%>
|
|
|
2415 |
<%
|
|
|
2416 |
' -------- GROUP BY DEPENDENCY -----------------
|
|
|
2417 |
If Not IsNull(rsRep("dpv_id")) Then
|
|
|
2418 |
If CDbl(currDpv_id) <> CDbl(rsRep("dpv_id")) Then
|
|
|
2419 |
%>
|
|
|
2420 |
<tr>
|
|
|
2421 |
<td> </td>
|
|
|
2422 |
<td> </td>
|
|
|
2423 |
<td> </td>
|
|
|
2424 |
<td> </td>
|
|
|
2425 |
<td valign="top" nowrap><a href="fixed_issues.asp?pv_id=<%=rsRep("dpv_id")%>&rtag_id=<%=nRtag_id%>" class="body_txt"><strong><%=rsRep("dpkg_name")%></strong></a></td>
|
|
|
2426 |
<td valign="top" nowrap><a href="fixed_issues.asp?pv_id=<%=rsRep("dpv_id")%>&rtag_id=<%=nRtag_id%>" class="body_txt"><strong><%=rsRep("dpkg_version")%></strong></a></td>
|
|
|
2427 |
<td> </td>
|
|
|
2428 |
<td> </td>
|
|
|
2429 |
<td align="center" valign="top" nowrap><%If IsNull( rsRep("not_done") ) Then%><img src="images/i_boxtick_on.gif" width="13" height="13"><%Else%><img src="images/i_boxtick_off.gif" width="13" height="13"><%End If%></td>
|
|
|
2430 |
</tr>
|
|
|
2431 |
<%
|
|
|
2432 |
currDpv_id = CDbl(rsRep("dpv_id"))
|
|
|
2433 |
End If
|
|
|
2434 |
End If
|
|
|
2435 |
' -------- END GROUP DEPENDENCY ------------------------
|
|
|
2436 |
%>
|
|
|
2437 |
<%If Not IsNull( rsRep("completed_by") ) AND showTests Then%>
|
|
|
2438 |
<tr>
|
|
|
2439 |
<td> </td>
|
|
|
2440 |
<td> </td>
|
|
|
2441 |
<td> </td>
|
|
|
2442 |
<td> </td>
|
|
|
2443 |
<td bgcolor="#F5F5F5" valign="top" nowrap class="body_row"><img src="images/i_test.gif" width="16" height="16" hspace="1" align="absmiddle"><%=rsRep("test_name")%></td>
|
|
|
2444 |
<td bgcolor="#F5F5F5" valign="top" class="body_row"><%=NewLine_To_BR ( To_HTML ( rsRep("test_summary") ) )%></td>
|
|
|
2445 |
<td bgcolor="#F5F5F5" align="center" valign="top"> </td>
|
|
|
2446 |
<td bgcolor="#F5F5F5" valign="top" nowrap class="body_txt"><%=EuroDate ( rsRep("completion_date") )%> <a href="mailto:<%=rsRep("user_email")%>" class="txt_linked"><%=rsRep("completed_by")%></a> </td>
|
|
|
2447 |
<td> </td>
|
|
|
2448 |
</tr>
|
|
|
2449 |
<tr>
|
|
|
2450 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2451 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2452 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2453 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2454 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2455 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2456 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2457 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2458 |
<td><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2459 |
</tr>
|
|
|
2460 |
<%End If%>
|
|
|
2461 |
<% rsRep.MoveNext
|
|
|
2462 |
WEnd
|
|
|
2463 |
%>
|
|
|
2464 |
<tr>
|
|
|
2465 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2466 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2467 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2468 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2469 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2470 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2471 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2472 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2473 |
<td background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
2474 |
</tr>
|
|
|
2475 |
</table>
|
|
|
2476 |
|
|
|
2477 |
<!-- PRINT, SAVE, ETC. ------------>
|
|
|
2478 |
<%If parPrint = "" Then%>
|
|
|
2479 |
<br>
|
|
|
2480 |
<br>
|
|
|
2481 |
<a href="javascript:;" onClick="window.print();" class="txt_linked"><img src="images/btn_print.gif" width="23" height="24" hspace="4" border="0" align="absmiddle">Print this report</a><br>
|
|
|
2482 |
<br>
|
|
|
2483 |
<%End If%>
|
|
|
2484 |
<!-- PRINT, SAVE, ETC. END -------->
|
|
|
2485 |
<%
|
|
|
2486 |
rsRep.Close
|
|
|
2487 |
Set rsRep = nothing
|
|
|
2488 |
End If
|
|
|
2489 |
|
| 13 |
rsolanki |
2490 |
End Sub
|
| 33 |
ghuddy |
2491 |
%>
|