How to add a new tenant in OPE

How to add a new tenant in OPE

book

Article ID: KB0073654

calendar_today

Updated On:

Products Versions
TIBCO Offer and Price Engine 5.x

Description

A customer may need to use a tenant different from the default one. Hence the need to create a new tenant. This KB provides the steps to follow to add a new tenant in OPE.

Environment

ALL

Resolution

Hereafter the steps to follow:

1/ Create a folder under "Key/Values/config/application/tenants" and save the changes. Folder's name is the name of the new tenant to add.

User-added image

2/ Add the name of the new tenant to the value of the Key "tenantsList" which is located under "Key/Values/config/application/tenants" folder and save the changes.  

User-added image

Please do not leave spaces between tenants. Examples:
Bad syntax: default, Tenant1, Tenant2
Good syntax: default,Tenant1,Tenant2

3/ Restart the services(OPE, MLE, MINIO...) so that configuration changes gets taken into account.

Note:
Please add in the OPE requests (GetOffer, GetPrices …) in the header the element "X_TENANT_ID". It is used to specify the tenant for which the request is meant. For more details, please refer to the KB:
===
000044293: How to change tenant ID in OPE/FOM request
===  

Issue/Introduction

This article explains how to create a new tenant in OPE

Attachments

How to add a new tenant in OPE get_app
How to add a new tenant in OPE get_app