Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

After creating an organization we can't search the organization via the organizarion name #116

Open
codejamtc opened this issue Aug 27, 2021 · 2 comments
Labels
cqrs shapeup#4 CQRS standards update Fixed in Dev

Comments

@codejamtc
Copy link
Collaborator

bandicam.2021-08-27.19-50-52-715.mp4
bandicam.2021-08-27.19-51-56-347.mp4

API: {{HOST}}/organizations?name=Wipro E

Steps:

  1. First create an organization Wipro using {{HOST}}/organizations
{
    "id": "ef4a5b9a-a613-4b75-8393-b037d3f065c5",
    "name": "Wipro",
    "createdBy": "TCConAdmin",
    "updated": "2021-08-27T12:32:40.653Z",
    "created": "2021-08-27T12:32:40.653Z",
    "updatedBy": null
}
  1. Then check the organization name via GET {{HOST}}/organizations/{{organizationId}} >> Wipro E
  2. Execute the GET {{HOST}}/organizations?name=Wipro E

Actual:

I am getting only one result; I don't get the Wipro E

Expected:

If we are allowing partial search then we should return Wipro E and Wipro Digital. But if we are allowing exact matches then should return Wipro E only

@sachin-maheshwari
Copy link

@codejamtc that was deployment issue, Vikas deployed dev branch, now working fine for me.

@codejamtc codejamtc added the cqrs shapeup#4 CQRS standards update label Aug 28, 2021
@codejamtc
Copy link
Collaborator Author

@sachin-maheshwari Fixed 🆗

bandicam.2021-08-28.09-12-45-354.mp4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cqrs shapeup#4 CQRS standards update Fixed in Dev
Projects
None yet
Development

No branches or pull requests

2 participants