Postinstallation Task 5: Configuring the Installation
Configuring installation deals with tasks like configuring the database and messaging.
In the configDBrepo.properties file of the configurator, set the following configurations:
- If you use a relational database, then set spring.profiles.active=jdbc
- If you use Redis, then set spring.profiles.active=native
In the application.properties file of the configurator, set the following configurations:
- If you use a relational database, then set pluggableCache_storage=Relational
- If you use Redis, then set pluggableCache_storage=Redis
Also, configure admin database details accordingly in configDB.properties file.
Before running all the services, you have to configure the properties from the following table in the $OPE_HOME/roles/<servicename>/standalone/config/application.properties file.
Service |
Element |
Value |
---|---|---|
Authorization Service | server.port | 9091 |
amPluggableCache | Redis/Relational (based on the DB configured) | |
datasourceDriverClassName | org.postgresql.Driver | |
adminDsUrl | jdbc:postgresql://localhost:5432/admindbll?current | |
Schema | adminschemall | |
adminDsUsername | adminuserll | |
adminDsPassword | adminuserll | |
hibernateDialect | org.hibernate.dialect.PostgreSQLDialect | |
datasourceValidationQuery | SELECT 1 | |
adminRedisHost | localhost | |
adminRedisPort | 6379 | |
Catalog Services | server.port | 9092 |
configuratorServiceUrl | http://localhost:9090 | |
Shopping cart | server.port | 8091 |
configuratorServiceUrl | http://localhost:9090 | |
offersearchindex service | server.port | 8093 |
configuratorServiceUrl | http://localhost:9090 | |
OPE | server.port | 8090 |
configuratorServiceUrl | http://localhost:9090 | |
Configurator service | server.port | 9090 |