-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
NodeJS API Upgrade #5044
Comments
Great :) |
Yip, changes (first round) have already been made in source locally. Just need to run the generator. |
Can we please enable |
Is it intentional that we're using a more restrictive license on zap-api-nodejs than zaproxy ? |
Yes, those two are @kingthorin , but the License in the link I provided above is MIT |
Issues are not enabled since we manage them here, in the main repo. That's the same for all API clients. |
I don't know why MIT was chosen. |
Weird, maybe if you dig through the history/blame there's something about it... |
If its a rewrite we can change the license now? I'd prefer us to stick with Apache v2 unless we have to do with something else... |
|
Move ApiGenerator to api package to access core class. Add Websocket API to ApiGenerator. Change ApiGenerator to make use of the new core method (>=2.8.0) which allows to pass a ResourceBundle, to include the descriptions of the API endpoints being generated. Add dummy Messages.properties to be able to work with ZAP 2.7.0. Update generate-apis in build.xml file to include just the required files on the classpath and to depend on compile to work by itself. For zaproxy/zaproxy#5044 - NodeJS API Upgrade
Add target generate-apis to build.xml file. Move ApiGenerator to api package to access core class. Change ApiGenerator to make use of the new core method (>=2.8.0) which allows to pass a ResourceBundle, to include the descriptions of the API endpoints being generated. Add dummy Messages.properties to be able to work with ZAP 2.7.0. For zaproxy/zaproxy#5044 - NodeJS API Upgrade
Add target generate-apis to build.xml file. Move ApiGenerator to api package to access core class. Change ApiGenerator to make use of the new core method (>=2.8.0) which allows to pass a ResourceBundle, to include the descriptions of the API endpoints being generated. Add dummy Messages.properties to be able to work with ZAP 2.7.0. For zaproxy/zaproxy#5044 - NodeJS API Upgrade
Add target generate-apis to build.xml file. Move ApiGenerator to api package to access core class. Change ApiGenerator to make use of the new core method (>=2.8.0) which allows to pass a ResourceBundle, to include the descriptions of the API endpoints being generated. Add dummy Messages.properties to be able to work with ZAP 2.7.0. For zaproxy/zaproxy#5044 - NodeJS API Upgrade
Add target generate-apis to build.xml file. Move ApiGenerator to api package to access core class. Change ApiGenerator to make use of the new core method (>=2.8.0) which allows to pass a ResourceBundle, to include the descriptions of the API endpoints being generated. Add dummy Messages.properties to be able to work with ZAP 2.7.0. For zaproxy/zaproxy#5044 - NodeJS API Upgrade
The repo has been added to snyk. |
Can you please add the snyk badge to the README @thc202 ? |
Sure. |
Then I guess:
|
|
lgtm has analysed the code now. Looks good until you show the files it excludes: https://lgtm.com/projects/g/zaproxy/zap-api-nodejs/latest/files/?sort=name&dir=ASC&mode=heatmap&showExcluded=true |
Yes, all of them have the same cause, @binarymist already planned addressing that (zaproxy/zap-api-nodejs#1 (comment)). |
If you're happy with it them I am :) |
We can do the release, but we should look into adding permissions to you as well. I've a question regarding the release steps, wouldn't that leave the tag with an "incomplete" changelog, it would still say "unreleased" instead of the tagged version? |
The release has been done. |
@binarymist do you want the issue open for the follow up changes or can it be closed? |
We can close if you like, I'll create another issue with the known changes. |
Move ApiGenerator to api package to access core class. Add Websocket API to ApiGenerator. Change ApiGenerator to make use of the new core method (>=2.8.0) which allows to pass a ResourceBundle, to include the descriptions of the API endpoints being generated. Add dummy Messages.properties to be able to work with ZAP 2.7.0. Update generate-apis in build.xml file to include just the required files on the classpath and to depend on compile to work by itself. For zaproxy/zaproxy#5044 - NodeJS API Upgrade
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Working on this now:
https://github.com/zaproxy/zaproxy/blob/develop/src/org/zaproxy/zap/extension/api/NodeJSAPIGenerator.java
https://www.npmjs.com/package/zaproxy
The text was updated successfully, but these errors were encountered: