Summary
Question
If we are trying to use LikeIgnoreCase Operator to get details through REST API.
we will failed to get response due to the below error:
at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@78396a4a; line: 23, column: 52] (through reference chain: com.hp.ucmdb.rest.bridge.topology.TopologyQuery["nodes"]->java.util.ArrayList[1]->com.hp.ucmdb.rest.bridge.topology.QueryNode["attributeConditions"]->java.util.ArrayList[0]->com.hp.ucmdb.rest.bridge.topology.AttributeCondition["operator"])]]></data>
If you are using 10.3x, checking the logs, you will see the message like this:
Can not construct instance of com.hp.ucmdb.rest.bridge.topology.AttributeConditionOperator from String value 'LikeIgnoreCase': value not one of declared Enum instance names: [isNull, equals, isNotEqualTo, like, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, in, containsAny, contains
Answer
1> The operator "LikeIgnoreCase" belong to WS-API but not REST-API.
2> The correct operator name in REST-API should be "likeCaseInsensitive". But this operator only available after 10.3x.
So customer need to upgrade uCMDB to get the new feature