Author: pramirez
Date: Wed Apr 3 20:06:50 2013
New Revision: 1464186
URL: http://svn.apache.org/r1464186
Log:
OODT-569 First cut at adding PCS to RADiX
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/pom.xml
(with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/assembly/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/assembly/assembly.xml
(with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_ll
(with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_stat
(with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_trace
(with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/etc/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/etc/logging.properties
(with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-crawlers.xml
(with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-ll-conf.xml
(with props)
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-workflow-statuses.xml
(with props)
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/pom.xml
URL:
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/pom.xml?rev=1464186&view=auto
==============================================================================
---
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/pom.xml
(added)
+++
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/pom.xml
Wed Apr 3 20:06:50 2013
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>${groupId}</groupId>
+ <artifactId>${rootArtifactId}</artifactId>
+ <version>${version}</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <name>PCS Config (Apache OODT)</name>
+ <artifactId>${rootArtifactId}-${artifactId}</artifactId>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>dist-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>${groupId}</groupId>
+ <artifactId>${rootArtifactId}-extensions</artifactId>
+ <version>${project.parent.version}</version>
+ <type>jar</type>
+ <scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>cas-filemgr</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>pcs-core</artifactId>
+ <version>${oodt.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+</project>
Propchange:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/pom.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/assembly/assembly.xml
URL:
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/assembly/assembly.xml?rev=1464186&view=auto
==============================================================================
---
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/assembly/assembly.xml
(added)
+++
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/assembly/assembly.xml
Wed Apr 3 20:06:50 2013
@@ -0,0 +1,75 @@
+<assembly>
+ <id>bin</id>
+ <formats>
+ <format>tar.gz</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <baseDirectory>pcs</baseDirectory>
+ <includeSiteDirectory>false</includeSiteDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>${basedir}</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>LICENSE.txt</include>
+ <include>CHANGES.txt</include>
+ </includes>
+ <fileMode>775</fileMode>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/bin</directory>
+ <outputDirectory>pcs/bin</outputDirectory>
+ <includes/>
+ <fileMode>775</fileMode>
+ </fileSet>
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory>pcs/logs</outputDirectory>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory>pcs/run</outputDirectory>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/etc</directory>
+ <outputDirectory>pcs/etc</outputDirectory>
+ <includes>
+ <include>**.properties</include>
+ <include>**.xml</include>
+ </includes>
+ <fileMode>664</fileMode>
+ <directoryMode>775</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/policy</directory>
+ <outputDirectory>pcs/policy</outputDirectory>
+ <includes>
+ <include>**/**.xml</include>
+ </includes>
+ <fileMode>664</fileMode>
+ <directoryMode>775</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>target/site/apidocs</directory>
+ <filtered>false</filtered>
+ <outputDirectory>doc</outputDirectory>
+ <excludes/>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>pcs/lib</outputDirectory>
+ <unpack>false</unpack>
+ <useProjectArtifact>true</useProjectArtifact>
+ <useTransitiveDependencies>true</useTransitiveDependencies>
+ <unpackOptions/>
+ </dependencySet>
+ </dependencySets>
+</assembly>
+
Propchange:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/assembly/assembly.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_ll
URL:
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_ll?rev=1464186&view=auto
==============================================================================
---
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_ll
(added)
+++
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_ll
Wed Apr 3 20:06:50 2013
@@ -0,0 +1,47 @@
+#!/bin/tcsh
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+# Tool: Long lister
+# Purpose: Provide metadata information for all files in a directory.
+# Interface: Command-line. If no arguments provided, assume the current
+# directory. Arguments can be a directory or a filename specification
+# with wildcards.
+# Output: Text to standard out. One line per file. Fields of line
+# (tab-separated):
+# Filename
+# Test Tag(s)
+# Test Counter(s)
+# Subtest tag(s)
+# DataStartTime
+# DataEndTime
+#
+# Note this behavior can be overriden by specifications in the pcs-ll-conf.xml
+# file.
+#
+# Sample usage: ./pcs_ll
+
+
+set ORIG_DIR = `pwd`
+set DIR = `dirname $0`
+cd $DIR
+set DIR_PATH = `pwd`
+cd $ORIG_DIR
+
+java -Djava.util.logging.config.file=$DIR_PATH/../etc/logging.properties \
+
-Djava.ext.dirs=$DIR_PATH/../lib:$DIR_PATH/../../filemgr/lib:$DIR_PATH/../../workflow/lib
\
+ org.apache.oodt.pcs.tools.PCSLongLister \
+ $FILEMGR_URL $DIR_PATH/../policy/pcs-ll-conf.xml $argv[2-$#argv]
Propchange:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_ll
------------------------------------------------------------------------------
svn:executable = *
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_stat
URL:
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_stat?rev=1464186&view=auto
==============================================================================
---
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_stat
(added)
+++
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_stat
Wed Apr 3 20:06:50 2013
@@ -0,0 +1,78 @@
+#!/bin/tcsh
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+# A tool to provide a report of the health of the PCS.
+# Example report:
+#
+# --------------------------------------
+# PCS Health Monitor Report
+# Generated on: 2007-07-12T10:56:23.000Z
+#
+# Service Status:
+#
+# File Manager: [http://vostok:9000]: UP
+# Workflow Manager: [http://vostok:9001]: DOWN
+# Resource Manager: [http://vostok:9002]: UP
+# > batch stub: [http://compute-0-9:2001]: UP
+# > batch stub: [http://compute-0-10:2001]: UP
+#
+# Crawlers:
+# CPTOverview: [http://flatiron:9030]: UP
+# CPTHeliostat: [http://flatiron:9031]: DOWN
+#
+# PCS Health:
+#
+# Files:
+# --------
+# last product ingested: oco_L1aRad01wdk_90233_070604010005.hdf at
2007-06-04T10:00:00.000Z
+#
+# Jobs:
+# --------
+# 10 tasks QUEUED
+# 9 tasks CRAWLING
+# 1 tasks PGE EXEC
+#
+# Ingest:
+# --------
+# CPTOverview:
+#
+# number of crawls: 10
+# average crawl time (ms): 50
+#
+# CPTHeliostat:
+#
+# number of crawls: 56
+# average crawl time (ms): 10
+# --------------------------------------
+#
+# Sample usage: ./pcs_stat
+
+set ORIG_DIR = `pwd`
+set DIR = `dirname $0`
+cd $DIR
+set DIR_PATH = `pwd`
+cd $ORIG_DIR
+
+java -Djava.util.logging.config.file=$DIR_PATH/../etc/logging.properties \
+
-Djava.ext.dirs=$DIR_PATH/../lib:$DIR_PATH/../../filemgr/lib:$DIR_PATH/../workflow/lib:$DIR_PATH/../../resmgr/lib
\
+
-Dorg.apache.oodt.cas.filemgr.properties=$DIR_PATH/../../filemgr/etc/filemgr.properties
\
+ org.apache.oodt.pcs.tools.PCSHealthMonitor \
+ $FILEMGR_URL \
+ $WORKFLOW_URL \
+ $RESMGR_URL \
+ $DIR_PATH/../policy/pcs-crawlers.xml \
+ $DIR_PATH/../policy/pcs-workflow-statuses.xml
Propchange:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_stat
------------------------------------------------------------------------------
svn:executable = *
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_trace
URL:
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_trace?rev=1464186&view=auto
==============================================================================
---
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_trace
(added)
+++
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_trace
Wed Apr 3 20:06:50 2013
@@ -0,0 +1,40 @@
+#!/bin/tcsh
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+# PCS Trace utility to discover product information including lineage
+# upstream and downstream, metadata, pipeline information and the like
+#
+# Sample usage: ./pcs_trace oco_L033Sun01Sun_91601_070922054839.pkt
+
+
+set DIR = `dirname $0`
+cd $DIR
+set DIR_PATH = `pwd`
+
+if ( $#argv != 1 ) then
+ echo "Usage: $0 <product>"
+ exit 1
+else
+ java
-Djava.ext.dirs=$DIR_PATH/../lib:$DIR_PATH/../../filemgr/lib:$DIR_PATH/../../workflow/lib
\
+ -Djava.util.logging.config.file=$DIR_PATH/../etc/logging.properties \
+
-Dorg.apache.oodt.cas.filemgr.properties=$DIR_PATH/../../filemgr/etc/filemgr.properties
\
+ org.apache.oodt.pcs.tools.PCSTrace \
+ --fm $FILEMGR_URL \
+ --wm $WORKFLOW_URL \
+ --product $1 \
+ --enableNonCat
+endif
Propchange:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/bin/pcs_trace
------------------------------------------------------------------------------
svn:executable = *
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/etc/logging.properties
URL:
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/etc/logging.properties?rev=1464186&view=auto
==============================================================================
---
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/etc/logging.properties
(added)
+++
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/etc/logging.properties
Wed Apr 3 20:06:50 2013
@@ -0,0 +1,48 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Specify the handlers to create in the root logger
+# (all loggers are children of the root logger)
+# The following creates one handlers
+handlers = java.util.logging.ConsoleHandler
+
+# Set the default logging level for the root logger
+.level = ALL
+
+# Set the default logging level for new ConsoleHandler instances
+java.util.logging.ConsoleHandler.level = ALL
+
+# Set the default formatter for new ConsoleHandler instances
+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+
+# Set the default logging levels
+org.apache.oodt.pcs.level = SEVERE
+org.apache.oodt.pcs.util.level = SEVERE
+org.apache.oodt.pcs.tools.level = SEVERE
+
+# set logging levels for FM interface
+org.apache.oodt.cas.filemgr.system.level = SEVERE
+org.apache.oodt.cas.pge.util.level = OFF
+
+# set logging levels for WM interface
+org.apache.oodt.cas.workflow.system.level = OFF
+org.apache.oodt.cas.workflow.instrepo.level = OFF
+
+# control the underlying commons-httpclient transport layer for xmlrpc
+org.apache.commons.httpclient.level = OFF
+httpclient.wire.header.level = OFF
+httpclient.wire.level = OFF
+sun.net.www.protocol.http.level = OFF
+
Propchange:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/etc/logging.properties
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-crawlers.xml
URL:
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-crawlers.xml?rev=1464186&view=auto
==============================================================================
---
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-crawlers.xml
(added)
+++
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-crawlers.xml
Wed Apr 3 20:06:50 2013
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+Author: Chris Mattmann
+
+This file defines what ingest crawlers are being used by the PCS.
+This file is used in the PCSHealthMonitor tool.
+-->
+<input>
+
+ <!--
+ Here are global properties for the
+ crawler. These properties are environment
+ variable replaced.
+
+ The only current property is:
+
+ Hostname: the default hostname that the crawler
+ daemons are operating on.
+ -->
+ <group name="CrawlProperties">
+ <scalar name="Hostname">localhost</scalar>
+ </group>
+
+ <!-- Here is a set of scalars where
+ the scalar:
+
+ name: the name of the crawler to monitor status for.
+ value: the port number that the crawler daemon to
+ monitor is running on.
+ -->
+ <group name="CrawlerInfo">
+ <scalar name="Crawler1">9020</scalar>
+ </group>
+
+</input>
\ No newline at end of file
Propchange:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-crawlers.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-ll-conf.xml
URL:
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-ll-conf.xml?rev=1464186&view=auto
==============================================================================
---
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-ll-conf.xml
(added)
+++
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-ll-conf.xml
Wed Apr 3 20:06:50 2013
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+Author: Chris Mattmann
+
+This file configures the PCS long lister, defining what product types
+to exclude from the listing, what field names to include as listing
+columns, and which of those field names are collection tags that group
+products together.
+-->
+<input>
+
+ <!--
+ Defines metadata fields per product to show as
+ columns in the long listing. The scalar name
+ attribute is the product met field name, and
+ the value for the scalar is the name that the
+ long lister displays while listing. The vector of
+ ordered met keys is the display order in the listing.
+ -->
+ <group name="MetFieldColumns">
+ <vector name="OrderedMetKeys">
+ <element>Filename</element>
+ <element>TestTag</element>
+ <element>SubTestTag</element>
+ <element>TestCounter</element>
+ <element>StartDateTime</element>
+ <element>EndDateTime</element>
+ </vector>
+
+ <scalar name="Filename">Filename</scalar>
+ <scalar name="TestTag">Test Tag(s)</scalar>
+ <scalar name="SubTestTag">Subtest tag(s)</scalar>
+ <scalar name="TestCounter">Test Counter(s)</scalar>
+ <scalar name="StartDateTime">DataStartTime</scalar>
+ <scalar name="EndDateTime">DataEndTime</scalar>
+ </group>
+
+ <!--
+ Lets the long lister know which fields are
+ collection fields: that is, fields that group
+ products together. These fields will be used, along
+ with the InputFiles met field, to find descendant
+ files with matching collection field values.
+ -->
+ <group name="CollectionFields">
+ <vector name="FieldNames">
+ <element>TestTag</element>
+ <element>SubTestTag</element>
+ <element>TestCounter</element>
+ </vector>
+ </group>
+
+ <!--
+ If you don't expect all the product types to be
+ listable, you can set an exclude list. This is
+ useful when e.g., some product types are so massive
+ you would never do a long listing on them because
+ the descendant query would take a long time.
+ -->
+ <group name="ExcludedProductTypeList">
+ <vector name="ProductTypes">
+ <element>FTSSpectrum</element>
+ <element>FTSRunlog</element>
+ <element>FTSSunrun</element>
+ <element>PrimaryLog</element>
+ <element>MonitorLog</element>
+ <element>OCOTrendXML</element>
+ <element>SavesetDir</element>
+ <element>FTSIgramDir</element>
+ <element>SavesetInfoDir</element>
+ <element>CPTHeliostat</element>
+ <element>CPTMotor</element>
+ <element>CPTPhotodiode</element>
+ <element>CPTWavemeter</element>
+ <element>CPTETL</element>
+ <element>CPTStep</element>
+ <element>CPTCollimator</element>
+ </vector>
+ </group>
+
+</input>
\ No newline at end of file
Propchange:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-ll-conf.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-workflow-statuses.xml
URL:
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-workflow-statuses.xml?rev=1464186&view=auto
==============================================================================
---
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-workflow-statuses.xml
(added)
+++
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-workflow-statuses.xml
Wed Apr 3 20:06:50 2013
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+Author: Chris Mattmann
+
+This file defines the workflow statuses that we care about
+in the PCS Health Monitor tool.
+-->
+<input>
+
+ <!-- this information defines the
+ valid workflow states that we want to
+ check job status for.
+ -->
+ <group name="WorkflowStatesGroup">
+ <vector name="States">
+ <element>QUEUED</element>
+ <element>RSUBMIT</element>
+ <element>BUILDING CONFIG FILE</element>
+ <element>PGE EXEC</element>
+ <element>CRAWLING</element>
+ <element>STAGING INPUT</element>
+ <element>FINISHED</element>
+ <element>STARTED</element>
+ <element>PAUSED</element>
+ </vector>
+ </group>
+</input>
\ No newline at end of file
Propchange:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pcs/src/main/resources/policy/pcs-workflow-statuses.xml
------------------------------------------------------------------------------
svn:keywords = Id Revision