ONDC-Official / v1.2.0-logs

Retail and Logistics Logs for 1.2.0
9 stars 270 forks source link

eSamudaay (RET12) - compliance check #1190

Open BLR-0118 opened 7 months ago

BLR-0118 commented 7 months ago
  1. /on_search:

    • pls remove "@ondc/org/fssai_license_no"; data type is string & null is not valid for string;
    • attribute values for item 39046 (& others) invalid - colour should be hex value, gender/plating in lower case (valid enums are here);
    • what does veg/non-veg in fashion catalog mean?
  2. /on_update_partial_cancel:

    • has same message_id as /on_confirm;
  3. /on_status:

    • type of shipment, i.e. hyperlocal (P2P) or intercity (P2H2P) needs to be provided in routing.type;
  4. /on_update_return_initiated:

    • return_request doesn't have id;
    • pickup time has been provided even though return hasn't been picked yet;
BLR-0118 commented 7 months ago
  1. /on_update_return_approved:

    • message_id for this & on_update_return_initiated same;
    • remove rateable;
    • bpp_terms should have np_type;
  2. /on_update_return_picked:

    • same issue with message_id;
  3. /on_update_return_delivered:

    • same issue with message_id;
    • delivery time to be provided;
  4. pls share logs for return rejection due to pickup failure;

BLR-0118 commented 7 months ago

@Namratha102000

codezyngPranav commented 5 months ago

