Commit 9f674898 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Adds support for xml extensions.

parent 1a0459e1
Pipeline #11595 passed with stages
in 5 minutes and 5 seconds
......@@ -21,9 +21,12 @@ package org.memobase
import com.github.doyaaaaaken.kotlincsv.dsl.csvReader
import com.github.doyaaaaaken.kotlincsv.util.MalformedCSVException
import java.io.File
import java.io.IOException
import java.io.InputStream
import javax.xml.parsers.DocumentBuilderFactory
import org.apache.logging.log4j.LogManager
import org.apache.poi.ss.usermodel.WorkbookFactory
import org.xml.sax.SAXException
class FileValidation {
private val log = LogManager.getLogger("TextFileValidationService")
......@@ -32,7 +35,8 @@ class FileValidation {
Pair(Extensions.csv, Formats.csv),
Pair(Extensions.tsv, Formats.tsv),
Pair(Extensions.xlsx, Formats.xlsx),
Pair(Extensions.xls, Formats.xls)
Pair(Extensions.xls, Formats.xls),
Pair(Extensions.xml, Formats.xml)
)
fun validateExtension(file: File): String {
......@@ -95,6 +99,34 @@ class FileValidation {
)
}
}
Formats.xml -> {
inputStream.use {
val dbFactory = DocumentBuilderFactory.newInstance()
val dBuilder = dbFactory.newDocumentBuilder()
try {
dBuilder.parse(it)
Pair(Message(format, file.path), Report(
id = file.name,
status = ReportStatus.success,
message = ReportMessages.validatedFile(file.path, format)
))
} catch (ex: IOException) {
Pair(Message(Formats.error, file.path),
Report(
id = file.name,
status = ReportStatus.failure,
message = ReportMessages.formatError(file.path, format, ex.localizedMessage)
))
} catch (ex: SAXException) {
Pair(Message(Formats.error, file.path),
Report(
id = file.name,
status = ReportStatus.failure,
message = ReportMessages.formatError(file.path, format, ex.localizedMessage)
))
}
}
}
else -> Pair(
Message(Formats.error, file.path),
Report(
......
......@@ -24,6 +24,7 @@ object Formats {
const val xlsx = "XLSX"
const val xls = "XLS"
const val ods = "ODS"
const val xml = "XML"
const val invalid = "INVALID"
const val error = "ERROR"
}
......@@ -34,6 +35,7 @@ object Extensions {
const val xlsx = "xlsx"
const val xls = "xls"
const val ods = "ods"
const val xml = "xml"
}
object ReportStatus {
......
......@@ -50,7 +50,9 @@ class Tests {
Pair("/memobase/test_record_set_3", "invalid.csv"),
Pair("/memobase/test_record_set_4", "file.txt"),
Pair("/memobase/test_record_set_5", "20190906_Brandt_Metadaten.xlsx"),
Pair("/memobase/test_record_set_6", "Export_Bilder_der_Arbeit_8.csv")
Pair("/memobase/test_record_set_6", "Export_Bilder_der_Arbeit_8.csv"),
Pair("/memobase/test_record_set_7", "valid_xml.xml"),
Pair("/memobase/test_record_set_8", "invalid.xml")
)
for (pair in files) {
......@@ -211,6 +213,40 @@ class Tests {
status = "FAILURE",
message = "Failed to validate 1 of 1 files."
)
),
TestParams(
"test7.yml",
expectedKey = "valid_xml.xml",
expectedValue = "{\"format\" : \"XML\", \"path\" : \"/memobase/test_record_set_7/valid_xml.xml\"}",
expectedReportValue = Klaxon().toJsonString(
Report(
id = "valid_xml.xml",
status = "SUCCESS",
message = "Validated file at path /memobase/test_record_set_7/valid_xml.xml with format XML."
)
),
expectedProcessReport = Report(
id = "text-file-validation",
status = "SUCCESS",
message = "Successfully validated 1 files."
)
),
TestParams(
"test8.yml",
expectedKey = "invalid.xml",
expectedValue = "{\"format\" : \"ERROR\", \"path\" : \"/memobase/test_record_set_8/invalid.xml\"}",
expectedReportValue = Klaxon().toJsonString(
Report(
id = "invalid.xml",
status = "FAILURE",
message = "XML ERROR: Element type \"foxml:objectProperties\" must be followed by either attribute specifications, \">\" or \"/>\". for file /memobase/test_record_set_8/invalid.xml."
)
),
expectedProcessReport = Report(
id = "text-file-validation",
status = "FAILURE",
message = "Failed to validate 1 of 1 files."
)
)
)
}
<?xml version="1.0" encoding="UTF-8"?>
<foxml:digitalObject VERSION="1.1" PID="memobase:ADG-102821"
xmlns:foxml="info:fedora/fedora-system:def/foxml#"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
<foxml:objectProperties
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Grabung_Castaneda__Siedlung_"/>
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="ADG"/>
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2019-11-08T13:12:48.159Z"/>
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2019-11-08T13:12:48.503Z"/>
</foxml:objectProperties>
<foxml:datastream ID="AUDIT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false">
<foxml:datastreamVersion ID="AUDIT.0" LABEL="Audit Trail for this object" CREATED="2019-11-08T13:12:48.159Z" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
<foxml:xmlContent>
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#">
<audit:record ID="AUDREC1">
<audit:process type="Fedora API-M"/>
<audit:action>addDatastream</audit:action>
<audit:componentID>TRANSFORMED_METADATA_0</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2019-11-08T13:12:48.284Z</audit:date>
<audit:justification></audit:justification>
</audit:record>
<audit:record ID="AUDREC2">
<audit:process type="Fedora API-M"/>
<audit:action>addDatastream</audit:action>
<audit:componentID>THUMBNAIL_0</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2019-11-08T13:12:48.347Z</audit:date>
<audit:justification></audit:justification>
</audit:record>
<audit:record ID="AUDREC3">
<audit:process type="Fedora API-M"/>
<audit:action>modifyDatastreamByValue</audit:action>
<audit:componentID>DC</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2019-11-08T13:12:48.441Z</audit:date>
<audit:justification></audit:justification>
</audit:record>
<audit:record ID="AUDREC4">
<audit:process type="Fedora API-M"/>
<audit:action>addDatastream</audit:action>
<audit:componentID>ACCESSCOPY_0</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2019-11-08T13:12:48.503Z</audit:date>
<audit:justification></audit:justification>
</audit:record>
</audit:auditTrail>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
<foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for this object" CREATED="2019-11-08T13:12:48.159Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="400">
<foxml:xmlContent>
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
<dc:title>Grabung_Castaneda__Siedlung_</dc:title>
<dc:identifier>memobase:ADG-102821</dc:identifier>
</oai_dc:dc>
</foxml:xmlContent>
</foxml:datastreamVersion>
<foxml:datastreamVersion ID="DC.1" LABEL="Dublin Core Record for this object" CREATED="2019-11-08T13:12:48.441Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="607">
<foxml:xmlContent>
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
<dc:title>Grabung Castaneda (Siedlung)</dc:title>
<dc:type>memobase:MemobaseDocumentModel-1.0</dc:type>
<dc:identifier>memobase:ADG-102821</dc:identifier>
<dc:source>102821</dc:source>
<dc:language>en</dc:language>
<dc:relation>memobase:ADG-68432</dc:relation>
<dc:rights>onsite,public</dc:rights>
</oai_dc:dc>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="TRANSFORMED_METADATA_0" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
<foxml:datastreamVersion ID="TRANSFORMED_METADATA_0.0" LABEL="Internal Memobase Metadata" CREATED="2019-11-08T13:12:48.284Z" MIMETYPE="text/xml" FORMAT_URI="urn:ebu:metadata-schema:ebuCore_2012" SIZE="3003">
<foxml:xmlContent>
<ebuCoreMain xmlns="urn:ebu:metadata-schema:ebuCore_2012" xmlns:ns2="http://purl.org/dc/elements/1.1/" xml:lang="de">
<coreMetadata>
<title>
<ns2:title>Grabung Castaneda (Siedlung)</ns2:title>
</title>
<alternativeTitle typeLabel="SerieTitle">
<ns2:title>Grabung Walo Burkart und Karl Keller-Tarnuzzer, Castaneda (Gräberfeld und Siedlung)</ns2:title>
</alternativeTitle>
<creator>
<contactDetails>
<name>[unbekannt]</name>
</contactDetails>
<role typeLabel="Author"></role>
</creator>
<subject typeLabel="Keywords">
<ns2:subject>Ausgrabung, Archäologie</ns2:subject>
</subject>
<description typeLabel="Abstract">
<ns2:description>Feld 1, östlicher Teil von Westen</ns2:description>
</description>
<description typeLabel="Claim">
<ns2:description>Dieses Dokument wurde Dank der Unterstützung von Memoriav erhalten.</ns2:description>
</description>
<description typeLabel="RecordingLocation">
<ns2:description>Castaneda</ns2:description>
</description>
<contributor>
<organisationDetails>
<organisationName>ADG</organisationName>
</organisationDetails>
<role typeLabel="ResponsibleInstitution"></role>
</contributor>
<date>
<created startYear="1942"></created>
</date>
<type>
<genre typeLabel="Grabungsfotografie / Arbeitsfotografie / Sachfotografie"></genre>
</type>
<type>
<objectType typeLabel="photograph"></objectType>
</type>
<format>
<medium typeLabel="[keine Information vorhanden]"></medium>
<imageFormat>
<technicalAttributeString typeLabel="ColorMode">sw</technicalAttributeString>
<technicalAttributeString typeLabel="Remarks">Album-Nr.: A2</technicalAttributeString>
</imageFormat>
</format>
<identifier typeLabel="Original">
<ns2:identifier>102821</ns2:identifier>
<attributor entityId="Provider"></attributor>
</identifier>
<identifier typeLabel="CallNumber">
<ns2:identifier>RM_1_33_6</ns2:identifier>
</identifier>
<identifier typeLabel="Main">
<ns2:identifier>ADG-102821</ns2:identifier>
</identifier>
<isMemberOf>
<ns2:relation>ADG-68432</ns2:relation>
</isMemberOf>
<coverage>
<temporal>
<PeriodOfTime period="1929-1945"></PeriodOfTime>
</temporal>
<spatial>
<location>
<name>Schweiz, Graubünden, Castaneda</name>
</location>
</spatial>
</coverage>
<rights typeLabel="Holder">
<rightsHolder>
<contactDetails>
<name>Archäologischer Dienst Graubünden</name>
</contactDetails>
</rightsHolder>
</rights>
<rights typeLabel="Access">
<ns2:rights>public, onsite</ns2:rights>
</rights>
<rights typeLabel="Usage">
<ns2:rights>Die Nutzungsrechte müssen mit dem Rechtinhaber geklärt werden</ns2:rights>
</rights>
</coreMetadata>
</ebuCoreMain>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="THUMBNAIL_0" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
<foxml:datastreamVersion ID="THUMBNAIL_0.0" LABEL="RM_1_33_6.png" CREATED="2019-11-08T13:12:48.347Z" MIMETYPE="image/png" SIZE="27973">
<foxml:contentLocation TYPE="INTERNAL_ID" REF="memobase:ADG-102821+THUMBNAIL_0+THUMBNAIL_0.0"/>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="ACCESSCOPY_0" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
<foxml:datastreamVersion ID="ACCESSCOPY_0.0" LABEL="RM_1_33_6.jpg" CREATED="2019-11-08T13:12:48.503Z" MIMETYPE="image/jpeg" SIZE="1585055">
<foxml:contentLocation TYPE="INTERNAL_ID" REF="memobase:ADG-102821+ACCESSCOPY_0+ACCESSCOPY_0.0"/>
</foxml:datastreamVersion>
</foxml:datastream>
</foxml:digitalObject>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<foxml:digitalObject VERSION="1.1" PID="memobase:ADG-102821"
xmlns:foxml="info:fedora/fedora-system:def/foxml#"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
<foxml:objectProperties>
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Grabung_Castaneda__Siedlung_"/>
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="ADG"/>
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2019-11-08T13:12:48.159Z"/>
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2019-11-08T13:12:48.503Z"/>
</foxml:objectProperties>
<foxml:datastream ID="AUDIT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false">
<foxml:datastreamVersion ID="AUDIT.0" LABEL="Audit Trail for this object" CREATED="2019-11-08T13:12:48.159Z" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
<foxml:xmlContent>
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#">
<audit:record ID="AUDREC1">
<audit:process type="Fedora API-M"/>
<audit:action>addDatastream</audit:action>
<audit:componentID>TRANSFORMED_METADATA_0</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2019-11-08T13:12:48.284Z</audit:date>
<audit:justification></audit:justification>
</audit:record>
<audit:record ID="AUDREC2">
<audit:process type="Fedora API-M"/>
<audit:action>addDatastream</audit:action>
<audit:componentID>THUMBNAIL_0</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2019-11-08T13:12:48.347Z</audit:date>
<audit:justification></audit:justification>
</audit:record>
<audit:record ID="AUDREC3">
<audit:process type="Fedora API-M"/>
<audit:action>modifyDatastreamByValue</audit:action>
<audit:componentID>DC</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2019-11-08T13:12:48.441Z</audit:date>
<audit:justification></audit:justification>
</audit:record>
<audit:record ID="AUDREC4">
<audit:process type="Fedora API-M"/>
<audit:action>addDatastream</audit:action>
<audit:componentID>ACCESSCOPY_0</audit:componentID>
<audit:responsibility>fedoraAdmin</audit:responsibility>
<audit:date>2019-11-08T13:12:48.503Z</audit:date>
<audit:justification></audit:justification>
</audit:record>
</audit:auditTrail>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
<foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for this object" CREATED="2019-11-08T13:12:48.159Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="400">
<foxml:xmlContent>
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
<dc:title>Grabung_Castaneda__Siedlung_</dc:title>
<dc:identifier>memobase:ADG-102821</dc:identifier>
</oai_dc:dc>
</foxml:xmlContent>
</foxml:datastreamVersion>
<foxml:datastreamVersion ID="DC.1" LABEL="Dublin Core Record for this object" CREATED="2019-11-08T13:12:48.441Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="607">
<foxml:xmlContent>
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
<dc:title>Grabung Castaneda (Siedlung)</dc:title>
<dc:type>memobase:MemobaseDocumentModel-1.0</dc:type>
<dc:identifier>memobase:ADG-102821</dc:identifier>
<dc:source>102821</dc:source>
<dc:language>en</dc:language>
<dc:relation>memobase:ADG-68432</dc:relation>
<dc:rights>onsite,public</dc:rights>
</oai_dc:dc>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="TRANSFORMED_METADATA_0" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
<foxml:datastreamVersion ID="TRANSFORMED_METADATA_0.0" LABEL="Internal Memobase Metadata" CREATED="2019-11-08T13:12:48.284Z" MIMETYPE="text/xml" FORMAT_URI="urn:ebu:metadata-schema:ebuCore_2012" SIZE="3003">
<foxml:xmlContent>
<ebuCoreMain xmlns="urn:ebu:metadata-schema:ebuCore_2012" xmlns:ns2="http://purl.org/dc/elements/1.1/" xml:lang="de">
<coreMetadata>
<title>
<ns2:title>Grabung Castaneda (Siedlung)</ns2:title>
</title>
<alternativeTitle typeLabel="SerieTitle">
<ns2:title>Grabung Walo Burkart und Karl Keller-Tarnuzzer, Castaneda (Gräberfeld und Siedlung)</ns2:title>
</alternativeTitle>
<creator>
<contactDetails>
<name>[unbekannt]</name>
</contactDetails>
<role typeLabel="Author"></role>
</creator>
<subject typeLabel="Keywords">
<ns2:subject>Ausgrabung, Archäologie</ns2:subject>
</subject>
<description typeLabel="Abstract">
<ns2:description>Feld 1, östlicher Teil von Westen</ns2:description>
</description>
<description typeLabel="Claim">
<ns2:description>Dieses Dokument wurde Dank der Unterstützung von Memoriav erhalten.</ns2:description>
</description>
<description typeLabel="RecordingLocation">
<ns2:description>Castaneda</ns2:description>
</description>
<contributor>
<organisationDetails>
<organisationName>ADG</organisationName>
</organisationDetails>
<role typeLabel="ResponsibleInstitution"></role>
</contributor>
<date>
<created startYear="1942"></created>
</date>
<type>
<genre typeLabel="Grabungsfotografie / Arbeitsfotografie / Sachfotografie"></genre>
</type>
<type>
<objectType typeLabel="photograph"></objectType>
</type>
<format>
<medium typeLabel="[keine Information vorhanden]"></medium>
<imageFormat>
<technicalAttributeString typeLabel="ColorMode">sw</technicalAttributeString>
<technicalAttributeString typeLabel="Remarks">Album-Nr.: A2</technicalAttributeString>
</imageFormat>
</format>
<identifier typeLabel="Original">
<ns2:identifier>102821</ns2:identifier>
<attributor entityId="Provider"></attributor>
</identifier>
<identifier typeLabel="CallNumber">
<ns2:identifier>RM_1_33_6</ns2:identifier>
</identifier>
<identifier typeLabel="Main">
<ns2:identifier>ADG-102821</ns2:identifier>
</identifier>
<isMemberOf>
<ns2:relation>ADG-68432</ns2:relation>
</isMemberOf>
<coverage>
<temporal>
<PeriodOfTime period="1929-1945"></PeriodOfTime>
</temporal>
<spatial>
<location>
<name>Schweiz, Graubünden, Castaneda</name>
</location>
</spatial>
</coverage>
<rights typeLabel="Holder">
<rightsHolder>
<contactDetails>
<name>Archäologischer Dienst Graubünden</name>
</contactDetails>
</rightsHolder>
</rights>
<rights typeLabel="Access">
<ns2:rights>public, onsite</ns2:rights>
</rights>
<rights typeLabel="Usage">
<ns2:rights>Die Nutzungsrechte müssen mit dem Rechtinhaber geklärt werden</ns2:rights>
</rights>
</coreMetadata>
</ebuCoreMain>
</foxml:xmlContent>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="THUMBNAIL_0" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
<foxml:datastreamVersion ID="THUMBNAIL_0.0" LABEL="RM_1_33_6.png" CREATED="2019-11-08T13:12:48.347Z" MIMETYPE="image/png" SIZE="27973">
<foxml:contentLocation TYPE="INTERNAL_ID" REF="memobase:ADG-102821+THUMBNAIL_0+THUMBNAIL_0.0"/>
</foxml:datastreamVersion>
</foxml:datastream>
<foxml:datastream ID="ACCESSCOPY_0" STATE="A" CONTROL_GROUP="M" VERSIONABLE="true">
<foxml:datastreamVersion ID="ACCESSCOPY_0.0" LABEL="RM_1_33_6.jpg" CREATED="2019-11-08T13:12:48.503Z" MIMETYPE="image/jpeg" SIZE="1585055">
<foxml:contentLocation TYPE="INTERNAL_ID" REF="memobase:ADG-102821+ACCESSCOPY_0+ACCESSCOPY_0.0"/>
</foxml:datastreamVersion>
</foxml:datastream>
</foxml:digitalObject>
\ No newline at end of file
......@@ -24,7 +24,7 @@
</Console>
</Appenders>
<Loggers>
<Root level="info">
<Root level="warn">
<AppenderRef ref="STDOUT"/>
</Root>
</Loggers>
......
id: jobXYZ
sftp:
host: localhost
port: 22000
......
id: jobXYZ
sftp:
host: localhost
port: 22000
......
id: jobXYZ
sftp:
host: localhost
port: 22000
......
id: jobXYZ
sftp:
host: localhost
port: 22000
......
id: jobXYZ
sftp:
host: localhost
port: 22000
......
id: jobXYZ
sftp:
host: localhost
port: 22000
......
sftp:
host: localhost
port: 22000
user: user
password: password
app:
directory: /memobase/test_record_set_7
kafka:
producer:
bootstrap.servers: localhost:12345
client.id: sftp-reader-p1-j1
topic:
out: sftp-reader-p1-j1
process: p1-reporting
\ No newline at end of file
sftp:
host: localhost
port: 22000
user: user
password: password
app:
directory: /memobase/test_record_set_8
kafka:
producer:
bootstrap.servers: localhost:12345
client.id: sftp-reader-p1-j1
topic:
out: sftp-reader-p1-j1
process: p1-reporting
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment