MarkLogic 版本 - 9.0-6.2 DHF 版本:2.0.6(id 'com.marklogic.ml-data-hub' 版本 '2.0.6')
尝试通过“gradle mlReloadModules”命令部署更改,但注意到未部署 REST 扩展 billing.sjs。此文件 (billing.sjs) 保存在 \data-hub\EODH\plugins\entities\billing\harmonize\REST\services 中,我从 \data-hub\EODH 目录执行了多次“gradle mlReloadmodules”命令
我去了 data-hub-MODULES db 并浏览了 /marklogic.rest.resource/billing/assets/resource.sjs 以查看旧代码仍然存在。
在重新加载模块之前,我还执行了“rm .tmp/user-modules-deploy-timestamps.properties”。
以下是“gradle mlReloadmodules -d”命令的选定输出部分
23:17:34.455 [调试] [com.marklogic.com.marklogic.client.ext.modulesloader.impl.EntityDefModulesFinder] 在 baseDir 中查找模块:G:\data-hub\EODH\plugins\entities\billing 23:17: 34.455 [DEBUG] [com.marklogic.com.marklogic.client.ext.modulesloader.impl.EntityDefModulesFinder] 在baseDir中查找模块,修改为:file:/G:/data-hub/EODH/plugins/entities/ billing/ 23:17:34.455 [DEBUG] [com.marklogic.com.marklogic.client.ext.modulesloader.impl.EntityDefModulesFinder] 在路径中查找实体定义:file:/G:/data-hub/EODH/plugins/entities /计费/.entity.json 23:17:34.455 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 在目录树中寻找匹配资源 [G:\data-hub\EODH\plugins\entities\billing] 23: 17:34.456 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 搜索目录 [G:\data-hub\EODH\plugins\entities\billing] 寻找匹配模式的文件 [G:/data-hub/EODH /plugins/entities/billing/.entity.json] 23:17:34.456 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 已解决的位置模式 [file:/G:/data-hub/EODH/ plugins /实体/计费/.entity.json] 到资源 [] 23:17:34.457 [DEBUG] [com.marklogic.client.ext.modulesloader.impl.DefaultModulesLoader] 从基本目录加载模块:G:\data-hub\EODH\plugins\entities \billing\harmonize\REST 23:17:34.470 [DEBUG] [com.marklogic.client.ext.modulesloader.impl.PropertiesModuleManager] 从以下位置加载属性:G:\data-hub\EODH.tmp\user-modules-deploy- timestamps.properties 23:17:34.470 [DEBUG] [com.marklogic.appdeployer.command.modules.AllButAssetsModulesFinder] 在 baseDir 中查找模块:G:\data-hub\EODH\plugins\entities\billing\harmonize\REST 23:17 :34.470 [DEBUG] [com.marklogic.appdeployer.command.modules.AllButAssetsModulesFinder] 在baseDir中查找模块,修改为:file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST / 23:17:34.470 [调试] [com.marklogic.appdeployer。command.modules.AllButAssetsModulesFinder] 在路径中查找命名空间:file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/namespaces/.* 23:17:34.471 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 在目录树中寻找匹配资源 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\ namespaces] 23:17:34.471 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 跳过 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\namespaces] 因为它没有存在 23:17:34.471 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 已解决的位置模式 [file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/namespaces/ .] 到资源 [] 23:17:34.471 [DEBUG] [com.marklogic.appdeployer.command.modules.AllButAssetsModulesFinder] 在路径中查找选项模块:file:/G:/data-hub/EODH/plugins/entities/billing/协调/REST/选项/ 。 23:17:34.471 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 在目录树中寻找匹配资源 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\options] 23:17:34.471 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 搜索目录 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\options] 文件匹配模式 [ G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/options/ 。] 23:17:34.472 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 解决位置模式 [file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/options/ . ] 到资源 [文件 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\options\BillingInfoList.json]] 23:17:34.472 [DEBUG] [com.marklogic.appdeployer.command.modules .AllButAssetsModulesFinder] 在路径中查找 REST 属性文件:file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/rest-properties.json 23:17:34.472 [DEBUG] [com.marklogic. appdeployer.command.modules.AllButAssetsModulesFinder] 在以下路径查找服务模块:file:/G: /data-hub/EODH/plugins/entities/billing/harmonize/REST/services/.xq 23:17:34.472 [调试] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 在目录树中寻找匹配资源 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\services] 23:17:34.472 [调试] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 搜索目录 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\services] 文件匹配模式 [ G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/services/ .xq ] 23:17:34.473 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 已解决的位置模式 [文件:/G: /data-hub/EODH/plugins/entities/billing/harmonize/REST/services/.xq] 到资源 [] 23:17:34.473 [DEBUG] [com.marklogic.appdeployer.command.modules.AllButAssetsModulesFinder] 在路径查找服务模块:file:/G:/data-hub/EODH/plugins/entities/billing/ harmonize/REST/services/ .sjs 23:17:34.473 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 在目录树中寻找匹配资源 [G:\data-hub\EODH\plugins\entities\ billing\harmonize\REST\services] 23:17:34.473 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 搜索目录 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST \services] 用于匹配模式的文件 [G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/services/.sjs] 23:17:34.474 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 已解决的位置模式 [file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/ services/ .sjs] 到资源 [文件 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\services\billing.sjs],文件 [G:\data-hub\EODH\plugins\entities \billing\harmonize\REST\services\billing360.sjs],文件 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\services\billingReg.sjs]] 23:17:34.474 [调试] [com.marklogic.appdeployer.command.modules.AllButAssetsModulesFinder] 在路径查找转换模块:file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/transforms/.xq* 23:17:34.474 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 在目录树中寻找匹配资源 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST \transforms] 23:17:34.474 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 跳过 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\transforms] 因为它确实不存在 23:17:34.474 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 已解决的位置模式 [file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/transforms /.xq _] 到资源 [] 23:17:34.474 [DEBUG] [com.marklogic.appdeployer.command.modules.AllButAssetsModulesFinder] 在路径查找转换模块:file:/G:/data-hub/EODH/plugins/entities/billing/协调/REST/transforms/.xsl 23:17:34.474 [调试] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 在目录树中寻找匹配资源 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\transforms] 23:17:34.475 [调试] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 跳过 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\transforms] 因为它不存在 23 :17:34.475 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 解决位置模式 [file:/G: /data-hub/EODH/plugins/entities/billing/harmonize/REST/transforms/.xsl] 到资源 [] 23:17:34.475 [DEBUG] [com.marklogic.appdeployer.command.modules.AllButAssetsModulesFinder] 在路径查找转换模块:file:/G:/data-hub/EODH/plugins/entities/billing/协调/REST/转换/.sjs 23:17:34.475 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 在目录树中寻找匹配资源 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\ transforms] 23:17:34.475 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 跳过 [G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\transforms] 因为它没有存在 23:17:34.475 [DEBUG] [org.springframework.core.io.support.PathMatchingResourcePatternResolver] 已解决的位置模式 [file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/transforms/.sjs] 到资源 [] 23:17:34.475 [INFO] [com.marklogic.client.ext.modulesloader.impl.DefaultModulesLoader] 从文件 BillingInfoList.json 加载 BillingInfoList 查询选项 23:17:34.489 [DEBUG] [com. marklogic.client.impl.OkHttpServices] Putting /config/query/BillingInfoList 23:17:34.529 [DEBUG] [com.marklogic.client.ext.modulesloader.impl.DefaultExtensionMetadataProvider] 无法从资源文件构建元数据:file:/G :/data-hub/EODH/plugins/entities/billing/harmonize/REST/services/billing.sjs;原因:G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\services\metadata\billing.xml (系统找不到指定的文件)23:17:34.530 [INFO] [com.marklogic. client.ext.modulesloader.impl.DefaultModulesLoader] 从文件 billing.sjs 23:17:34.540 [INFO] [com.marklogic. client.impl.ResourceExtensionsImpl] 为计费编写资源服务源 23:17:34.540 [DEBUG] [com.marklogic.client.impl.OkHttpServices] Putting config/resources/billing 23:17:34.552 [DEBUG] [com.marklogic. client.ext.modulesloader.impl.DefaultExtensionMetadataProvider] 无法从资源文件构建元数据:file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/services/billing360.sjs;原因:G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\services\metadata\billing360.xml(系统找不到指定的文件)23:17:34.553 [INFO] [com.marklogic. client.ext.modulesloader.impl.DefaultModulesLoader] 从文件 billing360.sjs 23:17:34.560 加载 billing360 资源扩展 [INFO] [com.marklogic.client.impl.ResourceExtensionsImpl] 为 billing360 23:17:34 编写资源服务源。560 [DEBUG] [com.marklogic.client.impl.OkHttpServices] Putting config/resources/billing360 23:17:34.576 [DEBUG] [com.marklogic.client.ext.modulesloader.impl.DefaultExtensionMetadataProvider] 无法从资源构建元数据文件:file:/G:/data-hub/EODH/plugins/entities/billing/harmonize/REST/services/billingReg.sjs;原因:G:\data-hub\EODH\plugins\entities\billing\harmonize\REST\services\metadata\billingReg.xml(系统找不到指定的文件)23:17:34.577 [INFO] [com.marklogic. client.ext.modulesloader.impl.DefaultModulesLoader] 从文件 billingReg.sjs 加载 billingReg 资源扩展 23:17:34.583 [INFO] [com.marklogic.client.impl.ResourceExtensionsImpl] 为 billingReg 23:17:34.583 编写资源服务源 [调试] [com.marklogic.client.impl。