Replies: 1 comment
-
Hi @yvdh, Thank you very much for the feedback, it's much appreciated! I'll try to answer to all the points:
I totally agree on this point.
It looks like this is working in the main branch, I just tried in the sandbox a proper error is returned. That's probably something that you broke with your changes, but it should be quite easy to fix!
Authorization was really a headache for me on this project for a while. I decided to go with the simplest way possible and let everybody to implement it in it's own way, as some might go with certificates, other with OAuth/JWT or event AD, etc. So currently it's working like you describe, a hash of the username/password is stored in the request table and only events captures with the same authorization values will be returned in the queries. Thanks again for your interest and your contribution! Louis-Axel |
Beta Was this translation helpful? Give feedback.
-
Hello,
First of all: great work!
I have been trying to generate proper C# servers using the EPCIS 2.0 open-api files for some time with several tools (NSWAG, OpenAPIGen, Smartbear tooling, ...), without success (lot's of inconsistent classes, manual touchup required, etc.. ).
So for me this project is a godsend as we want to replace an aging EPCIS 1.1 backend with a much more accessible EPCIS 2.0 eco-system.
I got the project running, and dove into the code after reading up on the minimal API system, I usually stick to traditional controllers.
I am willing to help with this project, and I have the following suggestions:
- Especially the use of an extra delegate layer ('DelegateFactory') makes discovery of endpoint parameters impossible. I suggest moving the code from this delegate factory to a middleware (I have the code for this, let me know).
- Adding 'Produces<>' on the endpoints allows for typing of the response, so that is covered.
Again, great work!
Let me know what you think.
Yves
Beta Was this translation helpful? Give feedback.
All reactions