Centro stella dei pagamenti elettronici
  • Centro Stella
    • Instructions for Agenzia delle Entrate Mandate
      • How to join
        • 01. Sign the Agreement
        • 02. Integrate PagoPA Environments
          • Open routes
          • Request the mutual authentication certificates
          • Obtain an API key
          • Wait for activation email
          • Check if you are enabled for PagoPA UAT environment
        • 03. Configure the Batch Service
          • Prepare the Java KeyStore
          • Install the software
            • How to install JAR version
              • Download JAR file
              • Prepare the working directories
              • Define environment variables
            • How to install Docker version
              • Download Docker image
              • Define environment variables
              • Choose working directory to mount
          • Run the software
            • Run from JAR
            • Run with Docker
        • 04. Test and monitor integration
          • Test UAT
          • Test PROD
        • 05. Go live!
      • Releases / Changelog
        • Note regarding the modifications from 2.2.0 to 2.2.3
        • Note regarding the modifications from 2.1.2 to 2.2.0
        • Note regarding the modifications of the yaml file from 2.0.0 to 2.1.0
        • Note regarding the modifications of the yaml file from 1.5.1 to 2.0.0
        • Note regarding the modifications of the yaml file from 1.4.1 to 1.5.0
        • Note regarding the modifications of the yaml file from 1.3.2 to 1.4.1
        • Note regarding the modifications of the yaml file from 1.2.5 to 1.3.2
      • Appendixes
        • Appendix 1 - Environments
        • Appendix 2 - Input file specifications
        • Appendix 3 - AdE output file specifications
          • Appendix 3 - AdE output file specifications v1.2.5
        • Appendix 4 - AdE errors file specifications
        • Appendix 5 - Logback configuration
        • Appendix 6 - Configuration properties
        • Appendix 7 - Console log overview
        • Appendix 8 - Database connection for Spring Batch
        • Appendix 9 - FAQ & Troubleshooting
        • Appendix 10 - Python and Poetry installation
        • Appendix 11 - List of output and log files
      • Api Integration
  • Glossary
  • RTD documentation
    • Input file specifications
Powered by GitBook
On this page
  • Enable log tracking
  • Activate Python environment
  1. Centro Stella
  2. Instructions for Agenzia delle Entrate Mandate
  3. How to join

04. Test and monitor integration

PreviousRun with DockerNextTest UAT

Last updated 2 years ago

Once you have installed the Batch Service you have to complete the integration checklist running a set of functional test in UAT environment using the tools PagoPA provides. It is strongly suggested that you run also a test in PROD environment, as documented in the following pages.

Before running the test you have to enable the log tracking and prepare a Python environment as described below.

The Python environment is required only to generate a set of input file for the Batch Service and the related expected output file.

If in your UAT environment Python is not available, you may run the CLI tools wherever you prefer. You just have to move the input and output files from and to the UAT environment (e.g. with ).

Please note that the Python script will require access to the client certificate and to the API Key.

Enable log tracking

By default the application log are saved in the ACQ_BATCH_TRX_LOGS_PATH directory and named application.log.

If you wish to change the default behaviour you can visit this .

Activate Python environment

Make sure to have a properly configured Python interpreter (version >=3.9) and installed on your machine.

Click for more information.

Every time you want to use a CSTAR-CLI command you have to activate both a Python environment and a Poetry shell.

  • Make sure to be in CSTAR-CLI root directory.

  • Enter the Poetry shell by running the following commands:

$HOME/.poetry/bin/poetry install
$HOME/.poetry/bin/poetry shell

Run the following script to access CSTAR-CLI tools:

./install.sh

Now you are ready tu use Python tools offered by CSTAR-CLI.

scp
page
Poetry
here