Adding Tomcat trace parameters to IDMS REST API
search cancel

Adding Tomcat trace parameters to IDMS REST API

book

Article ID: 279992

calendar_today

Updated On: 05-02-2024

Products

IDMS

Issue/Introduction

Receiving authentication error while connecting IDMS business server (REST API)  via third party product.

In order to trace the REST API request, is there any parameters available to mention in business server?

 

Environment

Release : Any

Component: IDMS REST API

 

Resolution

 IDMS API Server is also a Tomcat Server . The format for the IDMS API application will be YAML for the API mediation layer

Append the below  parameters to  application.yml:

server.tomcat.basedir: <base dir for tomcat-related files> 
server.tomcat.accesslog.directory: <directory under previous one>
server.tomcat.accesslog.suffix: .log
server.tomcat.accesslog.prefix: access_log
server.tomcat.accesslog.enabled: true
server.tomcat.accesslog.pattern: <"%t - %m %H %S %{Authorization}i">   

The REST API utilizes the Spring platform. Refer to  Common  Application Properties for more information about Tomcat parameters