We are using version 9.0.6 and DHF 4.0.0
I have a custom REST module in my data hub repository at ..\src\main\ml-modules\services\customModule.sjs
When I run 'gradle mlLoadmodules' the build is successful but the module (/marklogic.rest.resource/RegsiteredCustomer-Preferences/assets/resource.xqy) is not loaded to data-hub-MODULES or data-hub-final-MODULES DBs. I removed timestamp property (rm .tmp/user-modules-deploy-timestamps.properties) and re-ran the mlLodModules command but still the same issue.
I intend to call this custom module through port 8011 (GET http://localhost:8011/v1/resources/customModule), so where is this module supposed to be loaded? data-hub-MODULES or data-hub-final-MODULES? In prior versions of DHF, I noticed that this gets loaded to data-hub-MODULES.
Also, any hints on why the module is not getting loaded, are appreciated.