It’s my understanding that gateway drivers should be in {lucee-server}/context/context/admin/gdriver. Is there a way to place these inside {lucee-web}?
Seeing as my code is already hosted in a git repo, adding my gateway and driver to WEB-INF would be easy, but adding it into {lucee-server} would require manual copying from the repo to that location on every change.
Is there perhaps a way to have the driver picked up in lucee-web? As far as I can see the path is hardcoded in:
./core/src/main/java/lucee/runtime/config/XMLConfigWebFactory.java:1263: Resource gDir = adminDir.getRealResource("gdriver");
./core/src/main/java/lucee/runtime/config/XMLConfigWebFactory.java:1264: create("/resource/context/admin/gdriver/", new String[] { "Gateway." + COMPONENT_EXTENSION, "Field." + COMPONENT_EXTENSION, "Group." + COMPONENT_EXTENSION }, gDir, doNew);
./core/src/main/java/lucee/runtime/config/ConfigImpl.java:1992: Resource dir = getConfigDir().getRealResource("context/admin/gdriver");
./core/src/main/java/lucee/runtime/config/XMLConfigServerFactory.java:226: Resource gDir = adminDir.getRealResource("gdriver");
./core/src/main/java/lucee/runtime/config/XMLConfigServerFactory.java:227: create("/resource/context/admin/gdriver/", new String[] { "TaskGatewayDriver.cfc", "DirectoryWatcher.cfc", "MailWatcher.cfc", "Gateway.cfc", "Field.cfc", "Group.cfc" },
EDIT: I’ve tried putting my gateway driver into /opt/lucee/web/context/admin/gdriver where it is picked up. lucee-web-directory is custom set to /opt/lucee/web in the docker image’s /usr/local/tomcat/conf/web.xml.
But I would want it to be in WEB-INF, where I’ve tried putting it in WEB-INF/lucee/context/admin/gdriver and WEB-INF/context/admin/gdriver but neither gets picked up in the Lucee Web admin console.