-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
An interface/project for describing errors/problems in tools in our organization. #266
Comments
This seems, like we need our own Error Management Interface 😄 |
@imabp Yeah we need that because we have more and more integration and each library has another interface to describe errors, we should make them consistent.
I wrote about that in the first AP:
but I think that separate repo will be better. Then we can treat it as library and fetch everywhere we want. |
I think we should set up a new repo and try to have the initial setup which includes
Choosing a name, is quite a bit difficult task.
I feel to go with the |
@imabp We should go as you wrote, setup repo and needed things like |
This is so cool... Meanwhile I will create the proposal, which we can review on the way.. And then, during the gsoc period, we can start coding it out.. Hope that works @magicmatatjahu and you also agree... 😋 |
Relax 😅 We'll write tomorrow on Slack about that :) |
Amazing initiative @magicmatatjahu 💯 !!!! Right now I'm thinking it doesn't really matter because the benefits of standardizing on an error format are greater in my opinion. It's a small dependency, and I don't think it's that big of a deal, even though a What does everyone else think? |
@BOLT04 Thanks! Yes, we should discuss about About HTTP codes in the problem. I think that we should add |
@BOLT04 This package will add to more developer experience. So from that perspective, yes this package does add a lot of valu to existing tool chain. |
@magicmatatjahu , let's keep the conversation going on this topic. I feel the need of it. PS: I am reading more on the topics, previously shared in the first comment of this issue. |
@imabp Yeah, sure, please ask about anything and I will answer :)
What do you mean by |
I meant |
I have plans to start this from next week. As having exams this week. |
@imabp Don't worry :) We can start even in next month. Good luck with exams! |
Hello @magicmatatjahu |
hey folks, I do have permissions to create repo, but I do not do it without TSC consent anymore. I have to say I'm not 100% sure what is your goal. How about you present this subject on next community meeting, and then we can use this presentation as input for voting if we want to have such repo/project. |
We can do that :) I hope you'll wait @imabp, the meeting is next Tuesday. I think TSC will agree, it is a needed project. |
Sure, we can wait for that time. :) |
@imabp Due to fact that you start working on that I recognize that you want to participate in our mentoring program with this project :) I'm assigning you to it, you don't have to worry about someone taking it. |
Cool yes!! This sounds good to me. |
@magicmatatjahu do you think we could add a design contributor to work on this project if someone was interested? Just trying to gather more mentees to work on UI/UX projects. If so, can we add the "🎨 design" label to this issue? |
Hey @mcturco not sure, if I can say one of my juniors who is into Visual Design, UI Design and UX Research. |
@imabp Yes! If they are interested that would be great 😄 |
Thank you, @imabp, for the mention, |
That's great! Glad to have you here, @iipranavii. If you haven't already, I suggest joining our slack org and in the channel Otherwise, if you and @imabp don't mind teaming up on this project, I think that would be awesome! Trying my best to fit the design process into open source, so I am also here if you need guidance. |
Just joined the Slack workspace! |
@mcturco @iipranavii @imabp Don't want to ruin the dream, but that project has little to do with the UI. There won't be any additional UI here, we only have to think about the UX regarding the interface API. |
yes, for this project, we dont think there is any specific UI requirement, as this will be hardly a package, @magicmatatjahu and me have created a task board here which you can see what all we have to do to complete this project. . |
I understand, I will try to give my input wherever I can, Thank you, @magicmatatjahu, for clearing it out! |
@iipranavii please join |
Oops! Sorry for the misunderstanding, @imabp @magicmatatjahu. I think I saw the word "interface" in the title of this issue and automatically assumed that there would be UI involved. No problem! And thanks for clearing that up 😄 @iipranavii, yes, I encourage you to join in on some of the other issues tagged for the mentorship program that might require UI/UX. The Modelina website is a good choice! |
@imabp this idea was selected for AsyncAPI Mentorship 2022 -> #376 (comment) Welcome to the mentorship program 🚀 I assumed you were still willing but let me know :) |
Thank you so much @magicmatatjahu !!!! |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
Still valid. |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
valid |
@imabp I think we can close this one. We have created the Repo: https://github.com/asyncapi/problem |
We have a lot of tools in our organization. Some of them have their own errror/problem trading system, some don't have it at all and only throw exceptions from the main function. I think we should standardize this.
In the ServerAPI as well as in the ParserJS we have a such of a system that we can extend and use in another repos.
We use in these repos the interface called
Problem
to describe all errors to not re-invent the wheel defining our "own error format".Check out these posts for more context:
Implementations for that in ServerAPI and in ParserJS are a little different, so we should standarize it. In this task we have to do:
Problem
interface and helpers - we should discuss what helpers we need, but at least we need some function to create problem, retrieve type of problem, merge two or more problems to one etcProblem
Nice to have but not needed:
type
field we need to have page to describe details of the given type of problem. I think thathttps://api.server.com/problem/{type}
will be good.Existing implementation in the ServerAPI -https://github.com/asyncapi/server-api/blob/master/src/exceptions/problem.exception.ts
Existing implementation in the ParserJS - https://github.com/asyncapi/parser-js/blob/master/lib/errors/parser-error.js
The text was updated successfully, but these errors were encountered: