From 100056ba4579dd889776a6d666ec5b7323798050 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 13 Aug 2008 16:03:07 +0000 Subject: [PATCH] Update JPIS config file examples (queryable and multivalue elements are mandatory). --- org.glite.jp.index/config/glite-jpis-config.xml | 501 ++++++++++++++++++--- .../config/glite-jpis-test-config.xml | 108 ++++- org.glite.lb.state-machine/Makefile | 5 +- org.glite.lb.state-machine/src/jpis_config.xsl | 15 +- 4 files changed, 531 insertions(+), 98 deletions(-) diff --git a/org.glite.jp.index/config/glite-jpis-config.xml b/org.glite.jp.index/config/glite-jpis-config.xml index e5ed4af..4c679f5 100644 --- a/org.glite.jp.index/config/glite-jpis-config.xml +++ b/org.glite.jp.index/config/glite-jpis-config.xml @@ -1,4 +1,7 @@ + + + http://egee.cesnet.cz/en/Schema/JP/System:jobId http://egee.cesnet.cz/en/Schema/JP/System:owner + http://egee.cesnet.cz/en/Schema/JP/System:regtime --> - http://egee.cesnet.cz/en/Schema/LB/Attributes:status + + http://egee.cesnet.cz/en/Schema/LB/Attributes:status + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:jobId + + http://egee.cesnet.cz/en/Schema/LB/Attributes:jobId + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:owner + + http://egee.cesnet.cz/en/Schema/LB/Attributes:owner + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:jobtype + + http://egee.cesnet.cz/en/Schema/LB/Attributes:jobtype + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:parentJob + + http://egee.cesnet.cz/en/Schema/LB/Attributes:parentJob + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:seed + + http://egee.cesnet.cz/en/Schema/LB/Attributes:seed + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:childrenNum + + http://egee.cesnet.cz/en/Schema/LB/Attributes:childrenNum + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:children + + http://egee.cesnet.cz/en/Schema/LB/Attributes:children + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:childrenHist + + http://egee.cesnet.cz/en/Schema/LB/Attributes:childrenHist + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:childrenStates + + http://egee.cesnet.cz/en/Schema/LB/Attributes:childrenStates + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorId + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorId + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:globusId + + http://egee.cesnet.cz/en/Schema/LB/Attributes:globusId + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:localId + + http://egee.cesnet.cz/en/Schema/LB/Attributes:localId + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:jdl + + http://egee.cesnet.cz/en/Schema/LB/Attributes:jdl + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:matchedJdl + + http://egee.cesnet.cz/en/Schema/LB/Attributes:matchedJdl + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:destination + + http://egee.cesnet.cz/en/Schema/LB/Attributes:destination + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorJdl + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorJdl + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:rsl + + http://egee.cesnet.cz/en/Schema/LB/Attributes:rsl + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:reason + + http://egee.cesnet.cz/en/Schema/LB/Attributes:reason + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:location + + http://egee.cesnet.cz/en/Schema/LB/Attributes:location + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:ceNode + + http://egee.cesnet.cz/en/Schema/LB/Attributes:ceNode + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:networkServer + + http://egee.cesnet.cz/en/Schema/LB/Attributes:networkServer + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:subjobFailed + + http://egee.cesnet.cz/en/Schema/LB/Attributes:subjobFailed + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:doneCode + + http://egee.cesnet.cz/en/Schema/LB/Attributes:doneCode + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:exitCode + + http://egee.cesnet.cz/en/Schema/LB/Attributes:exitCode + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:resubmitted + + http://egee.cesnet.cz/en/Schema/LB/Attributes:resubmitted + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:cancelling + + http://egee.cesnet.cz/en/Schema/LB/Attributes:cancelling + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:cancelReason + + http://egee.cesnet.cz/en/Schema/LB/Attributes:cancelReason + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:cpuTime + + http://egee.cesnet.cz/en/Schema/LB/Attributes:cpuTime + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:userTags + + http://egee.cesnet.cz/en/Schema/LB/Attributes:userTags + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:stateEnterTime + + http://egee.cesnet.cz/en/Schema/LB/Attributes:stateEnterTime + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:lastUpdateTime + + http://egee.cesnet.cz/en/Schema/LB/Attributes:lastUpdateTime + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:stateEnterTimes + + http://egee.cesnet.cz/en/Schema/LB/Attributes:stateEnterTimes + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:expectUpdate + + http://egee.cesnet.cz/en/Schema/LB/Attributes:expectUpdate + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:expectFrom + + http://egee.cesnet.cz/en/Schema/LB/Attributes:expectFrom + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:acl + + http://egee.cesnet.cz/en/Schema/LB/Attributes:acl + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:payloadRunning + + http://egee.cesnet.cz/en/Schema/LB/Attributes:payloadRunning + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:possibleDestinations + + http://egee.cesnet.cz/en/Schema/LB/Attributes:possibleDestinations + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:possibleCeNodes + + http://egee.cesnet.cz/en/Schema/LB/Attributes:possibleCeNodes + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:suspended + + http://egee.cesnet.cz/en/Schema/LB/Attributes:suspended + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:suspendReason + + http://egee.cesnet.cz/en/Schema/LB/Attributes:suspendReason + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:failureReasons + + http://egee.cesnet.cz/en/Schema/LB/Attributes:failureReasons + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:removeFromProxy + + http://egee.cesnet.cz/en/Schema/LB/Attributes:removeFromProxy + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:uiHost + + http://egee.cesnet.cz/en/Schema/LB/Attributes:uiHost + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:userFqans + + http://egee.cesnet.cz/en/Schema/LB/Attributes:userFqans + YES + YES + + + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:sandboxRetrieved + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsState + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsState + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsQueue + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsQueue + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsOwner + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsOwner + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsName + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsName + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsReason + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsReason + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsScheduler + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsScheduler + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsDestHost + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsDestHost + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsPid + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsPid + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsResourceUsage + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsResourceUsage + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsExitStatus + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsExitStatus + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsErrorDesc + + http://egee.cesnet.cz/en/Schema/LB/Attributes:pbsErrorDesc + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorStatus + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorStatus + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorUniverse + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorUniverse + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorOwner + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorOwner + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorPreempting + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorPreempting + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorShadowPid + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorShadowPid + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorShadowExitStatus + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorShadowExitStatus + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorStarterPid + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorStarterPid + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorStarterExitStatus + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorStarterExitStatus + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorJobPid + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorJobPid + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorJobExitStatus + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorJobExitStatus + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorDestHost + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorDestHost + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorReason + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorReason + YES + YES + + - http://egee.cesnet.cz/en/Schema/LB/Attributes:condorErrorDesc + + http://egee.cesnet.cz/en/Schema/LB/Attributes:condorErrorDesc + YES + YES + + @@ -159,10 +515,9 @@ - http://egee.cesnet.cz/en/Schema/LB/Attributes:user - http://egee.cesnet.cz/en/Schema/LB/Attributes:CE - http://egee.cesnet.cz/en/Schema/LB/Attributes:VO - http://egee.cesnet.cz/en/Schema/LB/Attributes:finalStatus + http://egee.cesnet.cz/en/Schema/LB/Attributes:owner + http://egee.cesnet.cz/en/Schema/LB/Attributes:ceNode + http://egee.cesnet.cz/en/Schema/LB/Attributes:status diff --git a/org.glite.jp.index/config/glite-jpis-test-config.xml b/org.glite.jp.index/config/glite-jpis-test-config.xml index c860037..c5a4d78 100644 --- a/org.glite.jp.index/config/glite-jpis-test-config.xml +++ b/org.glite.jp.index/config/glite-jpis-test-config.xml @@ -2,24 +2,96 @@ - http://egee.cesnet.cz/en/Schema/JP/System:owner - http://egee.cesnet.cz/en/Schema/JP/System:jobId - http://egee.cesnet.cz/en/Schema/JP/System:regtime - http://egee.cesnet.cz/en/Schema/LB/Attributes:user - http://egee.cesnet.cz/en/Schema/LB/Attributes:aTag - http://egee.cesnet.cz/en/Schema/LB/Attributes:eNodes - http://egee.cesnet.cz/en/Schema/LB/Attributes:RB - http://egee.cesnet.cz/en/Schema/LB/Attributes:CE - http://egee.cesnet.cz/en/Schema/LB/Attributes:UIHost - http://egee.cesnet.cz/en/Schema/LB/Attributes:CPUTime - http://egee.cesnet.cz/en/Schema/LB/Attributes:NProc - http://egee.cesnet.cz/en/Schema/LB/Attributes:finalStatus - http://egee.cesnet.cz/en/Schema/LB/Attributes:finalStatusDate - http://egee.cesnet.cz/en/Schema/LB/Attributes:retryCount - http://egee.cesnet.cz/en/Schema/LB/Attributes:jobType - http://egee.cesnet.cz/en/Schema/LB/Attributes:nsubjobs - http://egee.cesnet.cz/en/Schema/LB/Attributes:lastStatusHistory - http://egee.cesnet.cz/en/Schema/LB/Attributes:fullStatusHistory + + http://egee.cesnet.cz/en/Schema/JP/System:owner + NO + YES + + + http://egee.cesnet.cz/en/Schema/JP/System:jobId + NO + YES + + + http://egee.cesnet.cz/en/Schema/JP/System:regtime + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:user + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:aTag + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:eNodes + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:RB + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:CE + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:UIHost + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:CPUTime + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:NProc + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:finalStatus + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:finalStatusDate + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:retryCount + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:jobType + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:nsubjobs + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:lastStatusHistory + NO + YES + + + http://egee.cesnet.cz/en/Schema/LB/Attributes:fullStatusHistory + NO + YES + http://egee.cesnet.cz/en/Schema/JP/System:owner diff --git a/org.glite.lb.state-machine/Makefile b/org.glite.lb.state-machine/Makefile index cac5f1c..ef277cb 100644 --- a/org.glite.lb.state-machine/Makefile +++ b/org.glite.lb.state-machine/Makefile @@ -80,7 +80,8 @@ install: install -m 644 job_attrs2.h ${PREFIX}/include/glite/lb clean: - rm -rvf .libs *.o *.lo ${PLUGIN_LIB} ${MACHINE_LIB} job_attrs.h job_attrs2.h lb-job-attrs2.xsd + rm -rvf .libs *.o *.lo ${PLUGIN_LIB} ${MACHINE_LIB} + rm -rfv job_attrs.h job_attrs2.h lb-job-attrs2.xsd glite-jpis-config.xml rm -rvf log.xml project/ rpmbuild/ RPMS/ tgz/ %.c: %.c.T @@ -113,5 +114,5 @@ job_attrs.h: lb-job-attrs.xsd job_attrs.xsl job_attrs2.h: lb-job-attrs2.xsd job_attrs2.xsl ${XSLTPROC} ../src/job_attrs2.xsl $< >$@ -jpis_config.xml: lb-job-attrs2.xsd jpis_config.xsl +glite-jpis-config.xml: lb-job-attrs2.xsd jpis_config.xsl ${XSLTPROC} ../src/jpis_config.xsl lb-job-attrs2.xsd >$@ diff --git a/org.glite.lb.state-machine/src/jpis_config.xsl b/org.glite.lb.state-machine/src/jpis_config.xsl index b9adaa3..a375e58 100644 --- a/org.glite.lb.state-machine/src/jpis_config.xsl +++ b/org.glite.lb.state-machine/src/jpis_config.xsl @@ -25,6 +25,7 @@ <!-- <attrs><name>http://egee.cesnet.cz/en/Schema/JP/System:jobId</name></attrs> <attrs><name>http://egee.cesnet.cz/en/Schema/JP/System:owner</name></attrs> + <attrs><name>http://egee.cesnet.cz/en/Schema/JP/System:regtime</name></attrs> --> @@ -33,10 +34,9 @@ <!--<indexedAttrs>http://egee.cesnet.cz/en/Schema/JP/System:owner</indexedAttrs>--> <!-- internal attribute (index replacement) --> <!--<indexedAttrs>http://egee.cesnet.cz/en/Schema/JP/System:jobId</indexedAttrs>--> - <indexedAttrs>http://egee.cesnet.cz/en/Schema/LB/Attributes:user</indexedAttrs> - <indexedAttrs>http://egee.cesnet.cz/en/Schema/LB/Attributes:CE</indexedAttrs> - <indexedAttrs>http://egee.cesnet.cz/en/Schema/LB/Attributes:VO</indexedAttrs> - <indexedAttrs>http://egee.cesnet.cz/en/Schema/LB/Attributes:finalStatus</indexedAttrs> + <indexedAttrs>http://egee.cesnet.cz/en/Schema/LB/Attributes:owner</indexedAttrs> + <indexedAttrs>http://egee.cesnet.cz/en/Schema/LB/Attributes:ceNode</indexedAttrs> + <indexedAttrs>http://egee.cesnet.cz/en/Schema/LB/Attributes:status</indexedAttrs> <!-- List of type plugins --> <plugins></plugins> @@ -61,7 +61,12 @@ <!-- --> - <attrs><name>http://egee.cesnet.cz/en/Schema/LB/Attributes:</name></attrs> + <attrs> + <name>http://egee.cesnet.cz/en/Schema/LB/Attributes:</name> + <multival>YES</multival> + <queryable>YES</queryable> + </attrs> + -- 1.8.2.3