Server Mode
Purpose: Describes the two UCS server modes, maintenance and production, available for Context Services. |
In versions 8.1.000.10 and higher, you need to check the privileges set according to roles prior to using the operations described on this page. See Role-Based Access Control for additional details.
Introduction
Universal Contact Server provides Context Services with two modes: production and maintenance. The current mode can be changed by using the Set Server Mode operation. If your application attempts to access a method unavailable in the given mode, it receives the HTTP error code 503 ("Not available"). The body of that HTTP response includes the error message which confirms that the selected method is unavailable while the system is in "production" or "maintenance" mode, respectively. See W3 RFC2616.
Maintenance Mode
In this mode, UCS authorizes only the Schema Operations, and does not accept requests for managing customer profiles or service-related data.
If no profile schema is defined, UCS returns the HTTP Status Code 404 (Not Found)
and automatically switches to maintenance mode.
Production Mode
In production mode, UCS accepts incoming requests for managing the customer profiles and service-related data. Your application should not update or modify attribute schemas, so Schema Operations are unavailable unless they are explicitly stated.