Skip to content

Unable to find the older catalog when i publish new catalog with same payload & new catalog id #175

@Aman0906311

Description

@Aman0906311

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions