-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[issue] use network action order API can't get information #2111
Comments
➤ Sherry Chung commented: Scott Yan 這個指令我記得 QA 測過,會是什麼時效性所以 order id 失效 |
➤ Scott Yan commented: Sherry Chung 測過但應該是有段時間了~~ order id 在 backend 還是存在的 但用這一個 api 就是查不到 , 我有確認過當初沒有提過 "時效問題" 所以不應該有時間限制 |
➤ Tammy Yang commented: 這個 API 超莫名的 XDDD,說老實話我看不懂這想幹嘛 (our fault) network action order 有兩種
其中,#1 可以透過 storage backend API 取得,#2 應該要透過 "network action backend workflow API" 來實作,繞一圈去 AWS lambda 什麼道理 XD Scott Yan 請你協助走一遍 0xAvenue RD 的流程,我要知道
|
➤ Scott Yan commented: Tammy YangSherry Chung
|
➤ Tammy Yang commented: Scott Yan 感謝,good job 非常清晰 目前我沒有覺得 Order db 需要 API key 保護 Network action 是一種 ecosystem app,每一個 order 代表了 "這張圖片/這個 asset 被使用在哪個服務上" ,也就是說,這些 order 其實應該對應 nit commit 最終的型態這些 order 都應該記錄在鏈上,也是完全公開的,除非有 personal information or sensitive server information (目前看不出來有) 因此,我的建議是直接換成 Bubble data API 去 access 即可,不過 domain 要換成 "network-app.numbersprotocol.io" (需開卡給 Bafu) Bofu Chen 針對以上「安全性」討論 ^ ,請你 review & 提供意見 (if any) |
➤ Scott Yan commented: Tammy Yang 所以目前的方案會是提供對方 Bubble data API 去 access 如下面連結的方式做查詢對嗎 ? |
➤ Tammy Yang commented: Yes 大方向是這樣 |
➤ Scott Yan commented: 已開 asana task [issue] network action change the domain ( https://app.asana.com/0/1201016280880500/1203045412906857/f ) |
➤ Tammy Yang commented: Scott Yan the due and the sprint schedule does not match. Please consult BD owner Sherry Chung Whenever there is a new issue, please must schedule it into a sprint
|
➤ Tammy Yang commented: Since you put it in the sprint backlog, I will assume it is #3 (due updated) |
➤ Sherry Chung commented: Scott Yan I would say it’d be #2. This will affect all network action partners. |
➤ Sherry Chung commented: Once ✓ Find the app occupying network-app.numbersprotocol.io ( https://app.asana.com/0/1201016280880500/1203045412906857/f )& [FR] Update "Capture Network Action" github wiki ( https://app.asana.com/0/1201016280880500/1203055553114683/f ) done, this can be confirmed |
➤ Sherry Chung commented: Scott Yan 我追一下這個。之前卡住的 task ✓ Find the app occupying network-app.numbersprotocol.io ( https://app.asana.com/0/1202542555533331/1203045412906857 ) 已經完成了。後續的 task 什麼時候可以重新安排進 sprint 裡? |
➤ Sherry Chung commented: 我看到了,已經安排到 22.11.21 我把相關的 task 都移動到 sprint 中 |
➤ Scott Yan commented: qa check it's work use the bubble endpoint |
➤ Tammy Yang commented: Scott Yan thank you! Sherry Chung this was because the old design using Lambda was not ideal (not part of network-action and even not part of numbers-api) which increases the complexity of development and maintenance. I have updated all documentation. In the future, all API should be in the numbers-api (start with node.numbersprotocol.io ( https://node.numbersprotocol.io )) or RapidAPI. If QA founds any inconsistency, please open issue and let me know. Thank you! |
➤ Sherry Chung commented: 👁️ |
when i follow the github wiki Capture Network Action to do , i get the
"Failed to get order info"
response which is not the same as what is shown on the wikicurl --location --request GET 'https://lambda.numbersprotocol.io/order/Network-Action-Order?order_id=3540b705-2576-4474-8fd2-7251297fb938' \
--header 'x-api-key: xMLFP6QDxt2i1CvokqYy98LlSzy2kfbr8Y7Bii1b'
order id :
3540b705-2576-4474-8fd2-7251297fb938
x-api-key:xMLFP6QDxt2i1CvokqYy98LlSzy2kfbr8Y7Bii1b
user story :
as user , i want to use the api i can get the order information
┆Issue is synchronized with this Asana task by Unito
┆Created By: Scott Yan
The text was updated successfully, but these errors were encountered: