I wanted to publish multiple catalogs.
I created a catalog -
catalog.beckn:id - qwerty4122323
availableQuantity - 43
then i tried triggering /discover & as usual it showed the catalog.
this is the filters i used in the /discover call -
"message": {
"filters": {
"type": "jsonpath",
"expression": "$[?(@.beckn:itemAttributes.sourceType == 'SOLAR' && @.beckn:itemAttributes.deliveryMode == 'GRID_INJECTION' && @.beckn:itemAttributes.availableQuantity >= 35.0 )]",
"expressionType": "jsonpath"
}
}
Then i published another catalog -
catalog.beckn:id - qwerty412232345454
availableQuantity - 46
Then i tried triggering /discover & as usual it showed the catalog. BUT here the older catalog was missing
I used same message filter used in earlier call
Am i trying this the wrong way ?
I am not change anything else in the payload. but still it should differ the catalog by catalog.beckn:id
Please if anyone can try this or facing similar issues. can we discuss on this ?