Skip to content

Commit

Permalink
DOCSP-43839: jndi feedback (#573)
Browse files Browse the repository at this point in the history
* DOCSP-43839: jndi feedback

* formatting fix

* convert to rst include

* remove action

(cherry picked from commit ad1445a)
  • Loading branch information
rustagir committed Sep 25, 2024
1 parent f85ef64 commit 9f2c4df
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 26 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/check-autobuilder.yml

This file was deleted.

5 changes: 2 additions & 3 deletions source/fundamentals/connection/jndi.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.. _jndi:
.. _java-sync-jndi:

=============================================
Connect to MongoDB by Using a JNDI Datasource
Expand Down Expand Up @@ -47,9 +48,7 @@ JNDI Datasource.

Add the following ``module.xml`` file into the module:

.. literalinclude:: /includes/fundamentals/code-snippets/wildfly-module-with-version.xml
:language: xml

.. include:: /includes/fundamentals/code-snippets/wildfly-module-with-version.rst

#. Add a binding to the naming subsystem configuration that references the
preceding module, the ``MongoClientFactory`` class, and the
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.. code-block:: xml
:caption: module.xml
<module xmlns="urn:jboss:module:1.9" name="org.mongodb">
<resources>
<resource-root path="bson-{+full-version+}.jar"/>
<resource-root path="bson-record-codec-{+full-version+}.jar"/>
<resource-root path="mongodb-driver-core-{+full-version+}.jar"/>
<resource-root path="mongodb-driver-sync-{+full-version+}.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
<module name="javax.servlet.api" optional="true"/>
</dependencies>
</module>

This file was deleted.

0 comments on commit 9f2c4df

Please sign in to comment.