Postinstallation Task 4: Configuring the Installation

Configuring the installation deals with tasks like configuring the database and messaging.

In the application.properties file of the configurator, set the following configurations:

  • If you use a relational database, then set pluggableCache=Relational and configure the admin database details from the 'Relational Database Connection Properties' section accordingly.

Also, configure admin database details accordingly in the application.properties file.

Before running all the services, you have to configure the properties from the following table in the $PSI_HOME/roles/<servicename>/standalone/config/application.properties file.

Service

Element

Value

Authorization Service server.port 9091
amPluggableCache Relational (based on the DB configured)
allowedUserRoles ROLE_ADMIN, ROLE_USER, ROLE_PARTY, and ROLE_ITEM
datasourceDriverClassName org.postgresql.Driver (Postgres) or oracle.jdbc.driver.OracleDriver (Oracle)
adminDsUrl jdbc:postgresql://localhost:5432/admindbll?current (PostgreSQL) or jdbc:oracle:thin:@//localhost:1521/pdb1 (Oracle)
adminDsUsername adminuserll
adminDsPassword adminuserll
hibernateDialect org.hibernate.dialect.PostgreSQLDialect (Postgres) or org.hibernate.dialect.Oracle10gDialect (Oracle)
datasourceValidationQuery SELECT 1 (Postgres) or select 1 from dual (Oracle)
adminRedisHost localhost
adminRedisPort 6379
default.tenant.id TIBCO
auth.superuser.appId auth
auth.superuser.appKey ENC(P2yXphz4OVM=)
hibernateDsDefaults false
adminHibernateShowSql false
adminDsInitialSize 10
adminDsMaxWait 30000
adminDsMaxActive 100
adminDsMaxIdle 100
adminDsMinIdle 10
adminDsTestOnBorrow true
adminDsValidationInterval 5000
Configurator service server.port 9090
pluggableCache Redis/Relational (based on the DB configured)
adminDsUrl jdbc:postgresql://localhost:5432/admindbll?current (PostgreSQL) or jdbc:oracle:thin:@//localhost:1521/pdb1 (Oracle)
adminDsUsername adminuserll
adminDsPassword adminuserll
datasourceDriverClassName org.postgresql.Driver (Postgres) or oracle.jdbc.driver.OracleDriver (Oracle)
hibernateDialect org.hibernate.dialect.PostgreSQLDialect (Postgres) or org.hibernate.dialect.Oracle10gDialect (Oracle)
datasourceValidationQuery SELECT 1 (Postgres) or select 1 from dual (Oracle)
adminRedisHostPort localhost:6379
security.key ENC(nSa0k6lmjPPN8ZA5SO6BpQ==)
Configurator UI server.port 9104
configuratorServiceUrl http://localhost:9090
authorizationServiceTokenEndPoint http://localhost:9091
authorized.client.id order-management-client
authorized.client.secret ENC(ggsmFvh5HBbeSD1j+l5Y0rP4qv0rJvEm)
PSI server.port 8080
configuratorServiceUrl http://localhost:9090
security.key

ENC(nSa0k6lmjPPN8ZA5SO6BpQ==)

Note: You must add the same key as mentioned in the application.properties file of configurator service.