I have upgraded the SpectrumDataPublisher from 21.2.1 to 21.2.6, but left the Spectrum Environment on 21.2.1.
Aftterwards I am seeing these error messages repeatedly in the SpectrumDataPublisher.log file.
...
2022-01-27 14:51:20,515 WARN ConnectorSyncScheduler_Worker-2: [handler.AbstractHttpErrorHandler] [retryHttpErrorRequest] - Retrying SERVICES sync for https://<ONECLICK HOSTNAME>:8443/spectrum/restful/servicesinfo/serviceslist with HTTP error code : 404
2022-01-27 14:51:20,523 ERROR ConnectorSyncScheduler_Worker-2: [handler.HttpResponseHandler] [handleResponse] - HTTP response- Url : https://<ONECLICK HOSTNAME>:8443/spectrum/restful/servicesinfo/serviceslist , error code: 404 , message:
2022-01-27 14:51:20,524 WARN ConnectorSyncScheduler_Worker-2: [handler.SpectrumHttpErrorHandler] [handleResponse] - Handling Spectrum error SERVICES sync for HTTP error code : 404
...
Release : 21.2.1
Component : SpectrumDataPublisher
services rest API(/restful/servicesinfo/serviceslist ) is not available in Spectrum 21.2.1, it was added in 21.2.4.
Tthis feature is not available in Spectrum until 21.2.4, we need to disable this in the Spub by the following step below:
Open ConnectorConfig.xml file, and set Services to false.
<Services>false</Services>