ecolabdata / ecospheres-isomorphe

Une application pour appliquer des transformations XML aux catalogues Geonetwork du MTECT.
0 stars 0 forks source link

Handle record types other than record/template #40

Closed streino closed 2 weeks ago

streino commented 3 weeks ago

OK to just ignore?

abulte commented 2 weeks ago

Should we introduce a SkippedRecord for this and #28? Or use the error one like for drafts with working copy.

streino commented 2 weeks ago

I like the idea of SkippedRecord, or we could refactor FailedRecord to have an error/skipped state. Either way, it's probably a good idea to be able to differentiate the two in reporting.

abulte commented 2 weeks ago

Let's go Skippy then 🦘

streino commented 2 weeks ago

Turns out isTemplate isn't a boolean:

public enum MetadataType {
    METADATA('n'),
    TEMPLATE('y'),
    SUB_TEMPLATE('s'),
    TEMPLATE_OF_SUB_TEMPLATE('t');

🤷

abulte commented 2 weeks ago

Done #55