From e96be8dbdeb6446932839fc1415996a9e4f34bdd Mon Sep 17 00:00:00 2001 From: Ian Young Date: Mon, 18 Apr 2011 14:27:42 +0000 Subject: [PATCH] Add a first look at the SWAMID federation. Refactor all the mdx import flows, dividing multi-use beans from the import flow itself. Rename a lot of files and Ant targets for consistency. /feds/ has become /mdx/, in particular. --- build.xml | 229 ++++-------------- feds/clean_import.xsl => mdx/clean-import.xsl | 31 ++- feds/common_beans.xml => mdx/common-beans.xml | 22 +- .../edugain/edugain-beans.xml | 33 +-- mdx/edugain/edugain-import.xml | 38 +++ {feds => mdx}/edugain/edugain-signer.crt | 0 .../edugate/edugate-beans.xml | 33 +-- mdx/edugate/edugate-import.xml | 34 +++ {feds => mdx}/edugate/metadata-signer.crt | 0 {feds => mdx}/incommon/incommon.pem | 0 mdx/swamid/md-signer.crt | 21 ++ mdx/swamid/swamid-beans.xml | 40 +++ mdx/swamid/swamid-import.xml | 34 +++ mdx/uk/uk-beans.xml | 22 ++ feds/uk/collect.xml => mdx/uk/uk-collect.xml | 11 +- 15 files changed, 288 insertions(+), 260 deletions(-) rename feds/clean_import.xsl => mdx/clean-import.xsl (65%) rename feds/common_beans.xml => mdx/common-beans.xml (92%) rename feds/edugain/import.xml => mdx/edugain/edugain-beans.xml (58%) create mode 100644 mdx/edugain/edugain-import.xml rename {feds => mdx}/edugain/edugain-signer.crt (100%) rename feds/edugate/import.xml => mdx/edugate/edugate-beans.xml (58%) create mode 100644 mdx/edugate/edugate-import.xml rename {feds => mdx}/edugate/metadata-signer.crt (100%) rename {feds => mdx}/incommon/incommon.pem (100%) create mode 100644 mdx/swamid/md-signer.crt create mode 100644 mdx/swamid/swamid-beans.xml create mode 100644 mdx/swamid/swamid-import.xml create mode 100644 mdx/uk/uk-beans.xml rename feds/uk/collect.xml => mdx/uk/uk-collect.xml (90%) diff --git a/build.xml b/build.xml index e06d1603..08f9f8a6 100644 --- a/build.xml +++ b/build.xml @@ -42,7 +42,7 @@ --> - + - - - - - - - - - - - - - - - - - - - - + + @@ -999,43 +974,21 @@ - - Verifying metadata held at ${edugate.metadata.location} - - - - - - - - - - - - - Verification completed. - + + + - - Importing Edugate metadata from ${edugate.metadata.location} - - - - - - - - Import completed. + + Running Edugate import flow. + + + Completed Edugate import flow. - - - - - - - - - - - - - - - - - + - - Verifying metadata held at ${incommon.metadata.location} - - - - - - - - - - - - - Verification completed. - - - - - - - - - - - - - - - - - - - - + - - Verifying metadata held at ${edugain.metadata.location} - - - - - - - - - - - - - Verification completed. - - - - Importing eduGAIN metadata from ${edugain.metadata.location} - - - - - - - - Import completed. + + Running eduGAIN import flow. + + + Completed eduGAIN import flow. + + + + + + Running SWAMID import flow. + + + Completed SWAMID import flow. + + - + Collecting UK fragment files. - + - + Collection completed. diff --git a/feds/clean_import.xsl b/mdx/clean-import.xsl similarity index 65% rename from feds/clean_import.xsl rename to mdx/clean-import.xsl index bdb7edf1..30300433 100644 --- a/feds/clean_import.xsl +++ b/mdx/clean-import.xsl @@ -1,20 +1,21 @@ @@ -33,6 +34,28 @@ + + + + + + + + + + + + diff --git a/feds/common_beans.xml b/mdx/common-beans.xml similarity index 92% rename from feds/common_beans.xml rename to mdx/common-beans.xml index 5f981e21..59f0fb46 100644 --- a/feds/common_beans.xml +++ b/mdx/common-beans.xml @@ -120,19 +120,23 @@ - + - + + + + + + + + + diff --git a/feds/edugain/import.xml b/mdx/edugain/edugain-beans.xml similarity index 58% rename from feds/edugain/import.xml rename to mdx/edugain/edugain-beans.xml index a62e6217..8f542cfb 100644 --- a/feds/edugain/import.xml +++ b/mdx/edugain/edugain-beans.xml @@ -1,6 +1,6 @@ - - - @@ -26,7 +21,7 @@ - + @@ -39,28 +34,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mdx/edugain/edugain-import.xml b/mdx/edugain/edugain-import.xml new file mode 100644 index 00000000..466ea41a --- /dev/null +++ b/mdx/edugain/edugain-import.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/feds/edugain/edugain-signer.crt b/mdx/edugain/edugain-signer.crt similarity index 100% rename from feds/edugain/edugain-signer.crt rename to mdx/edugain/edugain-signer.crt diff --git a/feds/edugate/import.xml b/mdx/edugate/edugate-beans.xml similarity index 58% rename from feds/edugate/import.xml rename to mdx/edugate/edugate-beans.xml index 49c653cd..9625056a 100644 --- a/feds/edugate/import.xml +++ b/mdx/edugate/edugate-beans.xml @@ -1,15 +1,10 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/feds/edugate/metadata-signer.crt b/mdx/edugate/metadata-signer.crt similarity index 100% rename from feds/edugate/metadata-signer.crt rename to mdx/edugate/metadata-signer.crt diff --git a/feds/incommon/incommon.pem b/mdx/incommon/incommon.pem similarity index 100% rename from feds/incommon/incommon.pem rename to mdx/incommon/incommon.pem diff --git a/mdx/swamid/md-signer.crt b/mdx/swamid/md-signer.crt new file mode 100644 index 00000000..16ac8288 --- /dev/null +++ b/mdx/swamid/md-signer.crt @@ -0,0 +1,21 @@ +-----BEGIN CERTIFICATE----- +MIIDdTCCAl0CBEY7EskwDQYJKoZIhvcNAQEEBQAwfzELMAkGA1UEBhMCU0UxEjAQ +BgNVBAgTCVN0b2NraG9sbTESMBAGA1UEBxMJU3RvY2tob2xtMREwDwYDVQQKEwhT +V0FNSS5zZTEPMA0GA1UECxMGU1dBTUlEMSQwIgYDVQQDExtTV0FNSUQgbWV0YWRh +dGEgc2lnbmVyIHYxLjEwHhcNMDcwNTA0MTEwMjMzWhcNMTcwNTAxMTEwMjMzWjB/ +MQswCQYDVQQGEwJTRTESMBAGA1UECBMJU3RvY2tob2xtMRIwEAYDVQQHEwlTdG9j +a2hvbG0xETAPBgNVBAoTCFNXQU1JLnNlMQ8wDQYDVQQLEwZTV0FNSUQxJDAiBgNV +BAMTG1NXQU1JRCBtZXRhZGF0YSBzaWduZXIgdjEuMTCCASIwDQYJKoZIhvcNAQEB +BQADggEPADCCAQoCggEBAM6wXN3pVCo98SACS6JCHjSlWj83oNL/Ct+a9hmAx1NZ +SKg7lnEJYwWBvzJt5o/47jRQbGm94a45Yy5LVoXq4XyCKINhMxSwbRROvr8Hw6tg +P1Z9dk5Jjejvus3gyaH3+EuEyP4aIjTlgmHDwW6HOv/m/4bOXSHB4Pisn7aocqU7 +kjpOn1f0cGodWOgGO4tP7KXs6ndcLhIkW+e/B80WEr0kocuc/pvx+aLuKSkttk/A +fP1DFs5sqX31RXQKGrB/uEEYVv1Qvneig+RXGSbqk2Tab3BcLE/Cjnfi9Q9cH/jR +eL/YSSafGtl+EBgXKszxjMtELhiEWsL9RrMu1HUkBusCAwEAATANBgkqhkiG9w0B +AQQFAAOCAQEAkXaa61gp/lkEDNRFc0bzH3ZyoUFgol64F1zdAwBS3xnsCkTnAXt3 +p452daEyz+0UR5J/BruMOyvR57w1m7ckVnx/sAgRgaD6gQlUWehjKPEsx8o5iDfO +5R1V5Rn2o7+0VuIJDDObEAtMwqn2Nk6TTzsUVfz5y9nUQAxBz3EqXnnSgRwqSwRF +yiVkpVfwtUHIolAf6O2N9Fg1jqoqt4mQCOyRZpD0/5SRYESTY6TJjTmvoh+zOPlI +yEiw+Zrl/FWjXtBnRnz8AVT5NRzYiMHdbTHs0Fh6elsb5b9gTBo7j6+t36m7oo2K +DaWWpMWvuWHugEqvIAXDCI/HzTbbiWm9NQ== +-----END CERTIFICATE----- diff --git a/mdx/swamid/swamid-beans.xml b/mdx/swamid/swamid-beans.xml new file mode 100644 index 00000000..4d2e6add --- /dev/null +++ b/mdx/swamid/swamid-beans.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mdx/swamid/swamid-import.xml b/mdx/swamid/swamid-import.xml new file mode 100644 index 00000000..9abf95bd --- /dev/null +++ b/mdx/swamid/swamid-import.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mdx/uk/uk-beans.xml b/mdx/uk/uk-beans.xml new file mode 100644 index 00000000..1b0edcfc --- /dev/null +++ b/mdx/uk/uk-beans.xml @@ -0,0 +1,22 @@ + + + + + + + diff --git a/feds/uk/collect.xml b/mdx/uk/uk-collect.xml similarity index 90% rename from feds/uk/collect.xml rename to mdx/uk/uk-collect.xml index 1632e0ec..97a63f84 100644 --- a/feds/uk/collect.xml +++ b/mdx/uk/uk-collect.xml @@ -12,8 +12,13 @@ - + + + + @@ -35,10 +40,6 @@ - - - -