Service Pont REST API getBrowseOfferings /getOfferings returns unavailable offerings

book

Article ID: 223502

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

Service Point REST API getBrowseOfferings /getOfferings returns all the unavailable service offerings with 'GET' call 'http://hostname:9006/getBrowseOfferings' in Postman, we have made out-of-the-box service offerings in the Service catalog as unavailable by setting an old date for the 'Unavailable after' attribute. Whereas this is working fine in our pr prod environment. 

 

Environment

Release : 17.3

Component : Catalog - WebServices

Resolution

# Edited elasticsearch.yml file and updated it from "true" with default value "false".
Location: C:\Program Files\CA\SC\CASearchServer\elasticsearch-2.1.1\config\elasticsearch.yml. 
# Restart elastic search services. 
From: 
ca-es-security-plugin:
enable: true
enable-x-forwarded-for: true
allowed-list-of-hosts: [host1, host2, ...

To: 
ca-es-security-plugin:
enable: false
enable-x-forwarded-for: false
allowed-list-of-hosts: [host1, host2, ...



Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/ca-service-management/17-2/administering/configure-the-xflow-interface/configure-security-plugin-to-access-the-search-server.html