From ced34f41c1dd51b8479ccf4b4693c24c634834df Mon Sep 17 00:00:00 2001 From: Ian Young Date: Fri, 12 Jun 2009 16:48:08 +0000 Subject: [PATCH] Metadata import transform. Works on Shib 2 IdPs and selected other things. Definitely a work in progress. --- build/import.pl | 14 +++ build/import.xsl | 238 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 252 insertions(+) create mode 100755 build/import.pl create mode 100644 build/import.xsl diff --git a/build/import.pl b/build/import.pl new file mode 100755 index 00000000..b5a61672 --- /dev/null +++ b/build/import.pl @@ -0,0 +1,14 @@ +#!/usr/bin/perl -w + +# +# Import an entity metadata fragment file. +# +# This utility is intended for use immediately before checking in a new entity fragment, +# or prior to checking in major changes such as to embedded trust certificates. +# +# The fragment is indicated by a numeric parameter, e.g. 999 would indicate uk000999.xml +# +# ./check_entity 123 +# + +system("java -cp ../bin:../lib/joda-time-1.6.jar -Djava.endorsed.dirs=../endorsed org.apache.xalan.xslt.Process -IN ../entities/import.xml -OUT ../entities/imported.xml -XSL import.xsl"); diff --git a/build/import.xsl b/build/import.xsl new file mode 100644 index 00000000..4e638b71 --- /dev/null +++ b/build/import.xsl @@ -0,0 +1,238 @@ + + + + + + + + + + + + + + + + + + + + + + + *** ENTITY COMMENT GOES HERE *** + + + + + + + + + + + + + + + + + + *** VERIFY OR REMOVE THE FOLLOWING ELEMENT *** + + *** VERIFY OR REMOVE THE FOLLOWING ELEMENT *** + + + + + + + + + + + + + + + + + + + + + + + + + + *** FILL IN *** + *** FILL IN *** + http://*** FILL IN ***/ + + + + + + + + + + + + *** FILL IN *** + *** FILL IN *** + mailto:*** FILL IN *** + + + + + + + + + + + + *** FILL IN *** + *** FILL IN *** + mailto:*** FILL IN *** + + + + + + + + + + + + *** FILL IN *** + *** FILL IN *** + mailto:*** FILL IN *** + + + + + + + + + + + + signing + + + + + + + + + + + + + + + + + + + + + + + + + + + + +