@BLR-0118 I have fixed the above said issues, and raised a PR(#1797) please review and merger

BLR-0118 commented 4 months ago

@sahil-ondc - pls merge & check

sahil-ondc commented 4 months ago

@codezyngPranav please fix the issues as discussed on the mail and resubmit the PR.

BLR-0118 commented 4 months ago
  1. /on_search:

    • custom menu has names that are cut & pasted from elsewhere e.g. "Tea & Coffee", "Atta, Flour...";
  2. (cancel_flow) /on_status_cancelled:

    • cancel initiated_by should have bpp_id (as seller initiated);
  3. (return_flow) /on_status_completed:

    • pickup time was 03:55:31.196Z in /on_status_picked, but changed to 04:12:40.196Z in /on_status_completed?
  4. where is /update log for return request?

BLR-0118 commented 4 months ago

@codezyngPranav - pls see above;

codezyngPranav commented 4 months ago

@BLR-0118, Thanks for reviewing, will resolve the issues you have specified and resubmit the logs also with missing logs that you have specified.

The Tea&Coffee.... were auto generated as the business somehow had these products belonging to these categories in it and I am working on fixing the respective logic in our code base.

codezyngPranav commented 4 months ago

@BLR-0118 Please review the resubmitted flow of logs

sahil-ondc commented 4 months ago

Flow 1

On Search (full-catalog)

search (incremental)

Select

On Select

Init

On Init

Confirm

On Confirm

On Update Part Cancel

Update Settlement Part Cancel

On Status Pending

On Status Picked

On Update Interim Reverse QC

on update Approval

on update Picked

update (Reverse QC)

on Update Delivered

@codezyngPranav

codezyngPranav commented 3 months ago

@sahil-ondc @sandeepshahi

  1. Regarding the issue "Transaction Id should be same from /select onwards" I reviewed the last submission and verified that we have same "transaction_id" throughout the flow. Could you please confirm if this issue was reported mistakenly or, am I overlooking something ?

  2. I am curious to understand about your process of reviewing the logs, that Is it a manual check or an automated one ?

  3. Are the test results obtained Pramaan tool 100% accurate ?

codezyngPranav commented 3 months ago

Hi @sandeepshahi @sahil-ondc, I have re-submitted the logs after resolving all the above said issues and other issues that I found non compliant with schema. Please review at the earliest.

https://github.com/ONDC-Official/v1.2.0-logs/pull/2142

sahil-ondc commented 3 months ago

Flow 1

on_search

search & on_search (incremental request)

@codezyngPranav

sahil-ondc commented 3 months ago

Flow 6

on_select

on_init

on_confirm

on_update (part-cancellation)

on_update

@codezyngPranav

codezyngPranav commented 3 months ago

@sahil-ondc Thanks for the review, will resolve these issues and resubmit the logs.

There are some queries,

  1. Last time we submitted logs. It was reported(Previous Issues Reported) that "If the delivery charges are ‘0’, shouldn’t be added in the quote" but now it has been reported that "delivery line item must be present in quote/breakup (if location is serviceable)" . Our delivery charges for this particular item is "0" and hence it was not added.

  2. "/fulfillments[0]/@ondc/org/TAT (O2D) in /on_select can't be equal to @ondc/org/time_to_ship (O2S) in /on_search", time_to_ship should always be less than TAT?

  3. "Is only chains category supported ?", No we support other categories as well.

  4. "Is variants on multiple attributes supported ?", Depends upon the product and category.

  5. Currently on our production environment we are aligning with the less than 5 seconds TAT.

    As submitted logs were generated in staging environment the TAT is more than 5 seconds due to lower capability infrastructure in staging environment.

codezyngPranav commented 3 months ago

@sahil-ondc, I have resubmitted the logs after fixing the above mentioned issue and have also added the missing incremental search and on_search logs. Please verify

Also please consider that submitted logs were generated in staging environment and the TAT is more than 5 seconds due to lower configuration of infrastructure in staging environment.

here's the link to PR

sahil-ondc commented 2 months ago

On Search

On Search Inc

On Select

On Init

On Confirm

On Update Part Cancel

On Update Approval

@codezyngPranav

codezyngPranav commented 2 months ago

Hi @sahil-ondc, I have resubmitted the logs please merge and review

sahil-ondc commented 2 months ago

Flow 1

On Search

Flow 2

On Select

On Update Part Cancel

On Status Pending, Packed

On Status Delivered

On Update Approval

On Update Picked

@codezyngPranav

codezyngPranav commented 2 months ago

@sahil-ondc , I have submitted the new please merge and review.

Routing object has not been added in on_status_pending and on_status_packed as it is optional.

sahil-ondc commented 1 month ago

@codezyngPranav, Wrong on_search (full catalog) has been provided, please resubmit correct (RET12) logs, so that we can proceed for testing and verifications.

codezyngPranav commented 1 month ago

@codezyngPranav, Wrong on_search (full catalog) has been provided, please resubmit correct (RET12) logs, so that we can proceed for testing and verifications.

Hi @sahil-ondc, The wrong search and on_search and were mistakenly uploaded, I have raised an another PR replacing them with RET12 search and on_search json's. Please consider

Link to PR

sahil-ondc commented 1 month ago

Flow 1

On Search

On Search Inc

Flow 6

On Update Part Cancel

On Update Delivered

@codezyngPranav

codezyngPranav commented 1 month ago

Flow 1

On Search

  • time_to_ship is having invalid format ‘P3H’, It should be ‘PT3H’.

On Search Inc

  • context/city should be "*" in /on_search_inc_refresh
  • Transaction Id for /search_inc_refresh and /on_search_inc_refresh api should be same

Flow 6

On Update Part Cancel

  • item quantity for part cancelled item is not reduced in the quote for the item_id: ’43769’
  • /message/order/items/1/quantity/count must be integer
  • /message/order/quote/breakup/1/price/value must be string

On Status Pending

  • /message/order/quote/breakup/1/price/value Price value should be a number in string with upto 2 decimal places
  • /message/order/items/1/quantity/count must be integer
  • Same issues is processed in other on_status calls as well

On Update Delivered

  • How the item is again back in stock ?
  • Return fulfillment is also missing in the items
  • Quote trail is missing for item_id : ‘39046’
  • Return Picked timestamp is missing in the Return Fulfillment

@codezyngPranav

@sahil-ondc , Thanks for review. Will work on the fixes, resolve and resubmit.

srinivas-codezyng commented 1 month ago

Hi @sahil-ondc, thanks for the review. My name is Srinivas, ceo of Codezyng(company which is working with Esamudaay for Ondc technology support). I wanted to understand if we are missing something here. Are there any documentation or best practices available which will help us not to do these errors in the pr. It has been long time @codezyngPranav is trying to make fashion category work for us. However, most of the pr's are getting rejected with improvement a suggested( appreciate that). Appreciate any suggestions on how we can improve our pr's are welcome. Happy to get on a call and understand.