Skip to content

tracelink/russia-report-signature-appender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Russia Report Signature Appender

Overview

The Russia Report Signature Appender is a Java-based application designed to append digital signatures to XML reports in compliance with Russian pharmaceutical regulations. This tool ensures that reports are authenticated and meet the requirements of the MDLP.

Features

  • Digital Signature Addition: Automatically downloads the files pending signature, creates a signature and responds back to tracelink with the signed copy of the report.
  • Configuration: Easily configurable via a properties file.
  • Compatibility: Compatible with Java environments.

Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • Maven (for building the project)
  • Access to digital certificates compliant with Russian regulations

Installation

  1. Clone the Repository:
    git clone https://github.com/tracelink/russia-report-signature-appender.git
    cd russia-report-signature-appender
  2. Build the Project:
    mvn clean install
    

Configuration

  • Edit the application.config file (Sample file below):
    username=<username>
    password=<password>
    baseUri=<ru application url>
    tokenPath=/api/token
    taskPath=/api/tasks
    taskResultPath=/api/taskResult
    pathForExecutable=<Complete path for cspTest.exe>
    inputFilePath=<Complete path for infput file>
    outputFilePath=<Complete path for output file>
    generateSignatureFrequency=1
    log.level=info
    failReportOnSignatureFailure=true
    

Note : Sample folder provided in the repo.

Usage

  • Run the application:
    java -jar target/<jar-name> <complete path of application.config file>
    

Dependencies

  1. Windows Server 2019 or above
  2. CryptoPro CSP 5.0.11732 and above
  3. Java 8 or above

Contributing

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature-branch).
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Support

For any questions or issues, please open an issue on the GitHub repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages