To configure caching for Smart 3D Web APIs, you use the Configuration Utility's Services page, caching sections.
Both APIs share the same configuration.
Go to the Services page > Caching sections
-
On any machine where the web API services are installed, open the Configuration Utility:
Start > Intergraph Smart 3D > Web API Configuration Tool
-
On the Welcome page, select Configure Database Connection & Prerequisites.
-
Click Next until the Services page shows the Cache Options section at the top.
Cache Options section
-
Choose your caching method, either Redis or Local process memory cache.
-
If you chose Redis, continue with the next steps for the Redis Connection Details section.
Redis Connection Details section
-
Enter the name of the computer where the Redis service is running in Server Name.
-
Enter the number of the Redis database in Redis Database. This is usually 0 (the default). If you have to change it, the value is usually from 0 to 15.
-
If the Redis database must allow admin connections, select Allow Admin Connections. This is uncommon.
-
Pick your path:
-
If the API is allowed to connect using the default port 6379 (strongly recommended), click Test. Upon success, click Next to go to the RabbitMQ sections of the Services page.
-
Otherwise, continue with the next steps for the Redis Connection String section.
-
Redis Connection String section (not recommended)
Only complete these steps if the API is not allowed to connect to the Redis database using the default port 6379. Redis configuration
errors are often related to the default port number.
-
Click Edit
.
-
Replace the port number after the colon. For example:
in-ppm108477:6882.allowAdmin=False.defaultDatabase=0
-
Click Test.