We are building services with service discovery policies but this is not working.
We are using "generic Service Relationship" even though there is a match (in my case I'm using TAGS or Label) it does not populate the services with the given ci's.
Example:
Generic Relationship Policy 'Has Member'
BETWEEN
Service with properties
(
'Service Name' contains (ignore case) "-windows2016"
)
AND
Computer System with properties
(
'Label' contains (ignore case) "-windows2016"
)
WHEN
(
'Service.Service Name' contains (ignore case) 'Computer System.Label'
)
SCOPED TO
(
All services
)
The expectation is that the server with label containing windows2016 should be added to the service: but this is not happening. Why?
Release : SOI 4.2 CU4
Missing configuration in connectivityContext.xml
Add the below lines in C:\Program Files (x86)\CA\SOI\ServiceDiscovery\connectivityContext.xml
(the path will differ depending on the environment) under the tag <bean id="tickCounts" class="com.ca.ssa.servicediscovery.TickCountSetting">.
<property name="genericRelationshipTickCount" value="1" />
<property name="inMemoryGenericRelationshipTickCount" value="6" />
<property name="genericRelationshipReevalTickCount" value="1440" />
After this the discovery policy conifgured as above, should work.