Skip to content

Commit

Permalink
Update text about Larva
Browse files Browse the repository at this point in the history
  • Loading branch information
Martijn Dirkse committed Jun 3, 2024
1 parent ce0cd04 commit c504870
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/testing/larva/stubbing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ Before you can run a Larva test, you have to get rid of the HTTP interfaces of y

File "StageSpecifics_LOC.properties" has been chosen with care. This property file is only applied in DTAP stage ``LOC``, see subsection :ref:`propertiesInitialization`. It will not be applied in the other DTAP stages, allowing your adapter to work normally in integration tests and on production.

.. NOTE::

Setting ``warnings.suppress.sqlInjections.ManageDatabase=true`` is done for the following reason. The Frank!Framework has a build-in adapter named "ManageDatabase". This adapter supplies useful functionality within Larva tests, but its existence raises a security risk. The adapter can process arbitrary SQL that may be entered by a user. In DTAP stage "LOC" this does not matter, because a Frank application is deployed in DTAP stage PRD. We therefore configure the FF! to suppress this warning. The warning is only suppressed in DTAP stage LOC because of the chosen property file name.

#. Restart the Frank!Runner.
#. Expand "adapterToConscience" again. You should see the following:

Expand Down

0 comments on commit c504870

Please sign in to comment.