LogoSignature Service
Risk Management Toolbox

Profiles

The software provides the possibility to configure statically different profiles to ease the use of the APIs.

Configuration

The profiles are statically configured in a YAML file named application.yml and located in the server's classpath.

It consists of a map of Profile object identified by their ID. A Profile contains the following data:

  • rules: Collection of the rules with their configuration.

The configuration for each rule does not have to be complete. It can be completed or overridden using the configuration provided in the API request body.

The example below show the configuration of two profiles defaultProfile and customProfile.

YAML Example

profiles:
  defaultProfile:
    rules:
    - id: pdfACompliance
      configuration:
        compliance: 1b
    - id: maxFileSize
      configuration:
        maxFileSize: 10MB
  customProfile:
    rules:
    - id: maxFileSize
      configuration:
        maxFileSize: 1GB

On this page