From f4a4dafbcfb17c466b638f649d362ea1df503860 Mon Sep 17 00:00:00 2001 From: rustagir Date: Wed, 25 Sep 2024 10:02:14 -0400 Subject: [PATCH 1/4] DOCSP-43839: jndi feedback --- source/fundamentals/connection/jndi.txt | 2 +- .../code-snippets/wildfly-module-with-version.xml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/source/fundamentals/connection/jndi.txt b/source/fundamentals/connection/jndi.txt index 56d66da19..847ca57f1 100644 --- a/source/fundamentals/connection/jndi.txt +++ b/source/fundamentals/connection/jndi.txt @@ -1,4 +1,5 @@ .. _jndi: +.. _java-sync-jndi: ============================================= Connect to MongoDB by Using a JNDI Datasource @@ -50,7 +51,6 @@ JNDI Datasource. .. literalinclude:: /includes/fundamentals/code-snippets/wildfly-module-with-version.xml :language: xml - #. Add a binding to the naming subsystem configuration that references the preceding module, the ``MongoClientFactory`` class, and the :ref:`connection string ` for the MongoDB cluster. diff --git a/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml b/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml index b1fd9e6b5..6629827bd 100644 --- a/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml +++ b/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml @@ -1,6 +1,9 @@ - + - + + + + From c5a626c5bc8f2ff1d405ef7c8ad920d38e5b64ec Mon Sep 17 00:00:00 2001 From: rustagir Date: Wed, 25 Sep 2024 10:05:52 -0400 Subject: [PATCH 2/4] formatting fix --- .../code-snippets/wildfly-module-with-version.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml b/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml index 6629827bd..ae0a0537a 100644 --- a/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml +++ b/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml @@ -1,8 +1,8 @@ - - - + + + From 5e3e94bd975f026fb08a9729fecb52b0557f5c9e Mon Sep 17 00:00:00 2001 From: rustagir Date: Wed, 25 Sep 2024 10:14:03 -0400 Subject: [PATCH 3/4] convert to rst include --- source/fundamentals/connection/jndi.txt | 3 +-- .../wildfly-module-with-version.rst | 16 ++++++++++++++++ .../wildfly-module-with-version.xml | 13 ------------- 3 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 source/includes/fundamentals/code-snippets/wildfly-module-with-version.rst delete mode 100644 source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml diff --git a/source/fundamentals/connection/jndi.txt b/source/fundamentals/connection/jndi.txt index 847ca57f1..c1e863479 100644 --- a/source/fundamentals/connection/jndi.txt +++ b/source/fundamentals/connection/jndi.txt @@ -48,8 +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 diff --git a/source/includes/fundamentals/code-snippets/wildfly-module-with-version.rst b/source/includes/fundamentals/code-snippets/wildfly-module-with-version.rst new file mode 100644 index 000000000..1a86ee8fb --- /dev/null +++ b/source/includes/fundamentals/code-snippets/wildfly-module-with-version.rst @@ -0,0 +1,16 @@ +.. code-block:: xml + :caption: module.xml + + + + + + + + + + + + + + \ No newline at end of file diff --git a/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml b/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml deleted file mode 100644 index ae0a0537a..000000000 --- a/source/includes/fundamentals/code-snippets/wildfly-module-with-version.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file From e7bf87448a9923f254c8679d05d9e11c7d0f105d Mon Sep 17 00:00:00 2001 From: rustagir Date: Wed, 25 Sep 2024 10:14:25 -0400 Subject: [PATCH 4/4] remove action --- .github/workflows/check-autobuilder.yml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .github/workflows/check-autobuilder.yml diff --git a/.github/workflows/check-autobuilder.yml b/.github/workflows/check-autobuilder.yml deleted file mode 100644 index 8495db969..000000000 --- a/.github/workflows/check-autobuilder.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Check Autobuilder for Errors - -on: - pull_request: - paths: - - "source/**" - -jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cbush/snooty-autobuilder-check@main