All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ml-modules.root.data-hub.data-services.provenance.migrateProvenance.mjs Maven / Gradle / Ivy

There is a newer version: 6.1.1
Show newest version
'use strict';
// No privilege required: The xdmp.securityAssert call is in the migrateProvenance function.
const provMigrateLib = require("/data-hub/5/provenance/migrate-provenance.xqy");

const endpointConstants = external.endpointConstants;
const endpointState = external.endpointState;

let endpointStateObject = fn.head(xdmp.fromJSON(endpointState));
provMigrateLib.migrateProvenance(fn.head(xdmp.fromJSON(endpointConstants)), endpointStateObject ? endpointStateObject : {});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy