Testplan moved to LaTeX (structure only).
authorJiří Sitera <sitera@civ.zcu.cz>
Tue, 21 Feb 2006 13:40:43 +0000 (13:40 +0000)
committerJiří Sitera <sitera@civ.zcu.cz>
Tue, 21 Feb 2006 13:40:43 +0000 (13:40 +0000)
TODO:
- Move chapter 3 (PS-IS interaction) from .txt to .tex
- Remove .txt version
- Move chapter IS query test from org.glite.jp.index/doc/README

org.glite.jp/doc/EGEElogoNEW.jpg [new file with mode: 0644]
org.glite.jp/doc/copyright.tex [new file with mode: 0644]
org.glite.jp/doc/egee.cls [new file with mode: 0644]
org.glite.jp/doc/frontmatter.tex [new file with mode: 0644]
org.glite.jp/doc/isi.png [new file with mode: 0644]
org.glite.jp/doc/testplan.tex [new file with mode: 0644]

diff --git a/org.glite.jp/doc/EGEElogoNEW.jpg b/org.glite.jp/doc/EGEElogoNEW.jpg
new file mode 100644 (file)
index 0000000..dcb20ac
Binary files /dev/null and b/org.glite.jp/doc/EGEElogoNEW.jpg differ
diff --git a/org.glite.jp/doc/copyright.tex b/org.glite.jp/doc/copyright.tex
new file mode 100644 (file)
index 0000000..d25979d
--- /dev/null
@@ -0,0 +1,24 @@
+%
+% Official text received on October 6, 2004
+%
+\vfill{\bf Copyright }\copyright{\bf Members of the EGEE Collaboration. 2004. 
+See http://eu-egee.org/partners for details on the copyright holders. 
+
+EGEE (``Enabling Grids for E-science in Europe'') is a project funded by
+the European Union.  For more information on the project, its partners
+and contributors please see http://www.eu-egee.org.
+
+You are permitted to copy and distribute verbatim copies of this
+document containing this copyright notice, but modifying this document
+is not allowed. You are permitted to copy this document in whole or in
+part into other documents if you attach the following reference to the
+copied elements: ``Copyright }\copyright{\bf 2004. Members of the EGEE
+Collaboration. http://www.eu-egee.org''
+
+The information contained in this document represents the views of
+EGEE as of the date they are published. EGEE does not guarantee that
+any information contained herein is error-free, or up to date.
+
+EGEE MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, BY
+PUBLISHING THIS DOCUMENT.}
+
diff --git a/org.glite.jp/doc/egee.cls b/org.glite.jp/doc/egee.cls
new file mode 100644 (file)
index 0000000..4de47ce
--- /dev/null
@@ -0,0 +1,522 @@
+% egee.cls: 
+%
+% $Id$
+%
+% $Log$
+% Revision 1.1  2005/02/16 14:53:11  erwin
+% template added
+%
+% Revision 1.6  2004/10/05 09:10:38  erwin
+% changed title for delivery; remove subtitle from page header.
+%
+% Revision 1.5  2004/08/20 13:17:59  szamsu
+% Loading the EGEE logo only once and reusing it later.
+%
+% Revision 1.4  2004/08/20 10:18:47  szamsu
+% fixing overfull problem in page headers
+%
+% Revision 1.3  2004/08/03 14:32:00  hemmer
+% Change IST logo to the new Information Society Infrastructures logo and ISTNumber
+%
+% Revision 1.2  2004/08/03 11:40:13  szamsu
+% Removed 'compat2' option on geometry, because it has also specified
+% 'scale{0.8,0.9}' for page size, which we define otherwise. Added the
+% 'centering' and 'includeheadfoot' options, which were defined in
+% 'compat2'.
+%
+% Revision 1.1  2004/07/13 09:44:13  erwin
+% template for design document
+%
+% Revision 1.2  2004/06/25 10:41:40  erwin
+% restructuring according to JRA2 template (intro & exec summary)
+% modification of stylefile to remove trailing "." at section number
+% changes in intro according to discussion (new figure, service table, ...)
+%
+% Revision 1.1  2004/06/24 14:26:44  erwin
+% use EGEE style
+% adjustment of top level structure (individual sections need to be adjusted accordingly)
+%
+% Revision 1.8  2004/06/03 09:56:11  diana
+% updated the front page
+%
+% Revision 1.7  2004/05/26 09:38:55  leanne
+% Removed DocumentLink in pdfinfo - it was causing errors
+%
+% Revision 1.6  2004/05/26 08:36:58  leanne
+% Updated IST number in template
+%
+% Revision 1.5  2004/05/24 13:25:04  diana
+% added template for egee latex documents
+%
+% Revision 1.4  2004/05/17 10:56:51  diana
+% added compat2 option to geometry and hypertex option to hyperref to get logo and links back on the page
+%
+% Revision 1.3  2004/02/18 18:08:48  leanne
+% Modified Document identifiers to mauch the EGEE Word templates
+%
+% Revision 1.2  2004/02/18 17:23:21  leanne
+% Changed Work Package to Activity. Included definition of Document Link.
+%
+% Revision 1.1.1.1  2004/02/18 11:17:44  leanne
+% Initial version of EGGE LaTeX Style files based on the EDG LaTeX Style
+%
+%
+% Revision 1.0 2004/02/17 leanne
+% Took the datagrid.cls file and modified it for the EGEE project
+% Original Authors:
+%  Frohner Akos <Akos.Frohner@cern.ch>
+%  Diana Bosio <diana.bosio@cern.ch>
+%  Paul Millar <paulm@physics.gla.ac.uk>
+%  Thanks are due to Norman Gray
+%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{egee}[2002/06/20 EGEE LaTeX Class]
+\typeout{EGEE LaTeX class -- 2002/06/13  Rock Lobster!}
+%
+%% Notes: This class file tries, as largely as possible, to copy the Microsoft
+%% Word template document EDMS 2098656 v2.2.  Differences and notes are listed
+%% below:
+%%   o  The Word Template uses 11pt for the main body, but 12 point
+%%      occasionally. Any such occurrence of 12pt is mapped into 11pt in this
+%%      class-file.
+%%   o  This class inherits 11pt article. In that class Huge=30pt and
+%%      LARGE=22pt, which matches the required point-size for the title page.
+%%   o  The parskip in the Word doc is exactly 1.4mm (0.7mm above and below).
+%%      Here we've taken the liberty of adding some glue to make things fit
+%%      better.
+%%   o  The Word Template shows all the (sub)sections on the contents page in 
+%%      capitals and subsubsections in italics. The LateX class doesn't.
+
+%% Interface - example of an option, should we want to use these later.
+%\newif\ifmonotitle\monotitlefalse
+
+%\DeclareOption{mono}{\monotitletrue}
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
+\ProcessOptions
+
+
+% Inherit!
+\LoadClass[11pt]{article}
+
+% Necessary packages:
+\RequirePackage{lastpage}
+\RequirePackage{tabularx}
+\RequirePackage{pslatex}
+\RequirePackage{times}
+\RequirePackage{verbatim}
+\RequirePackage{geometry}
+\RequirePackage{url}
+
+\usepackage[hang,bf,small]{caption}
+
+%
+% We now define a new \if command to test for PDF being enabled.
+% It is important because loading graphicx overrides the definition
+% of \pdfoutput and sets it to true even when PDF is not enabled.
+% Use \ifpdf instead of \ifx\pdfoutput\undefined hereafter.
+%
+
+\newif\ifpdf
+\ifx\pdfoutput\undefined
+        \pdffalse
+        % \typeout{PDF _not_ defined}
+\else
+        \pdfoutput=1
+        \pdftrue
+        % \typeout{PDF _is_ defined}
+\fi
+
+\ifpdf
+        \usepackage[pdftex,
+                pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
+                bookmarksopenlevel=0,bookmarksnumbered=true,
+                hypertexnames=false,colorlinks,linkcolor={blue},
+                citecolor={blue},urlcolor={red},
+                pdfstartview={FitV}]{hyperref}
+\else
+        \usepackage[hypertex]{hyperref}
+\fi
+    
+\ifpdf
+        \usepackage[pdftex]{graphicx}
+        \pdfcompresslevel 9
+        \pdfadjustspacing 1
+\else
+        \usepackage[dvips]{graphicx}
+\fi
+
+\usepackage{color}
+
+\def\footsize{5mm}
+
+%%
+%% PAGE GEOMETRY DEFINITIONS
+%%
+% From Template file
+\geometry{centering,includeheadfoot}
+\geometry{a4paper,top=12.5mm,headheight=12.5mm,headsep=5mm,foot=\footsize,footskip=13.3mm,bottom=12.5mm}
+\geometry{right=25mm,left=25mm}
+
+
+
+% APM -- I don't think these are right, my impression is above is correct
+%\geometry{a4paper,margin=0.98in,headheight=0.72in}
+
+
+%%
+%% PAGE COLOUR DEFINITIONS
+%%
+\definecolor{blue}{rgb}{0.1,0.1,0.5}
+\definecolor{lightgrey}{gray}{0.65}
+
+
+% paulm's prefered name ...
+\def\bibname{References}
+
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{1.4mm plus 0.4mm minus 0.2mm}
+
+\def\@defaultfooter{
+  \def\@oddfoot{\vbox to \footsize {%
+    {\color{blue}\hrule width \textwidth height 1pt depth 0pt}%
+    \vfil
+    \small\hbox to \textwidth{\ISTNumber%
+                \hfil
+                \hbox{\colorbox{yellow}{\MakeUppercase{\@Dissemination}}}%
+                \hfil
+                \hbox{\thepage/\pageref{LastPage}}}%
+    }%
+  }%
+}
+
+
+\def\ps@title{%
+  \@defaultfooter
+  \def\@oddhead{\hbox to \textwidth{\LargeEGEELogo\hfil\ISTLogo}}
+}
+
+\def\ps@headings{%
+  \@defaultfooter
+  \def\@oddhead{\vbox to \headheight{%
+%\hrule width \textwidth height 1pt\relax
+      \vbox to 0.75\headheight{%
+        \hbox to \textwidth{%
+          \hbox to 0pt{\EGEELogo\hss}%
+          \hfil
+         \hbox to 8cm{%
+           \vbox to 0.75\headheight{%
+             \vfil
+             \parbox{8cm}{%
+               \centering\color{blue}%
+                \textbf{\MakeUppercase{\@title}}%
+%\ifx\@Subtitle\@empty\else
+%              \par\textbf{\scriptsize\@Subtitle}%
+%\fi
+ }%
+             \vfil
+           }%
+         \hss}%
+         \hfil
+%\hbox to 0pt{\vrule width 1pt height 10pt depth 0pt \hss}%
+%%           {\scriptsize\setlength{\parskip}{0pt}\setlength{\topsep}{0pt}%
+%% %              \vbox to 0.75\headheight{%
+%%                   \parbox{4cm}{x%
+%%                       \begin{flushright}%
+%%                           \textit{Doc. Identifier}:\\
+%%                        \textbf{\@DocIdentifier}\\
+%%                           \vfil
+%%                           \textit{Date}: \textbf{\@Date}
+%%                       \end{flushright}%
+%%                   }%
+%% %              }%
+%%           }%
+\hbox to 0pt{\hss\vbox to 0.75\headheight{%\hrule
+\tiny%\scriptsize
+\parfillskip0pt
+\leftskip 0pt plus 1fil
+\parskip0ex
+\textit{Doc.\ Identifier}:
+\par
+\textbf{\@DocIdentifier}
+\vfil
+\textit{Date}: \textbf{\@Date}
+%\hrule
+}}%
+%          \hbox to 4cm{\scriptsize
+%            \vbox to 0.75\headheight{%
+%              \parbox{4cm}{
+%              \halign{\hfill####\cr
+%                \textit{Doc. Identifier}:\cr
+%               \textbf{\@DocIdentifier}\cr
+%             % \noalign{\vfil}
+%                \textit{Date}: \textbf{\@Date}\cr
+%              }}%
+%              \vfil
+%            }%
+%         }%
+        }%
+      }%
+%\hrule width \textwidth height 1pt\relax
+      \vfil\vskip 2.5mm\relax
+      {\color{blue}\hrule width \textwidth height 1pt depth 0pt}%
+    }%
+  }%
+}
+
+\pagestyle{headings}
+
+\setlength{\captionmargin}{1cm}
+
+% image file extensions respective to the output format
+\ifpdf
+        \DeclareGraphicsExtensions{.jpg,.pdf,.png}
+        \pdfcompresslevel=9
+%      \pdfinfo{ /Title (\@DocumentLink) }
+       \pdfinfo{ /Title (EGEE) }
+\else   
+        \DeclareGraphicsExtensions{.eps}
+\fi
+
+\def\frontboxwidth{10.6cm}%
+
+
+
+%%
+%% Define our title page
+%%
+\AtBeginDocument{
+\pagestyle{title}%
+\hbox{}% Force top of page
+\vfill
+{\centering
+        \Huge\bf\textsf{\textcolor{blue}{EGEE}}\\[20mm]%
+        \LARGE\sc\textsf{\bf \@title}\\[5mm]%
+        \ifx\@Subtitle\@empty\else
+            \normalsize\textsf{\@Subtitle}\\[10mm]%
+        \fi
+                 \ifx\@DeliverableId\@empty\else
+            \LARGE\sc\textsf{\bf \@DeliverableId}\\[5mm]%
+        \fi
+}%
+\vfill
+\hbox to \textwidth{
+      \hfil
+      \vbox{
+      {\color{blue}\hrule width \frontboxwidth height 1mm depth 0pt}
+      \hbox to \frontboxwidth{\sf
+          \begin{tabularx}{\frontboxwidth}{l>{\raggedright\arraybackslash}X}
+                Document identifier: & \textbf{\@DocIdentifier}\\[3mm]
+                Date: & \textbf{\@Date}\\[3mm]
+                Activity:& \textbf{\@Activity}\\[3mm]
+                                        Lead Partner: & \textbf{\@LeadPartner}\\[3mm]
+                Document status: & \textbf{\@DocStatus}\\[3mm]
+                Document link:& \textbf{\@DocumentLink}\\[3mm]
+          \end{tabularx}
+     }
+      {\color{blue}\hrule width \frontboxwidth height 1mm depth 0pt}
+     }
+}
+\vfill
+{\sf\underline{Abstract}: \@Abstract}
+\vfill
+\newpage  % end of the first page
+\pagestyle{headings}
+\setcounter{tocdepth}{3}
+} % End of AtBeginningDocument
+
+
+%
+% EGEE style small-capital section titles.
+%
+% The numbering is aligned with the WinWord style, 
+% although it is not common in the english typography...
+%
+\newcommand{\sectionbreak}{\newpage}
+%\renewcommand{\thesection}{\arabic{section}.}
+%\renewcommand{\thesubsection}{\thesection\arabic{subsection}.}
+%\renewcommand{\thesubsubsection}{\thesubsection\arabic{subsubsection}.}
+
+\renewcommand\section{\@startsection {section}{1}{\z@}%
+                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
+                                   {2.3ex \@plus.2ex}%
+                                   {\normalfont\Large\bfseries\sffamily\scshape}}
+
+\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\large\bfseries\sffamily\scshape}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\normalsize\bfseries\sffamily\scshape}}
+
+
+
+%% APM NEED TO REDEFINE section
+%\titleformat{\section}{\Large\bfseries\sffamily\scshape}{\thesection}{1em}{}
+%\titlecontents{section} [2em] {\vspace*{4pt}}
+%       {\large \sc \bfseries \contentslabel{2em}}
+%       {\large \sc \bfseries \hspace*{-2em}}
+%       {\large \textbf{\titlerule*[1ex]{.}\contentspage}} [\vspace*{4pt}]
+
+%\titleformat{\subsection}{\large\bfseries\sffamily\scshape}{\thesubsection}{1em}{}
+%\titlecontents{subsection} [5em] {}
+%       {\sc \contentslabel{3em}}
+%       {\sc \hspace*{-3em}}
+%       {\titlerule*[1ex]{.}\contentspage} 
+
+
+%
+% common constants
+%
+\def\ISTNumber{INFSO-RI-508833}
+\newsavebox{\@EGEELogo}
+\savebox{\@EGEELogo}{\includegraphics[height=0.75\headheight]{EGEElogoNEW}}
+\def\EGEELogo{\usebox{\@EGEELogo}}
+\def\LargeEGEELogo{\includegraphics[height=\headheight]{EGEElogoNEW}}
+\def\ISTLogo{\includegraphics[height=\headheight]{isi}}
+
+%
+% parameters to be supplied by the author
+%
+\def\Subtitle#1{\gdef\@Subtitle{#1}}
+\gdef\@Subtitle{\@latex@warning@no@line{No \noexpand\Subtitle given}}
+
+\def\DeliverableId#1{\gdef\@DeliverableId{#1}}
+\gdef\@DeliverableId{\@latex@warning@no@line{No \noexpand\DeliverableId given}}
+
+\def\DocIdentifier#1{\gdef\@DocIdentifier{#1}}
+\gdef\@DocIdentifier{\@latex@warning@no@line{No \noexpand\DocIdentifier given %
+        (e.g. EGEE-JRA1-TEC-edmsId-v0-1)}}
+
+\def\Date#1{\gdef\@Date{#1}}
+\gdef\@Date{\@latex@warning@no@line{No \noexpand\Date given %
+        (e.g. 01/01/2004)}}
+
+\def\Activity#1{\gdef\@Activity{#1}}
+\gdef\@Activity{\@latex@warning@no@line{No \noexpand\Activity given %
+        (e.g. JRA1 Middleware Engineering and Integration )}}
+
+\def\LeadPartner#1{\gdef\@LeadPartner{#1}}
+\gdef\@LeadPartner{\@latex@warning@no@line{No \noexpand\LeadPartner given %
+        (e.g. CERN, RAL )}}
+
+\def\DocStatus#1{\gdef\@DocStatus{#1}}
+\gdef\@DocStatus{\@latex@warning@no@line{No \noexpand\DocStatus given %
+        (e.g. DRAFT, WORKING, DELIVERED)}}
+
+\def\Dissemination#1{\gdef\@Dissemination{#1}}
+\gdef\@Dissemination{\@latex@warning@no@line{No \noexpand\Dissemination given %
+        (e.g. PUBLIC, INTERNAL, ...)}}
+
+\def\DocumentLink#1{\gdef\@DocumentLink{#1}}
+\gdef\@DocumentLink{\@latex@warning@no@line{No \noexpand\DocumentLink given %
+        (e.g. http://cern.ch)}}
+
+\long\def\Abstract#1{\gdef\@Abstract{#1}}
+\gdef\@Abstract{\@latex@warning@no@line{No \noexpand\Abstract given}}
+
+%%
+%% Define the abstract using an environment abstract
+
+%
+% This will produce the mailto link in the PDF file
+%
+%
+% We use the URL package, which does this nicely. The old way (\HTTP) was
+% a bit buggy as it had problems with '~'s and '_'s
+%
+\urlstyle{sf}
+\ifpdf
+  \newcommand{\Email}[1]{\href{mailto:#1}{<{#1}>}}
+  \newcommand{\HTTP}[1]{\href{#1}{\url{#1}}}
+\else
+  \newcommand{\Email}[1]{\textsf{<{#1}>}}
+  \newcommand{\HTTP}[1]{\url{#1}}
+\fi
+
+
+%
+% We now redifine \part and \section so that the table of contents
+% has the sections/parts in upper case.
+%
+% Note: need to use \uppercase because \MakeUppercase is not robust
+%
+\def\@part[#1]#2{%
+    \ifnum \c@secnumdepth >\m@ne
+      \refstepcounter{part}%
+      \addcontentsline{toc}{part}{\thepart\hspace{1em}\uppercase{#1}}%
+    \else
+      \addcontentsline{toc}{part}{\uppercase{#1}}%
+    \fi
+    {\parindent \z@ \raggedright
+     \interlinepenalty \@M
+     \normalfont
+     \ifnum \c@secnumdepth >\m@ne
+       \Large\bfseries \partname\nobreakspace\thepart
+       \par\nobreak
+     \fi
+     \huge \bfseries #2%
+     \markboth{}{}\par}%
+    \nobreak
+    \vskip 3ex
+    \@afterheading}
+
+\def\@sect#1#2#3#4#5#6[#7]#8{%
+  \ifnum #2>\c@secnumdepth
+    \let\@svsec\@empty
+  \else
+    \refstepcounter{#1}%
+    \protected@edef\@svsec{\@seccntformat{#1}\relax}%
+  \fi
+  \@tempskipa #5\relax
+  \ifdim \@tempskipa>\z@
+    \begingroup
+      #6{%
+        \@hangfrom{\hskip #3\relax\@svsec}%
+          \interlinepenalty \@M #8\@@par}%
+    \endgroup
+    \csname #1mark\endcsname{\uppercase{#7}}%
+    \addcontentsline{toc}{#1}{%
+      \ifnum #2>\c@secnumdepth \else
+        \protect\numberline{\csname the#1\endcsname}%
+      \fi
+      \texorpdfstring{\uppercase{#7}}{#7}}%
+  \else
+    \def\@svsechd{%
+      #6{\hskip #3\relax
+      \@svsec #8}%
+      \csname #1mark\endcsname{\uppercase{#7}}%
+      \addcontentsline{toc}{#1}{%
+        \ifnum #2>\c@secnumdepth \else
+          \protect\numberline{\csname the#1\endcsname}%
+        \fi
+        \texorpdfstring{\uppercase{#7}}{#7}}}%
+  \fi
+  \@xsect{#5}}
+
+% \addcontentsline{toc} expands to \contentsline{NAME}
+% which in turn expands to \l@NAME.  So, to specify
+% the table of contents, we must define \l@chapter, \l@section,
+% \l@subsection, ... ; to specify the list of figures, we must define
+% \l@figure; and so on.  Most of these can be defined with the
+% \@dottedtocline command, which produces a contents line with dots
+% between the title and the page number. It works as follows:
+%
+% \@dottedtocline{LEVEL}{INDENT}{NUMWIDTH}
+%    LEVEL    : An entry is produced only if LEVEL < or = value of
+%               'tocdepth' counter.  Note, \chapter is level 0, \section
+%               is level 1, etc.
+%    INDENT   : The indentation from the outer left margin of the start of
+%               the contents line.
+%    NUMWIDTH : The width of a box in which the section number is to go,
+%               if TITLE includes a \numberline command.
+%
+
+\def\l@part{\@dottedtocline{1}{4em}{2.0em}}
+\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
+\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
+\def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
+\def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
+
diff --git a/org.glite.jp/doc/frontmatter.tex b/org.glite.jp/doc/frontmatter.tex
new file mode 100644 (file)
index 0000000..802bd05
--- /dev/null
@@ -0,0 +1,40 @@
+\begin{center}
+{\bf Delivery Slip}
+\end{center}
+\begin{tabularx}{\textwidth}{|l|l|l|X|X|}
+\hline
+           & {\bf Name} & {\bf Partner} & {\bf Date} & {\bf Signature} \\
+\hline
+{\bf From} & Ale\v s K\v{r}enek et al.& CESNET & Feb 20, 2006 & \\
+\hline
+{\bf Reviewed by} & & & & \\
+
+\hline
+{\bf Approved by} & & & & \\
+\hline
+\end{tabularx}
+
+\begin{center}
+{\bf Document Change Log}
+\end{center}
+
+\begin{tabularx}{\textwidth}{|l|l|X|X|}
+\hline
+{\bf Issue } & {\bf Date  } & {\bf Comment } & {\bf Author  } \\   \hline
+Initial version & Feb 20, 2006 & & A. K\v{r}enek et al.\\ \hline
+\hline
+\end{tabularx}
+
+\begin{center}
+{\bf Document Change Record}
+\end{center}
+
+\begin{tabularx}{\textwidth}{|l|l|X|}
+\hline
+{\bf Issue } & {\bf Item  } & {\bf Reason for Change } \\   \hline
+
+
+\hline
+\end{tabularx}
+
+\input{copyright}
diff --git a/org.glite.jp/doc/isi.png b/org.glite.jp/doc/isi.png
new file mode 100644 (file)
index 0000000..c6766f4
Binary files /dev/null and b/org.glite.jp/doc/isi.png differ
diff --git a/org.glite.jp/doc/testplan.tex b/org.glite.jp/doc/testplan.tex
new file mode 100644 (file)
index 0000000..bfd3505
--- /dev/null
@@ -0,0 +1,196 @@
+\documentclass{egee}
+\usepackage{comment}
+
+\def\LB{L\&B}
+
+\title{Job Provenance Test Plan}
+\author{CESNET EGEE JRA1 team}
+\DocIdentifier{EGEE-JRA1-??}
+\Date{\today}
+\Activity{JRA1: Middleware Engineering and Integration}
+\DocStatus{DRAFT}
+\Dissemination{PUBLIC}
+\DocumentLink{}
+
+\def\req{\noindent\textbf{Prerequisities:}}
+\def\how{\noindent\textbf{How to run:}}
+\def\result{\noindent\textbf{Expected result:}}
+
+\def\path#1{{\normalfont\textsf{#1}}}
+\def\code#1{\texttt{#1}}
+
+\def\todo#1{\textbf{TODO:} #1}
+
+
+\specialcomment{hints}{\par\noindent\textbf{Hints: }\begingroup\slshape}{\endgroup}
+%\includecomment{hints}
+
+\begin{document}
+
+\input{frontmatter}
+\newpage
+\tableofcontents
+\newpage
+
+\section{Rationale}
+\subsection{Glossary}
+\begin{itemize}
+\item JP -- Job Provenance
+\item JPPS -- Job Provenance Primary Storage
+\item JPPSBE -- Job Provenance Primary Storage Back-end
+\item JPIS -- Job Provenance Index Server
+\end{itemize}
+
+\todo{}
+
+\section{Test Coverage}
+\todo{}
+
+%\chapter{Test Cases}
+
+\section{JPPS standalone tests}
+
+\subsection{Job registration}
+
+\subsubsection{Basic functionality}
+- call RegisterJob
+* call GetJobAttributes owner to verify
+
+\subsubsection{AuthZ check}
+* call GetJobAttributes with different credentials - should fail
+
+\subsection{Tag recording}
+- call RecordTag
+* call GetJobAttributes to verify
+- record and retrieve more values of the same tag
+
+\subsection{File upload}
+
+\subsubsection{Basic functionality}
+- call StartUpload, LB dump file type
+* check with GetJobFiles -- shoud return nothing
+- upload via ftp
+- call CommitUpload
+* check with GetJobFiles -- should return URL
+- retrieve and check the file
+
+\subsubsection{AuthZ checks}
+(should fail)
+* call GetJobFiles with different credentials
+
+* StartUpload with different credentials
+
+- StartUpload
+* ftp upload with different credentials
+
+* ftp GET with different credentials
+
+\subsubsection{Cleanup}
+(Foreseen test for feature which is not implemented yet)
+- call StartUpload, short timeout
+- upload via ftp
+(don't call CommitUpload)
+* uploaded file should be purged after timeout
+
+\section{LB plugin}
+\todo{TBD}
+
+\section{JPPS-JPIS interaction (feeds)}
+
+\todo{import this chapter from testplan.txt}
+
+set of queries (how many?) with different "triggering conditions":
+- on job registration
+- on LB file upload
+- on RecordTag
+
+corresponding sets of jobs to each query, each containing jobs which match
+and which don't
+
+- initial IS release -- single query, so just one set of jobs
+- due to 3.2 no point in pre-loading PS database, use 1.3.1
+
+\subsection{Single batch feed}
+- upload jobs to PS
+- start feed
+* check IS contents (jobs and expected attr values)
+
+\subsection{single incremental feed}
+- register feed
+- upload jobs to PS one by one
+* check IS contents (matching jobs should turn up, others not)
+
+\subsection{Multiple feeds at time}
+TODO
+
+\subsection{Advanced feed features (to be implemented)}
+- remove (not implemented in PS yet)
+- splitted info about one job (check that the PS doesn't duplicate
+  attribute values) - probably covered in 3.2
+
+
+\subsection{PS-IS AuthZ}
+TODO, if any
+
+\section{IS queries}
+\todo{Import from org.glite.jp.index/doc/README file}
+
+
+TBD: insert job sets via JP-IS interaction or directly?
+        - better to populate database directly, independent on previous chain
+
+All basic tests:
+- clear IS database
+- insert prepared job set
+- ask queries and check answers
+- clear database
+
+TBD: Is one job set enough?
+        - better to have one complete set
+
+\subsection{Simple query}
+- using CLI
+
+\subsection{Extended query}
+- using CLI
+
+\subsection{Check "origin" behaviour (not implemented yet)}
+- queries with origin tag
+
+\subsection{AuthZ checks}
+- non owner queries should fail
+- to be implemented: ACLs and its evaluation
+
+\subsection{IS CLI}
+- standalone tests?     - not now
+  - prepared config files and command line parameters
+  - check expected QueryJobs contents
+
+\section{IS standalone advanced features}
+\todo{To be implemented}
+
+\subsection{Server startup}
+
+\subsubsection{Reboot persistency / configuration vs. database content}
+    situations handling
+- prepared config files
+- checking behaviour (how?) after reboot with different config file
+
+\subsubsection{Registration of PS feeds}
+! already covered by 3
+- prepared config files
+- checking appropriate FeedIndex calls
+
+\subsection{Admin interface}
+\todo{Admin interface not implemented yet}
+
+\subsection{Type plugin}
+\todo{type plugin tests -- to be designed, future type plugin implementation}
+
+\section{Deployment}
+\todo{tests on JP deployment process}
+\todo{TBD}
+
+
+
+\end{document}