\subsubsection{Basic functionality}
\label{regjob}
-\req Running JPPS
+\req\ Running JPPS
\how
\begin{itemize}
\result Should print the OWNER value supplied.
\subsubsection{AuthZ check}
-\req JPPS running, a~job registered with the procedure in~\ref{regjob} \\
-\how
-Call GetJobAttributes using different user credentials \\
-\result
-Should fail with ``Permission denied'' error \\
+\req\ JPPS running, a~job registered with the procedure in~\ref{regjob}
+
+\how\
+Call GetJobAttributes using different user credentials
+\result\
+Should fail with ``Permission denied'' error
\subsection{Tag recording}
\label{tagreg}
\subsubsection{Basic functionality}
-\req JPPS running, a~job registered with the procedure in~\ref{regjob}
+\req\
+JPPS running, a~job registered with the procedure in~\ref{regjob}
+
\how
\begin{itemize}
\item Call RecordTag operation:
\result
The recorded value should be returned.
-- record and retrieve more values of the same tag
+\how\ Record another values(s) of the same tag by repeating the RecordTag call
-\subsubsection{AuthZ check}
-\req JPPS running, a~job registered with the procedure in~\ref{tagreg} \\
-\how Call RecordTag using different user credentials \\
-\result Should fail with ``Permission denied'' error \\
+\result\ GetJobAttr should return all the recorded values
+\subsubsection{AuthZ check}
+\req\ JPPS running, a~job registered with the procedure in~\ref{tagreg} \\
+\how\ Call RecordTag using different user credentials \\
+\result\ Should fail with ``Permission denied'' error \\
+
\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
+\req\ JPPS running, my certificate subject amont JPPS trusted peers,
+\verb'globus-url-copy' in PATH
+
+\how
+Run the aggregate test script from \verb'org.glite.jp.primary/build'
+
+\begin{verbatim}
+$ ../examples/jpps_store_test -o 'OWNER' -d ../examples/job_template
+\end{verbatim}
+(substitute real cert.\ subject for OWNER)
+
+\result\
+The script calls JPPS operations RegisterJob and StartUpload,
+uploads an \LB\ job log generated from the template file,
+calls CommitUpload.
+
+Finally, the upload is checked by retrieving two attribute
+values: LB/Attributes:user and LB/Attributes:finalStatusk via the GetJobAttr
+call.
+Both calls should return OK and print reasonable values.
+
+%- 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{Phase checks}
+\todo{salvet}
+% soubor nelze zapsat pred otevrenim operaci StartUpload
+% nelze cist pred Commitem
+% nelze zapsat po Commitu
\subsubsection{AuthZ checks}
(should fail)
-* call GetJobFiles with different credentials
-
-* StartUpload with different credentials
-- StartUpload
-* ftp upload with different credentials
+\todo{salvet}
+%* call GetJobFiles with different credentials
+%
+%* StartUpload with different credentials
+%
+%- StartUpload
+%* ftp upload with different credentials
+%
+%* ftp GET 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
+%- call StartUpload, short timeout
+%- upload via ftp
+%(don't call CommitUpload)
+%* uploaded file should be purged after timeout
\section{LB plugin}
-\todo{TBD}
+\todo{honik}
\section{JPPS-JPIS interaction (feeds)}