liasson Respected Contributor.
Respected Contributor.
198 views

REST service admin/cache/holder/items does not seem to work

Using IDM 4.7.3 I'm trying to flush the cache with the REST service.

Sending in cacheHolderID as e.g. DirectoryService.GroupCacheHolder or GlobalCacheHolder the service responds ok (204), but it seems to crash when checking the catalina log that says:
[RBPM] Value for cacheHolderID is missing in query parameters. Please provide the value and try again
com.netiq.idm.rest.admin.RestAdminException: Value for cacheHolderID is missing in query parameters. Please provide the value and try again
at com.netiq.idm.rest.admin.CacheService.flushCacheByHolderID(CacheService.java:197)
....

I do send an ID, and have double checked the json:
{
"cacheHolderID":"GlobalCacheHolder"
}

Anybody else seen this problem and know if there are some magic to get this working?

BR
/Thomas

Labels (1)
Tags (1)
0 Likes
1 Reply
liasson Respected Contributor.
Respected Contributor.

Re: REST service admin/cache/holder/items does not seem to work

My fault (RTFM)
Parameters should go into the query, not the data.
/Thomas
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.