Gesamtprüfung Portal

Über das der build-Datei zugeordnete Szenario ESV-Digital-Vorproduktion-Check-Col-Integrity können die Referenzen für die aktuell abgelegten Produktionsdaten (\\orion2\aruba-files\infopilot\live\app-data\werke) geprüft werden. Dies sollte vor jeder Gesamtindexierung stattfinden.



http://code.esvmedien.de/trac/esv/browser/content-management/projects/ESV-Digital-Vorproduktion/trunk/transformation/xquery/check_col_integrity.xquery

Dabei wird das Folgende geprüft:

  • Ist für jeden Eintrag in der COL-Datei eine Rahmendatei abgelegt.
  • Ist für jede abgelegte Rahmendatei ein Eintrag in der COL-Datei vorhanden.
  • Sind alle in den Rahmendateien referenzierten Dateien abgelegt.
  • Sind alle abgelegten Dateien in den Rahmendateien referenziert.
  • Sind Dokumente innerhalb einer Rahmendatei mehrfach referenziert.

Beispiel für einen erfolgreichen Durchlauf des Portal-Checks:

Buildfile: H:\SVN\Produktion2\trunk\transformation\ant\build.xml

check_col_integrity:
    [apply] ==================== CHECK COL =============================
    [apply] ITEM/@src="hm_0000.xml" OK
    [apply] ITEM/@src="auv_0000.xml" OK
    [apply] ITEM/@src="stm_0000.xml" OK
    [apply] ITEM/@src="esvvs_0000.xml" OK
    [apply] ITEM/@src="esvrs_0000.xml" OK
    [apply] ITEM/@src="amtliche_schreiben_0000.xml" OK
    [apply] ITEM/@src="stbp_0000.xml" OK
    [apply] ITEM/@src="sus_0000.xml" OK
    [apply] ITEM/@src="b9783503126156_0000.xml" OK
    [apply] ITEM/@src="b9783503154487_0000.xml" OK
    [apply] ITEM/@src="b9783503154982_0000.xml" OK
    [apply] ITEM/@src="b9783503156641_0000.xml" OK
    [apply] ITEM/@src="b9783503157853_0000.xml" OK
    [apply] ITEM/@src="b9783503158706_0000.xml" OK
    [apply] ITEM/@src="b9783503158911_0000.xml" OK
    [apply] ITEM/@src="b9783503165476_0000.xml" OK
    [apply] ITEM/@src="b9783503165858_0000.xml" OK
    [apply] ITEM/@src="b9783503166725_0000.xml" OK
    [apply] ITEM/@src="b9783503166732_0000.xml" OK
    [apply] ITEM/@src="b9783503166756_0000.xml" OK
    [apply] ITEM/@src="b9783503166800_0000.xml" OK
    [apply] ITEM/@src="b9783503170074_0000.xml" OK
    [apply] ITEM/@src="b9783503171200_0000.xml" OK
    [apply] ITEM/@src="b9783503174362_0000.xml" OK
    [apply] ITEM/@src="b9783503174508_0000.xml" OK
    [apply] ITEM/@src="b9783503176137_0000.xml" OK
    [apply] ITEM/@src="b9783503176489_0000.xml" OK
    [apply] ITEM/@src="b9783503176649_0000.xml" OK
    [apply] ITEM/@src="b9783503176724_0000.xml" OK
    [apply] ITEM/@src="b9783503176748_0000.xml" OK
    [apply] ITEM/@src="b9783503176847_0000.xml" OK
    [apply] ITEM/@src="b9783503177370_0000.xml" OK
    [apply] ITEM/@src="b9783503177783_0000.xml" OK
    [apply] ITEM/@src="b9783503177967_0000.xml" OK
    [apply] ITEM/@src="b9783503181209_0000.xml" OK
    [apply] ITEM/@src="b9783503187355_0000.xml" OK
    [apply] ITEM/@src="b9783503188857_0000.xml" OK
    [apply] ITEM/@src="b9783503191208_0000.xml" OK
    [apply] ITEM/@src="b9783503191628_0000.xml" OK
    [apply] ITEM/@src="b9783503194131_0000.xml" OK
    [apply] ITEM/@src="b9783503194155_0000.xml" OK
    [apply] ITEM/@src="b9783503194193_0000.xml" OK
    [apply] ITEM/@src="b9783503199457_0000.xml" OK
    [apply] ==================== CHECK COL REV =============================
    [apply] ITEM/@src="amtliche_schreiben_0000.xml" OK
    [apply] ITEM/@src="auv_0000.xml" OK
    [apply] ITEM/@src="b9783503126156_0000.xml" OK
    [apply] ITEM/@src="b9783503154487_0000.xml" OK
    [apply] ITEM/@src="b9783503154982_0000.xml" OK
    [apply] ITEM/@src="b9783503156641_0000.xml" OK
    [apply] ITEM/@src="b9783503157853_0000.xml" OK
    [apply] ITEM/@src="b9783503158706_0000.xml" OK
    [apply] ITEM/@src="b9783503158911_0000.xml" OK
    [apply] ITEM/@src="b9783503165476_0000.xml" OK
    [apply] ITEM/@src="b9783503165858_0000.xml" OK
    [apply] ITEM/@src="b9783503166725_0000.xml" OK
    [apply] ITEM/@src="b9783503166732_0000.xml" OK
    [apply] ITEM/@src="b9783503166756_0000.xml" OK
    [apply] ITEM/@src="b9783503166800_0000.xml" OK
    [apply] ITEM/@src="b9783503170074_0000.xml" OK
    [apply] ITEM/@src="b9783503171200_0000.xml" OK
    [apply] ITEM/@src="b9783503174362_0000.xml" OK
    [apply] ITEM/@src="b9783503174508_0000.xml" OK
    [apply] ITEM/@src="b9783503176137_0000.xml" OK
    [apply] ITEM/@src="b9783503176489_0000.xml" OK
    [apply] ITEM/@src="b9783503176649_0000.xml" OK
    [apply] ITEM/@src="b9783503176724_0000.xml" OK
    [apply] ITEM/@src="b9783503176748_0000.xml" OK
    [apply] ITEM/@src="b9783503176847_0000.xml" OK
    [apply] ITEM/@src="b9783503177370_0000.xml" OK
    [apply] ITEM/@src="b9783503177783_0000.xml" OK
    [apply] ITEM/@src="b9783503177967_0000.xml" OK
    [apply] ITEM/@src="b9783503181209_0000.xml" OK
    [apply] ITEM/@src="b9783503187355_0000.xml" OK
    [apply] ITEM/@src="b9783503188857_0000.xml" OK
    [apply] ITEM/@src="b9783503191208_0000.xml" OK
    [apply] ITEM/@src="b9783503191628_0000.xml" OK
    [apply] ITEM/@src="b9783503194131_0000.xml" OK
    [apply] ITEM/@src="b9783503194155_0000.xml" OK
    [apply] ITEM/@src="b9783503194193_0000.xml" OK
    [apply] ITEM/@src="b9783503199457_0000.xml" OK
    [apply] ITEM/@src="esvrs_0000.xml" OK
    [apply] ITEM/@src="esvvs_0000.xml" OK
    [apply] ITEM/@src="hm_0000.xml" OK
    [apply] ITEM/@src="stbp_0000.xml" OK
    [apply] ITEM/@src="stm_0000.xml" OK
    [apply] ITEM/@src="sus_0000.xml" OK
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: amtliche_schreiben\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: auv\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503126156\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503154487\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503154982\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503156641\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503157853\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503158706\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503158911\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503165476\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503165858\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503166725\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503166732\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503166756\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503166800\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503170074\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503171200\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503174362\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503174508\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503176137\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503176489\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503176649\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503176724\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503176748\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503176847\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503177370\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503177783\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503177967\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503181209\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503187355\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503188857\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503191208\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503191628\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503194131\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503194155\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503194193\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: b9783503199457\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: esvrs\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: esvvs\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: hm\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: stbp\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: stm\
    [apply] ==================== CHECK WERK ==========================
    [apply] ORDNER: sus\

BUILD SUCCESSFUL
Total time: 8 minutes 58 seconds