Skip to content

Commit

Permalink
Adding support for printing to work with a shared volume (cloud envir…
Browse files Browse the repository at this point in the history
…onment)

Adding documentation
  • Loading branch information
ritika-t-thakur-alb committed Oct 7, 2024
1 parent 725ee00 commit 9ad615a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,4 @@ Defining temp work directory for Printing module
----------------------

MAPFISH_PDF_FOLDER : optional environment variable to define the directory path for storing printouts generated by the printing module. When not defined default value is from MapPrinterServlet context
In case of cloud environment a pvc(persistence volume claim) or a shared volume mount can be passed to the variable MAPFISH_PDF_FOLDER and hence the data can be synched between multiple instances of server.
3 changes: 2 additions & 1 deletion docs/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Version 2.3.2
-------------

* Support for printing in a cloud environment and in an environment without sticky sessions : generates a requested printout metadata json file and stores it in the tempDir. With this information persisted, there is no need for sticky sessions and printing module can be used in a cloud environment with shared volume.
Under development.
In case of cloud environment a pvc(persistence volume claim) or a shared volume mount can be used to sync this data between multiple instances of server, where as in case of non-cloud environment the tempDir can be shared between muiltiple instances running on the same machine. This path can be passed by setting the environment variable MAPFISH_PDF_FOLDER.


Version 2.3.1
-------------
Expand Down

0 comments on commit 9ad615a

Please sign in to comment.